/* NVP Bài viết 2.0 — trang Bài viết và từng bài.
   Màu của chính NVP Music: xanh than (#12233f) của thanh menu, vàng đồng (#946418) của logo; nền trắng, góc vuông.
   Chữ Be Vietnam Pro (đủ dấu tiếng Việt): tiêu đề 400, chữ 400, nhãn và nút 500.
   Mọi quy tắc bắt đầu bằng #ncn để không bị CSS của theme ghi đè. */
#ncn {
	--bg: #ffffff;
	--surface: #f1f3f6;
	--ink: #12233f;
	--text: #2b3647;
	--muted: #4f5969;
	--line: #e2e6ec;
	--accent: #946418;
	--accent-ink: #8a5a12;
	--accent-soft: #faf3e6;
	--font-display: "Be Vietnam Pro", system-ui, sans-serif;
	--font-text: "Be Vietnam Pro", system-ui, sans-serif;
	--display-weight: 400;
	--display-tracking: -0.03em;
	--t-h2: clamp(28px, 3.3vw, 46px);
	--wrap: 1200px;
	--gut: 24px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	font-family: var(--font-text);
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
#ncn, #ncn *, #ncn *::before, #ncn *::after { box-sizing: border-box; }
#ncn :where(p, h1, h2, h3, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
#ncn :where(ul, ol) { list-style: none; }
#ncn img { display: block; max-width: 100%; height: auto; }
#ncn a { color: inherit; text-decoration: none; }
#ncn a:focus-visible, #ncn button:focus-visible, #ncn summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#ncn .ncn-i { flex: none; }
body.ncn-page { overflow-x: clip; }

/* Dải trải hết chiều ngang dù nằm trong khung nội dung của theme */
#ncn.ncn-hub > section, #ncn .ncn-band { width: 100vw; margin-left: calc(50% - 50vw); }
#ncn .ncn-wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

#ncn .ncn-h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; letter-spacing: var(--display-tracking); color: var(--ink); text-transform: none; text-wrap: balance; }
#ncn .ncn-h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.025em; color: var(--ink); text-transform: none; text-wrap: balance; }
#ncn .ncn-h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.3; color: var(--ink); text-transform: none; }
#ncn .ncn-lead { margin-top: 22px; max-width: 44ch; font-size: 20px; line-height: 1.55; color: var(--muted); }

/* Nút: rê chuột nhích lên 1px và đậm hơn; bấm thì lún xuống */
#ncn .ncn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 2px; background: var(--accent); color: #fff; font-weight: 500; font-size: 16.5px; line-height: 1; transition: background 150ms, transform 150ms var(--ease); }
#ncn .ncn-btn:active { transform: translateY(1px) scale(.985); transition-duration: 90ms; }
#ncn .ncn-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent-ink); }
#ncn .ncn-go .ncn-i { transition: transform 150ms var(--ease); }

/* Khung ảnh: ảnh phóng 1.03 trong khung khi rê chuột */
#ncn .ncn-frame { position: relative; display: block; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--surface); }
#ncn .ncn-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
#ncn .ncn-frame.is-product { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
#ncn .ncn-frame.is-product img { object-fit: contain; padding: 7%; }

#ncn .ncn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
#ncn .ncn-meta > span + span::before { content: "·"; margin: 0 8px; }
#ncn .ncn-tag { font-weight: 500; color: var(--accent-ink); }
#ncn .ncn-tag.is-hoc-dan { color: #2a5596; }
#ncn .ncn-tag.is-cham-soc { color: #1f6247; }
#ncn .ncn-tag.is-hoi-nhanh { color: #7a3a9a; }

@media (hover: hover) and (pointer: fine) {
	#ncn .ncn-btn:hover { background: #7a5214; transform: translateY(-1px); }
	#ncn a:hover .ncn-frame img { transform: scale(1.03); }
	#ncn a:hover .ncn-go .ncn-i { transform: translateX(3px); }
}

