.homepage-half-image-half-form {
    position: relative;
    z-index: 9;
    background: #F8F8F8;
    padding: 0;
    padding-bottom: 44px;
}

.half-image-half-form {
    position: relative;
}

.half-image-half-form .half-text {
    padding: 42px 28px;
}

.half-image-half-form .entry-content {
    margin-bottom: 20px;
}

.half-image-half-form .half-image {
    height: auto;
    position: relative;
    overflow: hidden;
}

.half-image-half-form .half-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    object-position: center;
}

.half-image-half-form.left-text-right-image .half-image {
    margin: 0 0 0 auto;
    border-radius: 5px 0 0 5px;
}

.half-image-half-form.right-text-left-image .half-image {
    margin: auto 0 0 0;
    border-radius: 0 5px 5px 0;
}

@media (max-width: 767px) {
	.right-text-left-image {
        display: flex;
        flex-direction: column;
    }

    .half-image-half-form.right-text-left-image .half-image {
        order: 1;
    }

    .half-image-half-form.right-text-left-image .half-text {
        order: 2;
    }
}

@media (min-width: 768px) {
    .half-image-half-form .half-text {
        padding: 68px 32px;
    }

    .half-image-half-form .half-image {
        width: calc(100% - 32px);
    }
}

@media (min-width: 1200px) {
    .homepage-half-image-half-form {
        padding: 0;
        padding-bottom: 90px;
    }

    .half-image-half-form .half-text {
        width: 52.5%;
        padding: 54px 25px;
    }

    .half-image-half-form .half-image {
        width: 47.5%;
        height: 100%;
    }

    .half-image-half-form.left-text-right-image .half-image {
        position: absolute;
        top: 0;
        right: 0;
    }

    .half-image-half-form.left-text-right-image .half-text {
        float: left;
        padding: 54px 25px;
    }

    .half-image-half-form.right-text-left-image .half-image {
        position: absolute;
        top: 0;
        left: 0;
    }

    .half-image-half-form.right-text-left-image .half-text {
        float: right;
        padding: 54px 25px;
    }

    .half-image-half-form.right-text-left-image {
        margin-top: 0;
    }
}

@media (min-width: 1300px) {
    .half-image-half-form.left-text-right-image .half-text {
        padding: 54px 70px;
    }

    .half-image-half-form.right-text-left-image .half-text {
        padding: 54px 70px;
    }
}
