#home-news-latest {
    font-weight: 700;
    margin-bottom: 4em;
}
.home-news-latest-left {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 22px 30px;
}
.home-news-latest-right {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding: 22px 35px;
    background-color: var(--primary);
    color: white;
    overflow: hidden;
    position: relative;
}
.home-news-latest-right .swiper-slide {
    margin-right: 65px !important;
}
.home-news-latest-right:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 310px;
    background: linear-gradient(to right,  rgba(38,50,103,0) 0%,rgba(38,50,103,1) 90%);
    z-index: 1;
    pointer-events: none;
}



.latest-home-news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding-right: 35px;
    padding-left: 35px;
    transition: all .5s ease;
}
.latest-home-news-title:hover{
    color: var(--secondary);
}
.latest-home-news-wrapper {
    border-bottom: 5px solid var(--secondary);
}
.latest-home-news-slider-img-wrapper {
    column-gap: 25px;
    border-top: 10px solid var(--primary);
}
.latest-home-news-left-wrapper {
    width: 50.5%;
    flex-shrink: 0;
}
.latest-home-news-left-wrapper > a{
    overflow: hidden;
    position: relative;
}
.latest-home-news-right-wrapper {
    height: 589px;
    max-height: 589px;
}
.latest-home-news-left-wrapper img{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all .5s ease;
}
.latest-home-news-left-wrapper:hover img {
    transform: scale(1.1);
}
.latest-home-news-left-wrapper .content {
    position: absolute;
    left: 65px;
    right: 65px;
    bottom: 62px;
    z-index: 15;
}
.latest-home-news-left-wrapper .content .date {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 13px;
    line-height: 1;
}
.latest-home-news-left-wrapper .content .title {
    color: var(--white);
    font-weight: 700;
    font-size: 22px;
}
.latest-home-news-left-wrapper::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50%;
    background: linear-gradient(to top, var(--primary) 15%, transparent);
    z-index: 12;
}
.latest-home-news-slide-wrapper .image-box {
    width: 246px;
    height: 183px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.latest-home-news-slide-wrapper .image-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(43, 52, 132, .55);
    z-index: 10;
}
.latest-home-news-slide-wrapper .image-box img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all .5s ease;
}
.latest-home-news-slide-wrapper:hover img {
    transform: scale(1.1);
}
.latest-home-news-right-wrapper {
    padding-top: 25px;
}
.latest-home-news-slide-wrapper .content-box {
    padding-left: 25px;
}
.latest-home-news-slide-wrapper .content-box .date {
    color: var(--primary);
    opacity: .7;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 13px;
    line-height: 1;
}
.latest-home-news-slide-wrapper .content-box .title {
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
    max-width: 80%;
}
.latest-home-news-right-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -25px;
    right: 0;
    height: 102px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 20;
}
.latest-home-news-right-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: -25px;
    right: 0;
    bottom: 0;
    background-color: #e4e7f1;
}
.latest-home-news-left-wrapper .shape {
    height: 58px;
    width: 18px;
    background-color: var(--secondary);
    position: absolute;
    bottom: 40px;
    left: -18px;
}
.latest-home-news-title {
    margin-top: 20px;
}

@media (min-width: 1200px) {
    .latest-home-news-slider-img-wrapper {
        flex-direction: row !important;
    }
}

