/* ==========================================================================
   Nhà Cái Uy Tín — main.css
   ========================================================================== */

:root {
    --ncu-primary: #0a7d2e;
    --ncu-accent:  #f5a623;
    --ncu-accent-2:#ffb800;
    --ncu-rank:    #e53935;
    --ncu-text:    #1f2937;
    --ncu-muted:   #6b7280;
    --ncu-border:  #e5e7eb;
    --ncu-bg:      #f7f8fa;
    --ncu-card-bg: #ffffff;
    --ncu-radius:  10px;
    --ncu-shadow:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --ncu-shadow-h:0 8px 24px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: var(--ncu-text);
    background: var(--ncu-bg);
    line-height: 1.55;
    font-size: 16px;
}

a { color: var(--ncu-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

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

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
    position: absolute; top: 8px; left: 8px; background: #fff; padding: 8px 12px; z-index: 9999;
    box-shadow: var(--ncu-shadow);
}

/* ===== Header ============================================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--ncu-border);
    box-shadow: var(--ncu-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .2s ease, padding .2s ease;
    will-change: transform;
}
/* Khi đã scroll xuống — shadow đậm hơn để tách khỏi content */
.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
/* Compact mode khi scroll: padding nhỏ hơn cho gọn */
.site-header.is-scrolled .site-header__inner {
    padding-top: 8px;
    padding-bottom: 8px;
}
.site-header.is-scrolled .site-title { font-size: 18px; }

/* Anchor scroll-margin để h2 không bị header che khi click ToC */
:root { --ncu-header-h: 70px; }
.ncu-single__content h2,
.ncu-single__content h3,
.entry-content h2,
.entry-content h3,
[id] { scroll-margin-top: calc(var(--ncu-header-h) + 12px); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 16px;
}
.site-title { font-size: 22px; font-weight: 700; color: var(--ncu-text); }
.site-title-link { display: inline-block; }
.site-description { margin: 2px 0 0; color: var(--ncu-muted); font-size: 13px; }

.main-navigation > div > ul,
.main-navigation #primary-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; gap: 4px;
    align-items: center;
}
.main-navigation li {
    position: relative;
    list-style: none;
}
.main-navigation a {
    color: var(--ncu-text);
    font-weight: 600;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    transition: color .15s ease, background .15s ease;
    text-decoration: none;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--ncu-primary);
    background: #f0fdf4;
    text-decoration: none;
}

/* Submenu (parent has children) */
.main-navigation .menu-item-has-children > a::after {
    content: "▾";
    font-size: 10px;
    margin-left: 4px;
    opacity: .7;
    transition: transform .2s ease;
}
.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.main-navigation ul.sub-menu {
    list-style: none;
    margin: 0; padding: 6px 0;
    position: absolute;
    top: 100%; left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    display: block;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 100;
}
.main-navigation li:hover > ul.sub-menu,
.main-navigation li:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-navigation ul.sub-menu li { width: 100%; }
.main-navigation ul.sub-menu a {
    display: block;
    padding: 8px 16px;
    border-radius: 0;
    color: var(--ncu-text);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
}
.main-navigation ul.sub-menu a:hover {
    background: #f0fdf4;
    color: var(--ncu-primary);
}

.menu-toggle { display: none; }

/* ===== Team bar ========================================================== */
.ncu-team-bar {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid var(--ncu-border);
}
.ncu-team-bar__intro {
    margin: 0 0 6px;
    font-weight: 700;
    color: #2563eb;
}
.ncu-team-bar__date {
    font-weight: 400;
    color: var(--ncu-muted);
    margin-left: 6px;
}
.ncu-team-bar__people {
    margin: 0;
    color: var(--ncu-muted);
    font-size: 14px;
}
.ncu-team-bar__people strong { color: #b91c1c; font-weight: 700; }
.ncu-team-bar__sep { margin: 0 6px; color: #cbd5e1; }

/* Team name as link → page tác giả */
.ncu-team-bar__link {
    color: #b91c1c;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color .15s ease, color .15s ease;
}
.ncu-team-bar__link:hover {
    color: var(--ncu-primary);
    border-bottom-color: var(--ncu-primary);
    text-decoration: none;
}

/* Cap entry-thumbnail tránh featured image phóng to quá khổ */
.entry-thumbnail {
    margin: 14px 0 18px;
    max-width: 760px;
}
.entry-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--ncu-radius);
    display: block;
}
/* Author page: skip entry-thumbnail (avatar đã trong hero block) */
.page-single.is-author-page .entry-thumbnail { display: none !important; }

