/* ==========================================================================
 * Home (tpl_home.php) — estilos específicos
 * Solo se carga en la home (ver inc_head.php).
 * Todos los colores se apoyan en los tokens de :root definidos en globals.css.
 * ========================================================================== */

/* Hero editorial (alineado a layout tipo Figma; colores = tokens DeAventura) */
.home-hero--editorial {
  background-color: var(--background);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding-top: 1.25rem;
  padding-bottom: 1.75rem;
}

@media (min-width: 1024px) {
  .home-hero--editorial {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.home-hero__inner {
  max-width: 1280px;
}

.home-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  /* Igual que referencia: 2 columnas 50/50 + hueco generoso (≈ gap-12 / gap-16 Tailwind) */
  .home-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
  }
}

@media (min-width: 1280px) {
  .home-hero__grid {
    gap: 4rem;
  }
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  max-width: 38rem;
}

@media (min-width: 1024px) {
  .home-hero__content {
    justify-self: start;
    width: 100%;
    max-width: 36rem;
    justify-content: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  background-color: color-mix(in srgb, var(--brand-blue) 10%, var(--background));
  border: 1px solid color-mix(in srgb, var(--brand-blue) 16%, var(--border));
  border-radius: 9999px;
}

.dark .home-hero__pill {
  background-color: color-mix(in srgb, var(--brand-blue) 24%, transparent);
  border-color: color-mix(in srgb, var(--brand-blue) 40%, var(--border));
  color: color-mix(in srgb, var(--brand-blue) 85%, white);
}

.home-hero__pill-text {
  line-height: 1.2;
}

.home-hero__compass {
  flex-shrink: 0;
  color: var(--primary);
}

.dark .home-hero__compass {
  color: color-mix(in srgb, var(--brand-blue) 85%, white);
}

.home-hero__title {
  margin: 0;
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.home-hero__lead {
  margin: 0;
  line-height: 1.6;
  max-width: 34rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.125rem;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 0.875rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.home-hero__btn--with-arrow {
  gap: 0.5rem;
  padding-right: 1.1rem;
}

.home-hero__btn-arrow {
  font-size: 1.125rem;
  line-height: 1;
  opacity: 0.95;
  translate: 0 1px;
}

.home-hero__btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.home-hero__btn--primary:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: 0 4px 14px rgba(0, 119, 192, 0.22);
}

.home-hero__btn--primary:active {
  background-color: var(--brand-blue-active);
  transform: translateY(1px);
}

.home-hero__btn--secondary {
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home-hero__btn--secondary:hover {
  border-color: color-mix(in srgb, var(--border) 50%, var(--muted));
  background-color: var(--secondary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.dark .home-hero__btn--secondary {
  background-color: var(--card);
  color: var(--foreground);
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .home-hero__stats {
    gap: 1rem 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
  }
}

.home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.home-hero__stat-value {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.1;
}

.home-hero__stat-label {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted-foreground);
}

.home-hero__figure {
  margin: 0;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .home-hero__figure {
    justify-self: stretch;
  }
}

.home-hero__media {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border-radius: 2rem;
  overflow: hidden;
  background-color: var(--secondary);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.15),
    0 24px 56px -16px rgba(15, 23, 42, 0.44);
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .home-hero__media {
    border-radius: 2rem;
    aspect-ratio: 3 / 4;
    /* Altura derivada del ancho de la columna (mitad del contenedor); evita bloque “flotante” a un lado */
    max-height: none;
    min-height: 0;
  }
}

.home-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.home-hero__spotlight {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background-color: var(--background);
  color: var(--foreground);
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--border) 80%, var(--brand-blue) 6%);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.12);
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease;
}

.home-hero__spotlight:hover {
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--border) 60%, var(--brand-blue) 18%);
}

.home-hero__spotlight:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.dark .home-hero__spotlight {
  background-color: var(--card);
  color: var(--card-foreground);
  border-color: var(--border);
}

.home-hero__spotlight-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.home-hero__spotlight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.home-hero__spotlight-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-hero__spotlight-meta {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted-foreground);
}

.home-hero__spotlight-price {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
  text-align: right;
}

/* ===== Bloque deportes (bento) ===== */
.home-deportes {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: color-mix(in srgb, var(--border) 60%, transparent);
}

.home-deportes-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .home-deportes-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.home-deportes-head-text {
  min-width: 0;
}

.home-deportes-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-align: left;
}

.home-deportes-intro {
  margin: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  text-align: left;
}

.home-deportes-all-link {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.home-deportes-all-link:hover {
  color: var(--brand-blue-hover);
}

/* Bento: tarjeta grande + rejilla 2×2 (como referencia) */
.home-deportes-bento {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .home-deportes-bento {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
    min-height: min(52vw, 520px);
    max-height: 640px;
  }

  .home-deportes-bento--single {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;
    min-height: 0;
  }

  .home-deportes-card--featured {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 0;
  }

  .home-deportes-subgrid {
    grid-column: 2;
    grid-row: 1 / -1;
    min-height: 0;
  }
}

.home-deportes-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 280px;
}

