/*
Theme Name: VIVUTHAI
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* .header-wrapper {
    background: linear-gradient(0deg, #1fa648, #6ecd33);
} */
button.nua-trigger {
    line-height: 1;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    background: #32b5ff;
    margin: 0;
}
.page-wrapper {
    padding-bottom: 30px;
    padding-top: 25px;
}
.wrap-breadcrumbs {
    background: #33b6ff14;
    padding: 4px;
    font-size: 0.85em;
}
.rate_post {
    margin-bottom: -10px;
}

.rate_post h3 {
    margin-bottom: 0;
    line-height: 1;
}

.entry-content.single-page img {
    width: 100%;
}

.entry-meta.op-7 {
    display: flex;
    gap: 13px;
    align-items: center;
    font-size: 14px;
    margin-bottom: 15px;
}

.entry-content.single-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.button.is-outline {
    background-color: transparent;
    border: 1px solid;
}

.header-inner.flex-row.container.logo-center.medium-logo-center {
    background: unset !important;
}

#section_458426292 {
    padding-top: 30px;
    padding-bottom: 30px;
}

hr.footerhr {
    height: 1px;
    border-bottom: 1px dotted #005c90 !important;
    opacity: 1;
}

.footerst li {
    list-style-type: none;
    margin-bottom: 2px;
}

.footerst {
    font-size: 0.9em;
}

.absolute-footer {
    font-size: .8em;
    padding: 7px 0 7px;
}

:root {
    --nfg-green: #00263b
}

.nfg {
    margin: 24px 0
}

#col-archive-st {
    margin: 0;
    padding-bottom: 0;
}

#top-archive-st2 {
    padding-top: 0;
}

.top-archive-st {
    padding: 30px 0 0 20px;
}

.ncb-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.ncb-archive {
    margin: 24px 0
}

/* Header */
.ncb-archive-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ncb-archive-title {
    font-weight: 800;
    line-height: 1;
    letter-spacing: .3px;
    margin: 0;
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 2em;
}

.ncb-archive-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg, #79cfff, #00263b);
    ;
    border-radius: 3px
}

.ncb-archive-more a {
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(270deg, #79cfff, #00263b);
    ;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1rem;
    line-height: 1.5rem
}

.ncb-archive-more a:hover {
    opacity: .85
}

@media (max-width:768px) {
    .ncb-archive-title {
        font-size: 22px
    }
}

/* Grid khung */
.ncb-archive-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px
}

@media (max-width:900px) {
    .ncb-archive-grid {
        grid-template-columns: 1fr
    }
}

/* Bài nổi bật (trang 1) */
.ncb-archive-feature {
    border-radius: 10px;
    overflow: hidden;
    background: #fff
}

.ncb-archive-figure {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 50%;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f5f5
}

.ncb-archive-figure img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

@media (max-width:768px) {
    .ncb-archive-figure {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        padding-bottom: 50%
    }
}

.ncb-archive-body {
    padding: 12px 4px 0
}

.ncb-archive-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px
}

.ncb-archive-cat a {
    color: var(--ncb-green);
    text-decoration: none
}

.ncb-archive-cat a:hover {
    opacity: .85
}

.ncb-archive-cat img {
    width: 13px;
    height: 13px;
    object-fit: contain
}

.ncb-archive-title-post {
    margin: 8px 0 6px;
    line-height: 1.25;
    font-weight: 800
}

.ncb-archive-title-post a {
    color: #111;
    text-decoration: none
}

.ncb-archive-title-post a:hover {
    opacity: .85
}

.ncb-archive-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 14px
}

div#col-archive-nav-links {
    padding-bottom: 0;
}

.ncb-archive-author a {
    color: #111;
    text-decoration: none;
    font-weight: 500
}

.ncb-archive-author a:hover {
    opacity: .85
}

.ncb-archive-author svg {
    width: 15px;
    height: 15px
}

/* Cột phải (trang 1) - KHÔNG ảnh */
.ncb-archive-side--noimg .thumb,
.ncb-archive-side--noimg .thumb-wrap {
    display: none !important
}

h4.ncb-archive-title-s a,
h4.ncb-title-s a,
h4.ncb-title-s,
.ncb-side .meta .ncb-title-s {
    color: #333;
    font-weight: 600 !important;

}

.ncb-archive-side--noimg .ncb-archive-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee
}

.ncb-archive-side--noimg .ncb-archive-item:last-child {
    border-bottom: none
}

.ncb-archive-side--noimg .ncb-archive-title-s {
    font-size: 16px;
    font-weight: 700;
    margin: 4px 0
}

