/* Ensure parent sections do not hide the sticky element by overriding hidden overflow on mobile */
@media screen and (max-width: 1024px) {
    body .elementor-section:has(> .elementor-container > .elementor-column > .elementor-widget-wrap > [data-id="container_nz23xekig"]),
    body .e-con:has(> [data-id="container_nz23xekig"]),
    body .e-con:has(> .e-con > [data-id="container_nz23xekig"]) {
        overflow: visible !important;
        clip-path: none !important;
    }
}

[data-id="container_nz23xekig"],
.elementor-element.elementor-element-container_nz23xekig {
	position: -webkit-sticky !important;
	position: sticky !important;
	/* Desktop nav bar height assumption */
	top: 80px; 
	z-index: 9998;
	transition: top 0.3s ease;
}

body.admin-bar [data-id="container_nz23xekig"],
body.admin-bar .elementor-element.elementor-element-container_nz23xekig {
	top: calc(80px + var(--wp-admin--admin-bar--height, 32px));
}

/* Mobile specific adjustments */
@media screen and (max-width: 767px) {
    [data-id="container_nz23xekig"],
    .elementor-element.elementor-element-container_nz23xekig {
        /* Usually mobile headers are around 60-70px */
        top: 70px;
    }
}

@media screen and (max-width: 782px) {
	body.admin-bar [data-id="container_nz23xekig"],
	body.admin-bar .elementor-element.elementor-element-container_nz23xekig {
        /* Mobile header + Mobile admin bar */
		top: calc(70px + 46px);
	}
}
