.home-image-text {
    position: relative;
    z-index: 2;
}

.home-image-text--bg-light {
    background: #F0F4F8;
}

.home-image-text__text {
    padding: 0 2px;
}

.home-image-text__text .btn {
    width: 258px;
    text-align: center;
    margin: 0 auto;
    display: block;
    font-size: 16px;
}

.home-image-text__text p + .btn {
    margin-top: 25px;
}

.home-image-text--left .home-image-text__text {
    padding-top: 15px;
}

.home-image-text--right .home-image-text__text {
    padding-bottom: 25px;
}

.home-image-text__img {
    margin: 0 auto;
    border-radius: 22px;
    border: 2px solid rgba(35,52,92,0.25);
}

.home-image-text--left .home-image-text__img {
    width: 252px;
    height: 186px;
    margin-bottom: 30px;
}

.home-image-text--left .home-image-text__img img {
    width: 176px;
    height: 191px;
    margin-top: 25px;
    margin-left: 47px;
    object-fit: cover;
}

.home-image-text--right .home-image-text__img {
    width: 289px;
    height: 232px;
    margin-bottom: 50px;
}

.home-image-text--right .home-image-text__img img {
    width: 267px;
    height: 269px;
    margin-top: 12px;
    margin-left: 38px;
    object-fit: cover;
}

@media (min-width: 768px) {

    .home-image-text--right .flex-row {
        flex-direction: column-reverse;
    }
    
    .home-image-text__text {
        padding: 0 0;
        width: 560px;
    }

    .home-image-text__text .btn {
        width: auto;
        margin: 0;
        display: inline-block;
    }

    .home-image-text__text p + .btn {
        margin-top: 10px;
    }

    .home-image-text--left .home-image-text__text {
        padding-top: 25px;
    }

    .home-image-text--right .home-image-text__text {
        padding-bottom: 0;
        padding-top: 25px;
        width: 615px;
    }

    .home-image-text--right .home-image-text__text h2 {
        margin-right: -10px;
    }

    .home-image-text--right .home-image-text__img {
        width: 298px;
        height: 240px;
        margin-bottom: 51px;
    }

    .home-image-text--right .home-image-text__img img {
        width: 276px;
        height: 278px;
        margin-top: 13px;
        margin-left: 36px;
    }
}


@media (min-width: 1200px) {

    .home-image-text .flex-row {
        align-items: flex-end;
    }

    .home-image-text--right .flex-row {
        flex-direction: initial;
    }
    
    .home-image-text__text {
        padding: 0 0;
        width: 100%;
    }

    .home-image-text--left .home-image-text__text {
        padding-top: 0;
    }

    .home-image-text--right .home-image-text__text {
        padding-bottom: 0;
        padding-top: 0;
        width: 100%;
    }

    .home-image-text--right .home-image-text__text h2 {
        margin-right: 0;
    }

    .home-image-text--left .home-image-text__img {
        width: 506px;
        height: 371px;
        margin: 0 0 62px 0;
    }
    
    .home-image-text--left .home-image-text__img img {
        width: 354px;
        height: 384px;
        margin-top: 49px;
        margin-left: 96px;
    }

    .home-image-text--right .home-image-text__img {
        width: 506px;
        height: 406px;
        margin: 0 0 92px auto;
    }

    .home-image-text--right .home-image-text__img img {
        width: 469px;
        height: 472px;
        margin-top: 21px;
        margin-left: 67px;
    }

    .home-image-text__text .btn {
        font-size: 20px;
    }
}