/* Elementor Compatibility CSS */

/* Fix common CSS conflicts */
.elementor * {
    box-sizing: border-box;
}

/* Ensure proper z-index for visibility */
.elementor-section {
    z-index: 1;
}

.elementor-widget {
    z-index: 2;
}

/* Fix header/footer display on Elementor pages (Canvas Override) */
body.elementor-template-canvas #masthead,
body.elementor-template-canvas .site-header,
body.elementor-template-canvas header {
    display: block !important;
    visibility: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

body.elementor-template-canvas #colophon,
body.elementor-template-canvas .site-footer,
body.elementor-template-canvas footer {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 9999 !important;
}