
/* =========================================
   URBAN SLICE - CONTACT HERO
========================================= */

.us-contact-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 290px;

    overflow: hidden;
    isolation: isolate;

    background: var(--us-green);
}


/* =========================================
   BACKGROUND IMAGE
========================================= */

.us-contact-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.us-contact-hero__background img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* =========================================
   GREEN OVERLAY
========================================= */

.us-contact-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(
        25,
        61,
        32,
        var(--us-contact-overlay-opacity, 0.78)
    );
}


/* =========================================
   CONTENT
========================================= */

.us-contact-hero__content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding: 50px 24px;

    text-align: center;
}


/* =========================================
   HEADING
========================================= */

.us-contact-hero__heading {
    margin: 0;

    color: #FFFFFF;

    font-size: clamp(38px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .us-contact-hero {
        min-height: 270px;
    }

    .us-contact-hero__heading {
        font-size: 44px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .us-contact-hero {
        min-height: 230px;
    }

    .us-contact-hero__content {
        padding: 40px 20px;
    }

    .us-contact-hero__heading {
        font-size: clamp(32px, 8vw, 40px);
    }

}
