/*------------------------------------*\
    
    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,
.image-text__img {
    width: 100%;
    position: relative;
}

.image-text__text {
    margin-bottom: 30px;
}

.image-text__img img {
    border-radius: var(--border-radius);
}

.image-text__img-right {
    margin-left: auto;
    width: calc(100% - 75px);
    height: 256px;
}

.image-text__img-left {
    width: 183px;
    height: 182px;
    margin-top: -93px;
}

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

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

.video-bttn__circle {
    background: rgba(255, 255, 255, 0.75);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 8px;
}

.video-bttn__circle svg {
    width: 37px;
    height: auto;
}

@media (min-width: 768px) {
    .image-text__img-right {
        width: calc(100% - 258px);
        height: 406px;
        min-width: 300px;
    }

    .image-text__img-left {
        width: 302px;
        height: 302px;
        margin-top: -242px;
    }


    .image-text__img-full {
        height: 405px;
    }

    .video-bttn__circle {
        width: 101px;
        height: 101px;
        padding-left: 10px;
    }

    .video-bttn__circle svg {
        width: 50px;
    }

    .image-text__text ul li {
        margin: 0 0 6px;
    }


}

@media (min-width: 1200px) {

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

    .image-text .flex-row {
        justify-content: space-between;
    }

    .image-text__text {
        width: calc(50% - 126px);
        margin-bottom: 0;
    }

    .image-text__img {
        width: calc(50% + 26px)
    }

    .image-text__img-right {
        height: 400px;
    }

    .image-text__img-left {
        margin-top: -235px;
    }

    .image-text--left .image-text__img-right {
        margin-left: 0;
    }

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

    .image-text__img-full {
        height: 400px;
    }

    .bg-white .image-text__img-full img {
        box-shadow: 0 0 15px 0 rgba(0, 28, 107, 0.30);
    }

    .video-bttn__circle {
        width: 100px;
        height: 100px;
    }

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

    .video-bttn:hover .video-bttn__circle {
        background: var(--color-primary-yellow-light);
    }

    .image-text__text ul li {
        margin: 0 0 1px;
    }

}

