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

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

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

/*
|--------------------------------------------------------------------------
| MKS Hero
|--------------------------------------------------------------------------
*/

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

    /* clears the fixed site header */
    padding-top: 80px;

    display: flex;
    align-items: center;
}

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

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

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

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

    transition: transform 0.7s ease;
}

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

.cew-mks-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 82, 56, 0.40);
    pointer-events: none;
}

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

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

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

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

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

.cew-mks-hero-content--left {
    max-width: 672px;
    text-align: left;
}

.cew-mks-hero-content--center {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

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

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

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

.cew-mks-hero-description {
    font-size: 18px;
    line-height: 30px;

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

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

@media (max-width: 1024px) {

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

}

@media (max-width: 768px) {

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

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

    .cew-mks-hero-content {
        text-align: center;
    }

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

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

}
