.md-typeset .hostvm-page-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 1.5rem;
}

.md-typeset a.hostvm-page-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 16px;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit;
  background: var(--md-default-bg-color, #fff);
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.md-typeset a.hostvm-page-card:hover {
  border-color: rgba(56, 132, 255, 0.35);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.md-typeset .hostvm-page-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: var(--md-default-fg-color, #111827);
}

.md-typeset .hostvm-page-card__chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-inline-end: 0.15rem;
  border-right: 2px solid rgba(15, 23, 42, 0.35);
  border-bottom: 2px solid rgba(15, 23, 42, 0.35);
  transform: rotate(-45deg);
}

@media (max-width: 44.8rem) {
  .md-typeset .hostvm-page-cards {
    grid-template-columns: 1fr;
  }
}

[data-md-color-scheme="slate"] .md-typeset a.hostvm-page-card {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-md-color-scheme="slate"] .md-typeset a.hostvm-page-card:hover {
  border-color: rgba(91, 156, 255, 0.45);
}

[data-md-color-scheme="slate"] .md-typeset .hostvm-page-card__chevron {
  border-color: rgba(255, 255, 255, 0.45);
}

/* GitBook-style link embed cards ({% embed url="…" %}) */

.hostvm-embed-card-wrap {
  margin: 0.75rem 0 1rem;
  max-width: 28rem;
}

.hostvm-embed-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.625rem;
  text-decoration: none !important;
  color: inherit;
  background: var(--md-default-bg-color, #fff);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.hostvm-embed-card:hover {
  border-color: rgba(56, 132, 255, 0.35);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.hostvm-embed-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
}

.hostvm-embed-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hostvm-embed-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.35;
}

.hostvm-embed-card__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--md-default-fg-color, rgba(15, 23, 42, 0.87));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hostvm-embed-card__host {
  font-size: 0.8125rem;
  color: var(--md-default-fg-color--light, rgba(15, 23, 42, 0.55));
}

.hostvm-embed-card__chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-inline-end: 0.15rem;
  border-right: 2px solid rgba(15, 23, 42, 0.35);
  border-bottom: 2px solid rgba(15, 23, 42, 0.35);
  transform: rotate(-45deg);
}

[data-md-color-scheme="slate"] .hostvm-embed-card {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-md-color-scheme="slate"] .hostvm-embed-card:hover {
  border-color: rgba(91, 156, 255, 0.45);
}

[data-md-color-scheme="slate"] .hostvm-embed-card__icon {
  background: rgba(255, 255, 255, 0.06);
}

[data-md-color-scheme="slate"] .hostvm-embed-card__chevron {
  border-color: rgba(255, 255, 255, 0.45);
}

/* GitBook {% hint %}: icon row without visible English type label (Warning, Danger, …) */
.md-typeset .admonition > .admonition-title {
  color: transparent;
  user-select: none;
}
