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

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

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

/*
|--------------------------------------------------------------------------
| PAV Hero
|--------------------------------------------------------------------------
*/

.cew-pav-hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;

    /* padding (not margin) clears the fixed header — the background fills it, so
       there is no empty gap above the hero. box-sizing keeps the height honest. */
    box-sizing: border-box;
    padding-top: 80px;

    display: flex;
    align-items: center;
}

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

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

.cew-pav-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* fades left to right so the copy stays legible over any photo */
.cew-pav-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.60) 0%,
        transparent 100%
    );
}

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

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

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

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

.cew-pav-hero-content {
    max-width: 672px;
    color: #ffffff;
}

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

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

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

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

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

    margin-bottom: 16px;
}

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

.cew-pav-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-pav-hero-description {
    font-size: 18px;
    line-height: 30px;

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

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

@media (max-width: 1024px) {

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

}

@media (max-width: 768px) {

    .cew-pav-hero {
        min-height: 380px;
    }

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

    .cew-pav-hero-title {
        font-size: 32px;
        line-height: 40px;
    }

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

}