/* ============ Trang Bài viết ============ */
#ncn .ncn-hero { background: var(--bg); padding: 72px 0 88px; }
#ncn .ncn-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 80px; align-items: center; }
#ncn .ncn-search { margin-top: 40px; max-width: 520px; }
#ncn .ncn-search-l { display: block; margin-bottom: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
#ncn .ncn-search-f { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1.5px #c7ced8; color: var(--muted); transition: box-shadow 150ms; }
#ncn .ncn-search-f:focus-within { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(148, 100, 24, .2); }
#ncn .ncn-search input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; border-radius: 0; font: inherit; font-size: 17.5px; color: var(--ink); }
#ncn .ncn-hero-feat { display: grid; gap: 18px; }
#ncn .ncn-hero-feat { max-width: 440px; justify-self: end; width: 100%; }
#ncn .ncn-hero-feat .ncn-frame { --ar: 4 / 5; }
#ncn .ncn-hero-feat-tx { display: grid; gap: 8px; }
#ncn .ncn-hero-feat-t { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.015em; color: var(--ink); }

/* Đầu trang hiện lên một lần khi vào */
@media (prefers-reduced-motion: no-preference) {
	#ncn [data-enter] .ncn-hero-tx > *, #ncn [data-enter] .ncn-hero-feat, #ncn .ncn-ah[data-enter] > * { animation: ncn-rise 900ms var(--ease) both; }
	#ncn [data-enter] .ncn-hero-tx > :nth-child(2), #ncn .ncn-ah[data-enter] > :nth-child(2) { animation-delay: 90ms; }
	#ncn [data-enter] .ncn-hero-tx > :nth-child(3), #ncn .ncn-ah[data-enter] > :nth-child(3) { animation-delay: 180ms; }
	#ncn .ncn-ah[data-enter] > :nth-child(4) { animation-delay: 240ms; }
	#ncn [data-enter] .ncn-hero-feat { animation-delay: 220ms; animation-duration: 1100ms; }
}
@keyframes ncn-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Câu giới thiệu: chữ sáng dần theo từng chữ khi cuộn tới (moment word-highlight) */
#ncn .ncn-say { background: var(--surface); padding: 128px 0; }
#ncn .ncn-say .mo-wh__text { color: var(--ink); max-width: 1000px; }

/* Danh sách bài */
#ncn .ncn-list { background: var(--bg); padding: 104px 0 96px; scroll-margin-top: 80px; }
#ncn .ncn-list-h { display: grid; gap: 22px; margin-bottom: 40px; }
#ncn .ncn-list-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
#ncn .ncn-count-p { font-size: 16px; color: var(--muted); }
#ncn .ncn-filters { display: flex; flex-wrap: wrap; gap: 12px 32px; }
#ncn .ncn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#ncn .ncn-chip { min-height: 44px; margin: 0; padding: 0 16px; border: 0; border-radius: 2px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; transition: background 150ms, color 150ms; }
#ncn .ncn-chip small { margin-left: 4px; font-size: 13px; color: var(--muted); }
#ncn .ncn-chip.on { background: var(--ink); color: #fff; }
#ncn .ncn-chip.on small { color: rgba(255, 255, 255, .65); }
#ncn .ncn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
#ncn .ncn-card { position: relative; }
#ncn .ncn-card[hidden], #ncn .ncn-card.is-feat:not(.is-shown) { display: none; }
#ncn .ncn-card.is-in { animation: ncn-fade 260ms ease both; }
@keyframes ncn-fade { from { opacity: 0; } to { opacity: 1; } }
#ncn .ncn-card-a { display: grid; gap: 18px; transition: transform 180ms var(--ease); }
#ncn .ncn-card-tx { display: grid; gap: 8px; }
#ncn .ncn-card-t { font-family: var(--font-display); font-size: 21px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 300ms var(--ease); padding-bottom: 1px; width: fit-content; }
#ncn .ncn-card-x { font-size: 15.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
	#ncn .ncn-card-a:hover { transform: translateY(-2px); }
	#ncn .ncn-card-a:hover .ncn-card-t { background-size: 100% 1.5px; }
	#ncn .ncn-chip:not(.on):hover { background: #e4e8ee; }
	#ncn .ncn-hero-feat:hover .ncn-hero-feat-t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
}
#ncn .ncn-empty { padding: 32px; background: var(--surface); }
#ncn .ncn-empty[hidden] { display: none; }
#ncn .ncn-news { margin-top: 88px; border-top: 1px solid var(--line); padding-top: 32px; display: grid; gap: 0; }
#ncn .ncn-news .ncn-h3 { margin-bottom: 8px; }
#ncn .ncn-news-i { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
#ncn .ncn-news-i b { font-weight: 500; color: var(--ink); }
#ncn .ncn-news-i small { font-size: 14px; color: var(--muted); }
#ncn .ncn-news-i .ncn-i { color: var(--accent-ink); transition: transform 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-news-i:hover .ncn-i { transform: translateX(3px); } #ncn .ncn-news-i:hover b { text-decoration: underline; text-underline-offset: 4px; } }

