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

    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__text {
    padding-bottom: 35px;
}

.image-text__img__wrap {
    position: relative;
    height: 221px;
}

.image-text__img__wrap--video {
    height: 186px;
}

.image-text__img__wrap img {
    border-radius: 35px;
}

.video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

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

@media (min-width: 768px) {
    .image-text__text {
        padding-bottom: 50px;
    }

    .image-text__img__wrap {
        height: 444px;
    }

    .image-text__img__wrap--video {
        height: 374px;
    }

    .video-bttn svg {
        width: 116px;
    }

}

@media (min-width: 1200px) {
    .flex-opposite {
        flex-direction: row-reverse;
    }

    .image-text__text {
        padding-bottom: 0;
    }

    .image-text__img__wrap {
        height: auto;
        max-width: 573px;
    }

    .image-text__img__wrap--video {
        height: auto;
    }

    .image-text--right .image-text__img__wrap {
        margin-left: auto;
    }

    .video-bttn:hover {
        background: none;
    }

    .video-bttn:hover svg {
        transform: scale(1.1)
    }

}