/* -------------------News-list------------------- */

#news-list .news-left{
    margin-right: -18px;
}

#news-list .news-left .featured-news-next .wrap-img{
    padding-bottom: 63.15%;
}

#news-list .news-right{
    margin-left: 18px;
}

#news-list .featured-news .content{
    padding: 20px;
}

#news-list .featured-news .featured-news-first{
    margin-bottom: 30px;
}

#news-list .featured-news .featured-news-first .wrap-img{
    padding-bottom: 66.16%;
}

#news-list .featured-news .featured-news-first .content h3{
    font-size: 20px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 15px;
    text-align: left;
    text-transform: unset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 72px; */
}

#news-list .featured-news .featured-news-first .content .summary{
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 64px; */
}

#news-list .featured-news .featured-news-next .content h3{
    font-size: 18px;
    font-weight: 600;
    line-height: 29px;
    text-align: left;
    margin-bottom: 0px;
    text-transform: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 87px; */
}

#news-list .all-news{
    margin-top: 40px;
}

.all-news-item{
    margin-top: 30px;
    /* display: flex;
    align-items: center; */
}

.all-news-item .image{
    width: 48.05%;
    float: left;
    padding-bottom: 28.6%;
}

.all-news-item .content{
    width: calc(100% - 48.05% - 20px);
    float: left;
    margin-left: 20px;
}

.all-news-item .content .category{
    margin-top: 3px;
    font-size: 12px;
    font-weight: 400;
    line-height: 19px;
    display: block;
}

.all-news-item .content h3.title{
    font-size: 16px;
    font-weight: 500;
    line-height: 29px;
    text-align: left;
    text-transform: unset;
    margin-bottom: 10px;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 58px; */
}

.all-news-item .content .summary{
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    /* height: 75px; */
}

#news-list .all-news .paginations{
    margin-top: 40px;
}

.news-same h2.title{
    font-size: 24px;
    font-weight: 600;
    line-height: 38px;
    text-transform: unset;
    margin-bottom: 55px;
    text-align: left;
    position: relative;
}

.news-same h2.title::before{
    content: '';
    width: 93px;
    position: absolute;
    left: 0;
    bottom: -25px;
    border: 1px solid #000000;
}

#news-list .news-right .all-news-item .image{
    width: 40.38%;
    padding-bottom: 27.8%;
}

#news-list .news-right .all-news-item .content h3.title{
    margin-top: 8px;
}

#news-list .news-right .all-news-item .content{
    width: calc(100% - 40.38% - 20px);
}

.background-bottom-most-read{
    margin: 48px 0 60px;
}

.news-same .zodiac-news-realated{
    margin-top: 60px;
}

.news-same .zodiac-news-realated .news-item{
    border: 1px solid #D9D9D9;
}

.news-same .zodiac-news-realated .news-item .image{
    padding-bottom: 62.45%;
}

.news-same .zodiac-news-realated .content{
    padding: 15px;
}

.news-same .zodiac-news-realated h3.title{
    font-size: 16px;
    font-weight: 600;
    line-height: 29px;
    text-transform: unset;
    text-align: left;
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 58px;
}

/* -----------------------News-detail------------------ */
#news-detail .news-detail-left .content h1,
#news-detail .news-detail-left .content h2,
#news-detail .news-detail-left .content h3,
#news-detail .news-detail-left .content h4{
    line-height: 1.5;
}

#news-detail .news-detail-left .content h1{
    font-size: 28px;
    font-weight: 600;
    margin: 15px 0;
}

#news-detail .news-detail-left .content h2{
    font-size: 24px;
    font-weight: 500;
    margin: 10px 0;
    text-align: unset;
    text-transform: unset;
}

#news-detail .news-detail-left .content h3{
    font-size: 22px;
    font-weight: 500;
    margin: 10px 0;
    text-align: unset;
    text-transform: unset;
}

#news-detail .news-detail-left .content h4{
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
}


#news-detail .news-detail-left{
    margin-right: 20px;
    color: #000000;
}

#news-detail .news-detail-right{
    margin-left: -20px;
}

#news-detail .news-detail-post h1.title{
    font-size: 28px;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 15px;
}


#news-detail .news-detail-post .summary p{
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;  
}

#news-detail .news-detail-post .avt{
    margin-top: 25px;
    text-align: center;
    margin-bottom: 20px;
}

#news-detail .news-detail-post .avt img{
    width: 600px;
}

/* #news-detail .news-detail-post .content h2{
    font-size: 16px;
    font-weight: 600;
    line-height: 29px;
    margin-top: 30px;
    text-transform: unset;
    margin-bottom: 0px;
    text-align: left;
} */

#news-detail .news-detail-post .content p{
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
}

#news-detail .news-detail-post .content img{
    margin: 15px 0;
}

.news-detail-most-read .all-news-item .image{
    width: 40%;
}

.news-detail-most-read .all-news-item .content{
    width: calc(100% - 40% - 20px);
}

.news-detail-most-read .all-news-item .content h3.title{
    line-height: 26px;
    margin-top: 0;
    margin-bottom: 15px;
}

.news-detail-most-read .all-news-item .content .summary{
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 44px;
}

.news-same .tags h2.title{
    margin-bottom: 45px;
}