/* Hỏi giáo viên: ảnh lớp học hiện dần như rửa ảnh (moment picture-develops) */
#ncn .ncn-close { background: var(--bg); padding: 0 0 120px; }
#ncn .ncn-close-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 80px; align-items: center; }
#ncn .ncn-close-photo { aspect-ratio: 4 / 5; background: var(--surface); }
#ncn .ncn-close-tx { display: grid; gap: 18px; justify-items: start; }
#ncn .ncn-close-tx p { font-size: 18px; line-height: 1.6; max-width: 42ch; }
#ncn .ncn-close-tx .ncn-btn { margin-top: 8px; }

/* ============ Trang từng bài ============ */
#ncn.ncn-art { --wrap: 1200px; width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; padding: 40px 0 104px; font-size: 18.5px; line-height: 1.75; }
#ncn .ncn-ahead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 480px); gap: 56px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
#ncn .ncn-ah { display: grid; gap: 22px; align-content: start; }
#ncn .ncn-ah .ncn-crumbs { margin-bottom: -14px; }
#ncn .ncn-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
#ncn .ncn-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 250ms var(--ease), color 150ms; }
#ncn .ncn-crumbs a[aria-current] { color: var(--accent-ink); font-weight: 500; }
#ncn .ncn-art-h1 { max-width: 22ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.14; letter-spacing: var(--display-tracking); color: var(--ink); text-transform: none; text-wrap: balance; }
#ncn .ncn-quick { max-width: 640px; padding: 18px 22px; background: var(--accent-soft); border-left: 3px solid var(--accent); }
#ncn .ncn-quick-h { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
#ncn .ncn-quick-p { margin-top: 6px; font-size: 17.5px; line-height: 1.6; color: var(--ink); }
#ncn .ncn-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
#ncn .ncn-by-logo { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #e6bf73; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
#ncn .ncn-by-tx { display: flex; flex-direction: column; line-height: 1.35; flex: 1 1 220px; min-width: 0; }
#ncn .ncn-by-tx b { font-weight: 500; color: var(--ink); font-size: 16px; }
#ncn .ncn-by-tx span { font-size: 14px; color: var(--muted); }
#ncn .ncn-by-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
#ncn .ncn-by-facts > span { display: inline-flex; align-items: center; gap: 6px; }
#ncn .ncn-art-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--surface); }
#ncn .ncn-art-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#ncn .ncn-art-photo.is-product { aspect-ratio: 1 / 1; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
#ncn .ncn-art-photo.is-product > img { object-fit: contain !important; padding: 3%; }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-crumbs a:hover { background-size: 100% 1px; color: var(--ink); } }

