/* Stable mobile homepage hero positioning.
   Use a fixed hero height and centre the copy vertically so mobile browser
   chrome changes cannot make the title jump while scrolling. */
@media (max-width: 960px) {
  .next-hero {
    display: block !important;
    height: 560px !important;
    min-height: 560px !important;
    max-height: none !important;
    padding: 0 !important;
  }

  .next-hero .mock-hero-copy {
    position: absolute !important;
    left: 7% !important;
    right: 7% !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 560px) {
  .next-hero {
    height: 520px !important;
    min-height: 520px !important;
  }

  .next-hero h1 {
    font-size: clamp(42px, 11vw, 56px) !important;
    line-height: .94 !important;
  }
}
