:root {
	--rsh-sticky-z: 9999;
}

/* Ensure the header bar has the correct background in normal (non-sticky) state too */
.ekit-template-content-header .elementor-element.elementor-element-98f16ad:not(.elementor-motion-effects-element-type-background),
.ekit-template-content-header .elementor-element.elementor-element-98f16ad > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-color: var(--e-global-color-primary, #07073A) !important;
}

.ekit-template-content-header .elementor-nav-menu--main .elementor-item,
.ekit-template-content-header .elementor-nav-menu--main .elementor-item:hover,
.ekit-template-content-header .elementor-nav-menu--main .elementor-item:focus,
.ekit-template-content-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #fff !important;
	fill: #fff !important;
}

.ekit-template-content-header .elementor-nav-menu--main .elementor-item i {
	color: #fff !important;
}

.ekit-template-content-header .elementor-nav-menu--main .elementor-item svg {
	fill: #fff !important;
}

.ekit-template-content-header .elementor-menu-toggle svg {
	fill: #fff !important;
}

/* Avoid unexpected overlap with WP admin bar */
body.admin-bar .rsh-is-sticky {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .rsh-is-sticky {
		top: 46px;
	}
}

/* Applied by JS */
.rsh-is-sticky {
	position: fixed !important;
	left: 0;
	right: 0;
	z-index: var(--rsh-sticky-z);
	top: 0;
	margin-top: 0 !important;
	/* iOS safe area (notch) */
	padding-top: env(safe-area-inset-top);
}

/* Ensure sticky header stays readable over light sections */
.rsh-is-sticky {
	background-color: var(--e-global-color-primary, #07073A) !important;
}

.rsh-is-sticky .elementor-nav-menu--main .elementor-item,
.rsh-is-sticky .elementor-nav-menu--main .elementor-item:hover,
.rsh-is-sticky .elementor-nav-menu--main .elementor-item:focus,
.rsh-is-sticky .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #fff !important;
	fill: #fff !important;
}

.rsh-is-sticky .elementor-nav-menu--main .elementor-item i {
	color: #fff !important;
}

.rsh-is-sticky .elementor-nav-menu--main .elementor-item svg {
	fill: #fff !important;
}

.rsh-is-sticky .elementor-menu-toggle svg {
	fill: #fff !important;
}

.rsh-is-sticky .elementor-nav-menu--dropdown {
	/* Keep dropdown/submenus white even when header becomes sticky */
	background-color: #fff !important;
}

/* Some themes/templates set transforms on wrappers; ensure it can stick cleanly */
.rsh-is-sticky {
	transform: translateZ(0);
	box-sizing: border-box;
	width: 100%;
	overflow: visible !important;
	max-height: none !important;
}

/* Spacer used to avoid layout jump */
.rsh-sticky-placeholder {
	height: 0;
}

/* Optional: smoother change */
.rsh-is-sticky {
	transition: box-shadow 150ms ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
