/*
|--------------------------------------------------------------------------
| Full-bleed: remove Elementor's default gap around the widget
|--------------------------------------------------------------------------
*/

.elementor-widget-rav_hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-widget-rav_hero > .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}

/*
|--------------------------------------------------------------------------
| RAV Hero
|--------------------------------------------------------------------------
*/

.cew-rav-hero {
    position: relative;
    height: 400px;
    overflow: hidden;

    /* padding (not margin) clears the fixed header so the background fills it */
    box-sizing: border-box;
    padding-top: 80px;

    display: flex;
    align-items: center;
}

/*
|--------------------------------------------------------------------------
| Background
|--------------------------------------------------------------------------
*/

.cew-rav-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #2d6a4f;
}

.cew-rav-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(75%);
}

.cew-rav-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.20);
    pointer-events: none;
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.cew-rav-hero-container {
    position: relative;
    z-index: 10;

    width: 100%;
    max-width: 1200px;
    margin: auto;

    padding-left: 48px;
    padding-right: 48px;
}

.cew-rav-hero-content {
    color: #ffffff;
}

/*
|--------------------------------------------------------------------------
| Badge
|--------------------------------------------------------------------------
*/

.cew-rav-hero-badge {
    display: inline-block;

    padding: 4px 16px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05em;

    background-color: #b1f0ce;
    color: #002114;

    margin-bottom: 16px;
}

/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.cew-rav-hero-title {
    max-width: 672px;

    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: -0.02em;

    color: #ffffff;
    margin: 0 0 16px 0;
}

/*
|--------------------------------------------------------------------------
| Description
|--------------------------------------------------------------------------
*/

.cew-rav-hero-description {
    max-width: 576px;

    font-size: 18px;
    line-height: 30px;

    color: rgba(255, 255, 255, 0.90);
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

    .cew-rav-hero-title {
        font-size: 40px;
        line-height: 48px;
    }

}

@media (max-width: 768px) {

    .cew-rav-hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cew-rav-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .cew-rav-hero-description {
        font-size: 16px;
        line-height: 26px;
    }

}
