/* Design unit shared with the Urban Slice plugin (1 design px at 1440px). */
:root {
    --us-dw: 1440;
    --us-u: clamp(0.8px, calc(100vw / var(--us-dw)), 1.5px);
}


/* =========================================
   URBAN SLICE - GLOBAL COMPONENTS
========================================= */


/* =========================================
   1. GENERAL CONTAINERS
========================================= */

.us-container {
    width: min(100% - calc(55.2*var(--us-u,1px)), calc(1656*var(--us-u,1px)));
    margin-inline: auto;
}


/* =========================================
   2. GLOBAL BUTTONS
========================================= */

.us-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(11.5*var(--us-u,1px));
    padding: calc(16.1*var(--us-u,1px)) calc(27.6*var(--us-u,1px));

    background-color: var(--us-green);
    color: #ffffff;
    border: 1px solid var(--us-green);

    text-decoration: none;
    transition: background-color 0.25s ease,
                color 0.25s ease;
}

.us-button:hover {
    background-color: transparent;
    color: var(--us-green);
}


/* =========================================
   3. RESPONSIVE IMAGES
========================================= */

.us-image {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   6. GLOBAL ACCESSIBILITY & SAFETY
========================================= */

/* Visible keyboard focus */
.us-header a:focus-visible,
.us-header button:focus-visible,
.us-footer a:focus-visible {
    outline: 2px solid var(--us-red);
    outline-offset: calc(4.6*var(--us-u,1px));
}

/* Prevent images from overflowing their containers */
img {
    max-width: 100%;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   ELEMENTOR FULL WIDTH (applies to every page)
   Removes Elementor's default 10px container
   padding and 20px gaps so every Urban Slice
   section runs edge to edge. Padding/gap set
   manually inside Elementor still wins.
========================================= */

.elementor .elementor-element,
.elementor .e-con {
    --widgets-spacing: 0px 0px;
    --widgets-spacing-row: 0px;
    --widgets-spacing-column: 0px;
    --kit-widget-spacing: 0px;
}

.elementor .e-con {
    --container-default-padding-top: 0px;
    --container-default-padding-right: 0px;
    --container-default-padding-bottom: 0px;
    --container-default-padding-left: 0px;

    --padding-top: 0px;
    --padding-right: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;

    --gap: 0px;
    --row-gap: 0px;
    --column-gap: 0px;

    --container-max-width: 100%;
    --content-width: 100%;
}

.elementor .e-con > .e-con-inner {
    max-width: 100%;
    padding: 0;
}

.elementor .e-con > .elementor-widget,
.elementor .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

/* Older Elementor "section" structure */

.elementor .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

.elementor .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
.elementor .elementor-column-gap-narrow > .elementor-column > .elementor-element-populated,
.elementor .elementor-column-gap-extended > .elementor-column > .elementor-element-populated,
.elementor .elementor-column-gap-wide > .elementor-column > .elementor-element-populated,
.elementor .elementor-column-gap-wider > .elementor-column > .elementor-element-populated {
    padding: 0;
}

.elementor .elementor-widget:not(:last-child) {
    margin-block-end: 0;
}

/* Theme wrappers never limit the width */

.us-main,
.us-page__content,
.us-homepage__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
