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

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

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

/*
|--------------------------------------------------------------------------
| PAF Hero
|--------------------------------------------------------------------------
*/

.cew-paf-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;

    display: flex;
    align-items: center;
}

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

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

.cew-paf-hero-image {
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    transition: transform 1s ease;
}

.cew-paf-hero-image--zoom:hover {
    transform: scale(1.05);
}

/* fades left to right so the copy stays legible over any photo */
.cew-paf-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-paf-hero-container {
    position: relative;
    z-index: 10;

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

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

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

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

    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;

    color: #ffffff;
    margin: 0;
}

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

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

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

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

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

@media (max-width: 1024px) {

    .cew-paf-hero-title {
        font-size: 48px;
    }

}

@media (max-width: 768px) {

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

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

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

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

}
