/*
 * Trang chủ (inc/home.php, banner kiểu h1 ở inc/shortcodes.php). Chỉ nạp ở trang chủ (hoặc trang khác có đặt các khối này).
 * Dải cam kết, khung "Về An Nhiên" (.nxe-intro) và biến màu dùng chung ở content.css.
 * Mục lục: 1 font chữ có chân · 2 banner H1 · 3 tiêu đề khối · 4 danh mục ảnh tròn · 5 Hot Sale · 6 sản phẩm theo tab
 *          7 Về An Nhiên · 8 đánh giá trích dẫn · 9 blog
 */

/* ---------- 1. Font chữ có chân (Lora, giấy phép OFL — đổi tên trong tệp thành "AN Serif"), chỉ tải khi dùng ---------- */
@font-face { font-family: "AN Serif"; font-style: normal; font-weight: 600; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/lora-600-normal.woff2) format("woff2"); }
@font-face { font-family: "AN Serif"; font-style: italic; font-weight: 500; font-display: swap; src: url(/wp-content/themes/nhatdx-themes/assets/fonts/lora-500-italic.woff2) format("woff2"); }

:root {
  --ndx-serif: "AN Serif", Georgia, "Times New Roman", serif;
  --ndx-glow: #F1E2CC;
  --ndx-hot-1: #8A4B17; --ndx-hot-2: #B5651F;
  --ndx-sec: 64px;                          /* khoảng cách giữa các khối */
}
@media (max-width: 849px) { :root:where(:not(.nt-desk)){ --ndx-sec: 40px; } }

/* ---------- 2. Banner H1 ---------- */
.ndx-h1 { padding: 36px 0 8px; overflow: hidden; }
.ndx-h1-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 540px; }
.ndx-h1 .ndx-h1-k { margin: 0; font-family: var(--nt-font); font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--nt-a); }
.ndx-h1 .ndx-h1-t { margin: 16px 0 20px; font-family: var(--ndx-serif); font-size: 60px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--nt-ink); }
.ndx-h1 .ndx-h1-t em { display: block; font-style: italic; font-weight: 500; color: var(--ndx-buy); }
.ndx-h1-p { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.6; color: var(--nt-body); }
.ndx-h1-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; }
.ndx-h1-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ndx-buy); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(168, 98, 34, .6); transition: background .2s, transform .2s; }
.ndx-h1-btn:hover { background: var(--ndx-brown-d); color: #fff; transform: translateY(-1px); }
.ndx-h1-lnk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ndx-buy); white-space: nowrap; }
.ndx-h1-lnk:hover { color: var(--ndx-brown-d); }
.ndx-h1-pts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--nt-muted); }
.ndx-h1-pts li { display: flex; align-items: center; gap: 6px; margin: 0; }
.ndx-h1-pts svg { color: var(--nt-a); }
.ndx-h1-v { position: relative; display: grid; place-items: center; }
.ndx-h1-v > picture { display: contents; }
.ndx-h1-glow { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, var(--ndx-glow) 0%, var(--ndx-cream) 45%, rgba(250, 246, 240, 0) 70%); pointer-events: none; }
.ndx-h1-img { position: relative; display: block; width: 470px; max-width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(70, 40, 15, .22)); }
@media (max-width: 1100px) and (min-width: 850px) {
  :where(html:not(.nt-desk)) .ndx-h1-g{ min-height: 460px; gap: 24px; }
  :where(html:not(.nt-desk)) .ndx-h1 .ndx-h1-t{ font-size: 46px; }
  :where(html:not(.nt-desk)) .ndx-h1-glow{ width: 420px; height: 420px; }
}
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-h1{ padding: 10px 0 0; }
  :where(html:not(.nt-desk)) .ndx-h1-g{ grid-template-columns: 1fr; gap: 6px; min-height: 0; }
  :where(html:not(.nt-desk)) .ndx-h1-v{ order: -1; height: 290px; }
  :where(html:not(.nt-desk)) .ndx-h1-glow{ width: 330px; height: 330px; }
  :where(html:not(.nt-desk)) .ndx-h1-img{ width: 262px; }
  :where(html:not(.nt-desk)) .ndx-h1 .ndx-h1-k{ font-size: 13px; letter-spacing: .06em; }
  :where(html:not(.nt-desk)) .ndx-h1 .ndx-h1-t{ margin: 8px 0 10px; font-size: 34px; }
  :where(html:not(.nt-desk)) .ndx-h1-p{ font-size: 15px; }
  :where(html:not(.nt-desk)) .ndx-h1-cta{ flex-wrap: nowrap; gap: 18px; margin-top: 18px; }
  :where(html:not(.nt-desk)) .ndx-h1-btn{ flex: 1 1 auto; height: 50px; padding: 0 20px; font-size: 15.5px; }
  :where(html:not(.nt-desk)) .ndx-h1-pts{ display: none; }
}
@media (max-width: 360px) { :where(html:not(.nt-desk)) .ndx-h1-cta{ flex-wrap: wrap; } }

