/* ============================================================
   cam-nang.css — Cẩm nang nâng cấp (blog.html + post.html).
   Nạp SAU style.css. Hai trục độc lập:
     - MÙA  : html[data-season="normal|tet|noel"]  (seasonal.js)
     - MẪU  : html[data-cn-tpl="am-ap|tap-chi|toi-gian"] (cam-nang.js, admin chọn)
   Mùa chỉ đổi BIẾN MÀU; mẫu đổi HÌNH KHỐI (thẻ, khối chuyên mục). Nhờ vậy
   3 mẫu × 3 mùa không phải viết 9 bộ CSS.

   Màu chữ trắng trên nền --cn-ac / --cn-band đều đạt ≥ 4.5:1 — đừng đổi sang
   màu nhạt hơn mà không đo lại độ tương phản.
   ============================================================ */
:root {
  --cn-ac: #A8502F;        /* nút, chữ nhấn (đậm hơn #C4714B để chữ trắng đọc được) */
  --cn-ac-hover: #8C3F22;
  --cn-band: #4A3426;      /* nền khối chuyên mục + khối video trong bài */
  --cn-band-ink: #FFF8EE;
  --cn-band-sub: #EAD9C6;
  --cn-gold: #F3D9A4;      /* nút sáng trên nền đậm */
  --cn-gold-ink: #4A2A14;
  --cn-soft: #F0E4D6;      /* nền nhạt: hộp "Bạn cần", khối theo dõi kênh */
  --cn-line: #E8D9CC;
  --cn-ink: #2C1F14;
  --cn-muted: #7A5C45;
}
html[data-season="tet"] {
  --cn-ac: #A63228; --cn-ac-hover: #861F17;
  --cn-band: #8E2A21; --cn-band-sub: #F6E2D0;
  --cn-gold: #F3D9A4; --cn-gold-ink: #5C1A12;
  --cn-soft: #F8E6DF;
}
html[data-season="noel"] {
  --cn-ac: #3F6A4E; --cn-ac-hover: #2F5440;
  --cn-band: #2F4A3A; --cn-band-sub: #DDE8DC;
  --cn-gold: #EADFC8; --cn-gold-ink: #23382B;
  --cn-soft: #E5EDE3;
}