.tags .danh-sach-tags{
    padding: 20px 10px;
    background-color: #F8F8F8;
}

.tags .danh-sach-tags .tags-item{
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: #666666;
    padding: 7px 25px;
    background-color: #E3E3E3;
    border-radius: 40px;
    margin: 5px 2px;
}

#news-detail .zodiac-news-realated {
    margin-top: 40px;
}

/* ---------------News-detail-category------------- */
#news-list-category .news-left{
    margin-right: 30px;
}

#news-list-category .news-right{
    margin-left: -20px;
}

#news-list-category .news-left .news-item{
    border: 1px solid #D9D9D9;
    margin-bottom: 40px;
}

#news-list-category .news-left .news-item .wrap-img{
    padding-bottom: 62.55%;
}

#news-list-category .news-left .news-item .content{
    padding: 15px 15px 10px;
}

#news-list-category .news-left .news-item .content h3.title{
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;
    margin-bottom: 10px;
    text-transform: unset;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 78px;
}

#news-list-category .news-left .news-item .content .category{
    font-size: 13px;
    font-weight: 400;
    line-height: 21px;
    display: block;
    position: relative;
}

#news-list-category .news-left .news-item .content .category img{
    display: inline-block;
    background-color: #FFDA7A;
    padding: 5px 7px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#news-list-category .news-left .news-item .content .category img:hover{
    background-color: var(--primary-color);
}

#news-list-category .paginations{
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {
    #news-list .news-left {
        margin-right: 0px;
    } 

    #news-list .featured-news .featured-news-first .content h3{
        font-size: 18px;
        line-height: 27px;
        margin-bottom: 10px;
    }

    #news-list .featured-news .featured-news-first .content .summary{
        font-size: 16px;
        line-height: 24px;
    }   
    
    #news-list .news-left .featured-news-next .content{
        padding: 10px;
    }

    #news-list .featured-news .featured-news-next .content h3{
        font-size: 16px;
        line-height: 24px; 
    }

    #news-list .all-news{
        margin-top: 25px;
    }

    .all-news-item .image{
        width: 40%;
        padding-bottom: 32.5%;
    }

    .all-news-item .content{
        width: calc(100% - 40% - 20px);
    }

    .all-news-item .content .category{
        margin-top: 0;
        line-height: 16px;
    }

    .all-news-item .content h3.title{
        line-height: 24px;
        margin-bottom: 5px;
    }

    .all-news-item .content .summary{
        line-height: 21px;
        -webkit-line-clamp: 2;
    }

    #news-list .all-news .paginations{
        margin-top: 30px;
    }

    #news-list .news-right{
        margin-left: 0;
    }

    .news-same h2.title{
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 40px;
        margin-top: 30px;
    }

    .news-same h2.title::before{
        bottom: -15px;
    }

    #news-list .news-right .all-news-item .image{
        width: 40%;
        padding-bottom: 32.5%;
    }

    #news-list .news-right .all-news-item .content {
        width: calc(100% - 40% - 20px);
    }

    .background-bottom-most-read{
        margin: 30px 0 30px;
    }

    .news-same .zodiac-news-realated{
        margin-top: 30px;
    }

    .news-same .zodiac-news-realated .news-item{
        margin-top: 30px;
    }

    .news-same .zodiac-news-realated .content{
        padding: 10px;
    }

    .news-same .zodiac-news-realated h3.title{
        font-size: 15px;
        line-height: 24px;
        height: 48px;
    }

    .news-same .zodiac-news-realated .title{
        margin-bottom: 10px;
    }

    /* -------news-detail------ */
    #news-detail .news-detail-left{
        margin-right: 0px;
    }

    #news-detail .news-detail-post h1.title{
        font-size: 24px;
        line-height: 36px;
    }

    #news-detail .news-detail-left .content h1{
        font-size: 24px;
        margin: 10px 0;
    }

    #news-detail .news-detail-left .content h2{
        font-size: 22px;
    }

    #news-detail .news-detail-left .content h3{
        font-size: 20px;
    }

    #news-detail .news-detail-left .content h4{
        font-size: 18px;
    }

    #news-detail .news-detail-right{
        margin-left: 0;
    }

    #news-detail .news-detail-post .content p{
        font-size: 15px;
        line-height: 22px;
    }

    .news-same .tags h2.title{
        margin-bottom: 40px;
    }

    .tags .danh-sach-tags{
        padding: 10px 10px;
    }

    .tags .danh-sach-tags a{
        font-size: 14px;
        line-height: 21px;
        padding: 6px 18px;
    }

    /* -------------news-list-category--------- */
    #news-list-category .news-left{
        margin-right: 0;
    }

    #news-list-category .news-left .news-item .content{
        padding: 10px 10px 10px ;
    }

    #news-list-category .news-left .news-item .content h3.title{
        line-height: 22px;
        height: 66px;
    }

    #news-list-category .news-left .news-item{
        margin-bottom: 30px;
    }

    #news-list-category .paginations{
        margin-top: 0;
    }

    #news-list-category .news-left .news-item .content .category{
        font-size: 12px;
    }

    #news-list-category .news-left .news-item .content .category img{
        padding: 4px 6px;
    }

    #news-list-category .news-right{
        margin-left: 0;
    }


}
