/*------------------------------------*\
    
    Half & Half Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Half & Half 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-start-blocks.php)

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

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.half-and-half-image, 
.half-and-half-text {
    position: relative;
    width: 100%;
}

.half-and-half-image img {
    height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
}

.half-and-half-text__wrapper {
    padding: 64px 22px 80px;
}

.half-and-half-image__wrap {
    position: relative;
    /* height: 208px; */
    height: auto;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(221,221,223,1) 100%);
}

.half-and-half-image__wrap img {
    mix-blend-mode: multiply;
}

.video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    background: rgba(4,14,28,0.15);
    filter: drop-shadow(0px 3px 10px #fff);
}

.video-bttn svg {
    width: 77px;
    height: auto;
    opacity: 0.85;
    transition: all .3s;
}

.half-and-half-text__wrapper-product-cat-text {
    padding-bottom: 40px;
}

.half-and-half__cta-text {
    margin-top: 20px;
    padding-top: 30px;
}

.bg-blue .half-and-half__cta-text,
.bg-light-blue .half-and-half__cta-text {
    border-top: 1px solid #CEE5ED;
}

.bg-gray .half-and-half__cta-text,
.bg-light-gray .half-and-half__cta-text {
    border-top: 1px solid #BEC4C6;
}

.bg-dark-blue .half-and-half__cta-text {
    border-top: 1px solid #fff;
}

@media (min-width: 768px) {
    
    .half-and-half-text__wrapper {
        padding: 64px 52px 80px;
    }

}
@media (min-width: 1400px) {

    .flex-opposite {
        flex-direction: row-reverse;
    }

    .half-and-half-text__wrapper {
        padding: 100px 0 102px;
        max-width: 678px;
    }

    .image-block-right .half-and-half-text__wrapper {
        margin-left: auto;
    }
    
    .half-and-half-image {
        width: calc(50% - 16px);
    }

    .half-and-half-text {
        width: calc(50% + 16px);
        padding: 0;
    }

    .half-and-half-image__wrap {
        height: 100%;
    }
    
    .half-and-half-image img {
        position: absolute;
        max-height: 1150px;
        object-position: left center;
    }

    .image-block-right .half-and-half-image__wrap {
        margin-left: 113px;
    }

    .image-block-left .half-and-half-image__wrap {
        margin-right: 113px;
    }

    .image-block-right .half-and-half-text {
        padding-left: 16px;
    }

    .image-block-left .half-and-half-text {
        padding-right: 16px;
    }
    
    .video-bttn:hover {
        background: rgba(4,14,28,0.15);
    }
    
    .video-bttn:hover svg {
        transform: scale(1.1);
        opacity: 1;
    }
    
}
