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

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

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

/*
|--------------------------------------------------------------------------
| Page Hero
|--------------------------------------------------------------------------
*/

.cew-page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;

    display: flex;
    align-items: center;
}

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

.cew-page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.cew-page-hero-overlay {
    position: absolute;
    inset: 0;
}

.cew-page-hero-overlay--gradient {
    background-image: linear-gradient(
        90deg,
        rgba(15, 82, 56, 0.60) 0%,
        transparent 100%
    );
}

.cew-page-hero-overlay--solid {
    background-color: rgba(15, 82, 56, 0.70);
}

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

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

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

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

.cew-page-hero-content {
    max-width: 640px;
    color: #ffffff;
}

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

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

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

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;

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

    margin-bottom: 16px;
}

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

.cew-page-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;

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

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

.cew-page-hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    margin: 0;
}


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

@media (max-width: 1024px) {

    .cew-page-hero-title {
        font-size: 40px;
    }

}

@media (max-width: 768px) {

    .cew-page-hero-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .cew-page-hero-title {
        font-size: 30px;
    }

    .cew-page-hero-description {
        font-size: 16px;
    }

}