.ncb-archive-side--noimg .ncb-archive-cat {
    font-size: 11px
}

/* (Trang 2+ có ảnh) */
.ncb-archive-side .ncb-archive-item {
    display: grid;
    gap: 12px;
    padding-bottom: 12px;
    border-radius: 10px
}

.ncb-archive-side .thumb {
    display: block;
    position: relative;
    width: 100%
}

.ncb-archive-side .thumb .thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f1f1
}

.ncb-archive-side .thumb .thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

.ncb-archive-side .meta .ncb-archive-title-s {
    margin: 2px 0 2px;
    font-weight: 800;
    line-height: 1.35
}

.ncb-archive-side .ncb-archive-title-s a {
    color: #111;
    text-decoration: none
}

.ncb-archive-side .ncb-archive-title-s a:hover {
    opacity: .85
}

.ncb-archive-side .ncb-archive-cat {
    font-size: 11px
}

@media (max-width:768px) {
    .ncb-archive-side .ncb-archive-item {
        grid-template-columns: 1fr
    }

    .ncb-archive-side .thumb .thumb-wrap {
        padding-bottom: 50%
    }
}

/* ===== Grid 3 cột cho trang 2+ ===== */
.ncb-archive-side--grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.ncb-archive-side--grid3 .ncb-archive-item {
    display: block;
    padding-bottom: 0
}

.ncb-archive-side--grid3 .thumb .thumb-wrap {
    padding-bottom: 50%
}

.ncb-archive-side--grid3 .meta {
    margin-top: 10px
}

@media (max-width:1024px) {
    .ncb-archive-side--grid3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .ncb-archive-side--grid3 {
        grid-template-columns: 1fr
    }
}

/* ===== Block featured 4 cột ===== */
.ncb-archive-4up {
    margin-top: 28px
}

section#top-archive-st4 {
    background: #ddd;
}

.ncb-archive-4up-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

section#top-archive-st {
    padding-bottom: 0;
}

.archive section.ncb {
    margin-top: 40px;
}

.ncb-archive-4up-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0
}

h2.ncb-archive-title.h2 {
    text-transform: none;
}

.ncb-archive-4up-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.ncb-archive-4up-card {
    border-radius: 10px;
    overflow: hidden;
    background: none;
}

.ncb-archive-4up-card .thumb .thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    overflow: hidden;
    background: #f1f1f1
}

.ncb-archive-4up-card .thumb .thumb-wrap img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover
}

.ncb-archive-4up-card .meta {
    padding-top: 10px;
}

.ncb-archive-4up-card .ncb-archive-title-s {
    margin: 4px 0 0;
    font-weight: 800;
    line-height: 1.35
}

@media (max-width:1024px) {
    .ncb-archive-4up-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:640px) {
    .ncb-archive-4up-grid {
        grid-template-columns: 1fr
    }
}

/* Pagination */
.nex-pagination {
    margin: 28px 0;
    text-align: center
}

.nex-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 4px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.nex-pagination .current {
    background: #111;
    color: #fff;
    border-color: #111
}

/* Header: chỉ Title + Divider */
.nfg-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.nfg-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .3px;
    margin: 0
}

section#top-archive-nav-links {
    padding: 0;
}

div#col-archive-st5 {
    padding-bottom: 0;
}

section#top-archive-st5 {
    padding: 0;
}

.nfg-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg, #79cfff, #00263b);
    border-radius: 3px;
}

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

/* Feature item (2:1) */
.nfg-feature {
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 18px
}

.nfg-figure {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 50%;
    overflow: hidden;
    border-radius: 5px;
    background: #f5f5f5
}

.nfg-figure img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

@media (max-width:768px) {
    .nfg-figure {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        padding-bottom: 50%
    }
}

.nfg-body {
    padding: 12px 4px 0
}

.nfg-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px
}

.nfg-cat a {
    color: var(--nfg-green);
    text-decoration: none
}

.nfg-cat a:hover {
    opacity: .85
}

.nfg-cat img {
    width: 13px;
    height: 13px;
    object-fit: contain
}

.nfg-title-post {
    margin: 8px 0 6px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800
}

.nfg-title-post a {
    color: #111;
    text-decoration: none
}

.nfg-title-post a:hover {
    opacity: .85
}

.nfg-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 14px
}

.nfg-author a {
    color: #111;
    text-decoration: none;
    font-weight: 500
}

.nfg-author a:hover {
    opacity: .85
}

.nfg-author svg {
    width: 15px;
    height: 15px
}

