/* ==========================================================================
   Breadcrumb Default Component
   ========================================================================== */
.breadcrumb-default {
    padding: 12px 0;
    background: #f9f6f1;
}

.breadcrumb-default__list {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
}

.breadcrumb-default__list li {
    display: inline;
}

.breadcrumb-default__link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-default__link:hover {
    color: #111827;
}

.breadcrumb-default__separator {
    color: #9ca3af;
    margin: 0 4px;
    user-select: none;
}

.breadcrumb-default__current {
    color: var(--color-3);
    font-weight: 500;
}


/* ====================================================
   News Sidebar & Category Widget
   ==================================================== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Search Box */
.news-search-box {
    width: 100%;
}

.news-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.news-search-input {
    flex: 1;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.news-search-input::placeholder {
    color: #94a3b8;
}

.news-search-input:focus {
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(221, 32, 39, 0.1);
}

.news-search-btn {
    width: 44px;
    height: 44px;
    background-color: var(--color-3);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-search-btn:hover {
    background-color: #b91c1c;
    transform: scale(1.03);
}

/* Title */
.news-sidebar-title {
    font-size: 17px;
    font-weight: 800;
    color: #0b2d64;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Category Card */
.news-category-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.news-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-cat-item {
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.news-cat-item:last-child {
    border-bottom: none;
}

.news-cat-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: #1e293b;
    position: relative;
    transition: color 0.2s ease;
}

.news-cat-item:hover {
    background-color: #f8fafc;
}

/* Active State */
.news-cat-item.active {
    background-color: #eef4fc;
}

.news-cat-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-3);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.news-cat-item.active .news-cat-name {
    color: #0b2d64;
    font-weight: 700;
}

.news-cat-item.active .news-cat-count {
    background-color: #dbe8fa;
    color: #0b2d64;
}

/* Icons */
.news-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #0b2d64;
}

.news-cat-icon.icon-company {
    color: #475569;
}

.news-cat-icon.icon-health {
    color: #ef4444;
}

.news-cat-icon.icon-energy {
    color: #16a34a;
}

.news-cat-icon.icon-ir {
    color: #f97316;
}

.news-cat-icon.icon-media {
    color: #f59e0b;
}

/* Name */
.news-cat-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.news-cat-item:hover .news-cat-name {
    color: var(--color-3);
}

/* Count Badge */
.news-cat-count {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background-color: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.2;
    min-width: 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ====================================================
   News Sidebar - Featured Posts & Newsletter Subscribe
   ==================================================== */

/* 1. Tin Nổi Bật */
.news-featured-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 22px 18px 20px;
    box-sizing: border-box;
}

.news-featured-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-3);
    text-transform: uppercase;
    margin: 0 0 18px 0;
    letter-spacing: -0.2px;
}

.news-featured-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-featured-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.news-featured-item:hover {
    transform: translateX(3px);
}

.news-featured-thumb {
    width: 76px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f1f5f9;
}

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

.news-featured-item:hover .news-featured-img {
    transform: scale(1.08);
}

.news-featured-content {
    flex: 1;
    min-width: 0;
}

.news-featured-date {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.news-featured-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #0b2d64;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-featured-item:hover .news-featured-item-title {
    color: var(--color-3);
}

/* 2. Đăng Ký Nhận Tin Tức (Newsletter Card) */
.news-subscribe-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 24px 18px 24px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.news-subscribe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.94) 0%, rgba(241, 245, 249, 0.90) 60%, rgba(255, 255, 255, 0.92) 100%);
    z-index: 1;
}

.news-subscribe-content {
    position: relative;
    z-index: 2;
}

.news-subscribe-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.news-subscribe-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-3);
}

.news-subscribe-icon svg {
    width: 42px;
    height: 42px;
}

.news-subscribe-text {
    flex: 1;
}

.news-subscribe-title {
    font-size: 15px;
    font-weight: 800;
    color: #0b2d64;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.news-subscribe-desc {
    font-size: 12px;
    color: #334155;
    margin: 0;
    line-height: 1.35;
}

