/* =========================================
   URBAN SLICE - FULL WIDTH SECTIONS
   Applies to every page that contains an
   Urban Slice widget. Removes Elementor's
   default container padding, gaps and boxed
   width so sections run edge to edge.
========================================= */

/* Containers (flexbox) that hold an Urban Slice widget */
.e-con:has([class*="elementor-widget-urbanslice_"]) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --gap: 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    --content-width: 100%;
    --container-max-width: 100%;
}

.e-con:has([class*="elementor-widget-urbanslice_"]) > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
}

/* The widgets themselves */
[class*="elementor-widget-urbanslice_"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

[class*="elementor-widget-urbanslice_"] > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Older Elementor structure (sections and columns) */
.elementor-section:has([class*="elementor-widget-urbanslice_"]) > .elementor-container {
    max-width: 100% !important;
}

.elementor-column:has([class*="elementor-widget-urbanslice_"]) > .elementor-element-populated {
    padding: 0 !important;
}

.elementor-column:has([class*="elementor-widget-urbanslice_"]) {
    width: 100% !important;
}