/* Grid 2 cột */
.nfg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

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

.nfg-card {
    border-radius: 5px;
    overflow: hidden;
    background: #fff
}

.nfg-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 50%;
    border-radius: 5px;
    overflow: hidden;
    background: #f1f1f1
}

.nfg-thumb img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit
}

.nfg-meta {
    padding: 10px 2px 0
}

.nfg-title-s {
    margin: 2px 0 2px;
    font-weight: 800;
    line-height: 1.35
}

.nfg-title-s a {
    color: #111;
    text-decoration: none
}

.nfg-title-s a:hover {
    opacity: .85
}

.nfg-meta .nfg-cat {
    font-size: 11px
}


.nlt {
    margin: 24px 0
}

/* Header */
.nlt-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.nlt-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .3px;
    margin: 0
}

.nlt-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg, #79cfff, #00263b);
    border-radius: 3px
}

.nlt-more a {
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(270deg, #79cfff, #00263b);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1rem;
    line-height: 1.5rem
}

.nlt-more a:hover {
    opacity: .85
}

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

/* Danh sách bài viết */
.nlt-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.nlt-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #eee
}

.nlt-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px
}

.nlt-cat a {
    color: var(--nlt-green);
    text-decoration: none
}

.nlt-cat a:hover {
    opacity: .85
}

.nlt-title-s {
    font-weight: 700;
    margin: 4px 0 3px;
    font-size: 18px;
    line-height: 1.4
}

.nlt-title-s a {
    color: #111;
    text-decoration: none
}

.nlt-title-s a:hover {
    opacity: .85
}

.nlt-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 13px
}

.nlt-author a {
    color: #555;
    text-decoration: none
}

.nlt-author a:hover {
    opacity: .85
}

.nlt-author svg {
    width: 13px;
    height: 13px
}

.nmb {
    margin: 24px 0
}

/* Header */
.nmb-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.nmb-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .3px;
    margin: 0
}

.nmb-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg, #79cfff, #00263b);
    border-radius: 3px
}

.nmb-more a {
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(270deg, #79cfff, #00263b);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1rem;
    line-height: 1.5rem
}

.nmb-more a:hover {
    opacity: .85
}

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

/* Layout:
   - Có banner: 2fr 1fr
   - Không banner: 1fr (full width) */
.nmb-grid {
    display: grid;
    gap: 20px
}

.nmb--with-banner .nmb-grid {
    grid-template-columns: 2fr 1fr
}

.nmb--no-banner .nmb-grid {
    grid-template-columns: 1fr
}

@media (max-width:992px) {
    .nmb--with-banner .nmb-grid {
        grid-template-columns: 1fr
    }
}

/* List trái (không ảnh):
   - Có banner: 3 cột
   - Không banner: 4 cột (nhiều hàng) */
.nmb-list {
    display: grid;
    gap: 14px
}

.nmb--with-banner .nmb-list {
    grid-template-columns: repeat(3, 1fr)
}

.nmb--no-banner .nmb-list {
    grid-template-columns: repeat(4, 1fr)
}

@media (max-width:1200px) {
    .nmb--no-banner .nmb-list {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:768px) {

    .nmb--with-banner .nmb-list,
    .nmb--no-banner .nmb-list {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:480px) {

    .nmb--with-banner .nmb-list,
    .nmb--no-banner .nmb-list {
        grid-template-columns: 1fr
    }
}

.nmb-item {
    padding: 10px 0;
    border-bottom: 1px dashed #eee
}

.nmb-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 3px
}

.nmb-cat a {
    color: var(--nmb-green);
    text-decoration: none
}

.nmb-cat a:hover {
    opacity: .85
}

.nmb-cat img {
    width: 12px;
    height: 12px;
    object-fit: contain
}

.nmb-title-s {
    font-weight: 800;
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 1.4
}

.nmb-title-s a {
    color: #111;
    text-decoration: none
}

.nmb-title-s a:hover {
    opacity: .85
}

.nmb-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 12px
}

.nmb-meta a {
    color: #666;
    text-decoration: none
}

.nmb-meta a:hover {
    opacity: .85
}

.nmb-meta svg {
    width: 12px;
    height: 12px
}

/* Banner phải */
.nmb-banner a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5
}

.nlt-date,
.ncb-archive-date {
    display: flex;
    align-items: center;
    font-size: 13px;
}

h4.ncb-archive-title-s {
    margin: 5px 0 !important;
}

.nmb-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

/* Header theo hình */
.ncb-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px
}

.ncb-title {
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: .3px;
    margin: 0
}

