/* Trang /page/chinh-sach-dieu-khoan: chuyển từ trang HTML tĩnh "Chính sách & Điều khoản", mọi rule bọc trong .policy-page
   (không ảnh hưởng header, footer của site). Bỏ thanh header riêng của bản gốc: dùng header site.
   CSS site (v3.css) reset ul/ol về list-style:none và h1-h3 về font-size:inherit, nên đặt lại ở dưới. */
.policy-page{--teal:#208d79;--teal-2:#27af95;--mint:#eaf6f3;--navy:#0c1374;--ink:#0d0d0d;--body:#404040;--grey:#808080;--line:#e1e1e1;--bg-grey:#f4f6f8;--f-display:"Newsreader",Georgia,serif;--f-body:"Inter",system-ui,sans-serif}
.policy-page,.policy-page *{box-sizing:border-box}
.policy-page{background:#fff;color:var(--body);font:15.5px/1.7 var(--f-body);-webkit-font-smoothing:antialiased}
/* Header site (.header--sticky) cố định đè lên trang: desktop nổi cách đỉnh 20px, cao 80px; mobile (<= 992px) sát đỉnh, cao 64px */
.policy-page{padding-top:64px;--head:80px}
@media (min-width:993px){.policy-page{padding-top:100px;--head:120px}}
.policy-page a{color:var(--teal);text-decoration:none}
.policy-page h1,.policy-page h2,.policy-page h3{font-family:var(--f-display);font-weight:500;color:var(--ink);margin:0}
.policy-page .hero{background:linear-gradient(180deg,var(--mint),#fff);border-bottom:1px solid var(--line)}
.policy-page .hero .in{max-width:1120px;margin:0 auto;padding:48px 24px 36px}
.policy-page .eyebrow{display:inline-flex;align-items:center;gap:10px;font:600 12px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--teal)}
.policy-page .eyebrow::before{content:"";width:28px;height:2px;background:currentColor}
.policy-page .hero h1{font-size:clamp(34px,5vw,52px);line-height:1.1;margin-top:14px}
.policy-page .hero h1 em{color:var(--teal-2)}
.policy-page .hero p{margin:12px 0 0;color:var(--grey);font-size:14px}
.policy-page .wrap{max-width:1120px;margin:0 auto;padding:40px 24px 64px;display:grid;grid-template-columns:240px 1fr;gap:48px;align-items:start}
.policy-page .toc{position:sticky;top:var(--head);display:grid;gap:4px;font-size:14px}
.policy-page .toc b{font:600 11px/1 var(--f-body);letter-spacing:.12em;text-transform:uppercase;color:var(--grey);margin-bottom:8px}
.policy-page .toc a{display:block;padding:9px 12px;border-radius:10px;color:var(--body);border-left:2px solid transparent}
.policy-page .toc a:hover{background:var(--mint);color:var(--teal);border-left-color:var(--teal)}
.policy-page section{padding-bottom:40px;margin-bottom:40px;border-bottom:1px dashed var(--line);scroll-margin-top:var(--head)}
.policy-page section:last-child{border-bottom:0;margin-bottom:0}
.policy-page .num{font:italic 500 40px/1 var(--f-display);color:#cfe9e2}
.policy-page section h2{font-size:clamp(28px,3.4vw,38px);line-height:1.15;margin:6px 0 10px}
.policy-page .lead{font-size:16px;margin:0 0 8px}
.policy-page section h3{font-size:20px;margin:26px 0 6px}
.policy-page p{margin:8px 0}
.policy-page ul,.policy-page ol{margin:8px 0;padding-left:22px}
.policy-page ul{list-style:disc}
.policy-page ol{list-style:decimal}
.policy-page li{margin:5px 0}
.policy-page b{color:var(--ink);font-weight:600}
.policy-page .box{background:var(--bg-grey);border-radius:14px;padding:16px 20px;margin:14px 0}
.policy-page .box p:first-child{margin-top:0}
.policy-page .box--warn{background:#fff7e6;border:1px solid #f8c645}
.policy-page .foot{background:var(--navy);color:rgba(255,255,255,.75);font-size:14px}
.policy-page .foot .in{max-width:1120px;margin:0 auto;padding:28px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px}
.policy-page .foot b{color:#fff}
/* minmax(0,1fr): không để dải mục lục (nowrap, cuộn ngang) nới rộng cột ra ngoài màn hình */
@media (max-width:820px){.policy-page .wrap{grid-template-columns:minmax(0,1fr);gap:8px;padding-top:24px}.policy-page .toc{position:static;grid-auto-flow:column;grid-auto-columns:max-content;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:8px}.policy-page .toc b{display:none}.policy-page .toc a{white-space:nowrap;border-left:0}}
/* In: chỉ in nội dung chính sách, ẩn header, footer và nút nổi của site */
@media print{
  @page{size:A4;margin:16mm 14mm}
  body > *:not(.main-content){display:none !important}
  .policy-page{font-size:10.5pt;line-height:1.55;padding-top:0}
  .policy-page .toc{display:none}
  .policy-page .wrap{display:block;padding:20px 0} .policy-page .hero .in,.policy-page .foot .in{padding-inline:0}
  .policy-page section{break-before:page;border-bottom:0;padding-bottom:0;margin-bottom:0} .policy-page section:first-child{break-before:auto}
  .policy-page h3{break-after:avoid} .policy-page .box,.policy-page li{break-inside:avoid}
  .policy-page .foot{background:none;color:var(--body);border-top:1px solid var(--line)} .policy-page .foot b{color:var(--ink)}
  .policy-page *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