/* Author hero block trên page tác giả */
.ncu-author-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--ncu-radius);
    margin: 18px 0 24px;
}
.ncu-author-hero__avatar { flex-shrink: 0; }
.ncu-author-hero__avatar svg {
    width: 100px; height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.ncu-author-hero__info { flex: 1; min-width: 0; }
.ncu-author-hero__role {
    font-size: 13px;
    font-weight: 700;
    color: var(--ncu-primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.ncu-author-hero__name {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    border-bottom: 0;
    padding: 0;
}
.ncu-author-hero__exp {
    color: #4b5563;
    font-size: 14px;
}

@media (max-width: 600px) {
    .ncu-author-hero {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding: 18px 16px;
    }
    .ncu-author-hero__avatar svg { width: 80px; height: 80px; }
    .ncu-author-hero__name { font-size: 22px; }
}

/* ===== Card list ========================================================= */
.ncu-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

.ncu-card {
    background: var(--ncu-card-bg);
    border: 1px solid var(--ncu-border);
    border-radius: var(--ncu-radius);
    box-shadow: var(--ncu-shadow);
    display: grid;
    grid-template-columns: 160px 1fr 1fr 200px;
    gap: 0;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ncu-card:hover { box-shadow: var(--ncu-shadow-h); }
.ncu-card--featured { border-color: var(--ncu-accent); }

.ncu-card__logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-right: 1px solid var(--ncu-border);
    min-height: 130px;
}
.ncu-card__logo-link { display: block; line-height: 0; }
.ncu-card__logo {
    max-width: 110px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ncu-rank-badge {
    position: absolute;
    top: 0; left: 0;
    background: var(--ncu-rank);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 0 0 8px 0;
    min-width: 26px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

.ncu-card__featured-badge {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--ncu-accent);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .5px;
}

.ncu-card__info {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid var(--ncu-border);
}
.ncu-card__name {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.ncu-card__name a { color: var(--ncu-text); }
.ncu-card__name a:hover { color: var(--ncu-primary); text-decoration: none; }

.ncu-card__rating { margin: 4px 0 6px; }

.ncu-stars { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
.ncu-star--full  { color: var(--ncu-accent-2); }
.ncu-star--half  { color: var(--ncu-accent-2); opacity: .6; }
.ncu-star--empty { color: #d1d5db; }

.ncu-card__tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--ncu-text);
    margin-bottom: 4px;
}
.ncu-card__perks {
    list-style: none;
    margin: 0; padding: 0;
    color: var(--ncu-muted);
    font-size: 13.5px;
}
.ncu-card__perks li {
    padding-left: 18px;
    position: relative;
    margin: 2px 0;
}
.ncu-card__perks li::before {
    content: "☆";
    position: absolute;
    left: 0; top: 0;
    color: var(--ncu-accent-2);
    font-size: 13px;
}

.ncu-card__highlight {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--ncu-border);
}
.ncu-card__highlight-title {
    color: var(--ncu-primary);
    font-weight: 800;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 8px;
}
.ncu-card__highlight-sub {
    color: var(--ncu-muted);
    font-size: 13.5px;
    line-height: 1.45;
}

.ncu-card__cta {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ncu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
    border: 0;
    cursor: pointer;
    width: 100%;
    max-width: 170px;
    line-height: 1.2;
}
.ncu-btn:hover { filter: brightness(1.05); transform: translateY(-1px); text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.ncu-btn--play   { background: var(--ncu-accent-2); color: #fff !important; }
.ncu-btn--review { background: #9ca3af; color: #fff !important; }
.ncu-btn--primary{ background: var(--ncu-primary); color: #fff !important; }
.ncu-btn--lg     { padding: 14px 28px; font-size: 15px; max-width: 240px; }

/* ===== Single nhà cái ==================================================== */
.ncu-single { background: #fff; border-radius: var(--ncu-radius); padding: 28px; box-shadow: var(--ncu-shadow); margin: 24px 0; }
.ncu-single__header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: center;
    border-bottom: 1px solid var(--ncu-border);
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.ncu-single__logo img { max-width: 180px; max-height: 140px; object-fit: contain; }
.ncu-single__title { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.ncu-single__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ncu-single__rating .ncu-stars { font-size: 22px; }
.ncu-single__rating-num { color: var(--ncu-muted); font-size: 14px; }
.ncu-single__updated {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ncu-muted);
    margin-bottom: 10px;
}
.ncu-single__updated-label { font-weight: 600; }
.ncu-single__updated time { color: var(--ncu-text); font-weight: 600; }
.ncu-single__updated-sep { color: #cbd5e1; }
.ncu-single__updated-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ncu-text);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease;
}
.ncu-single__updated-author:hover { color: var(--ncu-primary); text-decoration: none; }
.ncu-single__updated-author img {
    width: 20px; height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.ncu-single__tagline { font-size: 16px; font-weight: 600; color: var(--ncu-text); margin: 0 0 14px; }

.ncu-single__summary { background: #f0fdf4; border-left: 4px solid var(--ncu-primary); padding: 16px 20px; border-radius: 6px; margin-bottom: 24px; }
.ncu-single__highlight { color: var(--ncu-primary); font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.ncu-single__highlight-sub { color: #374151; margin-bottom: 8px; }
.ncu-single__perks { list-style: none; padding: 0; margin: 8px 0 0; }
.ncu-single__perks li { padding-left: 22px; position: relative; margin: 4px 0; }
.ncu-single__perks li::before { content: "✓"; position: absolute; left: 0; color: var(--ncu-primary); font-weight: 700; }

.ncu-single__content { font-size: 16px; line-height: 1.7; }
.ncu-single__content h2 { font-size: 22px; margin-top: 28px; margin-bottom: 12px; }
.ncu-single__content h3 { font-size: 18px; margin-top: 20px; }
.ncu-single__content img { border-radius: 6px; margin: 12px 0; }

.ncu-single__cta-bottom { text-align: center; padding: 24px 0 0; }
.ncu-terms { display: inline-block; margin-right: 12px; color: var(--ncu-muted); font-size: 14px; }

/* ===== Generic post list ================================================= */
.post-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.post-card { background: #fff; border: 1px solid var(--ncu-border); border-radius: var(--ncu-radius); overflow: hidden; box-shadow: var(--ncu-shadow); }
.post-card__thumb img { width: 100%; height: 180px; object-fit: cover; }
.post-card__body { padding: 14px 16px; }
.post-card__title { margin: 0 0 6px; font-size: 17px; }
.post-card__title a { color: var(--ncu-text); }
.post-card__meta { color: var(--ncu-muted); font-size: 13px; margin-bottom: 8px; }
.post-card__excerpt { font-size: 14px; color: #374151; }
.post-card__more { font-weight: 700; }

/* ===== Pagination ======================================================== */
.pagination, .nav-links {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: center; margin: 32px 0;
}
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid var(--ncu-border); border-radius: 6px;
    color: var(--ncu-text); background: #fff;
}
.page-numbers.current { background: var(--ncu-primary); color: #fff; border-color: var(--ncu-primary); }
.page-numbers:hover:not(.current) { border-color: var(--ncu-primary); color: var(--ncu-primary); text-decoration: none; }

/* ===== Footer ============================================================ */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    margin-top: 48px;
    padding: 32px 0 24px;
}
.site-footer a { color: #93c5fd; }
.site-footer .container { display: flex; flex-direction: column; gap: 14px; }
.affiliate-disclosure { font-size: 13px; color: #9ca3af; line-height: 1.6; padding: 12px 16px; background: rgba(255,255,255,.04); border-left: 3px solid var(--ncu-accent); border-radius: 4px; }
.footer-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.site-info { font-size: 13px; color: #9ca3af; }

/* ===== Search form ======================================================= */
.search-form { display: flex; gap: 6px; max-width: 480px; }
.search-field { flex: 1; padding: 10px 12px; border: 1px solid var(--ncu-border); border-radius: 6px; }
.search-submit { background: var(--ncu-primary); color: #fff; border: 0; padding: 0 16px; border-radius: 6px; font-weight: 700; cursor: pointer; }

/* ===== Page header ======================================================= */
.page-header { margin: 24px 0 8px; }
.page-title { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.archive-description { color: var(--ncu-muted); margin: 8px 0 16px; }

/* ===== Sidebar / widget area ============================================= */
.widget-area { padding: 16px; }
.widget { background: #fff; border-radius: var(--ncu-radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--ncu-shadow); }
.widget-title { margin: 0 0 12px; font-size: 16px; font-weight: 800; border-bottom: 2px solid var(--ncu-primary); padding-bottom: 6px; }

/* ===== Empty / Notices =================================================== */
.ncu-empty { text-align: center; padding: 40px 20px; color: var(--ncu-muted); background: #fff; border-radius: var(--ncu-radius); }

/* ===== Responsive ======================================================== */
@media (max-width: 1024px) {
    .ncu-card {
        grid-template-columns: 130px 1fr 180px;
    }
    .ncu-card__highlight {
        grid-column: 1 / -1;
        border-right: 0;
        border-top: 1px solid var(--ncu-border);
        order: 99;
    }
}

@media (max-width: 768px) {
    .site-header__inner { flex-wrap: wrap; }
    .menu-toggle {
        display: inline-block;
        background: none;
        border: 1px solid var(--ncu-border);
        padding: 6px 10px;
        border-radius: 4px;
        cursor: pointer;
    }
    .menu-toggle__icon {
        display: block; width: 22px; height: 2px; background: var(--ncu-text);
        position: relative;
    }
    .menu-toggle__icon::before, .menu-toggle__icon::after {
        content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--ncu-text);
    }
    .menu-toggle__icon::before { top: -7px; }
    .menu-toggle__icon::after  { top: 7px; }
    .main-navigation #primary-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 12px;
        background: #fff;
        gap: 0;
        align-items: stretch;
    }
    .main-navigation.is-open #primary-menu { display: flex; }
    .main-navigation li { border-top: 1px solid var(--ncu-border); width: 100%; }
    .main-navigation a { padding: 12px; border-radius: 0; }
    /* Submenu mobile: inline luôn, không hover */
    .main-navigation ul.sub-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0;
        background: #fafbfc;
        border-radius: 0;
        padding: 0;
        min-width: 0;
    }
    .main-navigation ul.sub-menu li { border-top: 1px solid var(--ncu-border); }
    .main-navigation ul.sub-menu a { padding-left: 32px; }
    .main-navigation .menu-item-has-children > a::after { transform: rotate(0); opacity: .5; }

    .ncu-card {
        grid-template-columns: 100px 1fr;
    }
    .ncu-card__logo-wrap { padding: 12px; min-height: auto; }
    .ncu-card__logo { max-width: 80px; max-height: 60px; }
    .ncu-card__info { border-right: 0; }
    .ncu-card__highlight {
        grid-column: 1 / -1;
        border-top: 1px solid var(--ncu-border);
        border-right: 0;
        padding: 12px 16px;
    }
    .ncu-card__cta {
        grid-column: 1 / -1;
        flex-direction: row;
        border-top: 1px solid var(--ncu-border);
        padding: 12px 16px;
    }
    .ncu-btn { max-width: 100%; }

    .ncu-single__header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ncu-single__logo img { margin: 0 auto; }
    .ncu-single__rating { justify-content: center; }

    .ncu-team-bar__people { font-size: 13px; }
    .ncu-team-bar__sep { margin: 0 4px; }
}

/* =========================================================================
   Review Content Components (cho single-nhacai entry-content)
   ========================================================================= */

/* Quick rating callout */
.ncu-single__content .ncu-quick-rating,
.entry-content .ncu-quick-rating {
    background: linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%);
    border: 1px solid #bbf7d0;
    border-left: 4px solid var(--ncu-primary);
    padding: 14px 18px;
    border-radius: 8px;
    margin: 18px 0;
    font-size: 14.5px;
}
.ncu-single__content .ncu-quick-rating p,
.entry-content .ncu-quick-rating p { margin: 0; }

/* Heading anchors + scroll-margin (cho ToC click smooth) */
.ncu-single__content h2,
.ncu-single__content h3 {
    scroll-margin-top: 80px;
    position: relative;
}
.ncu-single__content h2 {
    border-bottom: 2px solid var(--ncu-primary);
    padding-bottom: 8px;
    margin-top: 36px;
    font-size: 24px;
    color: #111827;
}
.ncu-single__content h3 {
    margin-top: 24px;
    font-size: 19px;
    color: #1f2937;
    border-left: 3px solid var(--ncu-accent-2);
    padding-left: 12px;
}

/* Tables (so sánh + payment + promo) */
.ncu-single__content .wp-block-table,
.entry-content .wp-block-table {
    margin: 20px 0;
    overflow-x: auto;
}
.ncu-single__content .wp-block-table table,
.entry-content .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14.5px;
    background: #fff;
    box-shadow: var(--ncu-shadow);
    border-radius: 8px;
    overflow: hidden;
}
.ncu-single__content .wp-block-table th,
.entry-content .wp-block-table th {
    background: var(--ncu-primary);
    color: #fff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
    border-right: 1px solid rgba(255,255,255,.15);
}
.ncu-single__content .wp-block-table th:last-child { border-right: 0; }
.ncu-single__content .wp-block-table td,
.entry-content .wp-block-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--ncu-border);
    border-right: 1px solid var(--ncu-border);
    vertical-align: top;
}
.ncu-single__content .wp-block-table td:last-child { border-right: 0; }
.ncu-single__content .wp-block-table tbody tr:nth-child(even) td,
.entry-content .wp-block-table tbody tr:nth-child(even) td { background: #fafbfc; }
.ncu-single__content .wp-block-table tbody tr:hover td,
.entry-content .wp-block-table tbody tr:hover td { background: #f0fdf4; }
.ncu-single__content .wp-block-table tbody tr:last-child td,
.entry-content .wp-block-table tbody tr:last-child td { border-bottom: 0; }

/* Pros / Cons box */
.ncu-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.ncu-proscons__pros,
.ncu-proscons__cons {
    padding: 16px 18px;
    border-radius: 8px;
    border: 1px solid;
}
.ncu-proscons__pros { background: #f0fdf4; border-color: #bbf7d0; }
.ncu-proscons__cons { background: #fef2f2; border-color: #fecaca; }
.ncu-proscons h4 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
}
.ncu-proscons__pros h4 { color: var(--ncu-primary); }
.ncu-proscons__cons h4 { color: #b91c1c; }
.ncu-proscons ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.ncu-proscons__pros li,
.ncu-proscons__cons li {
    padding: 4px 0 4px 24px;
    position: relative;
    line-height: 1.5;
}
.ncu-proscons__pros li::before {
    content: "✓"; position: absolute; left: 0; top: 4px;
    color: var(--ncu-primary); font-weight: 800;
}
.ncu-proscons__cons li::before {
    content: "✕"; position: absolute; left: 0; top: 4px;
    color: #dc2626; font-weight: 800;
}

/* Inline CTA block */
.ncu-inline-cta {
    text-align: center;
    margin: 28px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 2px dashed var(--ncu-accent-2);
}
.ncu-inline-cta .ncu-btn {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 14px 32px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* Lists */
.ncu-single__content ul.wp-block-list,
.ncu-single__content ol.wp-block-list,
.entry-content ul.wp-block-list,
.entry-content ol.wp-block-list {
    padding-left: 0;
    list-style: none;
}
.ncu-single__content ul.wp-block-list li,
.entry-content ul.wp-block-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.6;
}
.ncu-single__content ul.wp-block-list li::before,
.entry-content ul.wp-block-list li::before {
    content: "✓";
    position: absolute; left: 0; top: 6px;
    color: var(--ncu-primary);
    font-weight: 800;
}
.ncu-single__content ol.wp-block-list,
.entry-content ol.wp-block-list { counter-reset: ncuStep; }
.ncu-single__content ol.wp-block-list li,
.entry-content ol.wp-block-list li {
    padding: 8px 0 8px 36px;
    position: relative;
    line-height: 1.6;
    counter-increment: ncuStep;
}
.ncu-single__content ol.wp-block-list li::before,
.entry-content ol.wp-block-list li::before {
    content: counter(ncuStep);
    position: absolute; left: 0; top: 6px;
    width: 24px; height: 24px;
    background: var(--ncu-primary); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
}

/* Table of Contents */
.ncu-toc {
    background: #f9fafb;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 14.5px;
}
.ncu-toc__title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}
.ncu-toc__title::before { content: "📑"; }
.ncu-toc__title::after {
    content: "▾";
    margin-left: auto;
    font-size: 12px;
    color: var(--ncu-muted);
    transition: transform .2s ease;
}
.ncu-toc.is-collapsed .ncu-toc__title::after { transform: rotate(-90deg); }
.ncu-toc.is-collapsed .ncu-toc__list { display: none; }
.ncu-toc__list { list-style: none; padding: 0; margin: 0; counter-reset: tocIdx; }
.ncu-toc__list li { counter-increment: tocIdx; padding: 4px 0 4px 28px; position: relative; line-height: 1.5; }
.ncu-toc__list li::before {
    content: counter(tocIdx);
    position: absolute; left: 0;
    width: 22px; height: 22px;
    background: var(--ncu-primary); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.ncu-toc__list a { color: var(--ncu-text); text-decoration: none; }
.ncu-toc__list a:hover { color: var(--ncu-primary); text-decoration: underline; }
.ncu-toc__list ul {
    list-style: none; padding-left: 16px; margin: 4px 0 0;
    counter-reset: none;
}
.ncu-toc__list ul li { padding-left: 14px; counter-increment: none; }
.ncu-toc__list ul li::before {
    content: ""; width: 6px; height: 6px;
    background: var(--ncu-accent-2); border-radius: 50%;
    top: 12px; font-size: 0;
}

/* Responsive — pros/cons stack on mobile */
@media (max-width: 768px) {
    .ncu-proscons { grid-template-columns: 1fr; }
    .ncu-single__content h2 { font-size: 22px; }
    .ncu-single__content .wp-block-table table { font-size: 13.5px; }
    .ncu-single__content .wp-block-table th,
    .ncu-single__content .wp-block-table td { padding: 8px 10px; }
    .ncu-inline-cta { padding: 14px; }
}

/* =========================================================================
   About box (intro/outro homepage) — collapsible "Mở rộng / Thu gọn"
   ========================================================================= */
.ncu-about-box {
    position: relative;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: var(--ncu-radius);
    box-shadow: var(--ncu-shadow);
    margin: 24px 0;
    padding: 24px 28px 0;
    overflow: hidden;
}
.ncu-about-box__content {
    transition: max-height .35s ease;
    overflow: hidden;
    position: relative;
}
.ncu-about-box.is-collapsed .ncu-about-box__content {
    max-height: 220px;
}
.ncu-about-box.is-collapsed .ncu-about-box__content::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 80%);
    pointer-events: none;
}
.ncu-about-box:not(.is-collapsed) .ncu-about-box__content {
    max-height: none;
}

.ncu-about-box__content h2 {
    margin: 18px 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    border-left: 4px solid var(--ncu-accent-2);
    padding: 4px 0 4px 12px;
    border-bottom: none;
}
.ncu-about-box__content h2:first-child { margin-top: 0; }
.ncu-about-box__content h3 {
    margin: 14px 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    border-left: 0;
    padding-left: 0;
}
.ncu-about-box__content p {
    color: #374151;
    line-height: 1.65;
    margin: 0 0 10px;
}
.ncu-about-box__content strong { color: #111827; }
.ncu-about-box__content a { color: var(--ncu-accent-2); font-weight: 600; }
.ncu-about-box__content a:hover { text-decoration: underline; }
.ncu-about-box__content ul,
.ncu-about-box__content ol { margin: 0 0 14px; padding-left: 22px; }
.ncu-about-box__content ul li::before,
.ncu-about-box__content ol li::before { content: none; }
.ncu-about-box__content ul.wp-block-list li,
.ncu-about-box__content ol.wp-block-list li { padding-left: 0; }
.ncu-about-box__content ul.wp-block-list li::before,
.ncu-about-box__content ol.wp-block-list li::before { content: none; }

.ncu-about-box__toggle {
    display: block;
    width: 100%;
    margin: 14px -28px 0;
    padding: 14px 28px;
    width: calc(100% + 56px);
    border: 0;
    border-top: 1px solid var(--ncu-border);
    background: #fafbfc;
    color: var(--ncu-accent-2);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background .15s ease;
    position: relative;
    z-index: 2;
}
.ncu-about-box__toggle:hover { background: #fef3c7; }
.ncu-about-box__toggle-icon {
    display: inline-block;
    margin-left: 6px;
    transition: transform .25s ease;
}
.ncu-about-box:not(.is-collapsed) .ncu-about-box__toggle-icon {
    transform: rotate(180deg);
}

/* =========================================================================
   Footer 4 columns
   ========================================================================= */
.site-footer { background: #1f2937; color: #d1d5db; margin-top: 48px; padding: 0; }
.site-footer__widgets {
    background: #111827;
    padding: 40px 0 28px;
    border-bottom: 1px solid #374151;
}
.ncu-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.ncu-footer-col {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.7;
}
.ncu-footer-col .widget { background: transparent; box-shadow: none; padding: 0; margin-bottom: 16px; }
.ncu-footer-col .widget-title,
.ncu-footer-col h4.widget-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ncu-accent-2);
    display: inline-block;
}
.ncu-footer-col p { margin: 0 0 10px; color: #d1d5db; }
.ncu-footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color .15s ease;
}
.ncu-footer-col a:hover { color: var(--ncu-accent-2); }
.ncu-footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
}
.ncu-footer-col ul li {
    padding: 5px 0 5px 16px;
    position: relative;
    border-bottom: 1px solid #2d3748;
}
.ncu-footer-col ul li:last-child { border-bottom: 0; }
.ncu-footer-col ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--ncu-accent-2);
    font-weight: 700;
}
.ncu-footer-col img { max-width: 180px; height: auto; }
.ncu-footer-col .ncu-social-list {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
    list-style: none; padding: 0;
}
.ncu-footer-col .ncu-social-list li {
    padding: 0; border: 0; margin: 0;
}
.ncu-footer-col .ncu-social-list li::before { content: none; }
.ncu-footer-col .ncu-social-list a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
    transition: all .2s ease;
    border: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
}
.ncu-footer-col .ncu-social-list a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.05) 100%);
    pointer-events: none;
}
.ncu-footer-col .ncu-social-list a svg {
    width: 18px; height: 18px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform .2s ease;
}
.ncu-footer-col .ncu-social-list a:hover {
    transform: translateY(-2px);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.ncu-footer-col .ncu-social-list a:hover svg { transform: scale(1.1); }

/* Brand-specific hover colors */
.ncu-footer-col .ncu-social-list a[data-social="facebook"]:hover { background: #1877f2; }
.ncu-footer-col .ncu-social-list a[data-social="telegram"]:hover { background: #0088cc; }
.ncu-footer-col .ncu-social-list a[data-social="youtube"]:hover { background: #ff0000; }
.ncu-footer-col .ncu-social-list a[data-social="x"]:hover         { background: #000; border-color: rgba(255,255,255,.2); }

/* "Cập nhật" line với SVG calendar icon */
.ncu-footer-col .ncu-update-line {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px;
    color: #d1d5db;
    margin: 6px 0 4px;
}
.ncu-footer-col .ncu-update-line svg {
    width: 16px; height: 16px;
    flex-shrink: 0;
    color: var(--ncu-accent-2);
}

.site-footer__bottom {
    padding: 22px 0;
    background: #1f2937;
}
.site-footer__bottom .container { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.site-footer__bottom .affiliate-disclosure { background: rgba(255,255,255,.04); border-left: 3px solid var(--ncu-accent); padding: 10px 16px; border-radius: 4px; font-size: 13px; max-width: 800px; }
.site-footer__bottom .footer-navigation ul { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.site-footer__bottom .site-info p { margin: 0; font-size: 13px; color: #9ca3af; }
.ncu-age-warning { display: inline-block; margin-left: 6px; color: #f59e0b; }

/* Widget: Top Nhà Cái Mini */
.ncu-mini-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ncu-mini-list li.ncu-mini-item {
    display: grid !important;
    grid-template-columns: auto 50px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
}
.ncu-mini-list li.ncu-mini-item::before { content: none !important; }
.ncu-mini-list li.ncu-mini-item:last-child { border-bottom: 0 !important; }

.ncu-mini-rank {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    background: var(--ncu-rank);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ncu-mini-logo {
    display: inline-block;
    width: 50px; height: 40px;
    background: #fff;
    border-radius: 6px;
    padding: 4px;
    line-height: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.ncu-mini-logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    width: auto; height: auto;
}
.ncu-mini-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ncu-mini-name {
    color: #f9fafb !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ncu-mini-name:hover { color: var(--ncu-accent-2) !important; }
.ncu-mini-rating .ncu-stars { font-size: 12px; }
.ncu-mini-cta {
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
    transition: filter .15s ease, transform .15s ease;
}
.ncu-mini-cta:hover { filter: brightness(1.1); transform: translateY(-1px); color: #1f2937 !important; }

/* =========================================================================
   Taxonomy archive (Category) — taxonomy-nhacai_category.php
   ========================================================================= */

/* Breadcrumb */
.ncu-breadcrumb {
    margin: 18px 0 12px;
    font-size: 13.5px;
    color: var(--ncu-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ncu-breadcrumb a {
    color: var(--ncu-muted);
    text-decoration: none;
    transition: color .15s ease;
}
.ncu-breadcrumb a:hover { color: var(--ncu-primary); }
.ncu-breadcrumb .sep { color: #cbd5e1; }
.ncu-breadcrumb .current { color: var(--ncu-text); font-weight: 600; }

/* Category header */
.ncu-cat-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--ncu-radius);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--ncu-shadow);
}
.ncu-cat-header__title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 800;
    color: #052e16;
    line-height: 1.25;
}
.ncu-cat-header__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin-bottom: 14px;
    color: #4b5563;
    font-size: 14px;
}
.ncu-cat-header__stat strong {
    color: var(--ncu-primary);
    font-weight: 800;
}
.ncu-cat-header__divider { color: #cbd5e1; }
.ncu-cat-header__desc {
    margin: 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.65;
    max-width: 900px;
}
.ncu-cat-header__desc p { margin: 0 0 8px; }
.ncu-cat-header__desc strong { color: var(--ncu-primary); }
.ncu-cat-header__desc a { color: var(--ncu-primary); }

/* Empty state */
.ncu-empty-state {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px dashed var(--ncu-border);
    border-radius: var(--ncu-radius);
    margin: 24px 0;
}
.ncu-empty-state__icon {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 8px;
}
.ncu-empty-state__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ncu-text);
}
.ncu-empty-state__text {
    color: var(--ncu-muted);
    margin: 0 auto 24px;
    max-width: 560px;
    line-height: 1.55;
}
.ncu-card-list--suggested {
    text-align: left;
    margin: 24px 0;
}
.ncu-empty-state__cta {
    margin: 24px 0 0;
}

/* Category tag cloud */
.ncu-cat-tags {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--ncu-border);
}
.ncu-cat-tags .ncu-keyword-cloud {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}
.ncu-cat-tags .ncu-tag {
    background: #f9fafb;
    color: var(--ncu-text) !important;
    border-color: var(--ncu-border);
}
.ncu-cat-tags .ncu-tag:hover {
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    border-color: var(--ncu-accent-2);
}

@media (max-width: 600px) {
    .ncu-cat-header { padding: 20px 18px; }
    .ncu-cat-header__title { font-size: 22px; }
    .ncu-cat-header__stats { font-size: 13px; }
}

/* =========================================================================
   Post grid (shortcode [bai_viet_list]) — render trên Page sản phẩm
   ========================================================================= */
.ncu-post-grid {
    display: grid;
    gap: 18px;
    margin: 18px 0 24px;
}
.ncu-post-grid--cols-1 { grid-template-columns: 1fr; }
.ncu-post-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.ncu-post-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.ncu-post-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.ncu-post-grid__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ncu-text);
}

.ncu-post-card {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ncu-shadow);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ncu-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ncu-shadow-h);
}
.ncu-post-card__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    overflow: hidden;
    line-height: 0;
    position: relative;
}
.ncu-post-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.ncu-post-card:hover .ncu-post-card__img { transform: scale(1.04); }
.ncu-post-card__thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    opacity: .5;
}
.ncu-post-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.ncu-post-card__meta {
    color: var(--ncu-muted);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ncu-post-card__author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ncu-text);
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease;
}
.ncu-post-card__author:hover { color: var(--ncu-primary); text-decoration: none; }
.ncu-post-card__author-avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.ncu-post-card__author-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.ncu-post-card__meta-sep { color: #cbd5e1; }
.ncu-post-card__title {
    margin: 2px 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}
.ncu-post-card__title a {
    color: var(--ncu-text);
    text-decoration: none;
}
.ncu-post-card__title a:hover { color: var(--ncu-primary); }
.ncu-post-card__excerpt {
    margin: 0;
    color: #374151;
    font-size: 13.5px;
    line-height: 1.55;
    flex: 1;
}
.ncu-post-card__more {
    color: var(--ncu-primary);
    font-weight: 700;
    font-size: 13px;
    margin-top: 4px;
}
.ncu-post-card__more:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .ncu-post-grid--cols-3,
    .ncu-post-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .ncu-post-grid { grid-template-columns: 1fr !important; }
}

/* Footer keyword cloud (Thương hiệu nhà cái) */
.site-footer__tags {
    background: #0f172a;
    padding: 22px 0;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}
.ncu-keyword-cloud__title {
    color: #f9fafb;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ncu-keyword-cloud__list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
}
.ncu-keyword-cloud__list li { padding: 0 !important; border: 0 !important; }
.ncu-keyword-cloud__list li::before { content: none !important; }
.ncu-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #1e293b;
    color: #cbd5e1 !important;
    border: 1px solid #334155;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .15s ease;
}
.ncu-tag:hover {
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    border-color: var(--ncu-accent-2);
    transform: translateY(-1px);
}
.ncu-tag--main {
    background: var(--ncu-primary);
    color: #fff !important;
    border-color: var(--ncu-primary);
    font-weight: 700;
}
.ncu-tag--main:hover {
    background: #0c5e22;
    color: #fff !important;
    border-color: #0c5e22;
}

/* Inline keyword cloud trong content (qua shortcode) */
.entry-content .ncu-keyword-cloud,
.ncu-single__content .ncu-keyword-cloud {
    background: #f9fafb;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
}
.entry-content .ncu-keyword-cloud__title,
.ncu-single__content .ncu-keyword-cloud__title {
    color: var(--ncu-text);
}
.entry-content .ncu-keyword-cloud .ncu-tag,
.ncu-single__content .ncu-keyword-cloud .ncu-tag {
    background: #fff;
    color: var(--ncu-text) !important;
    border-color: var(--ncu-border);
}
.entry-content .ncu-keyword-cloud .ncu-tag:hover,
.ncu-single__content .ncu-keyword-cloud .ncu-tag:hover {
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    border-color: var(--ncu-accent-2);
}

/* Mobile */
@media (max-width: 1024px) {
    .ncu-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
    .ncu-mini-list li.ncu-mini-item { grid-template-columns: auto 40px 1fr; gap: 8px; }
    .ncu-mini-cta { display: none; }
    .ncu-mini-logo { width: 40px; height: 32px; }
}
@media (max-width: 600px) {
    .ncu-footer-cols { grid-template-columns: 1fr; gap: 20px; }
    .ncu-about-box { padding: 18px 20px 0; }
    .ncu-about-box__toggle { margin: 12px -20px 0; width: calc(100% + 40px); padding: 12px 20px; }
    .ncu-about-box.is-collapsed .ncu-about-box__content { max-height: 180px; }
}

/* =========================================================================
   📱 MOBILE RESPONSIVE — final pass
   ========================================================================= */

/* Anti-overflow toàn site — dùng `clip` thay `hidden` để không phá position:sticky của header */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; height: auto; }

/* ─────────── Tablet (≤ 1024px) ─────────── */
@media (max-width: 1024px) {
    .container { padding: 0 14px; }
    .ncu-team-bar { padding: 10px 0; }
    .ncu-team-bar__intro { font-size: 13px; }
    .ncu-team-bar__people { font-size: 12.5px; }

    /* Single nhacai: hai cột → giữ nhưng narrower */
    .ncu-single { padding: 22px; }
    .ncu-single__title { font-size: 26px; }

    /* Product page heading */
    .ncu-cat-header { padding: 22px 24px; }
    .ncu-cat-header__title { font-size: 24px; }
}

/* ─────────── Mobile ngang / tablet nhỏ (≤ 768px) ─────────── */
@media (max-width: 768px) {
    body { font-size: 15px; }

    .container { padding: 0 12px; }

    /* Header layout: logo bên trái, hamburger bên phải, menu drop-down overlay */
    .site-header { position: sticky; top: 0; }
    .site-header__inner {
        padding: 12px;
        gap: 8px;
        flex-wrap: nowrap;
        align-items: center;
    }
    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    .site-title { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-description { display: none; }
    .custom-logo { max-height: 36px !important; width: auto !important; }

    .main-navigation { flex: 0 0 auto; position: static; }
    .menu-toggle {
        display: inline-flex !important;
        align-items: center; justify-content: center;
        width: 42px; height: 42px;
        background: transparent;
        border: 1px solid var(--ncu-border);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
    }

    /* Menu opens as full-width drawer below header */
    .main-navigation #primary-menu {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 6px 0;
        background: #fff;
        border-top: 1px solid var(--ncu-border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .main-navigation.is-open #primary-menu { display: flex; }

    .main-navigation #primary-menu > li {
        width: 100%;
        border-top: 1px solid var(--ncu-border);
        position: relative;
    }
    .main-navigation #primary-menu > li:first-child { border-top: 0; }
    .main-navigation #primary-menu > li > a {
        padding: 14px 18px;
        border-radius: 0;
        background: transparent;
        font-size: 15px;
        font-weight: 600;
        min-height: 48px;
    }
    .main-navigation #primary-menu > li > a:hover,
    .main-navigation #primary-menu .current-menu-item > a {
        background: #f0fdf4;
    }

    /* Submenu in mobile drawer — COLLAPSED by default, expand on tap parent */
    .main-navigation #primary-menu .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-direction: column;
        background: #f9fafb;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        max-width: none;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-navigation #primary-menu .menu-item-has-children.is-expanded > .sub-menu {
        max-height: 600px; /* đủ cho 6+ items */
    }

    .main-navigation #primary-menu .sub-menu li {
        border-top: 1px solid var(--ncu-border);
        width: 100%;
    }
    .main-navigation #primary-menu .sub-menu a {
        padding: 12px 18px 12px 36px;
        font-size: 14px;
        font-weight: 500;
        color: var(--ncu-text);
        min-height: 44px;
    }
    .main-navigation #primary-menu .sub-menu a::before {
        content: "›";
        margin-right: 8px;
        color: var(--ncu-accent-2);
        font-weight: 700;
    }

    /* Parent với submenu — arrow rotate khi expanded */
    .main-navigation #primary-menu .menu-item-has-children > a::after {
        opacity: 0.5;
        transition: transform .2s ease;
    }
    .main-navigation #primary-menu .menu-item-has-children.is-expanded > a::after {
        transform: rotate(180deg);
    }

    /* Team bar */
    .ncu-team-bar__intro { font-size: 12px; line-height: 1.4; }
    .ncu-team-bar__people { font-size: 12px; }

    /* Tables → horizontal scroll wrapper */
    .entry-content table,
    .ncu-single__content table,
    .wp-block-table table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .wp-block-table {
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
        overflow-x: auto;
    }

    /* Card list mobile — stack hợp lý */
    .ncu-card {
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto auto;
    }
    .ncu-card__logo-wrap {
        grid-row: 1; grid-column: 1;
        padding: 10px;
        min-height: 80px;
        border-right: 1px solid var(--ncu-border);
    }
    .ncu-card__logo { max-width: 60px; max-height: 50px; }
    .ncu-card__info {
        grid-row: 1; grid-column: 2;
        padding: 12px 14px;
        border-right: 0;
    }
    .ncu-card__name { font-size: 17px; }
    .ncu-card__tagline { font-size: 13px; }
    .ncu-card__perks { font-size: 12.5px; }
    .ncu-card__perks li { padding-left: 16px; }

    .ncu-card__highlight {
        grid-row: 2; grid-column: 1 / -1;
        border-top: 1px solid var(--ncu-border);
        border-right: 0;
        padding: 12px 14px;
        text-align: center;
    }
    .ncu-card__highlight-title { font-size: 15px; }
    .ncu-card__highlight-sub { font-size: 12.5px; }

    .ncu-card__cta {
        grid-row: 3; grid-column: 1 / -1;
        flex-direction: row;
        gap: 10px;
        padding: 12px 14px;
        border-top: 1px solid var(--ncu-border);
    }
    .ncu-btn {
        max-width: none;
        flex: 1;
        padding: 12px 14px;
        font-size: 13px;
        min-height: 44px; /* touch target */
    }

    /* Single nhacai */
    .ncu-single { padding: 18px; margin: 16px 0; }
    .ncu-single__header {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-bottom: 18px;
        margin-bottom: 18px;
        text-align: center;
    }
    .ncu-single__logo img { max-width: 140px; max-height: 110px; margin: 0 auto; }
    .ncu-single__title { font-size: 22px; }
    .ncu-single__rating { justify-content: center; }
    .ncu-single__rating .ncu-stars { font-size: 18px; }
    .ncu-single__highlight { font-size: 18px; }
    .ncu-btn--lg { padding: 12px 20px; font-size: 14px; max-width: none; width: 100%; }

    .ncu-single__content { font-size: 15px; }
    .ncu-single__content h2 { font-size: 20px; margin-top: 28px; }
    .ncu-single__content h3 { font-size: 16.5px; }

    /* Inline CTA boxes */
    .ncu-inline-cta { padding: 14px 12px; margin: 22px 0; }
    .ncu-inline-cta .ncu-btn { padding: 12px 18px; font-size: 14px; max-width: none; width: 100%; }

    /* Pros/Cons */
    .ncu-proscons { gap: 12px; }
    .ncu-proscons__pros, .ncu-proscons__cons { padding: 14px 16px; }
    .ncu-proscons h4 { font-size: 15px; }

    /* ToC */
    .ncu-toc { padding: 14px 16px; font-size: 13.5px; }
    .ncu-toc__title { font-size: 15px; }

    /* About box homepage */
    .ncu-about-box__content h2 { font-size: 17px; }
    .ncu-about-box__content h3 { font-size: 15px; }
    .ncu-about-box__content p { font-size: 14.5px; }

    /* Page title */
    .page-title { font-size: 22px; line-height: 1.3; }

    /* Category page header */
    .ncu-cat-header { padding: 18px 16px; border-radius: 8px; }
    .ncu-cat-header__title { font-size: 20px; line-height: 1.3; }
    .ncu-cat-header__stats { font-size: 12.5px; gap: 4px 6px; }
    .ncu-cat-header__desc { font-size: 14px; }

    /* Post grid */
    .ncu-post-grid--cols-3,
    .ncu-post-grid--cols-4,
    .ncu-post-grid--cols-2 { grid-template-columns: 1fr; gap: 14px; }
    .ncu-post-card__body { padding: 12px 14px 14px; }
    .ncu-post-card__title { font-size: 15.5px; }

    /* Footer */
    .site-footer__widgets { padding: 28px 0 20px; }
    .ncu-footer-cols { grid-template-columns: 1fr; gap: 22px; }
    .ncu-footer-col h4.widget-title { font-size: 15px; }
    .site-footer__bottom { padding: 16px 0; }
    .site-footer__bottom .container { gap: 8px; }
    .ncu-age-warning { display: block; margin-left: 0; margin-top: 4px; }

    /* Tag cloud footer */
    .site-footer__tags { padding: 16px 0; }
    .ncu-keyword-cloud__title { font-size: 13px; margin-bottom: 10px; }
    .ncu-tag { padding: 6px 11px; font-size: 12.5px; }

    /* Header navigation already handled — ensure tap targets */
    .main-navigation a { min-height: 44px; display: flex; align-items: center; }

    /* Form elements */
    .search-form { flex-direction: column; gap: 8px; }
    .search-field, .search-submit { width: 100%; padding: 12px; min-height: 44px; }

    /* Pagination */
    .page-numbers { min-width: 38px; height: 38px; }
}

/* ─────────── Mobile dọc (≤ 480px) ─────────── */
@media (max-width: 480px) {
    .container { padding: 0 10px; }

    /* Header rất chặt */
    .site-header__inner { padding: 10px; }
    .site-title { font-size: 16px; }

    /* Team bar */
    .ncu-team-bar__intro { line-height: 1.45; }
    .ncu-team-bar__date { display: block; margin-left: 0; margin-top: 2px; }
    .ncu-team-bar__sep { margin: 0 3px; }

    /* Cards thu gọn thêm */
    .ncu-card__logo-wrap { padding: 8px; }
    .ncu-rank-badge {
        padding: 3px 7px; font-size: 11px; border-radius: 0 0 6px 0;
    }
    .ncu-card__name { font-size: 16px; }
    .ncu-card__cta { gap: 6px; padding: 10px 12px; flex-direction: column; }
    .ncu-card__cta .ncu-btn { padding: 11px 12px; }

    /* Single nhacai */
    .ncu-single { padding: 14px; }
    .ncu-single__title { font-size: 20px; }
    .ncu-single__content h2 { font-size: 19px; }
    .ncu-single__content h3 { font-size: 16px; }

    /* Page title */
    .page-title { font-size: 19px; }

    /* About box thu gọn */
    .ncu-about-box { padding: 16px 14px 0; }
    .ncu-about-box__toggle { margin: 12px -14px 0; width: calc(100% + 28px); padding: 12px 14px; }
    .ncu-about-box.is-collapsed .ncu-about-box__content { max-height: 160px; }
    .ncu-about-box__content h2 { font-size: 16px; padding-left: 10px; border-left-width: 3px; }

    /* Pros/Cons */
    .ncu-proscons { grid-template-columns: 1fr; gap: 10px; }

    /* Quick rating callout */
    .ncu-quick-rating { padding: 12px 14px; font-size: 13.5px; }
    .ncu-quick-rating p { line-height: 1.6; }

    /* Footer bottom warning */
    .ncu-age-warning { font-size: 12px; }

    /* Tag cloud */
    .ncu-keyword-cloud__list { gap: 6px; }
    .ncu-tag { padding: 5px 10px; font-size: 12px; }
}

/* ─────────── Tiny phones (≤ 360px) ─────────── */
@media (max-width: 360px) {
    .ncu-card { grid-template-columns: 64px 1fr !important; }
    .ncu-card__logo { max-width: 48px; max-height: 40px; }
    .ncu-card__name { font-size: 15px; }
    .ncu-btn { padding: 10px 10px; font-size: 12px; }
    .page-title { font-size: 18px; }
}

/* =========================================================================
   📧 Newsletter signup form
   ========================================================================= */
.ncu-newsletter-form {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 2px dashed var(--ncu-accent-2);
    border-radius: var(--ncu-radius);
    padding: 22px 26px;
    margin: 24px 0;
    text-align: center;
}
.ncu-newsletter-form__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #1f2937;
}
.ncu-newsletter-form__desc {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 14px;
}
.ncu-newsletter-form__row {
    display: flex;
    gap: 8px;
    max-width: 480px;
    margin: 0 auto;
}
.ncu-newsletter-form__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #fde68a;
    background: #fff;
    border-radius: 8px;
    font-size: 14.5px;
    min-height: 44px;
}
.ncu-newsletter-form__input:focus {
    outline: none;
    border-color: var(--ncu-accent-2);
    box-shadow: 0 0 0 3px rgba(255,184,0,.2);
}
.ncu-newsletter-form__btn {
    background: var(--ncu-primary);
    color: #fff;
    border: 0;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
    transition: filter .15s ease;
}
.ncu-newsletter-form__btn:hover:not(:disabled) { filter: brightness(1.08); }
.ncu-newsletter-form__btn:disabled { opacity: .6; cursor: wait; }
.ncu-newsletter-form__msg {
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    min-height: 18px;
}
.ncu-newsletter-form__msg.is-success { color: var(--ncu-primary); }
.ncu-newsletter-form__msg.is-error   { color: #dc2626; }
.ncu-newsletter-form__note {
    margin: 10px 0 0;
    color: var(--ncu-muted);
    font-size: 11.5px;
}
.ncu-newsletter-form__note a { color: var(--ncu-muted); text-decoration: underline; }

@media (max-width: 540px) {
    .ncu-newsletter-form__row { flex-direction: column; }
    .ncu-newsletter-form__btn { width: 100%; }
}

/* Compact version trong footer cột 4 */
.ncu-footer-col .ncu-newsletter-form,
.ncu-footer-newsletter .ncu-newsletter-form {
    background: rgba(255,184,0,0.08);
    border: 1px solid rgba(255,184,0,0.25);
    padding: 12px 14px;
    margin: 14px 0 0;
    text-align: left;
}
.ncu-footer-col .ncu-newsletter-form__title { font-size: 13.5px; color: var(--ncu-accent-2); margin: 0 0 4px; }
.ncu-footer-col .ncu-newsletter-form__desc { font-size: 12px; margin: 0 0 8px; color: #d1d5db; }
.ncu-footer-col .ncu-newsletter-form__row { flex-direction: column; gap: 6px; max-width: none; }
.ncu-footer-col .ncu-newsletter-form__input {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
    color: #fff;
    font-size: 13px;
    padding: 8px 10px;
    min-height: 36px;
}
.ncu-footer-col .ncu-newsletter-form__input::placeholder { color: rgba(255,255,255,.4); }
.ncu-footer-col .ncu-newsletter-form__btn {
    background: var(--ncu-accent-2);
    color: #1f2937;
    font-size: 12.5px;
    min-height: 36px;
    padding: 0 14px;
}
.ncu-footer-col .ncu-newsletter-form__note { font-size: 10.5px; }
.ncu-footer-col .ncu-newsletter-form__note a { color: var(--ncu-accent-2); }

/* =========================================================================
   📚 Glossary /thuat-ngu/
   ========================================================================= */
.ncu-glossary-toolbar {
    background: #f9fafb;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 18px 0 24px;
    position: sticky;
    top: 70px; /* dưới sticky header */
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ncu-glossary-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.ncu-glossary-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    font-size: 15px;
    min-height: 44px;
    background: #fff;
}
.ncu-glossary-search input:focus {
    outline: none;
    border-color: var(--ncu-primary);
    box-shadow: 0 0 0 3px rgba(10,125,46,.12);
}
.ncu-glossary-search__count {
    color: var(--ncu-muted);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.ncu-glossary-letter {
    font-size: 32px;
    color: var(--ncu-primary);
    margin: 24px 0 8px;
    border-bottom: 0;
    padding: 0;
}
.ncu-glossary-empty {
    text-align: center;
    padding: 32px;
    background: #fef3c7;
    border-radius: 10px;
    color: #92400e;
    font-weight: 600;
}
.ncu-glossary-section[hidden] { display: none; }
.ncu-glossary-entry[hidden] { display: none; }

.ncu-glossary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.ncu-glossary-nav span { font-weight: 700; margin-right: 6px; }
.ncu-glossary-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px; height: 32px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 6px;
    font-weight: 700;
    color: var(--ncu-text);
    text-decoration: none;
    transition: all .15s ease;
}
.ncu-glossary-nav a:hover {
    background: var(--ncu-primary);
    color: #fff;
    border-color: var(--ncu-primary);
    text-decoration: none;
}
.ncu-glossary-list {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 0 18px;
}
.ncu-glossary-entry {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed var(--ncu-border);
}
.ncu-glossary-entry:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.ncu-glossary-list dt {
    font-weight: 700;
    color: var(--ncu-primary);
    font-size: 16px;
    margin: 0 0 4px;
}
.ncu-glossary-list dd {
    margin: 0;
    color: #374151;
    font-size: 14.5px;
    line-height: 1.6;
}

/* =========================================================================
   🎲 Soi cầu numbers
   ========================================================================= */
.ncu-soicau-num {
    display: inline-block;
    background: #f0fdf4;
    color: var(--ncu-primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-family: 'Segoe UI', monospace;
    font-variant-numeric: tabular-nums;
    margin: 2px;
    border: 1px solid #bbf7d0;
}
.ncu-soicau-num--hot {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
    animation: ncu-soicau-pulse 2s ease-in-out infinite;
}
@keyframes ncu-soicau-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* =========================================================================
   ⏳ Countdown banner — top of /lich-khuyen-mai/
   ========================================================================= */
.ncu-countdown-banner {
    background: linear-gradient(135deg, #1f2937 0%, #0a7d2e 100%);
    color: #fff;
    border-radius: 12px;
    padding: 18px 24px;
    margin: 18px 0 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    position: relative;
    overflow: hidden;
}
.ncu-countdown-banner::before {
    content: "";
    position: absolute;
    top: -50%; right: -10%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255,184,0,.18), transparent 70%);
    pointer-events: none;
}
.ncu-countdown-banner__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}
.ncu-countdown-banner__label {
    font-size: 13px;
    color: var(--ncu-accent-2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ncu-countdown-banner__info strong {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.ncu-countdown-banner__timer {
    display: flex;
    gap: 10px;
    z-index: 1;
}
.ncu-countdown-banner__timer span {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    min-width: 64px;
}
.ncu-countdown-banner__timer b {
    display: block;
    font-size: 22px;
    font-weight: 900;
    color: var(--ncu-accent-2);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ncu-countdown-banner__timer em {
    display: block;
    font-style: normal;
    font-size: 10.5px;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 4px;
}
.ncu-countdown-banner.is-active {
    background: linear-gradient(135deg, #c2185b 0%, #f57c00 100%);
}
.ncu-countdown-banner.is-active .ncu-countdown-banner__label::before { content: "🔥 "; }

@media (max-width: 700px) {
    .ncu-countdown-banner { padding: 14px 16px; }
    .ncu-countdown-banner__timer span { padding: 6px 10px; min-width: 52px; }
    .ncu-countdown-banner__timer b { font-size: 18px; }
    .ncu-countdown-banner__info strong { font-size: 15px; }
}

/* =========================================================================
   📅 Promo calendar /lich-khuyen-mai/
   ========================================================================= */
.ncu-promo-calendar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0 28px;
}
.ncu-promo-month {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 16px 18px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ncu-promo-month:hover { transform: translateY(-2px); box-shadow: var(--ncu-shadow-h); }
.ncu-promo-month.is-current {
    border-color: var(--ncu-primary);
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    box-shadow: 0 4px 12px rgba(10,125,46,.15);
}
.ncu-promo-month.is-past { opacity: .7; }
.ncu-promo-month header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.ncu-promo-month__name {
    font-weight: 800;
    color: var(--ncu-text);
    font-size: 14px;
}
.ncu-promo-month__badge {
    font-size: 10.5px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ncu-promo-month__badge.is-now { background: var(--ncu-primary); color: #fff; }
.ncu-promo-month__badge.is-upcoming { background: #fef3c7; color: #92400e; }
.ncu-promo-month__badge.is-past { background: #e5e7eb; color: var(--ncu-muted); }
.ncu-promo-month__theme {
    margin: 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--ncu-text);
    line-height: 1.3;
}
.ncu-promo-month__desc {
    margin: 0;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .ncu-promo-calendar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .ncu-promo-calendar { grid-template-columns: 1fr; }
}

/* =========================================================================
   ⭐ User reviews & rating — comments.php + reviews.php
   ========================================================================= */
.ncu-reviews-section {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 2px solid var(--ncu-border);
}
.ncu-reviews-section__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 18px;
    border-bottom: 0;
    padding-bottom: 0;
}

/* Rating summary block */
.ncu-user-rating {
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--ncu-radius);
    padding: 22px 26px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: minmax(150px, 200px) 1fr;
    gap: 28px;
    align-items: center;
}
.ncu-user-rating--empty {
    display: block;
    text-align: center;
    color: var(--ncu-muted);
    padding: 24px;
    background: #f9fafb;
    border-color: var(--ncu-border);
}
.ncu-user-rating__overview { text-align: center; }
.ncu-user-rating__score {
    font-weight: 900;
    line-height: 1;
}
.ncu-user-rating__num {
    font-size: 56px;
    color: var(--ncu-primary);
}
.ncu-user-rating__max {
    font-size: 22px;
    color: var(--ncu-muted);
}
.ncu-user-rating__stars { font-size: 20px; margin: 6px 0; }
.ncu-user-rating__count { color: var(--ncu-muted); font-size: 13.5px; }
.ncu-user-rating__count strong { color: var(--ncu-text); }

.ncu-user-rating__bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ncu-user-rating__bar {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}
.ncu-user-rating__bar-label { color: var(--ncu-muted); font-weight: 700; }
.ncu-user-rating__bar-track {
    height: 8px;
    background: rgba(0,0,0,.06);
    border-radius: 999px;
    overflow: hidden;
}
.ncu-user-rating__bar-fill {
    display: block;
    height: 100%;
    background: var(--ncu-accent-2);
    border-radius: 999px;
    transition: width .4s ease;
}
.ncu-user-rating__bar-count { color: var(--ncu-muted); text-align: right; }

/* Comments list */
.ncu-comments-area { margin-top: 18px; }
.ncu-comments-title { font-size: 18px; margin: 0 0 16px; font-weight: 700; }

/* Review sort bar */
.ncu-review-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 13px;
}
.ncu-review-sort__label { color: var(--ncu-muted); font-weight: 600; margin-right: 4px; }
.ncu-review-sort__btn {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 999px;
    color: var(--ncu-text);
    text-decoration: none;
    font-weight: 600;
    transition: all .15s ease;
    font-size: 12.5px;
}
.ncu-review-sort__btn:hover { border-color: var(--ncu-primary); color: var(--ncu-primary); text-decoration: none; }
.ncu-review-sort__btn.is-active {
    background: var(--ncu-primary);
    color: #fff;
    border-color: var(--ncu-primary);
}
.ncu-comments-list { list-style: none; margin: 0 0 28px; padding: 0; }
.ncu-comments-list .children { list-style: none; padding-left: 32px; margin: 12px 0 0; }
.ncu-comment {
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 10px;
    padding: 16px 18px;
}
.ncu-comment__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.ncu-comment__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ncu-comment__meta { flex: 1; min-width: 0; line-height: 1.4; }
.ncu-comment__author { font-size: 15px; color: var(--ncu-text); display: block; }
.ncu-comment__time { color: var(--ncu-muted); font-size: 12.5px; }
.ncu-comment__rating { font-size: 16px; }
.ncu-comment__body { color: #374151; font-size: 14.5px; line-height: 1.6; }
.ncu-comment__body p { margin: 0 0 8px; }
.ncu-comment__body p:last-child { margin-bottom: 0; }
.ncu-comment__pending { color: #b45309; font-size: 12.5px; }
.ncu-comment-rating { margin-bottom: 6px; font-size: 14px; }

/* Comment form + Star rating input */
.ncu-comment-form {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: var(--ncu-radius);
    padding: 22px 26px;
}
.ncu-comment-form .comment-reply-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
}
.ncu-comment-form p { margin: 0 0 14px; }
.ncu-comment-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
}
.ncu-comment-form input[type="text"],
.ncu-comment-form input[type="email"],
.ncu-comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    font-size: 14.5px;
    font-family: inherit;
    box-sizing: border-box;
}
.ncu-comment-form textarea { min-height: 110px; resize: vertical; }
.ncu-comment-form input:focus,
.ncu-comment-form textarea:focus {
    outline: none;
    border-color: var(--ncu-primary);
    box-shadow: 0 0 0 3px rgba(10,125,46,.12);
}
.ncu-comment-form .form-submit input[type="submit"] {
    background: var(--ncu-primary);
    color: #fff;
    border: 0;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: filter .15s ease;
}
.ncu-comment-form .form-submit input[type="submit"]:hover { filter: brightness(1.08); }

.ncu-rating-field { background: #fef3c7; border-radius: 8px; padding: 14px; }
.ncu-rating-input {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.ncu-rating-input__star {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #d1d5db;
    cursor: pointer;
    padding: 4px 6px;
    transition: color .15s ease, transform .15s ease;
    min-height: 44px;
    min-width: 44px;
}
.ncu-rating-input__star:hover,
.ncu-rating-input__star.is-hover,
.ncu-rating-input__star.is-active {
    color: var(--ncu-accent-2);
    transform: scale(1.1);
}
.ncu-rating-input__hint {
    margin-left: 12px;
    color: var(--ncu-muted);
    font-size: 12.5px;
}

@media (max-width: 600px) {
    .ncu-user-rating {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        padding: 18px;
    }
    .ncu-user-rating__num { font-size: 44px; }
    .ncu-comment-form { padding: 16px; }
}

/* =========================================================================
   🔍 Search results — search.php
   ========================================================================= */
.ncu-search-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    max-width: 600px;
}
.ncu-search-form__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    font-size: 15px;
    min-height: 44px;
}
.ncu-search-form__input:focus {
    outline: none;
    border-color: var(--ncu-primary);
    box-shadow: 0 0 0 3px rgba(10,125,46,.15);
}
.ncu-search-form__btn {
    padding: 0 22px;
    background: var(--ncu-primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
    transition: filter .15s ease;
}
.ncu-search-form__btn:hover { filter: brightness(1.08); }

.ncu-search-summary {
    color: var(--ncu-muted);
    margin: 18px 0 6px;
    font-size: 14.5px;
}

.ncu-search-group { margin: 24px 0; }
.ncu-search-group__title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ncu-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ncu-search-group__count {
    background: var(--ncu-primary);
    color: #fff;
    font-size: 12.5px;
    padding: 2px 10px;
    border-radius: 10px;
    font-weight: 700;
}

.ncu-search-list { list-style: none; margin: 0; padding: 0; }
.ncu-search-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: var(--ncu-radius);
    margin-bottom: 12px;
    transition: box-shadow .15s ease, transform .15s ease;
}
.ncu-search-item:hover { box-shadow: var(--ncu-shadow-h); transform: translateY(-1px); }
.ncu-search-item__thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.ncu-search-item__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform .25s ease;
}
.ncu-search-item:hover .ncu-search-item__thumb img { transform: scale(1.05); }
.ncu-search-item__body { padding: 4px 0; }
.ncu-search-item__title {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.35;
}
.ncu-search-item__title a {
    color: var(--ncu-text);
    text-decoration: none;
}
.ncu-search-item__title a:hover { color: var(--ncu-primary); }
.ncu-search-item__meta {
    color: var(--ncu-muted);
    font-size: 12.5px;
    margin-bottom: 6px;
}
.ncu-search-item__excerpt {
    color: #374151;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.ncu-search-suggest {
    list-style: none;
    margin: 14px auto;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.ncu-search-suggest li { padding: 0; border: 0; }
.ncu-search-suggest li::before { content: none; }
.ncu-search-suggest a {
    display: inline-block;
    padding: 8px 16px;
    background: #f9fafb;
    border: 1px solid var(--ncu-border);
    border-radius: 999px;
    color: var(--ncu-text);
    text-decoration: none;
    font-size: 13.5px;
    transition: all .15s ease;
}
.ncu-search-suggest a:hover {
    background: var(--ncu-primary);
    color: #fff;
    border-color: var(--ncu-primary);
    text-decoration: none;
}

@media (max-width: 600px) {
    .ncu-search-item { grid-template-columns: 90px 1fr; gap: 12px; padding: 10px; }
}

/* =========================================================================
   ⚖️ Compare table — /so-sanh/
   ========================================================================= */
.ncu-compare-form {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: var(--ncu-radius);
    padding: 16px 20px;
    margin: 16px 0 24px;
}
.ncu-compare-form__label {
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
.ncu-compare-form__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.ncu-compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid var(--ncu-border);
    border-radius: 999px;
    font-size: 13.5px;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}
.ncu-compare-chip:hover { border-color: var(--ncu-primary); }
.ncu-compare-chip input { margin: 0; cursor: pointer; }
.ncu-compare-chip.is-checked,
.ncu-compare-chip:has(input:checked) {
    background: #f0fdf4;
    border-color: var(--ncu-primary);
    color: var(--ncu-primary);
    font-weight: 700;
}

.ncu-compare-wrap {
    overflow-x: auto;
    margin: 18px 0 24px;
    -webkit-overflow-scrolling: touch;
}
.ncu-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: var(--ncu-shadow);
    border-radius: var(--ncu-radius);
    overflow: hidden;
    min-width: 720px;
}
.ncu-compare-table th,
.ncu-compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ncu-border);
    border-right: 1px solid var(--ncu-border);
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5;
}
.ncu-compare-table th:last-child,
.ncu-compare-table td:last-child { border-right: 0; }
.ncu-compare-table tr:last-child td { border-bottom: 0; }
.ncu-compare-table thead th {
    background: linear-gradient(135deg, #f0fdf4 0%, #fffbeb 100%);
    border-bottom: 2px solid var(--ncu-primary);
    text-align: center;
    padding: 18px 12px;
}
.ncu-compare-table__label {
    background: #fafbfc;
    font-weight: 700;
    color: var(--ncu-text);
    width: 180px;
}
.ncu-compare-table__brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--ncu-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}
.ncu-compare-table__brand-link img {
    width: 64px; height: 64px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--ncu-border);
    padding: 4px;
    object-fit: contain;
}
.ncu-compare-table__brand-link:hover { color: var(--ncu-primary); text-decoration: none; }
.ncu-compare-table .ncu-stars { font-size: 16px; }
.ncu-compare-perks {
    list-style: none;
    margin: 0; padding: 0;
    font-size: 13px;
}
.ncu-compare-perks li {
    padding-left: 18px;
    position: relative;
    margin: 3px 0;
    color: #4b5563;
}
.ncu-compare-perks li::before {
    content: "☆";
    position: absolute; left: 0; top: 0;
    color: var(--ncu-accent-2);
}
.ncu-compare-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12.5px;
}
.ncu-compare-muted { color: var(--ncu-muted); font-size: 13px; }
.ncu-compare-table__cta-row td {
    background: #fafbfc;
    text-align: center;
    padding: 16px 12px;
}
.ncu-compare-table__cta-row .ncu-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}
.ncu-compare-table__review-link {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--ncu-muted);
    text-decoration: none;
}
.ncu-compare-table__review-link:hover { color: var(--ncu-primary); text-decoration: underline; }