@media (min-width: 1024px) {
  .home-deportes-subgrid {
    min-height: 0;
  }

  /* Menos de 4 tarjetas: sin fila inferior vacía */
  .home-deportes-subgrid--one {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .home-deportes-subgrid--two {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
}

.home-deportes-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-deportes-card:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.home-deportes-card--featured {
  min-height: 280px;
}

@media (min-width: 1024px) {
  .home-deportes-card--featured {
    min-height: 0;
  }
}

.home-deportes-card--small {
  min-height: 160px;
}

@media (min-width: 1024px) {
  .home-deportes-card--small {
    min-height: 0;
  }
}

.home-deportes-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-color: var(--secondary);
}

.home-deportes-card--featured .home-deportes-card__media {
  min-height: 280px;
}

@media (min-width: 1024px) {
  .home-deportes-card--featured .home-deportes-card__media {
    min-height: 100%;
    height: 100%;
  }
}

.home-deportes-card--small .home-deportes-card__media {
  min-height: 160px;
  height: 100%;
}

@media (min-width: 1024px) {
  .home-deportes-card--small .home-deportes-card__media {
    min-height: 100%;
  }
}

.home-deportes-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-deportes-card:hover .home-deportes-card__img {
  transform: scale(1.04);
}

.home-deportes-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  font-size: 4rem;
  background: linear-gradient(
    145deg,
    var(--secondary),
    color-mix(in srgb, var(--secondary) 60%, var(--muted))
  );
}

.home-deportes-card__placeholder--sm {
  min-height: 160px;
  font-size: 2.5rem;
}

@media (min-width: 1024px) {
  .home-deportes-card__placeholder,
  .home-deportes-card__placeholder--sm {
    min-height: 100%;
  }
}

.home-deportes-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.2) 45%,
    transparent 72%
  );
  pointer-events: none;
}

.home-deportes-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  pointer-events: none;
}

.home-deportes-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.home-deportes-card--small .home-deportes-card__name {
  font-size: 1.0625rem;
}

.home-deportes-card__tagline {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-deportes-card--small .home-deportes-card__tagline {
  font-size: 0.8125rem;
}

/* ===== Bloque destinos (rejilla 2×2 con overlay) ===== */
.home-dest {
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

.home-dest-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .home-dest-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.home-dest-head-text {
  min-width: 0;
}

.home-dest-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-align: left;
}

.home-dest-intro {
  margin: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  text-align: left;
}

.home-dest-all-link {
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.home-dest-all-link:hover {
  color: var(--brand-blue-hover);
}

.home-dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .home-dest-grid {
    gap: 1.5rem;
  }
}

.home-dest-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4 / 3;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

@media (min-width: 768px) {
  .home-dest-card {
    aspect-ratio: 5 / 4;
  }
}

.home-dest-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.home-dest-card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.home-dest-card__media {
  position: absolute;
  inset: 0;
  background-color: var(--secondary);
}

.home-dest-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-dest-card:hover .home-dest-card__img {
  transform: scale(1.04);
}

.home-dest-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(
    145deg,
    var(--secondary),
    color-mix(in srgb, var(--secondary) 50%, var(--muted))
  );
}

.home-dest-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.82) 0%,
    rgba(15, 23, 42, 0.35) 42%,
    transparent 68%
  );
  pointer-events: none;
}

.home-dest-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  pointer-events: none;
}

.home-dest-card__kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.home-dest-card__name {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home-dest-card__desc {
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-dest-card__tags {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.15rem;
}

.home-dest-card__cta {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.home-dest-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.home-dest-empty-text {
  margin: 0;
  color: var(--muted-foreground);
}

/* ===== Bloque comunidad (cards + banner CTA) ===== */
.home-com-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .home-com-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.home-com-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-align: left;
}

.home-com-intro {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  text-align: left;
}

.home-com-more-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-com-more-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.home-com-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .home-com-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .home-com-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.home-com-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.125rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-com-card:hover {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.home-com-card:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.home-com-card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--secondary);
}

.home-com-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-com-card:hover .home-com-card__img {
  transform: scale(1.04);
}

.home-com-card__cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--brand-blue) 14%, var(--background)),
    color-mix(in srgb, var(--brand-blue) 28%, var(--background))
  );
}

.home-com-card__body {
  padding: 1.1rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.home-com-card__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.home-com-card__avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-blue), var(--brand-navy));
  box-shadow: 0 2px 8px rgba(0, 119, 192, 0.25);
}

.home-com-card__avatar--img {
  object-fit: cover;
  border: 2px solid var(--background);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.home-com-card__meta {
  flex: 1;
  min-width: 0;
}

.home-com-card__namerow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.25rem;
}

.home-com-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
}

.home-com-card__time {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.home-com-card__hook {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-com-card__footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.15rem;
}

.home-com-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.home-com-stat__icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.home-com-stat__n {
  font-variant-numeric: tabular-nums;
}

.home-com-empty {
  margin: 0 0 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

.home-com-banner {
  margin-top: 0.5rem;
  padding: 2.5rem 1.75rem;
  text-align: center;
  border-radius: 1.25rem;
  background: linear-gradient(
    115deg,
    var(--brand-blue) 0%,
    color-mix(in srgb, var(--brand-blue) 88%, var(--brand-navy)) 45%,
    var(--brand-navy) 100%
  );
  color: #fff;
  box-shadow: 0 16px 40px rgba(30, 40, 108, 0.18);
}

@media (min-width: 768px) {
  .home-com-banner {
    padding: 3rem 2.5rem;
  }
}

.home-com-banner__icon {
  display: block;
  margin: 0 auto 1rem;
  opacity: 0.95;
}

.home-com-banner__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.home-com-banner__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.home-com-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  background-color: var(--background);
  border-radius: 0.875rem;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.15s ease;
}

.home-com-banner__cta:hover {
  background-color: var(--secondary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.home-com-banner__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
