/**
 * Elementor Compatibility Overrides
 * Loaded via functions.php when Elementor is active.
 */

/* Full-width sections */
.elementor-section.elementor-section-full_width,
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Prevent theme container from squeezing Elementor boxed sections */
.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Elementor inner section containers */
.elementor-inner-section .elementor-container {
    max-width: 100%;
}

/* Remove default page padding on Elementor full pages */
.elementor-page #main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.elementor-page .content-area {
    padding: 0 !important;
}

/* Fix container on small screens */
@media (max-width: 767px) {
    .elementor-section.elementor-section-full_width {
        overflow-x: hidden;
    }
}

/* Fix widget width inside Elementor columns */
.elementor-widget-wrap .widget {
    border: none;
    padding: 0;
    background: transparent;
}

/* Elementor global colours compatibility */
:root {
    --e-global-color-primary:   #4a0d4f;
    --e-global-color-secondary: #c9a44c;
    --e-global-color-text:      #777777;
    --e-global-color-accent:    #4a0d4f;
}