.ncu-compare-footer {
    margin-top: 28px;
    padding: 20px 24px;
    background: #f9fafb;
    border-left: 4px solid var(--ncu-primary);
    border-radius: 0 8px 8px 0;
}
.ncu-compare-footer h2 { margin-top: 0; font-size: 18px; }
.ncu-compare-footer p { margin: 0; line-height: 1.6; color: #374151; }

@media (max-width: 768px) {
    .ncu-compare-table__label { width: 130px; font-size: 13px; }
    .ncu-compare-table th, .ncu-compare-table td { padding: 10px; font-size: 13px; }
    .ncu-compare-table__brand-link img { width: 48px; height: 48px; }
    .ncu-compare-table__brand-link { font-size: 14px; }
}

/* =========================================================================
   🎁 Promo grid — page /khuyen-mai/
   ========================================================================= */
.ncu-promo-grid {
    display: grid;
    gap: 18px;
    margin: 18px 0 28px;
}
.ncu-promo-grid--cols-1 { grid-template-columns: 1fr; }
.ncu-promo-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.ncu-promo-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }

.ncu-promo-card {
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 12px;
    box-shadow: var(--ncu-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ncu-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.ncu-promo-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ncu-border);
}
.ncu-promo-card__logo {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    overflow: hidden;
}
.ncu-promo-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ncu-promo-card__brand { flex: 1; min-width: 0; }
.ncu-promo-card__name {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}
.ncu-promo-card__name a { color: var(--ncu-text); text-decoration: none; }
.ncu-promo-card__name a:hover { color: var(--ncu-primary); }
.ncu-promo-card__rating { font-size: 14px; }
.ncu-promo-card__rating small { color: var(--ncu-muted); margin-left: 4px; }
.ncu-promo-card__body { padding: 14px 18px; flex: 1; }
.ncu-promo-card__highlight {
    color: var(--ncu-primary);
    font-weight: 800;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 8px;
}
.ncu-promo-card__sub {
    color: #4b5563;
    font-size: 13.5px;
    margin: 0 0 10px;
    line-height: 1.5;
}
.ncu-promo-card__perks {
    list-style: none;
    margin: 0; padding: 0;
    color: var(--ncu-muted);
    font-size: 13px;
}
.ncu-promo-card__perks li {
    padding-left: 18px;
    position: relative;
    margin: 3px 0;
}
.ncu-promo-card__perks li::before {
    content: "✓";
    position: absolute; left: 0; top: 0;
    color: var(--ncu-primary); font-weight: 700;
}
.ncu-promo-card__cta {
    display: block;
    text-align: center;
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    font-weight: 800;
    font-size: 14px;
    padding: 14px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    transition: filter .15s ease;
}
.ncu-promo-card__cta:hover { filter: brightness(1.05); color: #1f2937 !important; }

@media (max-width: 768px) {
    .ncu-promo-grid--cols-2,
    .ncu-promo-grid--cols-3 { grid-template-columns: 1fr; }
}

/* =========================================================================
   📱 Sticky CTA Mobile — hiện ở bottom khi scroll xuống
   ========================================================================= */
.ncu-sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 998;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    border-top: 2px solid var(--ncu-accent-2);
    box-shadow: 0 -6px 20px rgba(0,0,0,.12);
    transform: translateY(100%);
    transition: transform .3s ease;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.ncu-sticky-cta.is-visible {
    transform: translateY(0);
}
.ncu-sticky-cta__close {
    position: absolute;
    top: -10px; right: 8px;
    width: 24px; height: 24px;
    background: #1f2937;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.ncu-sticky-cta__brand {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ncu-border);
    border-radius: 8px;
    overflow: hidden;
}
.ncu-sticky-cta__brand img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}
.ncu-sticky-cta__info {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}
.ncu-sticky-cta__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ncu-text);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ncu-sticky-cta__rank-badge {
    background: var(--ncu-rank);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: .3px;
}
.ncu-sticky-cta__sub {
    font-size: 11.5px;
    color: var(--ncu-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ncu-sticky-cta__btn {
    flex-shrink: 0;
    background: var(--ncu-accent-2);
    color: #1f2937 !important;
    font-weight: 800;
    font-size: 13px;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(255,184,0,.4);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: filter .15s ease, transform .15s ease;
}
.ncu-sticky-cta__btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Chỉ hiện trên mobile + tablet ngang */
@media (max-width: 900px) {
    .ncu-sticky-cta:not([hidden]) {
        display: flex;
    }
    /* Spacer dưới body để content cuối không bị che */
    body.ncu-cta-active { padding-bottom: 76px; }
}

/* ─────────── Print friendly bonus ─────────── */
@media print {
    .site-header, .site-footer, .ncu-team-bar, .ncu-toc,
    .ncu-card__cta, .ncu-inline-cta, .ncu-about-box__toggle { display: none !important; }
    .ncu-about-box.is-collapsed .ncu-about-box__content { max-height: none !important; }
    .ncu-about-box.is-collapsed .ncu-about-box__content::after { display: none !important; }
    body { color: #000; background: #fff; }
}
