.news-detail {
    margin: 1rem 0;
}

.news-detail .detail-posts-title {
    font-size: 2.6rem;
    font-weight: 500;
    color: var(--black);
    padding-bottom: 1rem;
    margin: 0 0 1rem 0;
}

.news-detail  a {
    color: #337ab7;
}

.news-detail .detail-posts-time {
    margin-bottom: 1rem;
    color: #666C89;
    font-size: 1.3rem;
    font-weight: 300;
    text-align: right;
}


.news-detail .detail-posts-description {
    text-align: justify;
}

.news-detail .detail-posts-description b {
    font-weight: 700;
}

.news-detail .detail-posts-description p {
    margin: 0 0 1rem 0;
}

.news-detail .detail-posts-content img {
    max-width: 100% !important;
    width: 100%;
}

.news-detail .heading {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

.news-detail .heading h2 {
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
    color: var(--cofast-blue);
    font-size: 1.6rem;
    display: table;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cofast-blue);
    top: 0.1rem;
}

.news-detail .ul-category-post {
    padding: 0;
}

.news-detail .ul-category-post li {
    list-style: none;
    padding: 0.5rem 0;
}

.news-detail .ul-category-post li a {
    text-decoration: none;
    color: #000;
    padding: 0.5rem 1rem;
}

.ul-list-posts {
    padding: 0;
}

.ul-list-posts li {
    display: flex;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.ul-list-posts li:last-child {
    padding-bottom: 0;
}

.news-detail .ul-category-post li a:hover {
    color: var(--cofast-blue);
}

.ul-list-posts li a.img {
    height: 6.5rem;
}

.ul-list-posts li .title {
    padding-left: 2rem;
}

.ul-list-posts li .title a {
    position: relative;
    top: -0.2rem;
    text-decoration: none;
    color: #000;
    font-size: 1.4rem;
    max-height: 4rem;
    overflow: hidden;
    display: block;
    font-weight: 500;
}

.ul-list-posts li a.img img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    max-width: 15rem;
    width: 12rem;
}

.ul-list-posts li .title .desc {
    text-align: justify;
    display: block;
    font-size: 1.2rem;
    color: #666C89;
    margin-top: 0.5rem;
}

@media (max-width: 1200px) {
    .news-detail .list-news > .row {
        flex-direction: column-reverse;
    }

    .news-detail .main-content {
        width: calc(100% - 0rem);
    }

    .news-detail .sidebar-right {
        margin-bottom: 1.4rem;
    }
}


@media (max-width: 768px) {
    .news-detail .breadcrumb {
        display: none;
    }
    .news-detail .sidebar-right {
        width: 100%;
        padding-left: 0;
    }

    .news-detail .sidebar {
        margin-top: 2rem;
    }
}