#ncn .ncn-art-grid { margin-top: 56px; }
#ncn .ncn-art-body { max-width: 720px; }
#ncn .ncn-art-grid.has-toc { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 72px; align-items: start; justify-content: center; }
#ncn .ncn-art-grid:not(.has-toc) .ncn-art-body { max-width: 720px; margin-inline: auto; }
#ncn .ncn-toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; font-size: 15px; line-height: 1.45; }
#ncn .ncn-toc summary { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; font-weight: 500; color: var(--ink); list-style: none; cursor: pointer; }
#ncn .ncn-toc summary::-webkit-details-marker { display: none; }
#ncn .ncn-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
#ncn .ncn-toc li a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--muted); transition: color 150ms, border-color 200ms; }
#ncn .ncn-toc li.is-h3 a { padding-left: 30px; font-size: 14px; }
#ncn .ncn-toc li a.on { color: var(--ink); border-left-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-toc li a:hover { color: var(--ink); } }

/* Thân bài: 19px, dòng 1.75, khoảng 65–70 ký tự một dòng */
#ncn .ncn-art-body { color: var(--text); overflow-wrap: break-word; }
#ncn .ncn-art-body > *:first-child { margin-top: 0; }
#ncn .ncn-art-body p { margin: 0 0 1.2em; }
#ncn .ncn-art-body > p:first-child { font-size: 1.12em; line-height: 1.65; color: var(--ink); }
#ncn .ncn-art-body h2 { margin: 2.2em 0 .6em; font-family: var(--font-display); font-weight: 500; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); scroll-margin-top: 100px; text-transform: none; }
#ncn .ncn-art-body h3 { margin: 1.7em 0 .5em; font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--ink); scroll-margin-top: 100px; text-transform: none; }
#ncn .ncn-art-body a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(138, 90, 18, .35); transition: text-decoration-color 150ms; }
#ncn .ncn-art-body a:hover { text-decoration-color: currentColor; }
#ncn .ncn-art-body ul, #ncn .ncn-art-body ol { margin: 0 0 1.3em; padding-left: 1.3em; }
#ncn .ncn-art-body ul { list-style: disc; }
#ncn .ncn-art-body ol { list-style: decimal; }
#ncn .ncn-art-body li { margin: .4em 0; padding-left: .2em; }
#ncn .ncn-art-body li::marker { color: var(--accent); }
#ncn .ncn-art-body strong, #ncn .ncn-art-body b { color: var(--ink); font-weight: 600; }
#ncn .ncn-art-body img { margin: 1.8em 0; }
#ncn .ncn-art-body figure { margin: 1.8em 0; }
#ncn .ncn-art-body figure img { margin: 0; }
#ncn .ncn-art-body figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
#ncn .ncn-art-body blockquote { margin: 1.8em 0; padding: 2px 0 2px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 23px; line-height: 1.5; color: var(--ink); }
#ncn .ncn-art-body blockquote p { margin: 0; }
#ncn .ncn-art-body table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
#ncn .ncn-art-body th, #ncn .ncn-art-body td { padding: 12px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
#ncn .ncn-art-body th { color: var(--ink); font-weight: 500; background: var(--surface); }
#ncn .ncn-art-body hr { margin: 2.6em 0; border: 0; border-top: 1px solid var(--line); }