/* ---------- 3. Tiêu đề khối ---------- */
.ndx-hm { margin-top: var(--ndx-sec); }
.ndx-hm-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ndx-hm-hd > div { min-width: 0; }
.ndx-hm-k { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nt-a); }
.ndx-hm .ndx-hm-t { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--nt-ink); }
.ndx-hm-more { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ndx-buy); white-space: nowrap; }
.ndx-hm-more:hover { color: var(--ndx-brown-d); }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-hm-hd{ margin-bottom: 16px; }
  :where(html:not(.nt-desk)) .ndx-hm .ndx-hm-t{ font-size: 22px; }
  :where(html:not(.nt-desk)) .ndx-hm-k{ font-size: 13px; letter-spacing: .08em; }
  :where(html:not(.nt-desk)) .ndx-hm-more{ font-size: 14px; }
}

/* Cuộn ngang trên điện thoại (danh mục, Hot Sale, tab): ẩn thanh cuộn */
.ndx-hc-row, .ndx-hs-row, .ndx-tb-row { scrollbar-width: none; }
.ndx-hc-row::-webkit-scrollbar, .ndx-hs-row::-webkit-scrollbar, .ndx-tb-row::-webkit-scrollbar { display: none; }

/* ---------- 4. Danh mục ảnh tròn ---------- */
.ndx-hc-row { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 20px; }
.ndx-hc { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; color: var(--nt-ink); }
.ndx-hc-i { display: block; width: 148px; max-width: 100%; aspect-ratio: 1; margin-bottom: 10px; padding: 6px; overflow: hidden; border: 1px solid var(--nt-line2); border-radius: 50%; background: var(--nt-paper); transition: border-color .2s, box-shadow .2s; }
.ndx-hc-i img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transform: scale(1.15); transition: transform .35s; }
.ndx-hc-ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ndx-cream); color: var(--ndx-buy); }
.ndx-hc b { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.ndx-hc small { font-size: 13.5px; color: var(--nt-muted); }
.ndx-hc:hover { color: var(--ndx-buy); }
.ndx-hc:hover .ndx-hc-i { border-color: var(--nt-p); box-shadow: 0 10px 24px -14px rgba(110, 66, 30, .45); }
.ndx-hc:hover .ndx-hc-i img { transform: scale(1.22); }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-hc-row{ display: flex; gap: 12px; margin-right: calc(-1 * var(--nt-pad)); padding-right: var(--nt-pad); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  :where(html:not(.nt-desk)) .ndx-hc{ flex: 0 0 86px; scroll-snap-align: start; }
  :where(html:not(.nt-desk)) .ndx-hc-i{ width: 80px; padding: 4px; margin-bottom: 6px; }
  :where(html:not(.nt-desk)) .ndx-hc b{ font-size: 14px; line-height: 1.3; }
  :where(html:not(.nt-desk)) .ndx-hc small{ display: none; }
}

/* ---------- 5. Hot Sale dải cam ---------- */
.ndx-hs { padding: 26px 26px 28px; border-radius: 24px; background: linear-gradient(135deg, var(--ndx-hot-1), var(--ndx-hot-2) 60%, var(--nt-p)); }
.ndx-hs-hd { display: flex; align-items: center; gap: 12px 28px; margin-bottom: 20px; color: #fff; }
.ndx-hm .ndx-hs-t { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 30px; font-weight: 700; font-style: italic; letter-spacing: -.01em; line-height: 1.2; color: #fff; }
.ndx-hs-t svg { color: #FFD27A; }
.ndx-hs-cd { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ndx-hs-cd span:first-child { margin-right: 6px; }
.ndx-hs-cd b { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 4px; border-radius: 9px; background: #fff; color: var(--nt-price); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ndx-hs-cd em { font-style: normal; font-weight: 700; }
.ndx-hs-lk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; font-weight: 600; color: #fff; white-space: nowrap; }
.ndx-hs-lk:hover { color: #FFE3BF; }
.ndx-hs-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ndx-hs-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 10px 14px; border-radius: 14px; background: #fff; }
.ndx-hs-im { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--ndx-cream); }
.ndx-hs-im img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ndx-hs-c:hover .ndx-hs-im img { transform: scale(1.05); }
.ndx-hs-b { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--nt-price); color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.ndx-hm .ndx-hs-n { display: -webkit-box; min-height: 39px; margin: 4px 0 0; overflow: hidden; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: 0; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ndx-hs-n a { color: var(--nt-ink); }
.ndx-hs-n a:hover { color: var(--ndx-buy); }
.ndx-hs-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; line-height: 1.3; }
.ndx-hs-p ins, .ndx-hs-p .nt-price-contact { order: -1; font-size: 16px; font-weight: 700; color: var(--nt-price); text-decoration: none; }
.ndx-hs-p del { font-size: 12.5px; color: #9A8878; }
.ndx-hs-p .nt-from { order: -2; font-size: 12.5px; color: var(--nt-muted); }
.ndx-hs-sold { display: flex; flex-direction: column; gap: 5px; margin-top: auto; padding-top: 2px; }
.ndx-hs-sold span { font-size: 13px; font-weight: 600; color: #9A3412; }
.ndx-hs-sold i { position: relative; display: block; height: 7px; overflow: hidden; border-radius: 4px; background: #FBE3D0; }
.ndx-hs-sold i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 50%); border-radius: 11px; background: linear-gradient(90deg, #E06A2A, var(--nt-price)); }
@media (max-width: 1100px) and (min-width: 850px) { :where(html:not(.nt-desk)) .ndx-hs-row{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-hs{ margin: 0 -4px; padding: 16px 0 16px 16px; border-radius: 18px; }
  :where(html:not(.nt-desk)) .ndx-hs-hd{ flex-wrap: wrap; gap: 10px 14px; margin-bottom: 14px; padding-right: 16px; }
  :where(html:not(.nt-desk)) .ndx-hm .ndx-hs-t{ font-size: 23px; }
  :where(html:not(.nt-desk)) .ndx-hs-lk{ font-size: 14px; }
  :where(html:not(.nt-desk)) .ndx-hs-cd{ order: 3; width: 100%; }
  :where(html:not(.nt-desk)) .ndx-hs-cd b{ min-width: 34px; height: 34px; font-size: 16px; }
  :where(html:not(.nt-desk)) .ndx-hs-row{ display: flex; gap: 10px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  :where(html:not(.nt-desk)) .ndx-hs-c{ flex: 0 0 152px; scroll-snap-align: start; }
  :where(html:not(.nt-desk)) .ndx-hs-sold span{ font-size: 14px; }
  :where(html:not(.nt-desk)) .ndx-hs-p del{ font-size: 13px; }
}

/* ---------- 6. Sản phẩm theo tab ---------- */
.ndx-tb-row { display: flex; flex-wrap: wrap; gap: 10px; margin: -6px 0 22px; }
.ndx-tb { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1.5px solid var(--nt-line2); border-radius: 999px; background: var(--nt-paper); color: var(--nt-body); font-size: 14.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.ndx-tb:hover { border-color: var(--nt-p); color: var(--nt-ink); }
.ndx-tb.is-on { border-color: var(--nt-ink); background: var(--nt-ink); color: #fff; }
.ndx-tb:focus-visible { outline: 2px solid var(--nt-p); outline-offset: 2px; }
.ndx-hm-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ndx-hm-grid > .nt-card { min-width: 0; }
.ndx-tb-p { transition: opacity .2s; }
.ndx-tb-p.is-loading { opacity: .45; pointer-events: none; }
.ndx-tb-all { margin: 22px 0 0; text-align: center; }
.ndx-tb-all .nt-btn { min-height: 44px; }
@media (max-width: 1100px) and (min-width: 850px) { :where(html:not(.nt-desk)) .ndx-hm-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } :where(html:not(.nt-desk)) .ndx-hm-grid > .nt-card:nth-child(n+9){ display: none; } }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-tb-row{ flex-wrap: nowrap; gap: 8px; margin: -4px calc(-1 * var(--nt-pad)) 16px 0; padding-right: var(--nt-pad); overflow-x: auto; overscroll-behavior-x: contain; }
  :where(html:not(.nt-desk)) .ndx-tb{ flex: none; padding: 0 16px; font-size: 14px; }
  :where(html:not(.nt-desk)) .ndx-hm-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :where(html:not(.nt-desk)) .ndx-hm-grid > .nt-card:nth-child(n+7){ display: none; }
}

/* ---------- 7. Về An Nhiên (khung HTML đang có + ảnh bên trái, chữ và 3 bước xếp một cột; kiểu gốc .nxe-intro ở content.css) ---------- */
.ndx-hm-about, .nb-section.alignfull.ndx-hm-about { margin-top: var(--ndx-sec); }
.ndx-hm-about > .nb-section__in > .nb-row { padding: 24px; border: 1px solid var(--nt-line); border-radius: 24px; background: var(--nt-paper); }
.ndx-hm-about .ndx-hm-about-img { margin: 0; }
.ndx-hm-about .ndx-hm-about-img img { display: block; width: 100%; height: 420px; border-radius: 18px; object-fit: cover; }
.ndx-hm-about .nxe-intro { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 12px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }   /* khung thẻ là cả hàng ảnh + chữ; xếp một cột */
.ndx-hm-about .nxe-intro-tx { display: contents; }
.ndx-hm-about .nxe-kicker { order: 1; margin: 0 0 10px; }
.ndx-hm-about .nxe-kicker::before { display: none; }
.ndx-hm-about h2.nxe-intro-h { order: 2; margin: 0 0 14px; font-size: 30px; line-height: 1.25; }
.ndx-hm-about .nxe-intro-lead { order: 3; font-size: 16px; line-height: 1.65; color: var(--nt-body); }
.ndx-hm-about ol.nxe-intro-steps { order: 4; gap: 10px; margin: 22px 0; }
.ndx-hm-about .nxe-intro-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 0 14px; padding: 12px 16px; background: var(--nt-bg); font-size: 14px; color: var(--nt-muted); }
.ndx-hm-about .nxe-intro-steps li::before { width: 40px; height: 40px; color: var(--ndx-buy); box-shadow: inset 0 0 0 1px var(--nt-line2); }
.ndx-hm-about .nxe-intro-steps li > b { font-size: 15px; }
.ndx-hm-about .nxe-intro-more { order: 5; margin: 0; }
.ndx-hm-about .nxe-intro-more > summary { min-height: 44px; color: var(--ndx-buy); font-size: 15px; }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-hm-about > .nb-section__in > .nb-row{ gap: 18px; padding: 12px; border-radius: 18px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .ndx-hm-about-img img{ height: 200px; border-radius: 12px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .nxe-intro{ padding: 0 6px 4px; }
  :where(html:not(.nt-desk)) .ndx-hm-about h2.nxe-intro-h{ font-size: 22px; }
  :where(html:not(.nt-desk)) .ndx-hm-about ol.nxe-intro-steps{ gap: 8px; margin: 18px 0 10px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .nxe-intro-steps li{ grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; padding: 10px 12px; font-size: 14px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .nxe-intro-steps li::before{ width: 34px; height: 34px; font-size: 13px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .nxe-intro-steps li > b{ grid-row: 1; font-size: 14.5px; }
  :where(html:not(.nt-desk)) .ndx-hm-about .nxe-intro-steps li > span{ display: block; }
}

/* ---------- 8. Đánh giá trích dẫn lớn ---------- */
.ndx-rv { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 48px; align-items: center; padding: 48px 52px; border-radius: 28px; background: var(--ndx-cream); }
.ndx-rv-big { display: flex; align-items: center; gap: 16px; margin: 14px 0 18px; }
.ndx-rv-big > b { font-size: 72px; font-weight: 700; line-height: 1; color: var(--ndx-brown-d); font-variant-numeric: lining-nums; }
.ndx-rv-big small { display: block; margin-top: 4px; font-size: 14px; color: var(--nt-muted); }
.ndx-rv-all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ndx-buy); }
.ndx-rv-all:hover { color: var(--ndx-brown-d); }
.ndx-rv-q { display: block; color: var(--nt-p); }
.ndx-rv-st { display: grid; }
.ndx-rv-s { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.ndx-rv-s.is-on { opacity: 1; visibility: visible; }
.ndx-rv-s blockquote { margin: 0; padding: 0; border: 0; }
.ndx-rv-s blockquote p { margin: 10px 0 26px; font-family: var(--ndx-serif); font-size: 28px; font-style: italic; font-weight: 500; line-height: 1.45; color: var(--nt-ink); }
.ndx-rv-who { display: flex; align-items: center; gap: 14px; }
.ndx-rv-who > a { flex: none; }
.ndx-rv-who img { display: block; width: 56px; height: 56px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; }
.ndx-rv-who b { display: block; color: var(--nt-ink); }
.ndx-rv-who small { display: block; font-size: 14px; color: var(--nt-muted); }
.ndx-rv-who small a { color: inherit; }
.ndx-rv-who small a:hover { color: var(--ndx-buy); }
.ndx-rv-ctl { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.ndx-rv-ts { display: flex; flex-wrap: wrap; gap: 10px; }
.ndx-rv-t { display: block; width: 44px; height: 44px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 50%; background: #fff; opacity: .5; cursor: pointer; transition: opacity .2s, border-color .2s; }
.ndx-rv-t img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ndx-rv-t span { font-size: 13px; font-weight: 700; color: var(--nt-muted); }
.ndx-rv-t:hover { opacity: .8; }
.ndx-rv-t.is-on { border-color: var(--ndx-buy); opacity: 1; }
.ndx-rv-na { display: flex; flex: none; gap: 8px; }
.ndx-rv-na button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--nt-line2); border-radius: 50%; background: var(--nt-paper); color: var(--nt-ink); cursor: pointer; transition: background .2s, color .2s; }
.ndx-rv-na .ndx-rv-nx, .ndx-rv-na button:hover { border-color: var(--nt-ink); background: var(--nt-ink); color: #fff; }
@media (max-width: 1100px) and (min-width: 850px) { :where(html:not(.nt-desk)) .ndx-rv{ grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 36px; } :where(html:not(.nt-desk)) .ndx-rv-s blockquote p{ font-size: 23px; } }
@media (max-width: 849px) {
  :where(html:not(.nt-desk)) .ndx-rv{ grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 20px; border-radius: 20px; }
  :where(html:not(.nt-desk)) .ndx-rv-big{ margin: 8px 0 6px; }
  :where(html:not(.nt-desk)) .ndx-rv-big > b{ font-size: 52px; }
  :where(html:not(.nt-desk)) .ndx-rv-all{ display: none; }
  :where(html:not(.nt-desk)) .ndx-rv-q{ width: 28px; height: 28px; }
  :where(html:not(.nt-desk)) .ndx-rv-s blockquote p{ margin: 6px 0 18px; font-size: 20px; }
  :where(html:not(.nt-desk)) .ndx-rv-who img{ width: 48px; height: 48px; }
  :where(html:not(.nt-desk)) .ndx-rv-na{ display: none; }
  :where(html:not(.nt-desk)) .ndx-rv-ctl{ margin-top: 18px; }
  :where(html:not(.nt-desk)) .ndx-rv-ts{ min-width: 0; flex-wrap: nowrap; margin: -4px -20px -4px 0; padding: 4px 20px 4px 0; overflow-x: auto; scrollbar-width: none; }
  :where(html:not(.nt-desk)) .ndx-rv-ts::-webkit-scrollbar{ display: none; }
  :where(html:not(.nt-desk)) .ndx-rv-t{ flex: none; }
}

/* ---------- 9. Blog (giữ khối bài viết đang có, chỉ giãn cách cho đều) ---------- */
.ndx-hm-blog, .nb-section.alignfull.ndx-hm-blog { margin-top: var(--ndx-sec); }

html.nt-desk{overflow-x:auto}html.nt-desk body{min-width:1200px}