﻿.news-viewcat-grid h1{
    font-size: 40px;
    font-weight: 400;
    margin: 10px 0 30px;
}

.news-viewcat-item{
    position: relative;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #3333332b;
    overflow: hidden;
}

.news-viewcat-item img{
    width: 100%;
}

.news-viewcat-item h2,
.news-viewcat-item h3{
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 2px;
}

.news-viewcat-item .publtime{
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 10px;
}

.news-viewcat-item a:hover{
    text-decoration: revert;
}

.news-viewcat-text{
    padding: 20px;
}

.news-viewcat-text p{
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    margin: 0
}

.news-detail-inner{
    gap: 30px;
}

.news-detail-inner .detail-category{
    position: relative;
    width: 200px;
}

.news-detail-inner .danh-sach-box,
.detail-groups-news-inner{
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

.news-detail-inner .detail-category:before{
    position: absolute;
    content: '';
    top: 0;
    background-color: #a0a0a057;
    height: 100%;
    width: 1px;
    right: -16px;
}

.news-detail-inner #news-bodyhtml{
    width: calc(100% - 540px);
    text-align: justify;
} 

.detail-groups-news{
    width: 280px;
}

.socialbutton{
    align-items: center;
    justify-content: end;
}

.detail-groups-news-inner{
    padding: 20px;
    background-color: #fefcf5;
    border-radius: 10px;
    box-shadow: 0 0 10px #3333331a;
}

.detail-groups-news-inner h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 10px;
}

.block-groups img{
    width: 100%;
    margin-bottom: 5px;
}

.block-groups li{
    margin-bottom: 10px;
}

.author-detail{
    align-items: center;
    margin-top: 30px;
}

.author-detail img{
    width: 140px;
    height: 140px;
    margin-right: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.author-detail .name a{
    font-size: 20px;
    font-weight: 600;
    color: #008c99;
    margin-bottom: 10px;
}

.author-detail p{
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .news-detail-inner .detail-category,
    .news-detail-inner #news-bodyhtml,
    .detail-groups-news{
        width: 100%;
    }

    .news-detail-inner .danh-sach-box, .detail-groups-news-inner{
        position: relative;
    }

    .news-detail-inner .detail-category:before{
        display: none;
    }

    .news-detail-inner .detail-category{
        border-bottom: 1px solid #555;
        padding-bottom: 30px;
    }
}




