/*------------------------------------*\
    
    Contained Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Contained Image + Text' block. 
    If there is any reasons why you would need to style them 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;
}

.image-text .flex-row {
    align-items: center
}

.image-text__img {
    position: relative;
    height: 222px;
}

.image-text__img img {
    border-radius: 20px 20px 100px 20px;
}

.image-text__text {
    margin-top: 32px;
}

.image-text__text .btn-group {
    justify-content: center;
}

@media (min-width: 768px) {
    
    .image-text__img {
        height: 444px;
    }

    .image-text__text .btn-group {
        justify-content: flex-start;
    }

}


@media (min-width: 1200px) {
    
    .image-text__img {
        height: auto;
    }

    .image-text__img::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0F2335;
        opacity: 0.35;
        border-radius: 20px 20px 100px 20px;
    }

   .image-text__text {
        margin-top: 0;
        max-width: 578px;
    }

    .image-text--left .image-text__text {
        margin-left: auto;
    }

}