/*------------------------------------*\
    
    Half & Half Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Half & Half Image + Text' block. 
    If there is any reasons why you would need to style this 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;
}

.half-and-half-image,
.half-and-half-text {
    position: relative;
    width: 100%;
}

.half-and-half-image {
    height: 200px;
}

.half-and-half-text {
    padding: 32px 21px var(--section-margins);
}

.half-and-half-text .btn-grp-wrapper {
    margin-bottom: 0;
}
.image-headline h2 {
    color: var(--white);
}

@media (min-width: 768px) {
    .half-and-half-image {
        height: 464px;
    }

    .half-and-half-text {
        padding: 32px 110px var(--section-margins);
    }
}

@media (min-width: 1200px) {
    .half-and-half-image,
    .half-and-half-text {
        width: 50%;
    }

    .half-and-half-image img {
        position: absolute;
    }

    .half-and-half-image {
        height: auto;
    }

    .half-and-half-text {
        padding: var(--section-margins) 63px;
        align-items: center;
        display: inline-flex;
    }

    .half-and-half-text__wrapper {
        max-width: 535px;
    }

    .image-block-right .half-and-half-text__wrapper {
        margin-left: auto;
    }
}

@media (min-width: 1600px) {
    .image-block-left .half-and-half-text {
        padding-left: var(--section-margins);
    }

    .image-block-right .half-and-half-text {
        padding-right: var(--section-margins);
    }
}

.half-and-half-text__statistics {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: var(--paragraph-spacing);
}

.image-text__text__wrap .fx-accordion {
    margin-bottom: var(--paragraph-spacing);
}
.half-and-half-text__statistics__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.half-and-half-text__statistics__number {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: var(--headline);
    margin: 0;
    white-space: pre-wrap;
}

.half-and-half-text__statistics__description {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: var(--medium);
    margin: 0;
    white-space: pre-wrap;
}
.bg-medium .half-and-half-text__statistics__number,
.bg-medium .half-and-half-text__statistics__description,
.bg-dark .half-and-half-text__statistics__number,
.bg-dark .half-and-half-text__statistics__description {
    color: var(--white);
}

@media (min-width: 768px) {
    .half-and-half-text__statistics {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
    }

    .half-and-half-text__statistics__item {
        max-width: 259.5px;
    }

    .half-and-half-text__statistics__number {
        font-size: 55px;
    }

    .half-and-half-text__statistics__description {
        font-size: 15px;
    }
}

@media (min-width: 1200px) {
    .half-and-half-text__statistics {
        gap: 32px;
        flex-wrap: nowrap;
    }

    .half-and-half-text__statistics__item {
        width: 259.5px;
    }

    .half-and-half-text__statistics__number {
        font-size: 65px;
    }

    .half-and-half-text__statistics__description {
        font-size: 16px;
    }
}
