.text-image {
    padding: 40px 0 40px;
    position: relative;
}

.hero+.text-image{
    background-image: url(../../assets/images/bg-text-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text-image .text-image-wrapper {
    display: flex;
    align-items: center;
    gap: 20px 40px;
}

.text-image .text-image-wrapper>div {
    width: 50%;
}

.text-image.text .text-image-wrapper .block-text,
.text-image.image .text-image-wrapper .block-image {
    width: 60%;
}

.text-image.text .text-image-wrapper .block-image,
.text-image.image .text-image-wrapper .block-text {
    width: 40%;
}

.text-image .block-text>* {
    margin-bottom: 10px;
}

.text-image .btn-wrapper {
    margin-top: 30px;
}

.text-image .block-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-image .block-image img {
    width: 100%;
    max-height: 400px;
    width: auto;
}

.text-image ul,
.text-image ol {
    padding-left: 18px;
}

.text-image .block-text>*:last-of-type[style="text-align: center;"]+.btn-wrapper {
    text-align: center;
}
.text-image .block-text>*:last-of-type[style="text-align: right;"]+.btn-wrapper {
    text-align: right;
}

@media (max-width:991px) {
    .text-image .text-image-wrapper {
        flex-direction: column;
    }

    .text-image.text .text-image-wrapper .block-image,
    .text-image.image .text-image-wrapper .block-text,
    .text-image.text .text-image-wrapper .block-text,
    .text-image.image .text-image-wrapper .block-image,
    .text-image .text-image-wrapper>div {
        width: 100%;
    }
}