/**
 * Nebula smooth scroll — Lenis base styles (Public\Animations::enqueue_smooth_scroll).
 *
 * Lenis's own required CSS (lenis 1.1.13 dist/lenis.css). The `.lenis*` classes
 * only exist once smooth-scroll.js has started Lenis, so with reduced motion (or
 * smooth scrolling turned off) none of this applies and the theme's own
 * `scroll-behavior` stays in charge.
 */

html.lenis,
html.lenis body {
	height: auto;
}

/* Lenis drives the easing — a theme's native `scroll-behavior: smooth` would fight it.
   Broader than Lenis's stock `.lenis.lenis-smooth` so the first frame of a glide
   never starts a native smooth scroll before Lenis adds that class. */
html.lenis {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

/* Only during a smooth scroll, so the wheel isn't captured by an embed mid-glide. */
.lenis.lenis-smooth iframe {
	pointer-events: none;
}