.news-subscribe-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.news-subscribe-input {
    flex: 1;
    height: 40px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.news-subscribe-input::placeholder {
    color: #94a3b8;
}

.news-subscribe-input:focus {
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(221, 32, 39, 0.1);
}

.news-subscribe-btn {
    height: 40px;
    padding: 0 14px;
    background-color: var(--color-3);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-subscribe-btn:hover {
    background-color: #b91c1c;
    transform: scale(1.02);
}

.news-subscribe-swoosh {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 24px;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.news-subscribe-swoosh svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ====================================================
   LOD / MHC Posts Grid & Card Component
   ==================================================== */
.mhc-posts-grid,
.lod-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
    margin-bottom: 30px;
    width: 100%;
}

.mhc-post-card,
.lod-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
    transition: transform 0.25s ease;
}


.mhc-post-thumb-wrap,
.lod-post-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 58%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f1f5f9;
    margin-bottom: 14px;
    display: block;
}

.mhc-post-thumb-img,
.lod-post-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mhc-post-card:hover .mhc-post-thumb-img,
.lod-post-card:hover .lod-post-thumb-img {
    transform: scale(1.06);
}

.mhc-post-badge,
.lod-post-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: #E60000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    /* letter-spacing: 0.2px; */
    z-index: 2;
    line-height: 1.2;
}

.mhc-post-body,
.lod-post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mhc-post-date,
.lod-post-date {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 500;
}

.mhc-post-title,
.lod-post-title {
    font-size: 15px;
    font-weight: 700;
    color: #0b2d64;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mhc-post-title a,
.lod-post-title a {
    color: #0b2d64;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mhc-post-card:hover .mhc-post-title,
.mhc-post-card:hover .mhc-post-title a,
.lod-post-card:hover .lod-post-title,
.lod-post-card:hover .lod-post-title a {
    color: #E60000;
}

.mhc-post-desc,
.lod-post-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.mhc-post-more,
.lod-post-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #E60000;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.mhc-post-more:hover,
.lod-post-more:hover {
    color: #b91c1c;
    transform: translateX(3px);
}

.mhc-post-more svg,
.lod-post-more svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1100px) {

    .mhc-posts-grid,
    .lod-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
}

@media (max-width: 600px) {

    .mhc-posts-grid,
    .lod-posts-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news-sidebar {
        margin-top: 30px;
    }
}


/* ====================================================
   PRODUCT CARD (BESTSELLER CARD)
   ==================================================== */
.bestseller-card {
    display: flex;
    flex-direction: column;
    background: #fefbf5;
    border: 1px solid #efe8e1;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.bestseller-card:hover {
    border-color: #e5d3c5;
    box-shadow: 0 6px 18px rgba(123, 19, 21, 0.08);
    transform: translateY(-3px);
}

.bestseller-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    display: block;
    background: #fbf8f5;
}

.bestseller-card-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.bestseller-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bestseller-card:hover .bestseller-card-thumb img {
    transform: scale(1.06);
}

.bestseller-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.bestseller-card:hover .bestseller-card-thumb::after {
    opacity: 0;
}

.bestseller-btn-cart {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    background: var(--brand-red, #7b1315);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(123, 19, 21, 0.35);
    text-decoration: none;
    user-select: none;
}

.bestseller-btn-cart svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bestseller-card:hover .bestseller-btn-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bestseller-btn-cart:hover {
    background: #95171a;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(123, 19, 21, 0.5);
    transform: translateY(-2px);
}

.bestseller-btn-cart:hover svg {
    transform: scale(1.12);
}

.bestseller-btn-cart:active {
    transform: translateY(0);
}

.bestseller-btn-cart--contact {
    background: #e4bb48;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* .bestseller-btn-cart--contact:hover {
    background: #e4bb48;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
} */

/* Out of Stock Styling */
.bestseller-out-of-stock-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    pointer-events: none;
    transition: background 0.3s ease;
}

.bestseller-out-of-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    background: var(--color-3);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.bestseller-card.is-out-of-stock .bestseller-card-thumb img {
    filter: grayscale(40%);
    opacity: 0.9;
}

.bestseller-btn-cart--out-of-stock {
    background: #4a4a4a;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.bestseller-btn-cart--out-of-stock:hover {
    background: #2b2b2b;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.bestseller-btn-cart-mobile {
    display: none !important;
}

