/*News CSS*/
.box-news {
    padding: var(--range-xxl) 0;
}

.box-news .news:not(:first-child) {
    padding-top: 40px;
}

.news-item .news__img img {
    border-radius: 10px;
    height: 200px;
}
.news-item .news__body .news-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--second-color);
    margin-bottom: 0;
    min-height: 40px;
    line-height: 24px;
}

.news .row .news-item, 
.news-grid .news-item:first-child,
.related-news-slide .news-item {
    flex-direction: column;
    border-radius: 10px;
}

.news .row .news-item .news__img,
.news-grid .news-item:first-child .news__img,
.related-news-slide .news-item .news__img {
    width: 100%;
}

.news .row .news-item .news__body,
.news-grid .news-item:first-child .news__body,
.related-news-slide .news-item .news__body {
    padding-top: 20px;
    padding-left: 0;
    width: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(3, 130px);
    grid-gap: 15px;
    grid-template-areas: 
        "area-1 area-1 area-2 area-2 area-2"
        "area-1 area-1 area-3 area-3 area-3"
        "area-1 area-1 area-4 area-4 area-4"
    ;
}

.news-grid .news-item {
    padding: 0; 
    margin: 0;
}

.news-grid .news-item:first-child {
    grid-area: area-1;
    border: 0;
}

.news-grid .news-item:nth-child(2) {
    grid-area: area-2;
}

.news-grid .news-item:nth-child(3) {
    grid-area: area-3;
}

.news-grid .news-item:last-child {
    grid-area: area-4;
}

.box-detail-news {
    padding: var(--range-xxl) 0;
}

.box-detail-news .detail-body {
    padding-top: 10px;
}

.box-detail-news .detail-head .post-date {
    font-size: 14px;
}

.box-detail-news .detail-foot {
    padding-top: 15px;
}

.detail-head .post-date span {
    color: var(--main-color);
}

.related-news-slide .news-item {
    text-align: left;
}

.related-news-slide {
    margin-bottom: 40px;
}

.related-news-slide .owl-dots {
    bottom: -40px;
}
/*Responsive CSS*/

@media (max-width: 1199px) {
    
}

@media (max-width: 991px) {
    .news .row > div:not(:last-child) {
        margin-bottom: 30px;
    }

    .news-grid {
        grid-template-areas: none;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 30px;
    }

    .news-grid .news-item {
        grid-area: unset !important;
        flex-direction: column;
        border: 0;
    }

    .news-grid .news-item .news__img {
        width: 100%;
    }

    .news-grid .news-item .news__body {
        width: 100%;
        padding-left: 0;
        padding-top: 15px !important;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-gap: 10px;
    }

    .news .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .news .row > div {
        padding: 0 5px;
    }
}

.news-sidebar .news-item .news__body .news-title{min-height:0;}
.news-sidebar .news-item .news__body{padding-top:10px;}
.news-sidebar .detail-foot{padding-top: 0 !important;}
.news-sidebar .head-title.--clm{text-transform: uppercase !important;font-size: 22px;font-weight: 700;}
.detail-head h1{font-size: 24px !important;color: var(--main-color);font-weight: 700;}
.detail-body h1{font-size: 22px !important;}
.detail-body h2{font-size: 20px !important;}
.detail-body h3{font-size: 19px !important;}
.detail-body h4{font-size: 18px !important;}
.detail-body h5{font-size: 16px !important;}
