/*------------------------------------*\
    
    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__wrap {
    position: relative;
    height: 254px;
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
}

.image-text__video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,31,63,0.6);
}

.image-text__video-bttn:hover {
    border: none;
}

.image-text__video-bttn svg {
    width: 62px;
    height: auto;
    transition: all .3s;
}

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

    .image-text__video-bttn svg {
        width: 124px;
    }
}

@media (min-width: 1200px) {

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

    .image-text__img__wrap {
        height: auto;
        margin-bottom: 0;
    }


    .image-text__video-bttn svg {
        width: 115px;
    }

    .image-text__video-bttn:hover svg {
        transform: scale(1.1);
    }
}

.image-text__img__top img,
.image-text__img__bottom img {
    border-radius: 10px;
}

.image-text__img__top {
    height: 121px;
}

.image-text__img__bottom {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 12px;
}

.image-text__img__bottom-left {
    width: 62%;
    height: 120px;
}

.image-text__img__bottom-right {
    width: 38%;
    height: 120px;
    padding-left: 10px;
}

@media (min-width: 768px) {
    .image-text__img__top {
        height: 245px;
    }
    
    .image-text__img__bottom {
        margin-top: 24px;
    }
    
    .image-text__img__bottom-left {
        height: 242px;
    }
    
    .image-text__img__bottom-right {
        height: 242px;
        padding-left: 22px;
    }
}


@media (min-width: 1200px) {
    .image-text__img__top {
        height: 227px;
    }
    
    .image-text__img__bottom {
        margin-top: 22px;
    }
    
    .image-text__img__bottom-left {
        width: 61.5%;
        height: 225px
    }
    
    .image-text__img__bottom-right {
        width: 38.5%;
        height: 225px;
        padding-left: 21px;
    }
}

.image-text.bg--blue .read-more__content::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 53px;
    left: 0;
    bottom: 0;
    background: linear-gradient(to bottom,#05325800 0%,#053258 100%);
}