/* ---------- Nhãn trên thẻ: chủ đề + định dạng, nút play ---------- */
.cn-img .cn-tags { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.cn-img .cn-tags .cn-tag { position: static; }
.cn-fmt {
  display: inline-flex; align-items: center; gap: 5px; font: 700 10.5px 'Be Vietnam Pro', sans-serif;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: var(--cn-ink); color: #FAF6F0;
}
.cn-fmt--video { background: var(--cn-ac); color: #fff; }
.cn-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px;
  border-radius: 50%; background: rgba(26,17,10,.62); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 22px; backdrop-filter: blur(2px); transition: background .2s, transform .2s;
}
.cn-card:hover .cn-play { background: var(--cn-ac); transform: translate(-50%, -50%) scale(1.06); }
@media (max-width: 560px) {
  .cn-grid .cn-img .cn-tags { left: 6px; top: 6px; gap: 4px; }
  .cn-grid .cn-img .cn-tag, .cn-grid .cn-fmt { font-size: 9px; padding: 4px 7px; }
  .cn-grid .cn-play { width: 38px; height: 38px; font-size: 16px; }
}

/* ---------- Bộ lọc định dạng (hàng chip thứ hai, dưới chủ đề) ---------- */
.cn-dangs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px auto 0; max-width: 760px; }
.cn-dang {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; border: 0; border-radius: 10px;
  padding: 0 14px; background: var(--cn-soft); color: var(--cn-ink); font: 600 13px 'Be Vietnam Pro', sans-serif;
  cursor: pointer; transition: background .2s, color .2s;
}
.cn-dang svg { color: var(--cn-ac); }
.cn-dang:hover { background: var(--cn-line); }
.cn-dang.is-on { background: var(--cn-ac); color: #fff; }
.cn-dang.is-on svg { color: #fff; }
.cn-topic.is-on { background: var(--cn-ink); border-color: var(--cn-ink); }
@media (max-width: 640px) {
  .cn-dangs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding: 0 24px; }
  .cn-dangs::-webkit-scrollbar { display: none; }
  .cn-dang { flex: 0 0 auto; }
}

/* ---------- Tiêu đề khu + link phụ bên phải ---------- */
.cn-sec-h a.cn-sec-more { order: 3; font-size: 14px; font-weight: 600; color: var(--cn-ac); text-decoration: none; white-space: nowrap; }
.cn-sec-h a.cn-sec-more:hover { text-decoration: underline; }
/* Điện thoại: tiêu đề + link phụ (đều nowrap) từng đẩy trang rộng hơn màn hình */
@media (max-width: 560px) {
  .cn-vids .cn-sec-h { gap: 10px; }
  .cn-vids .cn-sec-h h2 { white-space: normal; font-size: 21px; }
  .cn-vids .cn-sec-h::after { display: none; }
  .cn-sec-h a.cn-sec-more { margin-left: auto; font-size: 13px; }
}

/* ============================================================
   KHỐI CHUYÊN MỤC MÙA (blog.html, chỉ khi đang mùa Tết / Noel)
   ============================================================ */
.cn-mua { display: flex; flex-wrap: wrap; align-items: center; gap: 34px; margin: 0 0 56px; padding: 44px;
  border-radius: 24px; background: var(--cn-band); color: var(--cn-band-ink); position: relative; overflow: hidden; }
.cn-mua-chu { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; z-index: 1; }
.cn-mua-kicker { background: var(--cn-gold); color: var(--cn-gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.cn-mua h2 { font-family: 'Lora', serif; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; margin: 0; text-wrap: balance; }
.cn-mua p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--cn-band-sub); max-width: 500px; }
.cn-mua-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cn-mua-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 700 15px 'Be Vietnam Pro', sans-serif; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s, background .2s; }
.cn-mua-btn--sang { background: var(--cn-gold); color: var(--cn-gold-ink); }
.cn-mua-btn--sang:hover { transform: translateY(-1px); background: #fff; }
.cn-mua-btn--vien { background: transparent; color: var(--cn-band-ink); border-color: var(--cn-gold); }
.cn-mua-btn--vien:hover { background: rgba(255,255,255,.08); }
.cn-mua-anh { flex: 1 1 340px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.cn-mua-anh a { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: rgba(255,255,255,.08); }
.cn-mua-anh a:first-child { grid-row: span 2; aspect-ratio: auto; }
.cn-mua-anh img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cn-mua-anh a:hover img { transform: scale(1.05); }
@media (max-width: 640px) {
  .cn-mua { padding: 28px 22px; gap: 24px; margin-bottom: 40px; border-radius: 20px; }
  .cn-mua-anh { flex-basis: 100%; }
}

/* ============================================================
   DẢI VIDEO (blog.html) — thẻ dọc 9:16
   ============================================================ */
.cn-vids { margin: 0 0 56px; }
.cn-vid-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cn-vid { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--cn-ink); }
.cn-vid-khung { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #2C1F14; }
.cn-vid-khung img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.cn-vid:hover .cn-vid-khung img { transform: scale(1.05); }
.cn-vid-khung::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,17,10,0) 45%, rgba(26,17,10,.86) 100%); }
.cn-vid-khung .cn-play { width: 58px; height: 58px; background: var(--cn-ac); font-size: 23px; }
.cn-vid-ten { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; color: #fff; font-family: 'Lora', serif;
  font-size: 17px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cn-vid-meta { font-size: 13px; color: var(--cn-muted); }
@media (max-width: 900px) {
  .cn-vid-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -24px; padding: 0 24px 4px; }
  .cn-vid-row::-webkit-scrollbar { display: none; }
  .cn-vid { flex: 0 0 min(46%, 220px); scroll-snap-align: start; }
}

/* ============================================================
   KHỐI THEO DÕI KÊNH (blog.html, cuối trang)
   ============================================================ */
