/*------------------------------------*\
    
    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;
    background-color: var(--color-black);
    padding: 188px 0 22px 0;
}

.full-width-image-text__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 226px;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
}

.full-width-image-text::after {
    content: '';
    position: absolute;
    top: 146px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    background: linear-gradient(to bottom,  rgba(38,35,31,0) 0%,rgba(38,35,31,1) 100%);
}

.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__content {
    padding: 26px 28px;
}

.full-width-image-text--box-overlay .full-width-image-text__content {
    background-color: var(--color-white);
    box-shadow: 0 3px 15px rgba(0,0,0,0.16);
}

.full-width-image-text__btn .btn-border {
    border-color: var(--color-blue);
    color: var(--color-blue);
    font-weight: 700;
}

@media (min-width: 1200px) {
    .full-width-image-text__btn .btn-border:hover {
        border-color: var(--color-white);
        background-color: var(--color-white);
        color: var(--color-blue);
    }
}

.full-width-image-text__btn {
    text-align: center;
}

@media (min-width: 768px) {

    .full-width-image-text__btn {
        text-align: left;
    }
    
    .full-width-image-text {
        background-color: var(--color-white);
        padding: 360px 0 56px 0;
    }

    .full-width-image-text__img {
        height: 450px;
    }

    .full-width-image-text::after {
        display: none;
    }

    .full-width-image-text__content {
        padding: 54px 53px 69px 64px;
    }

    .full-width-image-text--inner {
        padding-bottom: 240px;
    }

    .full-width-image-text.is-prev-logo-carousel {
        padding-bottom: 240px;
    }

}

@media (min-width: 1200px) {
    .full-width-image-text {
        padding: 110px 0;
    }

    .full-width-image-text__img {
        height: 100%;
    }


    .full-width-image-text--box-overlay .full-width-image-text__content {
        padding: 65px 76px 70px 72px;
        width: 724px;
        background: rgba(255,255,255,0.9);
    }

    .full-width-image-text__content--right {
        margin-left: auto;
    }

    .full-width-image-text--inner .full-width-image-text__headline {
        font-size: 45px;
        padding-bottom: 8px;
    }

    .full-width-image-text--inner {
        padding-bottom: 204px;
    }

    .full-width-image-text.is-prev-logo-carousel {
        padding-bottom: 204px;
    }

    .full-width-image-text--inner .full-width-image-text__description p {
        padding: 0 0 15px 0;
    }

    .full-width-image-text--inner .full-width-image-text__description p:last-child {
        padding-bottom: 0;
    }

    .full-width-image-text__btn {
        margin-top: 10px;
    }

    .full-width-image-text__btn .btn + .btn {
        margin-left: 18px;
    }
}



