/* =====================================================================
   Smooth scroll — Lenis base styles (from lenis.css 1.3.27, MIT).
   Loaded on every page by inc/smooth-scroll.php.
   ===================================================================== */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* The browser's own smooth scroll fights Lenis — keep it off while Lenis runs. */
html.lenis,
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}