/* Keep the header, hero, and footer within the available desktop window. */
@media (min-width: 761px) {
  .page-home {
    display: grid;
    grid-template-rows: auto minmax(450px, 1fr) auto;
    height: 100svh;
    min-height: 0;
  }

  .page-home > main {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .page-home .hero {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
}

/* Keep the title and trailer button accessible on shorter laptop screens. */
@media (min-width: 761px) and (max-height: 850px) {
  .page-home .hero-content {
    padding-top: clamp(20px, 3vh, 32px);
    padding-bottom: clamp(20px, 3vh, 32px);
  }

  .page-home .film-title {
    font-size: clamp(54px, min(11vw, 13vh), 140px);
  }
}