.ncb-divider {
    height: 2px;
    width: 100%;
    background: linear-gradient(270deg, #79cfff, #00263b);
    border-radius: 3px
}

.ncb-more a {
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(270deg, #79cfff, #00263b);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1rem;
    line-height: 1.5rem
}

.ncb-more a:hover {
    opacity: .85
}

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

/* Grid */
.ncb-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px
}

@media (max-width:900px) {
    .ncb-grid {
        grid-template-columns: 1fr
    }
}

/* Bài nổi bật: padding 2:1 */
.ncb-feature {
    border-radius: 5px;
    overflow: hidden;
    background: #fff
}

.ncb-figure {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 50%;
    overflow: hidden;
    border-radius: 5px;
    background: #f5f5f5
}

.ncb-figure img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

/* Mobile: figure full màn */
@media (max-width:768px) {
    .ncb-figure {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        padding-bottom: 50%
    }
}

.ncb-body {
    padding: 12px 4px 0
}

.ncb-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px
}

div#nexfollowform {
    border-radius: 10px;
}

.ncb-cat a {
    color: var(--ncb-green);
    text-decoration: none
}

.ncb-cat a:hover {
    opacity: .85
}

.ncb-cat img {
    width: 13px;
    height: 13px;
    object-fit: contain
}

.ncb-title-post {
    margin: 8px 0 6px;
    font-size: 1.5em;
    line-height: 1.25;
    font-weight: 800
}

.ncb-title-post a {
    color: #111;
    text-decoration: none
}

.ncb-title-post a:hover {
    opacity: .85
}

.ncb-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-size: 14px
}

.ncb-author a {
    color: #111;
    text-decoration: none;
    font-weight: 500
}

.ncb-author a:hover {
    opacity: .85
}

.ncb-author svg {
    width: 15px;
    height: 15px
}

/* Danh sách phải */
.ncb-side .ncb-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding-bottom: 12px;
    border-radius: 10px
}

.ncb-side .thumb {
    display: block;
    position: relative;
    width: 100%
}

.ncb-side .thumb .thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
    /* 2:1 */
    border-radius: 5px;
    overflow: hidden;
    background: #f1f1f1
}

.ncb-side .thumb .thumb-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: inherit
}

#top-archive-st3 {
    padding-bottom: 0;
}

section#top-archive-st3 {
    background: #eee;
}

.ncb-side .meta .ncb-title-s {
    margin: 2px 0 2px;
    font-weight: 800;
    line-height: 1.35
}

.ncb-side .ncb-header-title-s a {
    color: #111;
    text-decoration: none
}

.ncb-header-side .ncb-title-s a:hover {
    opacity: .85
}

.ncb-side .ncb-cat {
    font-size: 11px
}
.uim-post-content p {
    margin-bottom: 5px;
}
@media (max-width:768px) {
    .ncb-side .ncb-item {
        grid-template-columns: 1fr
    }

    .ncb-side .thumb .thumb-wrap {
        padding-bottom: 50%
    }
}

.nct-wrap .nct-head {
    margin-bottom: 12px;
}

.nct-wrap .nct-title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 700;
}

.nct-wrap .nct-desc {
    color: #555;
    font-size: .95rem;
}

.nct-wrap .nct-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.nct-wrap .nct-tabs {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    max-width: 260px;
    position: sticky;
    top: 0;
    background: #eeeeee70;
}

.nct-wrap .nct-tab {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #eff0f2;
    cursor: pointer;
    font-weight: 700;
    margin: 0;
    transition: .2s;
    text-transform: unset;
    font-size: 1.1em;
}

.nct-wrap .nct-tab:hover {
    background-color: #fff;
    border-left: 3px solid #00263b;
}

.nct-wrap .nct-tab.is-active {
    border-left: 4px solid #00263b;
    background-color: #fff;
}

.nct-wrap .nct-viewall {
    display: block;
    margin-top: 8px;
    padding: 12px;
    text-decoration: none;
    font-weight: 700;
}


.nct-wrap .nct-main {
    flex: 1;
}

.nct-wrap .nct-panels {
    min-width: 0;
}

.nct-wrap .nct-panel {
    display: none;
}

.nct-wrap .nct-panel.is-active {
    display: block;
}

.nct-wrap .nct-panel-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 320px;
    align-items: start;
}

.nct-wrap .nct-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nct-wrap .nct-card {
    padding: 12px;
    background: #fff;
}

.nct-wrap .nct-card-title {
    margin: 0 0 8px;
    font-size: 1rem;
}

