/*
 * LC Electric Border — Responsive Fix
 * Fixes lc-electric-wrap overflow on tablet and mobile.
 * Does not touch animations (UnicornStudio canvas elements).
 */

/* Always: never let the wrapper escape its flex/block parent */
.lc-electric-wrap {
    max-width: 100%;
    box-sizing: border-box;
}

.lc-eb-content {
    max-width: 100%;
    box-sizing: border-box;
}

/* Tablet + mobile (≤ 1024px): switch to full-width block + clip SVG filter overflow */
@media (max-width: 1024px) {
    .lc-electric-wrap {
        display: block !important;
        width: 100% !important;
        overflow: clip !important; /* SVG filter region = 500% width → déborde sans ça */
    }

    /* Force the Elementor container inside the electric wrap to be full-width */
    .lc-electric-wrap .lc-electric,
    .lc-electric {
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* Mobile (≤ 767px): extra safety — clip any residual overflow at section level */
@media (max-width: 767px) {
    .unicorn-embed {
        overflow-x: clip;
    }

    .lc-electric .elementor-widget-container {
        max-width: 100%;
        overflow: hidden;
    }
}
