/*
 * Hero slideshow layout stability.
 *
 * The theme's zoomslider keeps only the active slide in flow:
 *
 *   .zs-enabled .ltx-zs-slider-inner         { position: absolute }
 *   .zs-enabled .ltx-zs-slider-inner.visible { position: relative }
 *
 * So .ltx-zs-slider-wrapper has no intrinsic height of its own — it is exactly
 * as tall as whichever slide currently carries .visible. The homepage's two
 * slides are not the same height (slide 2's intro paragraph wraps to an extra
 * line), so on every 4.5s slide change the wrapper resizes by the delta and
 * everything below the hero jumps.
 *
 * jquery.zoomslider.js does set an inline min-height once at init, but it
 * measures `.ltx-zs-slider-inner` as a collection while only one slide is in
 * flow, so it captures one slide's height rather than the tallest — and it
 * never re-measures on slide change.
 *
 * Fix: lay the slides out in a single grid cell so they stack, and let the
 * wrapper size to the tallest. No slide ever leaves the flow, so there is no
 * height delta to jump by — and unlike pinning a min-height per breakpoint,
 * this follows the copy, so re-measuring is not needed when the hero text
 * changes. `position: static` also keeps the slides out of each other's way
 * while `.visible` continues to drive the cross-fade opacity.
 *
 * .zs-arrows / .zs-bullets stay absolutely positioned, so they are unaffected.
 */

.ltx-zs-slider-wrapper {
  display: grid;
  /* The plugin writes a stale inline min-height (it measures while only one
     slide is in flow, then never updates it on slide change). That pin is
     smaller than the grid row and would clip the taller slide, so drop it. */
  min-height: 0 !important;
}

.ltx-zs-slider-wrapper > .ltx-zs-slider-inner {
  grid-area: 1 / 1;
  position: static;
  width: 100%;
}