#ncn .ncn-sec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
#ncn .ncn-sec-h h2, #ncn .ncn-ask h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-transform: none; }
#ncn .ncn-link { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 16px; font-weight: 500; color: var(--accent-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size 250ms var(--ease); }
#ncn .ncn-link .ncn-i { transition: transform 150ms var(--ease); }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-link:hover { background-size: 100% 1.5px; } #ncn .ncn-link:hover .ncn-i { transform: translateX(3px); } }
#ncn .ncn-prods { margin-top: 96px; padding-top: 56px; border-top: 1px solid var(--line); }
#ncn .ncn-prods-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
#ncn .ncn-prod { display: grid; gap: 10px; align-content: start; transition: transform 180ms var(--ease); }
#ncn .ncn-prod .ncn-frame { --ar: 1 / 1; }
#ncn .ncn-prod-n { font-size: 15.5px; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#ncn .ncn-prod-p { font-size: 16px; font-weight: 600; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-prod:hover { transform: translateY(-2px); } #ncn .ncn-prod:hover .ncn-prod-n { text-decoration: underline; text-underline-offset: 3px; } }
#ncn .ncn-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 80px; padding: 44px 48px; background: var(--ink); color: rgba(255, 255, 255, .78); }
#ncn .ncn-ask h2 { color: #fff; }
#ncn .ncn-ask p { margin-top: 8px; max-width: 54ch; font-size: 17px; line-height: 1.6; }
#ncn .ncn-next { margin-top: 96px; }
#ncn .ncn-grid.is-next { gap: 40px 28px; }
#ncn .ncn-grid.is-next .ncn-card-t { font-size: 19px; }

/* ============ Máy tính bảng ============ */
@media (max-width: 1024px) {
	#ncn .ncn-hero { padding: 48px 0 64px; }
	#ncn .ncn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	#ncn .ncn-hero-feat { grid-template-columns: 300px 1fr; align-items: center; gap: 28px; max-width: none; justify-self: stretch; }
	#ncn .ncn-ahead { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
	#ncn .ncn-art-h1 { max-width: 26ch; }
	#ncn .ncn-art-photo { aspect-ratio: 16 / 9; }
	#ncn .ncn-grid { grid-template-columns: repeat(2, 1fr); }
	#ncn .ncn-say { padding: 96px 0; }
	#ncn .ncn-close-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
	#ncn .ncn-art-grid.has-toc .ncn-art-body, #ncn .ncn-toc { max-width: 720px; margin-inline: auto; width: 100%; }
	#ncn .ncn-art-grid.has-toc { grid-template-columns: 1fr; gap: 0; }
	#ncn .ncn-art-grid.has-toc .ncn-art-body { max-width: 720px; }
	#ncn .ncn-toc { position: static; margin-bottom: 40px; padding: 16px 20px; background: var(--surface); }
	#ncn .ncn-toc summary { margin-bottom: 0; min-height: 28px; }
	#ncn .ncn-toc details[open] summary { margin-bottom: 10px; }
	#ncn .ncn-toc ol { border-left: 0; }
	#ncn .ncn-toc li a { margin-left: 0; padding: 8px 0; border-left: 0; }
	#ncn .ncn-toc li.is-h3 a { padding-left: 14px; }
	#ncn .ncn-prods-row { grid-template-columns: repeat(2, 1fr); }
	#ncn .ncn-grid.is-next { grid-template-columns: repeat(3, 1fr); }
}
/* ============ Điện thoại ============ */
@media (max-width: 640px) {
	#ncn { --gut: 16px; font-size: 16.5px; }
	#ncn .ncn-hero { padding: 32px 0 48px; }
	#ncn .ncn-lead { font-size: 17.5px; margin-top: 16px; }
	#ncn .ncn-search { margin-top: 28px; }
	#ncn .ncn-hero-feat { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	#ncn .ncn-h1 { font-size: clamp(34px, 10.5vw, 44px); }
	#ncn .ncn-art-h1 { font-size: clamp(30px, 9vw, 40px); }
	#ncn .ncn-hero-feat .ncn-frame { --ar: 4 / 3; }
	#ncn .ncn-ahead { grid-template-columns: 1fr; gap: 0; }
	#ncn .ncn-close-grid { grid-template-columns: 1fr; gap: 28px; }
	#ncn .ncn-close-photo { aspect-ratio: 4 / 3; }
	#ncn .ncn-say { padding: 72px 0; }
	#ncn .ncn-list { padding: 64px 0; }
	#ncn .ncn-filters { flex-direction: column; min-width: 0; }
	#ncn .ncn-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
	#ncn .ncn-chips::-webkit-scrollbar { display: none; }
	#ncn .ncn-chip { flex: none; }
	#ncn .ncn-grid, #ncn .ncn-grid.is-next { grid-template-columns: 1fr; gap: 0; }
	#ncn .ncn-card { border-bottom: 1px solid var(--line); }
	#ncn .ncn-card-a { grid-template-columns: 116px 1fr; gap: 14px; padding: 16px 0; align-items: start; }
	#ncn .ncn-card-t, #ncn .ncn-grid.is-next .ncn-card-t { font-size: 17px; }
	#ncn .ncn-card-x { display: none; }
	#ncn .ncn-card .ncn-meta { font-size: 13px; }
	#ncn .ncn-news { margin-top: 56px; }
	#ncn .ncn-news-i { grid-template-columns: 1fr auto; }
	#ncn .ncn-news-i small { display: none; }
	#ncn .ncn-close { padding-bottom: 72px; }
	#ncn .ncn-btn { width: 100%; }
	#ncn.ncn-art { padding-top: 28px; font-size: 17.5px; line-height: 1.72; }
	#ncn .ncn-quick { padding: 16px 18px; }
	#ncn .ncn-quick-p { font-size: 17.5px; }
	#ncn .ncn-art-photo { margin: 0 calc(-1 * var(--gut)); border-radius: 0; aspect-ratio: 4 / 3; }
	#ncn .ncn-ahead { gap: 24px; padding-bottom: 28px; }
	#ncn .ncn-art-photo.is-product { aspect-ratio: 4 / 3; }
	#ncn .ncn-art-grid { margin-top: 36px; }
	#ncn .ncn-art-body h2 { font-size: 24px; }
	#ncn .ncn-art-body h3 { font-size: 20px; }
	#ncn .ncn-art-body blockquote { font-size: 20px; }
	#ncn .ncn-prods { margin-top: 64px; padding-top: 40px; }
	#ncn .ncn-prods-row { gap: 16px; }
	#ncn .ncn-ask { margin-top: 56px; padding: 28px 20px; }
	#ncn .ncn-next { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	#ncn *, #ncn *::before, #ncn *::after { animation: none !important; transition: none !important; }
}
/* Ảnh chân dung: giữ khuôn mặt trong khung khi cắt ngang */
#ncn .ncn-frame:not(.is-product) img, #ncn .ncn-art-photo:not(.is-product) > img, #ncn .ncn-close-photo > img { object-position: 50% 30%; }