.nct-wrap .nct-card-title a {
    text-decoration: none;
}

.nct-wrap .nct-card-title a:hover {
    text-decoration: underline;
}

.nct-wrap ul.nct-level3 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.nct-wrap ul.nct-level3 li {
    margin-bottom: 3px;
}

.nct-wrap .nct-level3 li a {
    text-decoration: none;
    font-size: .95rem;
    color: #374151;
}

.nct-wrap .nct-level3 li a:hover {
    text-decoration: underline;
}

.nct-wrap .nct-no-lv3 {
    color: #999;
    font-size: .9rem;
}

.nct-wrap .nct-side {
    position: sticky;
    top: 0;
    align-self: start;
    background: #fff;
    padding: 12px;
}

.nct-wrap .nct-side-head {
    font-weight: 700;
    margin: 0 0 10px;
}

.nct-wrap .nct-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nct-wrap .nct-side-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.nct-wrap .nct-side-thumb {
    display: block;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 3px;
    background: #f3f4f6;
}

.nct-wrap .nct-thumb-placeholder {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background: #f3f4f6;
}

.nct-wrap .nct-side-meta {
    min-width: 0;
}

.nct-wrap .nct-side-title {
    display: block;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9em;
}

.nct-wrap .nct-side-title:hover {
    text-decoration: underline;
}

.nct-wrap .nct-side-time {
    display: block;
    font-size: 0.5em;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1200px) {
    .nct-wrap .nct-panel-grid {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 991px) {
    .nct-wrap .nct-layout {
        flex-direction: column;
    }

    .nct-wrap .nct-tabs {
        flex-direction: row;
        gap: 8px;
        overflow: auto;
        min-width: auto;
        max-width: none;
    }

    .nct-wrap .nct-tab {
        white-space: nowrap;
    }

    .nct-wrap .nct-viewall {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .nct-wrap .nct-panel-grid {
        grid-template-columns: 1fr;
    }

    .nct-wrap .nct-side {
        order: 2;
    }

    .nct-wrap .nct-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .nct-wrap .nct-grid {
        grid-template-columns: 1fr;
    }
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.meta-left span {
    margin-right: 10px;
    color: #555;
}

.meta-left i {
    margin-right: 5px;
    color: #888;
}

.meta-share {
    display: flex;
    align-items: center;
}

.meta-share a {
    color: #555;
    margin-left: 5px;
    transition: color 0.2s;
    border: 1px solid #888888;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 5px;
}

.meta-share a:hover {
    color: #1d72f3;
    border-color: #1d72f3;
}

.related-posts {
    margin-top: 30px;
    border-top: 2px solid #eee;
    padding-top: 15px;
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222;
}

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

.related-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.related-thumb img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.blog-wrapper .post-title.is-large {
    font-size: 1.5em;
}

.related-content {
    flex: 1;
}

.related-title-link {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    text-decoration: none;
}

.box-image img {
    border-radius: 5px;
}

.related-title-link:hover {
    color: #0073aa;
}

span.nua-avg-rating {
    right: 14px;
    top: 10px;
    z-index: 10;
    position: absolute;
    padding: 0px 3px;
    border: 1px solid #979797;
    border-radius: 5px;
    font-size: 0.9em;
    background: #ffffff8c;
    display: flex;
    align-items: center;
    gap: 3px;
}

span.nua-avg-rating i {
    color: #f59e0c;
    font-size: 0.8em;
}

.related-date {
    font-size: 13px;
    color: #777;
    margin: 4px 0;
}

.related-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.nav-pagination>li>a,
.nav-pagination>li>span {
    border: 1px solid;
    border-radius: 5px;
}

.ncc-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
    max-width: 1400px;
}

.ncc-card {
    width: calc(16.6667% - 20px);
    /* 6 cột */
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: all .25s ease;
}

.ncc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.ncc-thumb {
    display: block;
    aspect-ratio: 1/1;
    background: #f6f7f8;
    position: relative
}

.ncc-thumb img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 60%;
    max-height: 60%;
    object-fit: contain
}

.ncc-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    opacity: .35
}

.ncc-body {
    padding: 12px 14px 18px
}

.ncc-title {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 6px
}

.ncc-title a {
    text-decoration: none;
    color: #111
}

.ncc-des {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5
}

@media(max-width:1024px) {
    .ncc-card {
        width: calc(33.333% - 18px);
    }
}

@media(max-width:768px) {
    .ncc-card {
        width: calc(50% - 12px);
    }
}

@media(max-width:480px) {
    .ncc-card {
        width: calc(50% - 12px);
    }
}