.bestseller-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bestseller-card-code {
    font-size: 13px;
    color: #b4222d;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.bestseller-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.bestseller-card-name {
    font-size: 16px;
    font-weight: 700;
    color: #191919;
    line-height: 1.35;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bestseller-card-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bestseller-card-name a:hover {
    color: #a80402;
}

.bestseller-card-arrow {
    color: #a80402;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.bestseller-card:hover .bestseller-card-arrow {
    transform: translateX(3px);
}

.bestseller-card-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 6px;
    line-height: 1.25;
}

.bestseller-card-price,
.bestseller-price-current {
    font-size: 20px;
    font-weight: 700;
    color: #a80402;
    line-height: 1.25;
}

.bestseller-price-old {
    font-size: 13.5px;
    font-weight: 400;
    color: #8c8c8c;
    text-decoration: line-through;
    line-height: 1.25;
}

.bestseller-price-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #a80402;
    background-color: #fdebec;
    border: 1px solid #f9cbcf;
    border-radius: 4px;
    line-height: 1.2;
}

.bestseller-price-contact {
    font-size: 20px;
    font-weight: 700;
    color: #a80402;
    line-height: 1.25;
}

.bestseller-card-desc {
    font-size: 13px;
    color: #777777;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Product Card */
@media (max-width: 1199px) {
    .bestseller-card-body {
        padding: 12px 14px 14px;
    }

    .bestseller-price-old {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .bestseller-btn-cart {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        height: 34px;
        font-size: 12px;
        padding: 0 10px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        gap: 6px;
    }

    .bestseller-card-thumb::after {
        opacity: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.4) 100%);
    }
}

@media (max-width: 767px) {
    .bestseller-card {
        position: relative;
    }

    .bestseller-card-thumb .bestseller-btn-cart {
        display: none !important;
    }

    .bestseller-card-thumb::after {
        display: none !important;
    }

    .bestseller-card-body {
        position: relative;
    }

    .bestseller-card-desc {
        padding-right: 42px;
    }

    .bestseller-btn-cart-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #9d0c15;
        color: #ffffff;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 8px rgba(157, 12, 21, 0.4);
        cursor: pointer;
        padding: 0;
        z-index: 3;
        text-decoration: none;
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .bestseller-btn-cart-mobile:active {
        transform: scale(0.92);
    }

    .bestseller-btn-cart-mobile svg {
        width: 17px;
        height: 17px;
        stroke: #ffffff;
        stroke-width: 2.2;
    }

    .bestseller-btn-cart-mobile--contact {
        background: #e4bb48;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .bestseller-btn-cart-mobile--out-of-stock {
        background: #666666;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .bestseller-price-old {
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .bestseller-card-body {
        padding: 10px 12px 12px;
    }

    .bestseller-card-desc {
        padding-right: 38px;
    }

    .bestseller-btn-cart-mobile {
        width: 34px;
        height: 34px;
        bottom: 10px;
        right: 10px;
    }

    .bestseller-btn-cart-mobile svg {
        width: 16px;
        height: 16px;
    }
}


/* Pagination */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--color-3);
    border-color: var(--color-3);
}

.page-item:not(.disabled):not(.active) .page-link:hover {
    color: var(--color-3);
    background-color: #f8f9fa;
    border-color: var(--color-3);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #ddd;
}


.noi_dung_in {
    font-size: 16px;
    line-height: 1.5;
    /* color: #fff; */
}

.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: 23px;
    font-weight: 700;
    color: var(--color-3);
    margin: 25px 0 10px 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: 21px;
    font-weight: 700;
    color: var(--color-3);
    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 16px 0;
}

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

.noi_dung_in ul,
.noi_dung_in ol {
    margin: 16px 0;
    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(--color-3);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    word-break: break-all;
}


.noi_dung_in blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: #fffded;
    color: #000;
    border-left: 4px solid var(--color-3);
    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;

}

.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;

}

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

.noi_dung_in .image-caption {
    background-color: transparent !important;
    margin: 0 !important;
}

.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;
    margin-top: 10px;
    /* 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;
    border-left: none !important;
    border-right: none !important;
}

.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;
}

@media (max-width: 768px) {
    .noi_dung_in h2 {
        font-size: 21px;
    }

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