/* ===== NEWS SECTION ===== */

:root {
    --bg: #ffffff;
    --bg-secondary: #f7f7f5;
    --text: #1a1a18;
    --text-secondary: #5a5a56;
    --text-tertiary: #9a9a94;
    --border: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.2);
    --accent: #185FA5;
    --accent-bg: #E6F1FB;
    --accent-text: #185FA5;
    --progress-bg: #e8e8e4;
}
.toc-item.toc-item--h3 {
    padding-left: 20px;
}

.news-section {
    padding: 40px 0;
}

.news-section__row {
    --gutter: 15px;
}

.news-section__header {
    margin-bottom: 32px;
}

.news-section__title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.news-section__subtitle {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.news-section__block {
    background: #f3f3f3;
    padding: 20px;
    border-radius: 12px;
}

/* News Featured Section */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
    /* Grid 2x2 */
}

@media (max-width: 991px) {
    .news-featured {
        grid-template-columns: 1fr;
    }
}

.news-featured__main {
    position: relative;
}

.news-featured__main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-featured__main-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-featured__main-image {
        height: 400px;
    }
}

.news-featured__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured__main-link:hover .news-featured__main-img {
    transform: scale(1.05);
}

.news-featured__main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-featured__main-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #FFC107;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.news-featured__main-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .news-featured__main-title {
        font-size: 22px;
    }
}

.news-featured__main-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.news-featured__main-author {
    font-weight: 600;
}

.news-featured__main-separator {
    opacity: 0.7;
}

.news-featured__main-date {
    opacity: 0.9;
}

.news-featured__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .news-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-featured__grid {
        grid-template-columns: 1fr;
    }
}

.news-featured__grid-item {
    position: relative;
}

.news-featured__grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-featured__grid-image {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-featured__grid-image {
        height: 200px;
    }
}

.news-featured__grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured__grid-link:hover .news-featured__grid-img {
    transform: scale(1.05);
}

.news-featured__grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-featured__grid-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #FFC107;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.news-featured__grid-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured__grid-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.news-featured__grid-author {
    font-weight: 600;
}

.news-featured__grid-separator {
    opacity: 0.7;
}

.news-featured__grid-date {
    opacity: 0.9;
}

/* Section Title */
.news-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    margin: 0 0 20px;
}


/* Prominent Article */
.news-prominent {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.news-prominent:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .news-prominent {
        grid-template-columns: 1fr;
    }
}

.news-prominent__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.news-prominent__image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    position: relative;
}

.news-prominent__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-prominent__image-link:hover .news-prominent__image {
    transform: scale(1.05);
}

.news-prominent__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: #3b82f6;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-prominent__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 8px 0;
}

.news-prominent__title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.news-prominent__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-prominent__title a:hover {
    color: var(--bv-primary);
}

.news-prominent__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}

.news-prominent__author {
    font-weight: 600;
    color: #374151;
}

.news-prominent__separator {
    opacity: 0.5;
}

.news-prominent__date {
    color: #6b7280;
}

.news-prominent__read-time {
    color: #6b7280;
}

.news-prominent__excerpt {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* News List */
.news-list {
    display: grid;
    gap: 24px;
    margin-bottom: 20px;
}

/* News Card */
.news-card {
    display: grid;
    grid-template-columns: 345px 1fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .news-card {
        grid-template-columns: 1fr;
    }
}

.news-card__media {
    position: relative;
    overflow: hidden;
}

.news-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card__image-link:hover .news-card__image {
    transform: scale(1.05);
}

.news-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 5px 0;
    font-size: 13px;
    color: #6b7280;

    &>*:not(:last-child):after {
        content: "•";
        margin: 0 8px;
    }
}

