/*------------------------------------*\
    
    Full-Width Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Full-Width Image + Text' block. 
    If there is any reasons why you would need to style this separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-starter-blocks.php)

\*------------------------------------*/

.full-width-image-text {
    position: relative;
}

.full-width-image-text__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: right;
}

.full-width-image-text__content {
    padding: 0;
    position: relative;
    z-index: 2;
}

.full-width-image-text__headline {
    margin-top: 0;
}

.full-width-image-text__description :last-child {
    margin-bottom: 0;
}

.full-width-image-text--direct-overlay__bg {
    position: relative;
    padding: 60px 0;
}

.full-width-image-text__content :where(h1, h2, h3, h4, h5, h6, p, ul li, ol li, a:not(.btn)) {
    color: var(--color-white);
}

.full-width-image-text__content .sub-heading > p {
    color: var(--color-white);
}

.full-width-image-text__content ul li:before {
    background-color: var(--color-white);
}

.full-width-image-text__content blockquote p {
    color: var(--color-black);
}

.full-width-image-text__content :where(a:not(.btn)) {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-color: var(--color-white);
    text-underline-offset: 2px;
}

.full-width-image-text--direct-overlay:before {
     content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 366px;
    background: linear-gradient(to bottom,  rgba(13,62,90,1) 0%,rgba(13,62,90,0) 100%);
    display: block;
}

.full-width-image-text--direct-overlay__bg::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,  rgba(13,62,90,0.64) 0%,rgba(13,62,90,0.84) 100%);
    display: block;
}

.full-width-image-text--direct-overlay__bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 413px;
    background: linear-gradient(to bottom,  rgba(13,62,90,0) 0%,rgba(254,59,0,0.6) 100%);
    display: block;
    z-index: 1;
    opacity: 0.66;
}

.fx-block.full-width-image-text.bg-white + .bg-white {
    padding-top: var(--section-margins);
}

@media (min-width: 768px) {
    
    .full-width-image-text--direct-overlay__bg {
        padding: 80px 0;
    }


    .full-width-image-text--direct-overlay:before {
        height: 100%;
    }

    .full-width-image-text--direct-overlay__bg::after {
        height: 213px;
        opacity: 0.56;
    }


}

@media (min-width: 1200px) {

    .full-width-image-text--direct-overlay__bg {
        padding: 200px 0;
    }

    .full-width-image-text--direct-overlay:before {
        height: 366px;
    }

    .full-width-image-text--direct-overlay__bg::before {
        background: linear-gradient(to right,  rgba(13,62,90,1) 0%,rgba(13,62,90,0.0) 100%);
    }

    .full-width-image-text--direct-overlay__bg::after {
        height: 413px;
    }

    .full-width-image-text__content {
        padding-right: 50px;
    }


}

