/* Stacking Effect CSS - Corrected IDs */

/* Make the first main container sticky ("Développeur Web..." section) */
.elementor-element-c7d7000,
[data-id="c7d7000"] {
    position: sticky !important;
    top: 0;
    z-index: 1;
}

/* Admin bar offsets for logged-in users */
body.admin-bar .elementor-element-c7d7000,
body.admin-bar [data-id="c7d7000"] {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .elementor-element-c7d7000,
    body.admin-bar [data-id="c7d7000"] {
        top: 46px;
    }
}

/* Ensure the second main container overlaps and covers the first */
.elementor-element-container_eg8wnosqw,
[data-id="container_eg8wnosqw"] {
    position: relative;
    z-index: 2;
    /* Optional: add a solid background to mask the sticky element */
    background-color: var(--e-global-color-primary, #ffffff);
}
