/**
 * Fullpage Slider — native scroll + parallax fixes.
 * Loaded AFTER parent main.css (dependency: vlt-main-css) so rules win on production / minify plugins.
 */

html:has(body.page-template-template-fullpage-slider) {
	overflow-x: hidden;
	overflow-y: auto;
	height: auto;
}

body.page-template-template-fullpage-slider {
	overflow-x: hidden;
	overflow-y: auto !important;
	height: auto;
}

/* main.css: .vlt-main { overflow: hidden } clips sections below the first viewport */
body.page-template-template-fullpage-slider .vlt-main {
	overflow: visible !important;
	min-height: 100vh;
}

/* main.css: .vlt-fullpage-slider { height: 100vh } — must allow full document height */
.vlt-fullpage-slider.vlt-fullpage-slider--native-scroll {
	height: auto !important;
	min-height: 100vh;
	max-height: none !important;
	overflow: visible !important;
}

.vlt-fullpage-slider.vlt-fullpage-slider--native-scroll .vlt-section {
	min-height: 100vh;
	height: auto !important;
	position: relative;
	flex: 0 0 auto !important;
	-webkit-box-flex: 0 !important;
	-webkit-flex: 0 0 auto !important;
	-ms-flex: 0 0 auto !important;
}

.vlt-fullpage-slider.vlt-fullpage-slider--native-scroll .pp-scrollable {
	overflow: visible !important;
	height: auto !important;
	min-height: 100vh;
}
