/*------------------------------------*\
    
    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: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 550px;
    object-position: 69%;
    object-fit: cover;
}

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

.full-width-image-text__headline {
    color: #fff;
    line-height: 1.25em;
    padding-bottom: 30px;
}

.full-width-image-text__headline img {
    position: absolute;
    left: -40px;
    top: 10px;
    z-index: -1;
}

.full-width-image-text__wrap {
    background: #1A254E;
    padding: 68px 0 80px;
    color: #fff;
}

.full-width-image-text__content {
    padding: 0;
}

.full-width-image-text__content .btn {
    color: #fff;
    border-color: #FFFFFF;
    margin-top: 10px;
}

.full-width-image-text__description a {
    color: #BDA76C;
}

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

.full-width-image-text--overlay:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    display: block;
    background: rgba(26, 37, 78, 0.8);
}

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

.full-width-image-text--overlay .full-width-image-text__content .btn {
    color: #BDA76C;
    border-color: #BDA76C;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .full-width-image-text__img {
        height: 900px;
        object-position: 70%;
    }
    
    .full-width-image-text--overlay .full-width-image-text__wrap {
        padding: 100px 0;
    }

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

    .full-width-image-text--overlay .full-width-image-text__content .btn {
        margin-top: 25px;
    }
}

@media (min-width: 1200px) {
    .full-width-image-text__img {
        height: 100%;
        object-position: top;
        position: absolute;
    }

    .full-width-image-text__wrap {
        padding: 210px 0 160px;
        background: transparent;
        height: 100%;
    }

    .full-width-image-text--direct-overlay:before {
        content: '';
        position: absolute;
        z-index: 2;
        top: 60px;
        left: 0;
        width: 60%;
        height: calc(100% - 60px);
        opacity: 1;
        display: block;
        background: linear-gradient(to right, rgba(26, 37, 78, 0.9) 50%, rgba(26, 37, 78, 0) 100%);
    }

    .full-width-image-text__content {
        max-width: 530px;
    }

    .full-width-image-text__description {
        padding-right: 78px;
    }

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

    .full-width-image-text--overlay .full-width-image-text__wrap {
        padding: 155px 0;
    }

    .full-width-image-text--overlay .full-width-image-text__headline {
        font-size: 50px;
        padding-bottom: 20px;
    }

    .full-width-image-text--overlay .full-width-image-text__content .btn {
        margin-top: 25px;
    }

    .full-width-image-text--overlay .full-width-image-text__content {
        max-width: 100%;
    }

    .full-width-image-text--overlay .full-width-image-text__description {
        padding-right: 0;
    }

    .full-width-image-text--overlay .full-width-image-text__content .btn:hover {
        color: #fff;
    }
}

@media (min-width: 2000px) {
    .full-width-image-text--direct-overlay:before {
        top: 65px;
        height: calc(100% - 65px);
    }
}

@media (min-width: 2100px) {
    .full-width-image-text--direct-overlay:before {
        top: 70px;
        height: calc(100% - 70px);
    }
}

@media (min-width: 2400px) {
    .full-width-image-text--direct-overlay:before {
        top: 80px;
        height: calc(100% - 80px);
    }
}