.cn-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 56px; padding: 34px 40px; border-radius: 24px; background: var(--cn-soft); }
.cn-follow > div:first-child { flex: 1 1 380px; }
.cn-follow h2 { font-family: 'Lora', serif; font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.cn-follow p { margin: 0; font-size: 15px; line-height: 1.7; color: #5A4035; }
.cn-follow-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cn-follow-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 14.5px 'Be Vietnam Pro', sans-serif; text-decoration: none; transition: transform .2s, background .2s; }
.cn-follow-btn:hover { transform: translateY(-1px); }
.cn-follow-btn--yt { background: var(--cn-ac); color: #fff; }
.cn-follow-btn--yt:hover { background: var(--cn-ac-hover); }
.cn-follow-btn--tt { background: var(--cn-ink); color: #fff; }
@media (max-width: 560px) { .cn-follow { padding: 26px 22px; } }

/* ============================================================
   BÀI VIẾT (post.html): khung video, mục lục, khối trong bài
   ============================================================ */
.po-video { display: flex; flex-wrap: wrap; gap: 26px; align-items: stretch; margin: 0 0 34px; padding: 22px;
  border-radius: 22px; background: var(--cn-band); color: var(--cn-band-ink); }
.po-video-khung { position: relative; flex: 1 1 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.po-video.is-doc .po-video-khung { flex: 0 0 min(300px, 100%); aspect-ratio: 9 / 16; }
.po-video-khung button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; }
.po-video-khung img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.po-video-khung .cn-play { width: 74px; height: 74px; font-size: 30px; background: var(--cn-ac); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.po-video-khung button:hover .cn-play { transform: translate(-50%, -50%) scale(1.06); }
.po-video-khung iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.po-video-ben { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.po-video:not(.is-doc) .po-video-ben { flex-basis: 100%; }
.po-video-ben h2 { font-family: 'Lora', serif; font-size: 21px; font-weight: 700; margin: 0; color: var(--cn-band-ink); }
.po-video-ben h2::before { display: none; }
.po-video-ben > p { margin: 0; font-size: 13.5px; color: var(--cn-band-sub); }
.po-chuong { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.po-chuong button { width: 100%; min-height: 44px; display: flex; gap: 14px; align-items: center; text-align: left; background: none;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--cn-band-ink); font: 500 15px 'Be Vietnam Pro', sans-serif;
  padding: 8px 4px; cursor: pointer; }
.po-chuong button:hover span:last-child { text-decoration: underline; }
.po-chuong time { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--cn-gold);
  background: rgba(255,255,255,.1); padding: 3px 9px; border-radius: 6px; }
.po-video-yt { margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--cn-gold) !important; text-decoration: none; }
.po-video-yt:hover { text-decoration: underline; }
@media (max-width: 560px) { .po-video { padding: 14px; gap: 18px; } .po-video.is-doc .po-video-khung { margin: 0 auto; } }

/* Mục lục: cột phải (desktop) hoặc đầu bài (điện thoại) */
.po-toc { background: #fff; border: 1px solid var(--cn-line); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; }
.po-toc h2 { font: 700 12.5px 'Be Vietnam Pro', sans-serif !important; letter-spacing: .1em; text-transform: uppercase; color: var(--cn-muted); margin: 0 0 8px !important; }
.po-toc h2::before { display: none !important; }
.po-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.po-toc li { margin: 0 !important; }
.po-toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; line-height: 1.45; color: #3D2C1E !important; text-decoration: none; }
.po-toc a:hover { background: var(--cn-soft); }
.po-toc a.is-on { background: var(--cn-soft); color: var(--cn-ac) !important; font-weight: 700; }
.po-toc--dau { display: none; }
@media (max-width: 1024px) { .po-toc--ben { display: none; } .po-toc--dau { display: block; } }
.po-body h2[id] { scroll-margin-top: 96px; }

/* Khối admin chèn từ thanh công cụ (post-edit.html) — chỉ các class này sống qua bộ lọc HTML */
.po-body .cn-meo { display: block; margin: 22px 0; padding: 16px 20px 16px 52px; border-radius: 14px; background: #FBEFD9; color: #4E3510;
  position: relative; font-size: 15.5px; line-height: 1.75; }
.po-body .cn-meo::before { content: ''; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.6.5 1 1.2 1 2V16h5.2v-.2c0-.8.4-1.5 1-2A6 6 0 0 0 12 3z'/%3E%3C/svg%3E"); }
.po-body .cn-meo p { margin: 0; }
.po-body .cn-meo p + p { margin-top: 8px; }
.po-body .cn-can { margin: 24px 0; padding: 20px 24px; border-radius: 16px; background: var(--cn-soft); }
.po-body .cn-can h3 { margin: 0 0 10px; font-size: 18px; }
.po-body .cn-can ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 22px; }
.po-body .cn-can li { margin: 0; padding-left: 26px; position: relative; font-size: 15.5px; line-height: 1.6; }
.po-body .cn-can li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8502F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* Thẻ sản phẩm trong bài: admin chèn <div class="cn-sp" data-sp="id">, trang bài thay bằng thẻ thật */
.po-body .cn-sp { margin: 22px 0; }
.po-body .cn-sp:not(.is-ok) { display: none; }  /* chữ nhãn admin thấy trong editor không lộ ra web */
.po-body a.cn-sp-the { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--cn-line); border-radius: 16px;
  background: #fff; color: var(--cn-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.po-body a.cn-sp-the:hover { border-color: var(--cn-ac); box-shadow: 0 10px 28px rgba(44,31,20,.1); }
.po-body .cn-sp-the img { flex: 0 0 auto; width: 84px; height: 84px; margin: 0; object-fit: cover; border-radius: 12px; box-shadow: none; background: #F2E8DA; }
.po-body .cn-sp-chu { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1.4; }
.po-body .cn-sp-chu small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cn-muted); }
.po-body .cn-sp-chu b { font-family: 'Lora', serif; font-size: 17px; font-weight: 600; }
.po-body .cn-sp-chu .vnd { font-size: 14px; color: var(--cn-ac); font-weight: 600; }
.po-body .cn-sp-nut { flex: 0 0 auto; background: var(--cn-ac); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 999px; }
@media (max-width: 560px) {
  .po-body .cn-sp-the img { width: 64px; height: 64px; }
  .po-body .cn-sp-nut { display: none; }
}

/* ============================================================
   MẪU 1 — ẤM ÁP (mặc định): thẻ trắng có viền, bo tròn, khối mùa nền màu
   ============================================================ */
html[data-cn-tpl="am-ap"] .cn-grid .cn-card,
html[data-cn-tpl="am-ap"] .more-row .cn-card { background: #fff; border: 1px solid var(--cn-line); border-radius: 18px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
html[data-cn-tpl="am-ap"] .cn-grid .cn-card:hover,
html[data-cn-tpl="am-ap"] .more-row .cn-card:hover { box-shadow: 0 14px 40px rgba(44,31,20,.12); transform: translateY(-3px); }
html[data-cn-tpl="am-ap"] .cn-grid .cn-img,
html[data-cn-tpl="am-ap"] .more-row .cn-img { border-radius: 0; }
html[data-cn-tpl="am-ap"] .cn-grid .cn-body,
html[data-cn-tpl="am-ap"] .more-row .cn-body { padding: 16px 20px 20px; }
html[data-cn-tpl="am-ap"] .cn-card:hover .cn-title { color: var(--cn-ac); }
html[data-cn-tpl="am-ap"] .cn-more { color: var(--cn-ac); }
@media (max-width: 560px) {
  html[data-cn-tpl="am-ap"] .cn-grid .cn-card { padding: 10px; border-radius: 14px; }
  html[data-cn-tpl="am-ap"] .cn-grid .cn-img { border-radius: 10px; }
  html[data-cn-tpl="am-ap"] .cn-grid .cn-body { padding: 2px 4px 0 0; }
}

/* ============================================================
   MẪU 2 — TẠP CHÍ: ảnh to, chữ đè ảnh; khối mùa dùng ảnh làm nền
   ============================================================ */
html[data-cn-tpl="tap-chi"] .cn-mua { background: #1E140C; min-height: 440px; align-items: flex-end; }
html[data-cn-tpl="tap-chi"] .cn-mua-anh { position: absolute; inset: 0; display: block; z-index: 0; }
html[data-cn-tpl="tap-chi"] .cn-mua-anh a { display: none; }
html[data-cn-tpl="tap-chi"] .cn-mua-anh a:first-child { display: block; position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
html[data-cn-tpl="tap-chi"] .cn-mua-anh a:first-child img { opacity: .55; }
html[data-cn-tpl="tap-chi"] .cn-mua::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,13,8,.9) 0%, rgba(20,13,8,.45) 50%, rgba(20,13,8,.1) 100%); }
html[data-cn-tpl="tap-chi"] .cn-mua-chu { z-index: 2; flex-basis: 100%; max-width: 720px; }
html[data-cn-tpl="tap-chi"] .cn-mua-kicker { background: transparent; color: var(--cn-gold); padding: 0; letter-spacing: .22em; }
html[data-cn-tpl="tap-chi"] .cn-mua h2 { font-size: clamp(32px, 4.6vw, 54px); text-shadow: 0 2px 24px rgba(0,0,0,.4); }
html[data-cn-tpl="tap-chi"] .cn-sec-h h2 { font-size: 28px; font-style: italic; }
html[data-cn-tpl="tap-chi"] .cn-img { aspect-ratio: 4 / 5; }
html[data-cn-tpl="tap-chi"] .cn-title { font-size: 21px; }
html[data-cn-tpl="tap-chi"] .cn-meta { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
html[data-cn-tpl="tap-chi"] .cn-follow { background: var(--cn-band); color: var(--cn-band-ink); }
html[data-cn-tpl="tap-chi"] .cn-follow p { color: var(--cn-band-sub); }
html[data-cn-tpl="tap-chi"] .cn-follow-btn--yt { background: var(--cn-gold); color: var(--cn-gold-ink); }
html[data-cn-tpl="tap-chi"] .cn-follow-btn--tt { background: transparent; color: var(--cn-band-ink); box-shadow: inset 0 0 0 1.5px var(--cn-gold); }
@media (max-width: 560px) { html[data-cn-tpl="tap-chi"] .cn-grid .cn-img { aspect-ratio: 1; } html[data-cn-tpl="tap-chi"] .cn-mua { min-height: 380px; } }

/* ============================================================
   MẪU 3 — TỐI GIẢN: nền sáng, góc vuông nhẹ, đường kẻ mảnh, ít khối màu
   ============================================================ */
html[data-cn-tpl="toi-gian"] .cn-mua { background: var(--cn-soft); color: var(--cn-ink); border-radius: 6px; padding: 40px 0 40px 40px; }
html[data-cn-tpl="toi-gian"] .cn-mua p { color: #5A4035; }
html[data-cn-tpl="toi-gian"] .cn-mua-kicker { background: transparent; color: var(--cn-ac); padding: 0; border-bottom: 2px solid var(--cn-ac); border-radius: 0; padding-bottom: 4px; }
html[data-cn-tpl="toi-gian"] .cn-mua-btn--sang { background: var(--cn-ac); color: #fff; }
html[data-cn-tpl="toi-gian"] .cn-mua-btn--sang:hover { background: var(--cn-ac-hover); }
html[data-cn-tpl="toi-gian"] .cn-mua-btn--vien { color: var(--cn-ink); border-color: var(--cn-ink); }
html[data-cn-tpl="toi-gian"] .cn-mua-btn, html[data-cn-tpl="toi-gian"] .cn-follow-btn { border-radius: 6px; }
html[data-cn-tpl="toi-gian"] .cn-mua-anh { gap: 8px; }
html[data-cn-tpl="toi-gian"] .cn-mua-anh a { border-radius: 4px; }
html[data-cn-tpl="toi-gian"] .cn-img, html[data-cn-tpl="toi-gian"] .cn-vid-khung, html[data-cn-tpl="toi-gian"] .cn-feat { border-radius: 4px; }
html[data-cn-tpl="toi-gian"] .cn-grid .cn-card { padding-bottom: 18px; border-bottom: 1px solid var(--cn-line); }
html[data-cn-tpl="toi-gian"] .cn-sec-h h2 { font-family: 'Be Vietnam Pro', sans-serif; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
html[data-cn-tpl="toi-gian"] .cn-tag { background: #fff; border-radius: 3px; }
html[data-cn-tpl="toi-gian"] .cn-fmt { border-radius: 3px; }
html[data-cn-tpl="toi-gian"] .cn-dang, html[data-cn-tpl="toi-gian"] .cn-topic { border-radius: 6px; }
html[data-cn-tpl="toi-gian"] .cn-follow { background: transparent; border: 1px solid var(--cn-line); border-radius: 6px; }
html[data-cn-tpl="toi-gian"] .cn-cta { border-radius: 6px; }
html[data-cn-tpl="toi-gian"] .po-video { border-radius: 6px; }
@media (max-width: 640px) { html[data-cn-tpl="toi-gian"] .cn-mua { padding: 26px 0 26px 22px; } html[data-cn-tpl="toi-gian"] .cn-mua-anh { padding-right: 22px; } }
html[data-cn-tpl="toi-gian"] .cn-mua-anh { padding-right: 40px; }

@media (prefers-reduced-motion: reduce) {
  .cn-mua-anh img, .cn-vid-khung img, .cn-play, .cn-mua-btn, .cn-follow-btn { transition: none !important; }
}
