/*
 * Avada adjustments for the page that shows the roadmap.
 *
 * Kept separate from roadmap.css on purpose: these rules touch the theme, not
 * the roadmap itself, and are the first place to look after an Avada update.
 * They only apply on a page that contains the roadmap (body:has(.rsit)).
 */

/* Let the tab navigation stick (Avada sets overflow on html/body) and clip
   the drifting clouds horizontally. */
html:has(.rsit),
body:has(.rsit) {
	overflow: initial !important;
	overflow-x: hidden !important;
	overflow-x: clip !important;
}

/* The hero starts directly under the header. */
body:has(.rsit) main {
	padding: 0 !important;
}

/* Header scrolls away with the page instead of sticking. (The old plugin's
   source also hid the header's first row; the live version no longer does.) */
body:has(.rsit) .fusion-tb-header > .fusion-sticky-container {
	position: relative !important;
	top: 0 !important;
}

body:has(.rsit) .fusion-tb-header .fusion-sticky-spacer {
	display: none !important;
}

/* No language popup on top of the hero. */
body:has(.rsit) #language-popup-overlay {
	display: none !important;
}

/* Used by the script for instant (non-smooth) scroll jumps. */
html.rsit-instant-scroll {
	scroll-behavior: auto !important;
}
