/*------------------------------------*\
    
    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__wrapper {
    height: 250px;
    position: relative;
}

.image-text__img__wrapper img,
.image-text__img__wrapper .video-bttn  {
    border-radius: 20px 40px 80px 20px;
}

.image-text__img__list {
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    border-radius: 15px;
    background: rgba(240, 51, 55, 0.1);
}

.bg-blue .image-text__img__list,
.bg-navy .image-text__img__list {
    background: var(--white);
}

.image-text__img__list h4 {
    color: var(--text);
    font-size: 20px;
    line-height: 1.40em;
    margin-bottom: 15px;
}

.bg-navy .image-text__img__list h4 {
    color: var(--text);
}

.image-text__img__list ul {
    margin: 0;
    padding: 0;
    display: flex;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.image-text__img__list.center ul {
    justify-content: center;
}

.image-text__img__list ul > li {
    text-align: left;
}

.image-text__img__list ul li {
    margin: 0;
    padding-left: 36px;
}

.bg-navy .image-text__img__list ul li {
    color: var(--text);
}

.bg-navy .image-text__img__list ul.list-style li:before {
    color: var(--black);
}

.bg-navy .image-text__img__list ul.list-style li::after {
    background: #F03337;
    opacity: 0.5;
}

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

.image-text__text .btn-group {
    margin-right: -12px;
}

.video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23,37,73,0.5);
}

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

@media (min-width: 768px) {
    .image-text__img__wrapper {
        height: 400px;
    }
    
    .image-text__img__list {
        margin-top: 32px;
        padding: 31px;
    }

    .image-text__img__list h4 {
        font-size: 22px;
    }

    .image-text__img__list ul {
        column-gap: 25px;
    }

    .image-text__img__list ul li {
        padding-left: 48px;
    }

    .image-text__text {
        margin-top: 50px;
    }

    .image-text__text .btn-group {
        margin-right: 0;
    }

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

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

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

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

    .image-text__img__wrapper {
        height: 514px;
    }
    
    .image-text__img__list {
        margin-top: 40px;
    }

    .image-text__text {
        margin-top: 0;
    }

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

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