/* ============ 2.2: chuyên mục, trang danh sách, phân trang ============ */
#ncn .ncn-tag.is-nhac-ly { color: #2a5596; }
#ncn .ncn-tag.is-thanh-nhac { color: #a33a4a; }
#ncn .ncn-tag.is-am-thanh { color: #1d5f73; }
#ncn .ncn-tag.is-phu-huynh { color: #6a5310; }
#ncn .ncn-tag.is-cau-chuyen { color: #5a4a8a; }
#ncn .ncn-tag.is-hoc-mua-o-dau { color: var(--accent-ink); }
#ncn a.ncn-chip { display: inline-flex; align-items: center; text-decoration: none; }

#ncn .ncn-dir { background: var(--surface); padding: 96px 0; }
#ncn .ncn-dir .ncn-sec-h { margin-bottom: 40px; }
#ncn .ncn-dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 2px solid var(--line); }
#ncn .ncn-dir-i { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; align-content: start; padding: 28px 28px 20px; background: #fff; }
#ncn .ncn-dir-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
#ncn .ncn-dir-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
#ncn .ncn-dir-n { font-family: var(--font-display); font-size: 21px; font-weight: 500; line-height: 1.25; color: var(--ink); }
#ncn .ncn-dir-c { font-size: 14px; color: var(--muted); white-space: nowrap; }
#ncn .ncn-dir-d { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
#ncn .ncn-dir-l { display: grid; gap: 0; border-top: 1px solid var(--line); }
#ncn .ncn-dir-l li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; color: var(--ink); }
#ncn .ncn-dir-i .ncn-link { justify-self: start; }
#ncn .ncn-inst-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
#ncn .ncn-inst-l { font-size: 15px; font-weight: 500; color: var(--ink); }
#ncn .ncn-dir.is-mini { padding: 56px 0; }
#ncn .ncn-dir.is-mini .ncn-inst-row { margin-top: 0; }
#ncn .ncn-dir.is-mini .ncn-chip { background: #fff; }
@media (hover: hover) and (pointer: fine) {
	#ncn .ncn-dir-l li a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
	#ncn .ncn-dir-head:hover .ncn-dir-n { text-decoration: underline; text-underline-offset: 4px; }
}

