/* ========================================================= */
/* PARALLAX BLOCK */
/* ========================================================= */

.cms-parallax {
    position: relative;
    width: 100%;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* ========================================================= */
/* MEDIA WRAPPER */
/* ========================================================= */

.cms-parallax__media-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

/* ========================================================= */
/* MEDIA (BACKGROUND IMAGE) */
/* ========================================================= */

.cms-parallax__media {
    position: absolute;

    top: -15%;
    left: 0;

    width: 100%;
    height: 130%;

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

    transform: translate3d(0,0,0);
    will-change: transform;
}

/* ========================================================= */
/* OVERLAY */
/* ========================================================= */

.cms-parallax__overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;
}

/* ========================================================= */
/* INNER */
/* ========================================================= */

.cms-parallax__inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* ========================================================= */
/* CONTENT */
/* ========================================================= */

.cms-parallax .block-inner {
    position: relative;
    width: 100%;
}

.cms-parallax__content {
    position: relative;

    max-width: 1200px;
    margin: auto;

    padding: 90px 40px;

    text-align: center;
    color: white;
}

/* ========================================================= */
/* TITLE */
/* ========================================================= */

.cms-parallax__title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

/* ========================================================= */
/* SUBTITLE */
/* ========================================================= */

.cms-parallax__subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 768px) {

    .cms-parallax {
        min-height: 420px;
    }

    .cms-parallax__content {
        padding: 70px 25px;
    }

    .cms-parallax__title {
        font-size: 30px;
    }

}