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

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

.half-and-half-image img {
    height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
}

.half-and-half-text__wrapper {
    padding: 0 22px 35px;
}

.image-block-left .half-and-half-image {
    padding-right: 22px;
}

.image-block-right .half-and-half-image {
    padding-left: 22px;
}

.half-and-half-image__wrapper {
    height: 229px;
    position: relative;
}

.image-block-left .half-and-half-image__wrapper img {
    border-radius: 0 35px 35px 0;
}

.image-block-right .half-and-half-image__wrapper img {
    border-radius: 35px 0 0 35px;
}

@media (min-width: 768px) {
    .half-and-half-text__wrapper {
        padding: 0 52px 50px;
    }

    .image-block-left .half-and-half-image {
        padding-right: 52px;
    }

    .image-block-right .half-and-half-image {
        padding-left: 52px;
    }

    .half-and-half-image__wrapper {
        height: 466px;
    }

}


@media (min-width: 1200px) {

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

    .half-and-half-image,
    .half-and-half-text {
        width: 50%;
    }

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

    .half-and-half-text__wrapper {
        padding: 0;
        max-width: 616px;
    }

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

    .image-block-left .half-and-half-image {
        padding-right: 60px;
    }

    .image-block-right .half-and-half-image {
        padding-left: 60px;
    }

    .half-and-half-image__wrapper {
        height: 100%;
    }

    .half-and-half-text {
        padding: 75px 16px;
    }

    body.home .half-and-half {
        padding: 0 0 100px;
    }

    .half-and-half.section-padding {
        padding-top: 110px;
        padding-bottom: 110px;
    }
}