/*------------------------------------*\
    
    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)

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

.bg-light-gray {
    background: #FAFAFA;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

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

.image-text__text {
    padding-bottom: 25px;
}

.image-text__img {
    padding-bottom: 77px;
}

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

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

.image-text__img__info {
    position: absolute;
    background: #fff;
    padding: 15px;
    border: 1px solid #CCD6E3;
    border-radius: 25px;
    bottom: -77px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 290px;
    box-shadow: 0 8px 25px rgba(12,53,101,0.1);
}

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

.image-text__img__info .sub-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #065EC5;
}

.image-text__img__info .sub-heading i {
    font-size: 32px;
    font-weight: normal;
}

.image-text__img__info h4 {
    font-size: 20px;
    line-height: 1.3em;
    color: #1A2C40;
    padding-bottom: 0;
}

.image-text__img {
    position: relative;
    z-index: 1;
}

.image-text__pattern {
    position: absolute;
    width: 339px;
    height: auto;
    top: 8px;
    left: -87px;
    z-index: -1;
}

.image-text--left .image-text__pattern {
    right: -87px;
    left: auto;
}

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

.image-text--innerpage .image-text__video-bttn svg {
    width: 142px;
}

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

    .image-text__text__wrap {
        padding: 0 58px;
    }

    .image-text__img {
        padding-bottom: 25px;
    }
    

    .image-text__img__wrap {
        margin: 0 58px;
        height: 441px;
    }

    .image-text__pattern {
        width: 540px;
        top: 50%;
        left: -218px;
        transform: translate(0, -50%);
    }

    .image-text--left .image-text__pattern {
        right: -218px;
        left: auto;
    }
    

    .image-text__img__info {
        padding: 25px 35px;
        bottom: -25px;
        left: -25px;
        transform: translate(0, 0);
        width: 400px;
    }

    .image-text__img__info .sub-heading {
       margin-bottom: 12px;
    }

    .image-text__img__info h4 {
        font-size: 24px;
    }

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

    .image-text--innerpage .image-text__video-bttn svg {
        width: 196px;
    }
}


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

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

    .image-text--right .image-text__text__wrap {
        padding: 0 0 0 50px;
    }

    .image-text--left .image-text__text__wrap {
        padding: 0 50px 0 0;
    }

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

    .image-text__img__wrap {
        margin: 0 ;
        height: 496px;
    }

    .image-text__pattern {
        left: -228px;
    }

    .image-text--left .image-text__pattern {
        right: -228px;
        left: auto;
    }

    .image-text__img__info {
        bottom: 20px;
        left: -30px;
    }

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

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

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

    .image-text--innerpage .image-text__video-bttn svg {
        width: 167px;
    }

}

@media (min-width: 768px) {
    .image-text__img__wrap--video {
        padding-left: 25px;
    }

    .image-text__img__wrap--video .image-text__img__info {
        left: 0;
    }
}

@media (min-width: 1200px) {
    .image-text__img__wrap--video {
        padding-left: 30px;
    }

    .image-text__img__wrap--video .image-text__img__info {
        left: 0;
    }
}