/* Maintained visual overrides. */

/* Keep the portrait slices in one coordinate frame while scrolling on mobile. */
@media (max-width: 809px) {
  /* The stacked mobile content, including the quote, must determine the hero height. */
  [data-framer-name="Hero"]:has([data-framer-name="Hero Card"]),
  [data-framer-name="Hero Card"] {
    height: auto !important;
  }

  [data-framer-name="Hero Card"] [data-framer-name="Hero Grid"] {
    height: auto !important;
    flex: none !important;
  }

  [data-framer-name="Hero Card"] [data-framer-name="Hero Media"] {
    margin-bottom: 64px;
  }

  [data-framer-name="Hero Card"] [data-framer-name="Hero Media"] [data-framer-name="Quote Card"] {
    left: 10px !important;
  }

  [data-framer-name="Hero Card"] .fx-p img {
    --d: 1;
    /* Stagger the masks, but zoom every slice at the same instant. */
    transition-delay: 0s !important;
  }
}
