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

.image-text__img {
    margin-top: 60px;
    height: 186px;
    position: relative;
    overflow: hidden;
}

.image-text__img--big {
    height: 220px;
}

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

.image-text__bttn svg {
    width: 66px;
    height: auto;
    transition: all .3s ease-in-out;
}

@media (min-width: 768px) {
    .image-text__img {
        margin-top: 60px;
        height: 370px;
    }

    .image-text__bttn svg {
        width: 110px;
    }

    .image-text--left--inner,
    .padding-left-right {
        padding-left: 52px;
        padding-right: 52px;
    }

    .image-text--left--inner .image-text__img {
        height: 308px;
    }
}


@media (min-width: 1200px) {
    .image-text .flex-row.is-image-cover {
        align-items: unset;
    }

    .image-text--left--inner,
    .padding-left-right {
        padding-left: 0;
        padding-right: 0;
    }

    .image-text__img {
        margin-top: 0;
        height: auto;
    }

    .image-text--left--inner .image-text__img {
        height: auto;
    }

    .image-text__img img {
        width: 100%;
    }

    .image-text--left .image-text__img {
        padding-right: 50px;
    }

    .image-text--right .image-text__img {
        padding-left: 50px;
    }
    

    .image-text__bttn:hover svg {
        transform: scale(0.8);
    }

    .color-image-text__text {
        padding-right: 83px;
    }
}
