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

.image-text__img img {
    border-radius: 30px;
}

.image-text__img img.placeholder {
    height: auto;
    padding: 70px;
}

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

.video-bttn svg {
    width: 61px;
    height: auto;
    transition: all .3s;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.50));
}

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

.image-text__text h2 {
    margin-bottom: 25px;
    letter-spacing: 0.04em;
}

.image-text__text p {
    margin-bottom: 15px;
}

.image-text__text .btn-group {
    margin-top: 25px;
}

.image-text__text.purple p {
    color: var(--text-color);
}

.image-text__text.purple .sub-heading {
    color: var(--accent-purple);
}

.single-fx_leadership .image-text__img {
    height: auto;
}

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

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

@media (min-width: 1200px) {
    .image-text__img img.placeholder {
        height: 450px;
        padding: 130px;
    }
    
    .flex-opposite {
        flex-direction: row-reverse;
    }
    .image-text__text {
        margin-top: 0;
    }

    .image-text__img {
        height: auto;
        max-width: 473px;
    }

    .video-bttn:hover {
        text-decoration: none;
    }

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

    .image-text__text .btn-group {
        margin-top: 45px;
    }

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