/* Portada Directora (CAP 0) — ajustes responsive para evitar huecos verticales */

/* En pantallas estrechas la topbar ocupa dos filas; reservamos su altura real. */
@media (max-width: 820px) {
  .page {
    padding-top: 150px;
  }
}

/* Igual que el resto de portadas CAP 0: eliminar reserva fija y ajustar al ratio real. */
@media (max-width: 920px) {
  .chapter-hero.chapter-hero--director {
    height: auto;
    min-height: 0;
  }

  .chapter-hero--director .chapter-hero__gov-cover {
    height: auto;
    min-height: 0;
  }

  .chapter-hero--director .chapter-hero__gov-art,
  .chapter-hero--director .gif-once-stack {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1920 / 1080;
    object-fit: cover;
    object-position: center;
  }

  .chapter-hero--director .gif-once-stack .chapter-hero__gov-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
}