@media only screen and (max-width: 1500px) {
    .latest-home-news-right-wrapper {
        height: 540px;
        max-height: 540px;
    }
    .latest-home-news-slide-wrapper .image-box {
        width: 225px;
        height: 167px;
    }
    .latest-home-news-slide-wrapper .content-box .title {
        font-size: 18px;
        max-width: 90%;
    }
    .latest-home-news-slide-wrapper .content-box .date {
        font-size: 17px;
    }
    .latest-home-news-left-wrapper .content .title {
        font-size: 20px;
    }
    .latest-home-news-left-wrapper .content .date {
        font-size: 17px;
    }
    .latest-home-news-left-wrapper .content {
        left: 40px;
        right: 40px;
        bottom: 40px;
    }
    .latest-home-news-title {
        font-size: 17px;
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media only screen and (max-width: 1400px) {
    .latest-home-news-slider-img-wrapper {
        width: 100%;
    }
    .latest-home-news-wrapper {
        margin-top: 60px;
    }
}
@media only screen and (max-width: 1199.98px) {
    .latest-home-news-slider-img-wrapper {
        flex-direction: column !important;
    }
    .latest-home-news-right-wrapper {
        height: 480px;
        max-height: 480px;
    }
    .latest-home-news-slide-wrapper .image-box {
        width: 200px;
        height: 149px;
    }
    .latest-home-news-left-wrapper .content .title {
        font-size: 18px;
    }
    .latest-home-news-left-wrapper .content .date {
        font-size: 16px;
    }
    .latest-home-news-left-wrapper .content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }


    .latest-home-news-right-wrapper::after {
        left: -20px;
    }
    .latest-home-news-right-wrapper::before {
        left: -20px;
        height: 90px;
    }
    .latest-home-news-slider-img-wrapper {
        column-gap: 20px;
        width: 100%;
    }
    .latest-home-news-slide-wrapper .content-box .title {
        font-size: 16px;
    }
    .latest-home-news-slide-wrapper .content-box .date {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .latest-home-news-left-wrapper {
        width: 100%;
    }
    .latest-home-news-left-wrapper > a {
        padding-top: 50%;
    }
    .latest-home-news-right-wrapper {
        padding-top: 20px;
        padding-left: 20px;
    }
    /*.flex-custom-lg-row {*/
    /*    flex-direction: column !important;*/
    /*}*/

}

@media only screen and (max-width: 992px) {
    .latest-home-news-title {
        margin-top: 0;
    }
    .latest-home-news-wrapper {
        margin-top: 35px;
    }
    .latest-home-news-right-wrapper {
        height: 420px;
        max-height: 420px;
    }
    .latest-home-news-slide-wrapper .image-box {
        width: 180px;
        height: 134px;
    }
    .latest-home-news-slider-img-wrapper {
        width: 100%;
        border-top: 7px solid var(--primary);
    }
    .latest-home-news-wrapper {
        border-bottom: 3px solid var(--secondary);
    }
    .latest-home-news-left-wrapper > a {
        padding-top: 50%;
    }
    .latest-home-news-left-wrapper {
        width: 100%;
        flex-shrink: 0;
    }
    .latest-home-news-left-wrapper .content .title {
        font-size: 16px;
    }
    .latest-home-news-left-wrapper .content .date {
        font-size: 14px;
    }
    .latest-home-news-slide-wrapper .content-box .title {
        font-size: 14px;
    }
    .latest-home-news-slide-wrapper .content-box .date {
        font-size: 14px;
    }
    .latest-home-news-slide-wrapper .content-box {
        padding-left: 20px;
    }
    .latest-home-news-right-wrapper::after {
        left: 0;
    }
    .latest-home-news-right-wrapper {
        padding-top: 10px;
        padding-left: 10px;
    }
    .latest-home-news-title {
        font-size: 16px;
        padding-right: 0;
        padding-left: 20px;
        margin-bottom: 10px;
    }
    .latest-home-news-right-wrapper::before {
        left: -20px;
        height: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .home-news-latest-left {
        display: none;
    }
    .home-news-latest-right {
        padding: 12px 13px;
    }

    .latest-home-news-right-wrapper {
        height: 360px;
        max-height: 360px;
    }
    .latest-home-news-slide-wrapper .image-box {
        width: 160px;
        height: 119px;
    }
    .latest-home-news-left-wrapper > a {
        padding-top: 60%;
    }
    .latest-home-news-left-wrapper .content {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .latest-home-news-left-wrapper .content .title {
        font-size: 14px;
    }
    .latest-home-news-left-wrapper .content .date {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .latest-home-news-slide-wrapper .content-box .title {
        font-size: 13px;
    }
    .latest-home-news-slide-wrapper .content-box .date {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .latest-home-news-slide-wrapper .content-box {
        padding-left: 10px;
    }
    .latest-home-news-title {
        font-size: 15px;
    }
}
@media only screen and (max-width: 576px) {
    .home-news-latest-right::after {
        width: 200px;
    }
    .home-news-latest-right .swiper-slide {
        margin-right: 45px !important;
    }

    .latest-home-news-right-wrapper {
        height: 300px;
        max-height: 300px;
    }
    .latest-home-news-slide-wrapper .image-box {
        width: 120px;
        height: 89px;
    }
    .latest-home-news-left-wrapper > a {
        padding-top: 70%;
    }
    .latest-home-news-left-wrapper .content .title {
        font-size: 12px;
    }
    .latest-home-news-left-wrapper .content .date {
        font-size: 12px;
    }
    .latest-home-news-slide-wrapper .content-box .title {
        font-size: 12px;
    }
    .latest-home-news-slide-wrapper .content-box .date {
        font-size: 12px;
    }
    .latest-home-news-title {
        font-size: 14px;
    }
}
@media only screen and (max-width: 414px) {
    .home-news-latest-right::after {
        width: 100px;
    }
}