/*
 * Smooth scrolling (inc/smooth-scroll.php): the stylesheet Lenis asks for,
 * from lenis/dist/lenis.css 1.3.26, without the autoToggle rule (not used).
 * Every rule needs html.lenis, which the script adds, so a page where it
 * doesn't start is unchanged.
 */
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;
}

/* Only while a smooth scroll is moving: embedded maps and videos let the wheel
   through, so the page doesn't stop when one passes under the pointer. */
.lenis.lenis-smooth iframe {
    pointer-events: none;
}
