/*------------------------------------*\
    
    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;
    z-index: 1;
}

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

.full-width-image-text h4:before {
    left: 50%;
    transform: translate(-50%,0);
}

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

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

.full-width-image-text__description p {
    font-weight: 500;
}


.full-width-image-text--direct-overlay:before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .65;
    background: linear-gradient(to bottom,  #fff 0%,#EBEBEB 72%,#EBEBEB 100%); 
    display: block;
}

.full-width-image-text--direct-overlay--lightblue:before {
    background: linear-gradient(to bottom,  #b5e9ff 0%,#68c7ef 72%,#24aae1 100%); 
}

.full-width-image-text--direct-overlay--lightblue h2 {
    /* color: #242424; */
}

.full-width-image-text--direct-overlay--lightblue :where(h1, h2, h3, h4, h5, p, ul li, ol li) {
    color: #fff;
}

.full-width-image-text--direct-overlay--lightblue a:is(:not([class]), :not([class*=btn])),
.full-width-image-text--direct-overlay--lightblue p > a:is(:not([class]), :not([class*=btn])) {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.full-width-image-text--direct-overlay--lightblue h4::before {
    background: #24AAE1;
}

.full-width-image-text--direct-overlay--lightblue p {
    font-weight: 500;
}

.full-width-image-text--direct-overlay--blue {
    color: #fff;
}

.full-width-image-text--direct-overlay--blue:before {
    background: linear-gradient(to bottom,  #242765 0%,#16194D 72%,#16194D 100%); 
    opacity: 0.65;
}

.full-width-image-text__headline {
    padding-left: 17px;
    padding-right: 17px;
}

.full-width-image-text--direct-overlay--blue h4,
.full-width-image-text--direct-overlay--blue h3 {
    color: #B5E9FF;
}

.full-width-image-text--direct-overlay--blue h4::before,
.full-width-image-text--direct-overlay--blue h3:before {
    background: #fff;
}

@media (min-width: 768px) {
    .full-width-image-text__headline {
        padding-left: 0;
        padding-right: 0;
    }
    
    .full-width-image-text--direct-overlay:before {
        background: linear-gradient(to bottom,  #fff 0%,#EBEBEB 100%); 
        opacity: .85;
    }
    
    .full-width-image-text--direct-overlay--blue:before {
        background: linear-gradient(to bottom,  #242765 0%,#16194D 100%); 
    }

    .full-width-image-text--direct-overlay--lightblue:before {
        background: linear-gradient(to bottom,  #b5e9ff 0%,#24aae1 100%); 
    }
    
}

@media (min-width: 1200px) {
    .full-width-image-text--direct-overlay--lightblue:before {
        background: linear-gradient(to bottom,  #b5e9ff 0%,#24aae1 100%); 
    }
    
}

.full-width-image-text--direct-overlay--blue a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.full-width-image-text--direct-overlay--lightblue a:is(:not([class]), :not([class*=btn])):hover,
.full-width-image-text--direct-overlay--lightblue p > a:is(:not([class]), :not([class*=btn])):hover {
    color: #242765;
    border-bottom: 1px solid #242765;
}
.full-width-image-text--direct-overlay--lightblue :where(h1, h2, h3, h4, h5, p, ul li, ol li) {
    color: #242424;
}