.title_with_content_image_block .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.title_with_content_image_block .image_content_wrapper {
    display: grid;    
}
.img_box .image_content_wrapper {
    grid-template-columns: 1.1fr 0.95fr;
    gap: 38px;
    grid-auto-flow: column;
}
.img_box.reverse .image_content_wrapper {
    grid-template-columns: 0.95fr 1.1fr;
}
.only_img .image_content_wrapper {
    grid-template-columns: 1fr 1.5fr;
    gap: 38px;
    grid-auto-flow: column;
}
.only_img.reverse .image_content_wrapper {
    grid-template-columns: 1.5fr 1fr;
}
.partial_box .image_content_wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.img_box .image_wrapper,
.only_img .image_wrapper {
    grid-column: 1;
}
.img_box .content_wrapper,
.only_img .content_wrapper {
    grid-column: 2;
}
.img_box.reverse .image_content_wrapper .image_wrapper,
.only_img.reverse .image_content_wrapper .image_wrapper {
    grid-column: 2;
}
.img_box.reverse .image_content_wrapper .content_wrapper,
.only_img.reverse .image_content_wrapper .content_wrapper {
    grid-column: 1;
}

.title_with_content_image_block .list_wrap li {
    display: flex;
    padding: 0;
    gap: 20px;
    /*align-items: flex-start;*/
    align-items: center;
}
.title_with_content_image_block .list_wrap li span {
    color:var(--darkBlue);
    font-weight: 700;
}

.img_box .image_wrap,
.only_img .image_wrap {
    gap: 21px;
    display: flex;
    align-items: stretch;
}
.img_box .image_wrap > *,
.only_img .image_wrap > * {
    flex: 1;
}
.img_box .img-wrap {
    border-radius: 13px;
    overflow: hidden;
    height: 100%;
}
.only_img .img-wrap,
.partial_box .img-wrap {
    width: 100%;
    height: 100%;
}
.img_box .img-wrap img,
.only_img .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img_box .colored-box {
    background-color: var(--imgbox-bg-color);
    border-radius: 13px;
    padding: 47px 27px 47px 25px;
    color: var(--imgbox-text-color);
    font-size: var(--bodyFont);
    height: 100%;
    line-height: 1.5em;
}
.img_box .colored-box .author {
    text-align: end;
}
.img_box .colored-box .author span {
    display: block;
    font-weight: 700;
    text-transform: capitalize;
}
.img_box .colored-box .author i {
    font-style: italic;
}

.partial_box .image_wrap {
    position: relative;
}
.partial_box .img-wrap img {
    width: 95%;
    height: 100%;
    object-fit: cover;
}

.bg-green-box {
    position: absolute;
    bottom: -33px;
    right: 0;
    padding: 30px 18px;
    max-width: 366px;
    background-color: var(--darkGreen);
    border-radius: calc(var(--border-radius-val)*2 + 2px);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.bg-green-box p {
    color: var(--white);
    font-size: 27px;
    line-height: 27px;
    margin: 0;
}
.bg-green-box p.highlighted {
    font-size: 65px;
    line-height: 67px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}

@media(min-width:1750px) {
    .partial_box {
        gap: 106px;
    }
}
@media(max-width:1200px) {
    .img_box .image_content_wrapper,
    .img_box.reverse .image_content_wrapper {
        grid-template-columns: 1fr;
        grid-auto-flow: dense;
    }
    .img_box .image_content_wrapper .image_wrapper,
    .img_box .image_content_wrapper .content_wrapper,
    .img_box.reverse .image_content_wrapper .image_wrapper,
    .img_box.reverse .image_content_wrapper .content_wrapper {
        grid-column: unset;
    }
    .partial_box {
        grid-template-columns: 1fr;
    }
    .img_box .img-wrap {
        min-height: 100%;
        max-height: 537px;
    }
}
@media(max-width:992px) {
    .only_img .image_content_wrapper,
    .only_img.reverse .image_content_wrapper {
        display: flex;
        flex-direction: column;
    }
    .mob_top_img .image_content_wrapper {
        flex-direction: column-reverse;
    }
    .partial_box {
        margin-bottom: 150px;
    }
    .partial_box .container{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .partial_box .image_content_wrapper {
        grid-template-columns: 1fr;
    }
    .partial_box .content_wrapper {
        padding-left: 35px;
        padding-right: 35px;
    }
    .partial_box .img-wrap img {
        width: 100%;
        height: 487px;
    }
    .bg-green-box {
        left: 50%;
        right: unset;
        bottom: -105px;
        transform: translateX(-50%);
        width: 320px;
    }    
    .bg-green-box p {
        font-size: 23px;
        line-height: 23px;
    }
    .bg-green-box p.highlighted {
        font-size: 56px;
        line-height: 58px;
    }
}
@media(max-width:768px) {
    .img_box .image_wrap {
        flex-direction: column;
    }
    .img_box .image_wrap .col-md-6 {
        width: 100%;
    }
}
@media(max-width:400px) {
    .bg-green-box {
        width: 300px;
    }
    .bg-green-box p.highlighted {
        font-size: 46px;
        line-height: 48px;
    }
}
@media(max-width:370px) {
    .bg-green-box {
        width: 280px;
    }
    .bg-green-box p {
        font-size: 20px;
        line-height: 24px;
    }
}
@media(max-width:350px) {
    .bg-green-box {
        width: 250px;
    }
    .bg-green-box p {
        font-size: 18px;
        line-height: 22px;
    }
    .bg-green-box p.highlighted {
        font-size: 36px;
        line-height: 38px;
    }
}