/* Section corrections layered over the built theme bundle.
 *
 * About: the bundle gives the section three viewports of height purely as
 * scroll runway for the four cards that slide up over the pinned paragraph.
 * The 2026-09-02 review removed those cards as repetitive, which left two
 * empty screens of scrolling behind. Collapse to a single viewport when the
 * list is absent, so re-adding cards in wp-admin restores the runway on its
 * own. Browsers without :has() keep the bundle's height, which is only long,
 * not broken.
 */
@media (min-width: 768px) {
  .about_section:not(:has(.about_section__list)) {
    height: var(--inner-vh, 100vh);
  }
}

/* Way section: keep the card title out of the strip the calculator covers.
 *
 * `.way-section` is pulled up 5rem into `.calc-section`, which paints over it
 * (position:relative, z-index:10, solid #000), so the top 5rem of the slide is
 * never visible. The card text is bottom-anchored (justify-content:flex-end
 * with 21.6rem of bottom padding to clear the arrows), and at 128rem the three
 * lines of title + subtitle + the 2x2 spec grid come to 5rem more than the box
 * holds. The overflow goes upward, straight under the black, and clipped the
 * ascenders of the first line.
 *
 * Growing the slide by the covered 5rem plus the 5rem of top padding it owes
 * restores the designed gap between the card edge and the title. The bottom
 * padding is untouched: the spec grid already sits only 8.7px above the
 * navigation arrows.
 */
@media (min-width: 768px) {
  .way-section__swiper {
    height: 137rem;
  }
}
