/*------------------------------------*\
    
    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 {
    height: 128px;
}

.half-and-half-text {
    padding: 64px 28px;
}

.half-and-half-image .video-bttn {
    background: rgba(43,49,57,0.2);
}

@media (min-width: 768px) {
    .half-and-half-image {
        height: 264px;
    }
    
    .half-and-half-text {
        padding: 64px 110px;
    }
}
    
@media (min-width: 1200px) {
    
    .half-and-half-image {
        width: calc(50% + 136px);
    } 

    .half-and-half-text {
        width: calc(50% - 136px);
    }
    
    .half-and-half-image img {
        position: absolute;
        top: 0;
        left: 0;
    }

    .half-and-half-image {
        height: auto;
    }
    
    .half-and-half-text {
        padding: 126px 63px;
    }

    .half-and-half-text__wrapper {
        max-width: 407px;
    }

    .image-block-right .half-and-half-text__wrapper {
        margin-left: auto;
    }

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

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

@media (min-width: 1367px) {
    
    
    .half-and-half-text {
        padding: 126px 21px;
    }
    
    .image-block-right .half-and-half-text {
        padding-right: 92px;
    }

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