/* Staging1 managed pages only; enqueued by the companion plugin's host guard. */
body .elementor .sp-site.sp-native {
	overflow-x: clip !important;
	overflow-y: visible !important;
}

body .elementor .sp-site.sp-native .sp-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 10050 !important;
}

/* The mobile navigation already uses a fixed, full-screen sheet and its own close button. */
body .elementor .sp-site.sp-native .sp-mobile-sheet {
	max-height: 100vh;
	max-height: 100dvh;
	box-sizing: border-box;
	overflow-y: auto;
	overscroll-behavior-y: contain;
}

body .elementor .sp-site.sp-native [id] {
	scroll-margin-top: 112px;
}

@media (max-width: 1024px) {
	body .elementor .sp-site.sp-native [id] { scroll-margin-top: 96px; }
}

@media (min-width: 783px) {
	body.admin-bar .elementor .sp-site.sp-native .sp-header { top: 32px !important; }
	body.admin-bar .elementor .sp-site.sp-native [id] { scroll-margin-top: 144px; }
}

@media (min-width: 601px) and (max-width: 782px) {
	body.admin-bar .elementor .sp-site.sp-native .sp-header { top: 46px !important; }
	body.admin-bar .elementor .sp-site.sp-native [id] { scroll-margin-top: 142px; }
}

/* At 600px and below the admin bar scrolls away; keep the normal zero offset. */