#ncn .ncn-arch-head { background: var(--bg); padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
#ncn .ncn-arch-head .ncn-hero-tx { display: grid; gap: 16px; justify-items: start; }
#ncn .ncn-arch-h1 { display: flex; align-items: center; gap: 18px; font-size: clamp(36px, 4.4vw, 64px); }
#ncn .ncn-arch-ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
#ncn .ncn-arch-head .ncn-lead { margin-top: 0; max-width: 60ch; }
#ncn .ncn-arch-head .ncn-search { margin-top: 8px; width: 100%; }
#ncn.ncn-arch .ncn-list { padding-top: 40px; }
#ncn.ncn-arch .ncn-list > .ncn-wrap > .ncn-chips { margin-bottom: 40px; }
#ncn .ncn-crumbs > span[aria-current] { color: var(--accent-ink); font-weight: 500; }

#ncn .ncn-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 64px; }
#ncn .ncn-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 500; border-radius: 2px; }
#ncn .ncn-pager .page-numbers.current { background: var(--ink); color: #fff; }
#ncn .ncn-pager .page-numbers.dots { background: none; }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-pager a.page-numbers:hover { background: #e4e8ee; } }

@media (max-width: 1024px) {
	#ncn .ncn-dir-grid { grid-template-columns: repeat(2, 1fr); }
	#ncn .ncn-dir { padding: 72px 0; }
}
@media (max-width: 640px) {
	#ncn .ncn-dir-grid { grid-template-columns: 1fr; }
	#ncn .ncn-dir { padding: 56px 0; }
	#ncn .ncn-dir-i { padding: 22px 18px 14px; }
	#ncn .ncn-arch-h1 { gap: 12px; }
	#ncn .ncn-arch-ic { width: 48px; height: 48px; }
	#ncn .ncn-arch-ic .ncn-i { width: 24px; height: 24px; }
	#ncn .ncn-inst-row .ncn-chips { width: calc(100% + 2 * var(--gut)); }
}

/* ============ 2.2.2: gọn hơn, dễ nhìn hơn ============ */
#ncn.ncn-hub .ncn-hero { padding: 40px 0 48px; }
#ncn.ncn-hub .ncn-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
#ncn.ncn-hub .ncn-h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.02em; }
#ncn.ncn-hub .ncn-lead { margin-top: 14px; font-size: 17.5px; max-width: 52ch; }
#ncn.ncn-hub .ncn-search { margin-top: 24px; }
#ncn.ncn-hub .ncn-search-f { height: 52px; }
#ncn.ncn-hub .ncn-hero-feat { max-width: 400px; gap: 12px; }
#ncn.ncn-hub .ncn-hero-feat .ncn-frame { --ar: 16 / 10; }
#ncn.ncn-hub .ncn-hero-feat-t { font-size: 20px; }
#ncn.ncn-hub .ncn-h2, #ncn.ncn-hub .ncn-sec-h h2 { font-size: clamp(22px, 2vw, 28px); }

