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

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


.image-text--padding {
    padding: 0;
}

.image-text__img__col {
    width: 100%;
    height: 280px;
    position: relative;
    z-index: 1;
    padding: 0 0 20px 20px;
}

.image-text__img__col::before {
    content: "";
    width: 100%;
    height: calc(100% - 20px);
    position: absolute;
    top: 20px;
    left: 0;
    background: var(--pale-blue);
    z-index: -1;
    border-radius: 10px;
}

.image-text__img__col img {
    display: block;
    border-radius: 10px;
}

.image-text__text {
    padding-top: 20px;
    color: var(--dark);
}

.process-col ul,
.process-col ul li {
    margin: 0;
    padding: 0;
}

.process-col ul li::before {
    display: none;
}

.process-col ul li {
    padding: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.process-col ul li:last-child {
    padding-bottom: 0;
}

.process-icon {
    width: 50px;
    font-size: 50px;
    font-weight: normal;
    color: var(--neon-green);
}

.process-info {
    width: calc(100% - 50px);
    padding-left: 20px;
}

.process-info p {
    font-family: var(--primary-font);
    font-size: var(--primary-font-size);
    font-weight: normal;
    color: var(--dark);
    line-height: 1.33em;
    text-transform: uppercase;
    padding: 0;
}

@media (min-width: 768px) {

    .image-text__img__col {
        height: 320px;
    }
    
    .image-text__img__col::before {
        background: #F5FCFF;
    }
    
    .image-text__text {
        padding: 20px 0 0 35px;
    }

    .process-col ul li {
        align-items: center;
        padding-bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .flex-row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .image-text .flex-row {
        align-items: center
    }

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

    .image-text--padding {
        padding: 0; 
    }
    
    .image-text__img__col {
        height: 445px;
    }

    .image-text__text {
        padding: 0 0 20px 56px;
    }

    .flex-opposite .image-text__text {
        padding: 0 56px 20px 0;
    }

    .flex-opposite .image-text__img__col {
        width: 100%;
        padding: 0 20px 20px 0;
    }
    
    .flex-opposite .image-text__img__col::before {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        top: 20px;
        left: 20px;
    }

    .process-col {
        padding-top: 5px;
    }
    
}