.news-card__category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card__date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-card__date i {
    font-size: 16px;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card__title a:hover {
    color: var(--bv-primary);
}

.news-card__excerpt {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.news-card__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-card__author i {
    font-size: 16px;
}

.news-card__read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--bv-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.news-card__read-more i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.news-card__read-more:hover {
    color: #d97706;
}

.news-card__read-more:hover i {
    transform: translateX(4px);
}

.news-card__newsletter {
    background: var(--bg-linear);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
}

.news-card__newsletter-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__newsletter-icon i {
    font-size: 30px;
}

.news-card__newsletter-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.news-card__newsletter-text {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.news-card__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card__newsletter-input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.news-card__newsletter-btn {
    padding: 12px 24px;
    background: #fff;
    color: var(--bv-primary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-card__newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-card__newsletter-btn i {
    font-size: 18px;
}



/* ===== NEWS DETAIL ===== */
.news-detail {
    padding: 40px 0;
}

.detail-article {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .detail-article {
        padding: 24px 10px;
    }
}

.detail-article__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
}

.detail-article__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6b7280;
    flex-wrap: wrap;
}

.detail-article__category {
    padding: 6px 14px;
    background: white;
    box-shadow: 0 0 2px 0 #2a6e3f;
    color: #2a6e3f;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-article__date,
.detail-article__views {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-article__date i,
.detail-article__views i {
    font-size: 18px;
}

.detail-article__title {
    font-size: 28px;
    font-weight: 700;
    color: #2a6e3f;
    margin: 0 0 24px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .detail-article__title {
        font-size: 28px;
    }
}

.detail-article__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-article__author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.detail-article__author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-article__author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-article__author-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.detail-article__author-role {
    font-size: 13px;
    color: #6b7280;
}

.detail-article__featured-image {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.detail-article__featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-article__body {
    margin-bottom: 12px;
}

.detail-article__lead {
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(230, 160, 4, 0.05);
    border-left: 4px solid var(--bv-primary);
    border-radius: 8px;
}

.detail-article__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
    margin-top: 20px;
}

.detail-article__tags-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.detail-article__tags-label i {
    color: var(--bv-primary);
}

.detail-article__tag {
    padding: 6px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.detail-article__tag:hover {
    background: rgba(230, 160, 4, 0.1);
    border-color: var(--bv-primary);
    color: var(--bv-primary);
}

.detail-article__share {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-article__share-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.detail-article__share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-article__share-btn i {
    font-size: 18px;
}

.detail-article__share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-article__share-btn--facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.detail-article__share-btn--zalo:hover {
    background: #0068ff;
    border-color: #0068ff;
    color: #fff;
}

.detail-article__share-btn--copy:hover {
    background: var(--bg-linear);
    border-color: var(--bv-primary);
    color: #fff;
}

/* Related News */
.news-related__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 24px 0;
}

.news-related__title i {
    color: var(--bv-primary);
    font-size: 28px;
}

.news-related__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .news-related__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-related__list {
        grid-template-columns: 1fr;
    }
}

.news-related__item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-related__item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.news-related__image-link {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-related__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-related__item:hover .news-related__image {
    transform: scale(1.05);
}

.news-related__content {
    padding: 16px;
}

.news-related__date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.news-related__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.news-related__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-related__title a:hover {
    color: var(--bv-primary);
}

/*# sourceMappingURL=maps/news.css.map */

/* News Sidebar */
.sidebar-box {
    position: sticky;
    top: 15px;
}

.news-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.news-sidebar__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.news-sidebar__title i {
    color: #000;
    font-size: 24px;
}

.news-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-sidebar__item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.news-sidebar__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-sidebar__image-link {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.news-sidebar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-sidebar__image-link:hover .news-sidebar__image {
    transform: scale(1.05);
}

.news-sidebar__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-sidebar__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.news-sidebar__item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar__item-title a:hover {
    color: #2a6e3f;
}

.news-sidebar__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    flex-wrap: wrap;
}

.news-sidebar__date {
    color: #6b7280;
}

.news-sidebar__separator {
    opacity: 0.5;
}

.news-sidebar__views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-weight: 600;
}

.news-sidebar__views i {
    font-size: 14px;
    color: #ef4444;
}

.news-sidebar__newsletter {
    background: var(--bg-linear);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
}

.news-sidebar__newsletter-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-sidebar__newsletter-icon i {
    font-size: 30px;
}

.news-sidebar__newsletter-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.news-sidebar__newsletter-text {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.news-sidebar__newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-sidebar__newsletter-input {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.news-sidebar__newsletter-btn {
    padding: 12px 24px;
    background: #fff;
    color: var(--bv-primary);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.news-sidebar__newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-sidebar__newsletter-btn i {
    font-size: 18px;
}


.noi_dung_in {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    text-align: justify;
}

.noi_dung_in h1 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 32px 0 16px 0;
    line-height: 1.3;
}

.noi_dung_in h1:first-child {
    margin-top: 0;
}

.noi_dung_in h1:last-child {
    margin-bottom: 0;
}

.noi_dung_in h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2a6e3f;
    margin: 5px 0 0px 0;
    line-height: 1.3;
}

.noi_dung_in h2:first-child {
    margin-top: 0;
}

.noi_dung_in h2:last-child {
    margin-bottom: 0;
}

.noi_dung_in h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 24px 0 12px 0;
    line-height: 1.4;
}

.noi_dung_in h3:first-child {
    margin-top: 0;
}

.noi_dung_in h3:last-child {
    margin-bottom: 0;
}

.noi_dung_in h4 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 20px 0 10px 0;
    line-height: 1.4;
}

.noi_dung_in h4:first-child {
    margin-top: 0;
}

.noi_dung_in h4:last-child {
    margin-bottom: 0;
}

.noi_dung_in h5 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 18px 0 8px 0;
    line-height: 1.4;
}

.noi_dung_in h5:first-child {
    margin-top: 0;
}

.noi_dung_in h5:last-child {
    margin-bottom: 0;
}

.noi_dung_in h6 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 16px 0 8px 0;
    line-height: 1.4;
}

.noi_dung_in h6:first-child {
    margin-top: 0;
}

.noi_dung_in h6:last-child {
    margin-bottom: 0;
}

.noi_dung_in p {
    margin: 0 0 5px 0;
}

.noi_dung_in p:last-child {
    margin-bottom: 0;
}

.noi_dung_in ul,
.noi_dung_in ol {
    margin: 5px 0 0px;
    padding-left: 20px;
}

.noi_dung_in ul li,
.noi_dung_in ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.noi_dung_in ul li:last-child,
.noi_dung_in ol li:last-child {
    margin-bottom: 0;
}

.noi_dung_in ul li ul,
.noi_dung_in ul li ol,
.noi_dung_in ol li ul,
.noi_dung_in ol li ol {
    margin: 8px 0;
}

.noi_dung_in ul li {
    list-style: disc;
}

.noi_dung_in ol li {
    list-style: decimal;
}

.noi_dung_in dl {
    margin: 16px 0;
}

.noi_dung_in dt {
    font-weight: 700;
    color: #111827;
    margin-top: 16px;
    margin-bottom: 4px;
}

.noi_dung_in dt:first-child {
    margin-top: 0;
}

.noi_dung_in dd {
    margin: 0 0 16px 24px;
    padding-left: 16px;
    border-left: 3px solid #e5e7eb;
}

.noi_dung_in strong,
.noi_dung_in b {
    font-weight: 700;
    color: #111827;
}

.noi_dung_in em,
.noi_dung_in i {
    font-style: italic;
}

.noi_dung_in u {
    text-decoration: underline;
}

.noi_dung_in s,
.noi_dung_in strike {
    text-decoration: line-through;
}

.noi_dung_in mark {
    background: rgba(230, 160, 4, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

.noi_dung_in a {
    color: var(--bv-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.noi_dung_in a:hover {
    color: #d97706;
    border-bottom-color: #d97706;
}

.noi_dung_in blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: rgba(230, 160, 4, 0.05);
    border-left: 4px solid var(--bv-primary);
    border-radius: 8px;
    font-style: italic;
    color: #374151;
}

.noi_dung_in blockquote p {
    margin: 0 0 12px 0;
}

.noi_dung_in blockquote p:last-child {
    margin-bottom: 0;
}

.noi_dung_in blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: #6b7280;
}

.noi_dung_in blockquote cite::before {
    content: "— ";
}

.noi_dung_in pre {
    margin: 20px 0;
    padding: 20px;
    background: #1f2937;
    color: #f9fafb;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Courier New", Courier, monospace;
}

.noi_dung_in pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
    color: inherit;
}

.noi_dung_in code {
    padding: 3px 6px;
    background: rgba(230, 160, 4, 0.1);
    color: #d97706;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Courier New", Courier, monospace;
}

.noi_dung_in img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5px auto;
}

.noi_dung_in figure {
    margin: 24px 0;
    text-align: center;
}

.noi_dung_in figure img {
    margin: 0 auto;
    width: 100%;
}

.noi_dung_in figcaption {
    /* margin-top: 12px; */
    font-size: 15px;
    color: #474747;
    font-style: italic;
    background-color: #8080803b;
}

.noi_dung_in table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.noi_dung_in thead {
    background: var(--bg-linear);
    color: #fff;
}

.noi_dung_in tbody {
    background: #fff;
}

.noi_dung_in tr {
    border-bottom: 1px solid #e5e7eb;
}

.noi_dung_in tr:last-child {
    border-bottom: none;
}

.noi_dung_in tr:nth-child(even) {
    background: #f9fafb;
}

.noi_dung_in th,
.noi_dung_in td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.noi_dung_in th {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noi_dung_in td {
    font-size: 15px;
    line-height: 1.6;
}

.noi_dung_in hr {
    margin: 32px 0;
    border: none;
    border-top: 2px solid #e5e7eb;
}

.noi_dung_in address {
    font-style: normal;
    margin: 16px 0;
    padding: 16px;
    background: #f9fafb;
    border-left: 4px solid var(--bv-primary);
    border-radius: 8px;
}

.noi_dung_in sub,
.noi_dung_in sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.noi_dung_in sup {
    top: -0.5em;
}

.noi_dung_in sub {
    bottom: -0.25em;
}

.noi_dung_in abbr {
    text-decoration: underline dotted;
    cursor: help;
}

.noi_dung_in small {
    font-size: 85%;
    color: #6b7280;
}

.noi_dung_in .divider {
    margin: 24px 0;
    height: 1px;
    background: #e5e7eb;
}

.noi_dung_in .text-left {
    text-align: left;
}

.noi_dung_in .text-center {
    text-align: center;
}

.noi_dung_in .text-right {
    text-align: right;
}

.noi_dung_in .text-justify {
    text-align: justify;
}

/* ── TOC Widget ── */
.toc-widget {
    margin-bottom: 5px;
    border: 0.5px solid var(--border-strong);
    border-radius: 12px;
    background: var(--bg);
    overflow: hidden;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.18s;
    gap: 12px;
}

.toc-header:hover {
    background: var(--bg-secondary);
}

.toc-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.toc-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.toc-count {
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 2px 8px;
    border: 0.5px solid var(--border);
    border-radius: 99px;
}

.toc-chevron {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-chevron.open {
    transform: rotate(180deg);
}

.toc-divider {
    height: 0.5px;
    background: var(--border);
    display: none;
}

.toc-divider.show {
    display: block;
}

.toc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-body.open {
    max-height: 700px;
}

.toc-inner {
    padding: 0.5rem 0;
}

.toc-item {
    display: flex;
    align-items: stretch;
    padding: 5px 0px;
}

.toc-item--h3 .toc-link {
    padding-left: 1.5rem;
    font-size: 15px;
}

.toc-item--h3 .toc-num {
    min-width: 2.6rem;
}

.toc-num {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-tertiary);
    min-width: 2.8rem;
    padding: 0.55rem 0 0.55rem 1.25rem;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    display: flex;
    /* align-items: center; */
}

.toc-link {
    display: block;
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1.25rem 0.5rem 0.25rem;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s, padding-left 0.15s;
    line-height: 1.5;
}

.toc-link:hover {
    color: var(--text);
    border-left-color: var(--border-strong);
    padding-left: 0.6rem;
    background: var(--bg-secondary);
}

.toc-link.active {
    color: var(--accent-text);
    border-left-color: var(--accent);
    padding-left: 0.6rem;
    font-weight: 500;
    background: var(--accent-bg);
}

.box-content ul li {
    padding: 5px 0px;
    list-style: disc;
    margin-left: 20px;
}

.detail-article__description {
    background: #f8f6f6;
    padding: 10px;
    border-radius: 10px;
}

.toc-num {
    position: relative;
    padding-right: 5px;
}

span.toc-num:before {
    content: ".";
    right: 0px;
    position: absolute;
}

.tag ul {
    display: flex;
    align-items: center;
    gap: 0px 10px;
}

.tag ul li i {
    font-size: 20px;
    margin-bottom: -2px;
}

.tag ul li {
    display: flex;
    align-items: center;
    gap: 0px 5px;
}

.tag ul li a {
    display: block;
    padding: 2px 10px;
    background: #2a6e3f;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
}
@media(max-width:990px){
    aside.news-detail__sidebar.hidden-max-xl.clm {
        display: block !important;
        margin-top: 14px;
    }
}
@media (max-width: 768px) {
    .news-detail {
        padding: 20px 0;
    }
    .box-category{
        margin-top: 10px;
    }
    .noi_dung_in h1 {
        font-size: 26px;
    }

    .noi_dung_in h2 {
        font-size: 22px;
    }

    .noi_dung_in h3 {
        font-size: 20px;
    }

    .noi_dung_in h4 {
        font-size: 18px;
    }

    .noi_dung_in table {
        font-size: 14px;
    }

    .noi_dung_in th,
    .noi_dung_in td {
        padding: 8px 12px;
    }

    .noi_dung_in blockquote {
        padding: 16px 20px;
    }

    .noi_dung_in pre {
        padding: 16px;
        font-size: 13px;
    }

    .detail-article__share-btn--facebook:hover,
    .detail-article__share-btn--copy:hover {
        background: transparent;
        border-color: transparent;
        color: #000;
    }


}