#ncn .ncn-dir { padding: 48px 0 56px; }
#ncn .ncn-dir .ncn-sec-h { margin-bottom: 20px; }
#ncn .ncn-dir-grid { display: block; columns: 3 280px; column-gap: 16px; background: none; border: 0; }
#ncn .ncn-dir-i { display: block; break-inside: avoid; margin: 0 0 16px; padding: 16px 18px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
#ncn .ncn-dir-head { gap: 10px; }
#ncn .ncn-dir-ic { width: 34px; height: 34px; }
#ncn .ncn-dir-ic .ncn-i { width: 18px; height: 18px; }
#ncn .ncn-dir-n { font-size: 17.5px; font-weight: 600; }
#ncn .ncn-dir-c { font-size: 13px; padding: 2px 8px; border-radius: 99px; background: var(--surface); }
#ncn .ncn-dir-d { margin: 6px 0 8px; font-size: 14px; line-height: 1.5; }
#ncn .ncn-dir-l { border-top: 1px solid var(--line); }
#ncn .ncn-dir-l li a { padding: 7px 0; font-size: 14.5px; line-height: 1.4; }
#ncn .ncn-dir-l li:last-child a { border-bottom: 0; }
#ncn .ncn-dir-i .ncn-link { display: inline-flex; margin-top: 8px; font-size: 14px; }
#ncn .ncn-inst-row { margin-top: 8px; gap: 10px 14px; }
#ncn .ncn-dir.is-mini { padding: 32px 0; }

#ncn.ncn-hub .ncn-list { padding: 48px 0 56px; }
#ncn.ncn-hub .ncn-grid { gap: 32px 24px; }
#ncn.ncn-hub .ncn-close { padding-bottom: 64px; }

#ncn .ncn-arch-head { padding: 28px 0 32px; }
#ncn .ncn-arch-head .ncn-hero-tx { gap: 10px; }
#ncn .ncn-arch-h1 { font-size: clamp(28px, 3vw, 42px); gap: 14px; }
#ncn .ncn-arch-ic { width: 48px; height: 48px; }
#ncn .ncn-arch-ic .ncn-i { width: 24px; height: 24px; }
#ncn .ncn-arch-head .ncn-lead { font-size: 16.5px; }
#ncn.ncn-arch .ncn-list { padding-top: 28px; }
#ncn.ncn-arch .ncn-list > .ncn-wrap > .ncn-chips { margin-bottom: 28px; }
#ncn .ncn-pager { margin-top: 40px; }

@media (max-width: 1024px) {
	#ncn.ncn-hub .ncn-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	#ncn.ncn-hub .ncn-hero-feat { max-width: none; grid-template-columns: 240px 1fr; }
}
@media (max-width: 640px) {
	#ncn.ncn-hub .ncn-hero { padding: 24px 0 32px; }
	#ncn.ncn-hub .ncn-hero-feat { grid-template-columns: minmax(0, 1fr); }
	#ncn .ncn-dir { padding: 36px 0 40px; }
	#ncn .ncn-dir-grid { columns: 1; }
	#ncn.ncn-hub .ncn-list { padding: 36px 0 44px; }
}

/* 2.2.3: ảnh nhỏ đầu mỗi thẻ chuyên mục */
#ncn .ncn-dir-i { overflow: hidden; }
#ncn .ncn-dir-img { display: block; margin: -16px -18px 14px; aspect-ratio: 16 / 7; overflow: hidden; background: var(--surface); }
#ncn .ncn-dir-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { #ncn .ncn-dir-i:hover .ncn-dir-img img { transform: scale(1.03); } }

/* 2.2.4: hiệu ứng xuất hiện chỉ trượt nhẹ, không làm mờ (để Google đo LCP sớm) */
@keyframes ncn-rise { from { transform: translateY(14px); } to { transform: none; } }
