/*------------------------------------*\
    
    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-wrapper {
    top: 0;
    left: 0;
    width: 100%;
}

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

.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: 33px 0;
}

.full-width-image-text__content--right h5 {
    padding-bottom: 4px;
}

.full-width-image-text__headline {
    font-size: 40px;
    padding-bottom: 15px;
}

.full-width-image-text__content--right p {
    padding-bottom: 30px;
}

@media (min-width: 768px) {
    .full-width-image-text__content {
        padding: 36px 0;
    }

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

}

@media (min-width: 1200px) {

    .full-width-image-text--box-overlay {
        padding: 100px 0;
    }

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

    .full-width-image-text__img {
        height: 100%;
        /* position: absolute; */
    }

    .full-width-image-text__headline {
        font-size: 60px;
      }
}


@media (min-width: 1440px) {

    .full-width-image-text--box-overlay {
        padding: 149px 0 214px 0;
    }

}



/* Full-Width Image + Text - Direct Text Overlay */
.full-width-image-text--direct-overlay .full-width-image-text__content {
    padding: 0 20px;
}

.full-width-image-text--direct-overlay .full-width-image-text__content {
    padding: 0 20px;
}

.full-width-image-text--direct-overlay .full-width-image-text__headline,
.full-width-image-text--direct-overlay .full-width-image-text__description p {
    color: #fff;
}

@media (min-width: 768px) {
    /* Overlay Color */
    .full-width-image-text--direct-overlay:before {
        content: '';
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: .75;
        background-color: #021A3C; /* TODO: Please update the background color */
        display: block;
    }
}


/* Full-Width Image + Text - Text Box Overlay */
.full-width-image-text--box-overlay .full-width-image-text__content {
    background-color: #fff;
}


@media (min-width: 1200px) {
    .full-width-image-text__content--right {
        width: 724px;
        float: right;
        padding: 79px 65px;
    }
}

@media (min-width: 1440px) {
    .full-width-image-text__content--right {
        width: 736px;
        padding: 79px;
    }
}
