/* =========================================================================
   AffiliateCMS.com design system ("Analytics datasheet").
   Load SAU cung (override parent + child style.css). Geist self-host, 1 font.
   Token o :root; light + dark aware. Khong inline CSS o template.
   ========================================================================= */

@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Geist-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/Geist-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Geist-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/Geist-Bold.woff2') format('woff2'); }

:root {
  --a-bg: #F5F6F8;
  --a-surface: #FFFFFF;
  --a-surface-2: #FBFCFD;
  --a-ink: #0E1116;
  --a-ink-2: #59626F;
  --a-ink-3: #8A93A0;
  --a-line: #E4E7EC;
  --a-line-2: #EEF0F3;
  --a-accent: #2B54F6;
  --a-accent-ink: #1D3ECB;
  --a-accent-wash: #EDF1FE;
  --a-brand: #FDB609;
  --a-pos: #0E9F6E;
  --a-warn: #B7791F;
  --a-font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --a-radius: 7px;
  --a-maxw: 1120px;

  /* remap token theme cha -> palette moi (chrome ke thua cung dong bo) */
  --color-primary: #2B54F6;
  --color-primary-hover: #1D3ECB;
  --rc-brand: #2B54F6;
  --rc-brand-hover: #1D3ECB;
  --color-accent: #2B54F6;
  --color-success: #0E9F6E;
  --rc-verified: #0E9F6E;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --a-bg: #090B0F; --a-surface: #111419; --a-surface-2: #0E1116; --a-ink: #E7EAEF;
    --a-ink-2: #97A1AF; --a-ink-3: #667080; --a-line: #232833; --a-line-2: #1B1F27;
    --a-accent: #5B7BFF; --a-accent-ink: #7A93FF; --a-accent-wash: #16203C; --a-pos: #34D399;
  }
}
:root[data-theme="dark"] {
  --a-bg: #090B0F; --a-surface: #111419; --a-surface-2: #0E1116; --a-ink: #E7EAEF;
  --a-ink-2: #97A1AF; --a-ink-3: #667080; --a-line: #232833; --a-line-2: #1B1F27;
  --a-accent: #5B7BFF; --a-accent-ink: #7A93FF; --a-accent-wash: #16203C; --a-pos: #34D399;
}

/* ---- base ---- */
body { background: var(--a-bg); color: var(--a-ink); font-family: var(--a-font); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body a { color: inherit; }
.site-main .container, .container { max-width: var(--a-maxw); }
.acms-tnum, .acms-num { font-variant-numeric: tabular-nums; }

/* button override (dung .btn cua cha nhung reskin) */
.btn { font-family: var(--a-font); font-weight: 600; border-radius: var(--a-radius); border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; font-size: 14px; line-height: 1; cursor: pointer; transition: background .14s, border-color .14s; }
.btn--primary { background: var(--a-accent); color: #fff; border-color: var(--a-accent); }
.btn--primary:hover { background: var(--a-accent-ink); border-color: var(--a-accent-ink); color: #fff; }
.btn--secondary, .btn--ghost { background: transparent; border-color: var(--a-line); color: var(--a-ink); }
.btn--secondary:hover, .btn--ghost:hover { border-color: var(--a-ink-3); color: var(--a-ink); }
.btn--sm { padding: 7px 13px; font-size: 12.5px; }

/* stars: do theo % qua --pct (base xam + fill green). Dung span rong .rc-stars style="--pct:N%". */
.rc-stars { --pct: 100%; font-size: 13px; line-height: 1; letter-spacing: 2px; position: relative; display: inline-block; font-family: "Arial", "Segoe UI Symbol", "Noto Sans Symbols", "Apple Symbols", sans-serif; font-variant-emoji: text; -webkit-font-feature-settings: normal; }
.rc-stars::before { content: "\2605\FE0E\2605\FE0E\2605\FE0E\2605\FE0E\2605\FE0E"; color: var(--a-line); }
.rc-stars::after { content: "\2605\FE0E\2605\FE0E\2605\FE0E\2605\FE0E\2605\FE0E"; color: var(--a-pos); position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; white-space: nowrap; }
.rc-stars i, .rc-stars .bi { display: none; }
/* pct buckets (step 5) dung cho ca sao (::after width) lan dist fill width -> khong inline style */
.acms-dist__fill { width: var(--pct, 0%); }
.acms-pct-0{--pct:0%}.acms-pct-5{--pct:5%}.acms-pct-10{--pct:10%}.acms-pct-15{--pct:15%}.acms-pct-20{--pct:20%}.acms-pct-25{--pct:25%}.acms-pct-30{--pct:30%}.acms-pct-35{--pct:35%}.acms-pct-40{--pct:40%}.acms-pct-45{--pct:45%}.acms-pct-50{--pct:50%}.acms-pct-55{--pct:55%}.acms-pct-60{--pct:60%}.acms-pct-65{--pct:65%}.acms-pct-70{--pct:70%}.acms-pct-75{--pct:75%}.acms-pct-80{--pct:80%}.acms-pct-85{--pct:85%}.acms-pct-90{--pct:90%}.acms-pct-95{--pct:95%}.acms-pct-100{--pct:100%}
/* utilities thay static inline style */
.btn--block { width: 100%; }
.acms-rcell__sub { margin-top: 3px; }
.acms-rcell__num--empty { font-size: 15px; color: var(--a-ink-3); font-weight: 500; }
.acms-review--first { border-top: 0; }

/* =======================  TOP BAR  ======================= */
.acms-topbar { border-bottom: 1px solid var(--a-line); background: var(--a-surface); position: sticky; top: 0; z-index: 100; }
.acms-topbar__in { display: flex; align-items: center; gap: 26px; height: 58px; }
.acms-brand { font-weight: 700; letter-spacing: -0.4px; font-size: 18px; color: var(--a-brand); text-decoration: none; white-space: nowrap; }
.acms-brand span { color: var(--a-ink-3); font-weight: 600; }
.acms-nav { display: flex; gap: 22px; font-size: 13.5px; font-weight: 500; color: var(--a-ink-2); }
.acms-nav a { text-decoration: none; }
.acms-nav a:hover { color: var(--a-ink); }
.acms-topbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.acms-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 6px 10px; font-size: 12.5px; color: var(--a-ink-3); background: var(--a-surface-2); min-width: 190px; }
.acms-search input { border: 0; background: transparent; outline: none; color: var(--a-ink); font-family: var(--a-font); font-size: 13px; width: 100%; }
.acms-mobnav { display: none; position: relative; }
.acms-burger { list-style: none; cursor: pointer; font-size: 23px; color: var(--a-ink); display: inline-flex; align-items: center; }
.acms-burger::-webkit-details-marker { display: none; }
/* position: fixed (khong phai absolute) de THOAT khoi stacking context cua .acms-topbar
   (position:sticky): tren WebKit, absolute descendant cua sticky bi content sau de len
   du z-index. fixed + z-index cao -> luon noi tren cung. top ~ chieu cao header. */
.acms-mobnav__panel { display: none; position: fixed; right: 8px; top: 62px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: var(--a-radius); min-width: 210px; box-shadow: 0 10px 30px rgba(14,17,22,0.18); padding: 6px; z-index: 200; }
/* Dieu khien panel TUONG MINH qua [open] (native details toggle) -> khong phu thuoc
   hanh vi an/hien mac dinh cua UA (bi loi khi <details> co display:flex). */
.acms-mobnav[open] .acms-mobnav__panel { display: block; }
.acms-mobnav__panel a { display: block; padding: 10px 12px; color: var(--a-ink); text-decoration: none; font-weight: 500; font-size: 14.5px; border-radius: 5px; }
.acms-mobnav__panel a:hover { background: var(--a-surface-2); }
/* Search trong menu mobile (bu cho .acms-search bi an <= 860px). */
.acms-mobnav__search { display: flex; align-items: center; gap: 8px; padding: 9px 11px; margin-bottom: 6px; border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-ink-3); }
.acms-mobnav__search .bi { font-size: 15px; flex: 0 0 auto; }
.acms-mobnav__search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 14px; color: var(--a-ink); }

/* =======================  BREADCRUMB  ======================= */
.acms-crumb, .rank-math-breadcrumb { font-size: 12px; color: var(--a-ink-3); letter-spacing: 0.2px; padding: 18px 0 0; }
.acms-crumb a, .rank-math-breadcrumb a { color: var(--a-ink-3); text-decoration: none; }
.acms-crumb a:hover, .rank-math-breadcrumb a:hover { color: var(--a-accent); }

/* =======================  ENTITY (datasheet)  ======================= */
.acms-rec { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head cta" "ratings cta"; gap: 18px 28px; align-items: start; padding: 20px 0 22px; border-bottom: 1px solid var(--a-line); }
.acms-rec__head { grid-area: head; display: flex; gap: 16px; align-items: center; min-width: 0; }
.acms-rec__titles { min-width: 0; }
.acms-logo { width: 60px; height: 60px; border: 1px solid var(--a-line); border-radius: 12px; display: grid; place-items: center; background: var(--a-surface); flex: 0 0 auto; overflow: hidden; }
.acms-logo img { width: 38px; height: 38px; object-fit: contain; }
.acms-rec h1 { margin: 0 0 9px; font-size: 30px; letter-spacing: -0.9px; line-height: 1.08; }
.acms-rec__sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--a-ink-2); }
.acms-rec__sub .acms-dom { font-size: 13px; color: var(--a-accent); text-decoration: none; font-weight: 600; margin-right: 2px; }
.acms-rec__sub .acms-dom:hover { text-decoration: underline; }
.acms-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.6px; padding: 3px 10px; border: 1px solid var(--a-line); border-radius: 999px; color: var(--a-ink-2); font-weight: 600; background: var(--a-surface); white-space: nowrap; }
.acms-chip--ok { color: var(--a-pos); border-color: color-mix(in srgb, var(--a-pos) 40%, var(--a-line)); }
.acms-chip--plain { text-transform: none; letter-spacing: 0; color: var(--a-ink-3); border-style: dashed; }
.acms-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--a-ink-3); }
.acms-ratings { grid-area: ratings; display: grid; grid-template-columns: repeat(2, minmax(0, 178px)); gap: 12px; align-self: start; }
.acms-rcell { border: 1px solid var(--a-line); border-radius: 12px; padding: 11px 15px 12px; background: var(--a-surface); min-width: 0; }
.acms-rcell__lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--a-ink-3); font-weight: 600; }
/* num + stars luon 1 hang (khong nhay xuong dong khi cell hep). */
.acms-rcell__row { display: flex; align-items: baseline; gap: 8px; margin-top: 3px; flex-wrap: nowrap; white-space: nowrap; }
.acms-rcell__row .acms-rcell__num, .acms-rcell__row .rc-stars { flex: 0 0 auto; white-space: nowrap; }
.acms-rcell__num { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.acms-rcell__num small { font-size: 12px; color: var(--a-ink-3); font-weight: 500; }
.acms-rec__cta { grid-area: cta; display: flex; flex-direction: column; gap: 8px; min-width: 190px; align-self: start; }
.acms-rec__note { font-size: 10.5px; color: var(--a-ink-3); text-align: center; }

.acms-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--a-line); border-radius: var(--a-radius); overflow: hidden; margin: 22px 0; background: var(--a-surface); }
.acms-kpi { padding: 13px 16px; border-right: 1px solid var(--a-line-2); }
.acms-kpi:last-child { border-right: 0; }
.acms-kpi__lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--a-ink-3); font-weight: 600; }
.acms-kpi__val { font-size: 16px; font-weight: 600; margin-top: 4px; letter-spacing: -0.3px; }

.acms-body { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 8px 0 60px; align-items: start; }
.acms-prose h2 { font-size: 19px; letter-spacing: -0.4px; margin: 30px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--a-line-2); }
.acms-prose h2:first-child { margin-top: 6px; }
.acms-prose p { color: var(--a-ink); margin: 0 0 14px; max-width: 64ch; }
.acms-prose strong { font-weight: 600; }
.acms-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0 4px; }
.acms-proscons__col { border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 14px 16px; }
.acms-proscons h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 10px; }
.acms-proscons__pros h3 { color: var(--a-pos); }
.acms-proscons__cons h3 { color: var(--a-warn); }
.acms-proscons ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.acms-proscons li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.45; }
.acms-proscons__pros li::before { content: "+"; position: absolute; left: 4px; color: var(--a-pos); font-weight: 700; }
.acms-proscons__cons li::before { content: "\2212"; position: absolute; left: 4px; color: var(--a-warn); font-weight: 700; }
@media (max-width: 560px) { .acms-proscons { grid-template-columns: 1fr; } }

.acms-dist { margin: 10px 0 4px; max-width: 460px; }
.acms-dist__row { display: grid; grid-template-columns: 34px 1fr 44px; align-items: center; gap: 12px; padding: 4px 0; }
.acms-dist__lbl { font-size: 13px; color: var(--a-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.acms-dist__track { height: 9px; border-radius: 5px; background: var(--a-line); overflow: hidden; }
.acms-dist__fill { height: 100%; background: var(--a-pos); border-radius: 5px; }
.acms-dist__pct { font-size: 13px; color: var(--a-ink-2); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.acms-review { border-top: 1px solid var(--a-line-2); padding: 18px 0; }
.acms-review__head { display: flex; align-items: center; gap: 11px; }
.acms-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--a-accent-wash); color: var(--a-accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.acms-review__name { font-weight: 600; font-size: 13.5px; }
.acms-review__date { font-size: 11px; color: var(--a-ink-3); font-variant-numeric: tabular-nums; }
.acms-review__body { margin: 10px 0 0; font-size: 14px; max-width: 62ch; }

.acms-side { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 16px; }
.acms-panel { border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-surface); overflow: hidden; }
.acms-panel--join { border-color: color-mix(in srgb, var(--a-accent) 35%, var(--a-line)); }
.acms-panel__top { height: 2px; background: var(--a-accent); }
.acms-panel__b { padding: 16px; }
.acms-panel h3 { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--a-ink-3); margin: 0 0 12px; font-weight: 600; }
.acms-spec__row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--a-line-2); font-size: 13px; }
.acms-spec__row:last-child { border-bottom: 0; }
.acms-spec__k { color: var(--a-ink-2); }
.acms-spec__v { text-align: right; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.acms-spec__v a { color: var(--a-accent); text-decoration: none; }
.acms-spec__v a:hover { text-decoration: underline; }
.acms-join-note { font-size: 10.5px; color: var(--a-ink-3); margin: 10px 0 0; text-align: center; }

/* Author byline (E-E-A-T) */
.acms-byline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--a-ink-2); padding: 11px 0; border-bottom: 1px solid var(--a-line-2); }
.acms-byline__av img { border-radius: 50%; display: block; }
.acms-byline strong { color: var(--a-ink); font-weight: 600; }
.acms-byline a { color: var(--a-accent); text-decoration: none; }
.acms-byline a:hover { text-decoration: underline; }
.acms-byline__sep { color: var(--a-line); }

/* Author hover card (E-E-A-T byline: Atlas AI + editor) */
.acms-author { position: relative; }
.acms-author > strong { border-bottom: 1px dotted var(--a-line); cursor: help; }
.acms-author:hover > strong, .acms-author:focus > strong, .acms-author:focus-within > strong { color: var(--a-accent); border-bottom-color: var(--a-accent); }
/* top:100% (khong ho) -> khong co vung chet giua ten va card, re chuot xuong khong dut hover.
   padding-top 18px tao khoang cach thi giac ma van thuoc vung hover cua card. */
.acms-author__card { position: absolute; left: 0; top: 100%; z-index: 40; width: 300px; max-width: 78vw; padding: 18px 14px 12px; background: var(--a-surface); border: 1px solid var(--a-line); border-radius: 10px; box-shadow: 0 8px 28px rgba(14,17,22,0.14); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.acms-author:hover .acms-author__card, .acms-author:focus .acms-author__card, .acms-author:focus-within .acms-author__card { opacity: 1; visibility: visible; transform: translateY(0); }
.acms-author__card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.acms-author__card-top img { border-radius: 50%; display: block; }
.acms-author__card-name { font-weight: 700; font-size: 14px; color: var(--a-ink); }
.acms-author__card-bio { display: block; font-size: 12.5px; line-height: 1.55; color: var(--a-ink-2); }
/* Mobile: card neo cung o day man hinh (bottom-sheet) -> khong bao gio tran mep phai,
   du ten tac gia nam sat phai. Fixed + full-width co margin 2 ben. */
@media (max-width: 640px) {
  .acms-author__card { position: fixed; left: 12px; right: 12px; top: auto; bottom: 16px; width: auto; max-width: none; transform: translateY(10px); }
  .acms-author:hover .acms-author__card, .acms-author:focus .acms-author__card, .acms-author:focus-within .acms-author__card { transform: translateY(0); }
}

/* Criteria breakdown (G2-style) */
.acms-crit { display: flex; flex-direction: column; gap: 10px; }
.acms-crit__row { display: grid; grid-template-columns: 1fr 64px 24px; align-items: center; gap: 10px; font-size: 12.5px; }
.acms-crit__lbl { color: var(--a-ink-2); }
.acms-crit__track { height: 5px; border-radius: 3px; background: var(--a-line-2); overflow: hidden; }
.acms-crit__fill { display: block; height: 100%; width: var(--pct, 0%); background: var(--a-pos); border-radius: 3px; }
.acms-crit__num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Editor's notes (chia se tay cua editor, tach khoi bai AI) */
.acms-editor-notes { margin: 30px 0 6px; padding: 16px 18px; border: 1px solid var(--a-line-2); border-left: 3px solid var(--a-brand); border-radius: 8px; background: var(--a-bg-2, rgba(253,182,9,0.05)); }
.acms-editor-notes > h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 15px; letter-spacing: -0.2px; text-transform: uppercase; color: var(--a-ink-2); }
.acms-editor-notes .post-content > :first-child { margin-top: 0; }
.acms-editor-notes .post-content > :last-child { margin-bottom: 0; }
.acms-editor-notes .post-content p { margin: 0 0 12px; max-width: 64ch; }

/* Similar entities */
.acms-similar { display: flex; flex-direction: column; }
.acms-similar__row { display: flex; align-items: center; gap: 9px; padding: 8px 0; text-decoration: none; color: var(--a-ink); border-bottom: 1px solid var(--a-line-2); font-size: 13.5px; }
.acms-similar__row:last-child { border-bottom: 0; }
.acms-similar__row img { border: 1px solid var(--a-line-2); border-radius: 5px; object-fit: contain; }
.acms-similar__name { flex: 1; min-width: 0; font-weight: 500; }
.acms-similar__row:hover .acms-similar__name { color: var(--a-accent); }
.acms-similar__r { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--a-pos); font-size: 12.5px; }
.acms-similar-main { margin-top: 34px; }
.acms-similar-main > h2 { margin-bottom: 16px; }
.acms-faq details { border-top: 1px solid var(--a-line-2); }
.acms-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.acms-faq summary::-webkit-details-marker { display: none; }
.acms-faq__a { padding: 0 0 14px; color: var(--a-ink-2); font-size: 14px; max-width: 64ch; }

/* =======================  CARDS (directory / home / category)  ======================= */
.acms-ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.acms-ent-card { display: flex; flex-direction: column; gap: 12px; padding: 15px; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-surface); text-decoration: none; color: inherit; transition: border-color .14s, transform .14s; }
.acms-ent-card:hover { border-color: color-mix(in srgb, var(--a-accent) 45%, var(--a-line)); transform: translateY(-2px); }
.acms-ent-card__top { display: flex; align-items: center; gap: 11px; }
.acms-ent-card__logo { width: 38px; height: 38px; border: 1px solid var(--a-line); border-radius: 9px; display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; background: var(--a-surface); }
.acms-ent-card__logo img { width: 24px; height: 24px; object-fit: contain; }
.acms-ent-card__name { display: block; font-weight: 700; font-size: 15px; letter-spacing: -0.2px; line-height: 1.2; }
.acms-ent-card__type { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--a-ink-3); margin-top: 3px; }
.acms-ent-card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--a-line-2); padding-top: 11px; font-size: 12.5px; margin-top: auto; }
.acms-ent-card__rate { display: flex; align-items: center; gap: 7px; }
.acms-ent-card__rate b { font-variant-numeric: tabular-nums; }
.acms-ent-card__rate small { color: var(--a-ink-3); }
.acms-ent-card__link { color: var(--a-accent); font-weight: 600; font-size: 11.5px; }

/* =======================  DIRECTORY A-Z + section head  ======================= */
.rc-cat-head { padding: 6px 0 4px; }
.rc-cat-head h1 { font-size: 30px; letter-spacing: -0.8px; margin: 0 0 8px; }
.rc-cat-head h2 { font-size: 15px; font-weight: 400; color: var(--a-ink-2); margin: 0 0 16px; width: 100%; line-height: 1.55; }
.rc-findstore { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 8px 12px; background: var(--a-surface); }
.rc-findstore input { border: 0; outline: none; background: transparent; font-family: var(--a-font); font-size: 14px; color: var(--a-ink); min-width: 220px; }
.rc-findstore button { border: 0; background: var(--a-accent); color: #fff; border-radius: 5px; padding: 6px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.rc-az__nav { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0; padding: 10px; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-surface); position: sticky; top: 66px; z-index: 20; }
.rc-az__nav a, .rc-az__nav span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 5px; font-size: 12.5px; font-weight: 600; text-decoration: none; color: var(--a-accent); }
.rc-az__nav a:hover { background: var(--a-accent-wash); }
.rc-az__nav--off { color: var(--a-line); }
.rc-az__sec { margin: 26px 0; }
.rc-az__sec h2 { font-size: 15px; color: var(--a-ink-3); font-weight: 600; margin: 0 0 12px; text-transform: none; }

/* Browse by country */
.acms-countries { margin: 18px 0 6px; }
.acms-countries__h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--a-ink-3); margin: 0 0 12px; }
.acms-countries__list { display: flex; flex-wrap: wrap; gap: 8px; }
.acms-countries__list a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--a-line); border-radius: 999px; padding: 5px 12px; font-size: 13px; text-decoration: none; color: var(--a-ink); background: var(--a-surface); transition: border-color .14s; }
.acms-countries__list a:hover { border-color: var(--a-accent); color: var(--a-accent); }
.acms-countries__list span { font-variant-numeric: tabular-nums; color: var(--a-ink-3); font-size: 12px; }

/* Browse by category, gom theo nhom cha (tools) */
.acms-catgroups { display: flex; flex-direction: column; gap: 20px; }
.acms-catgroup__h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--a-ink-2); margin: 0 0 9px; padding-bottom: 6px; border-bottom: 1px solid var(--a-line-2); }

/* =======================  HERO + HOME  ======================= */
.acms-hero { padding: 56px 0 30px; text-align: center; position: relative; overflow: hidden; }
.acms-hero > .container { position: relative; z-index: 1; }
/* Spotlight theo con tro (JS them class .acms-hero--spotlight; tat neu reduced-motion/touch) */
.acms-hero--spotlight { --mx: 50%; --my: 38%; }
.acms-hero--spotlight::before { content: ""; position: absolute; inset: -12% 0; z-index: 0; pointer-events: none; background: radial-gradient(440px circle at var(--mx) var(--my), color-mix(in srgb, var(--a-accent) 20%, transparent) 0%, transparent 66%); }
.acms-hero__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--a-accent); font-weight: 600; }
.acms-hero h1 { font-size: 44px; letter-spacing: -1.4px; line-height: 1.06; margin: 12px auto 16px; max-width: 24ch; text-wrap: balance; }
.acms-hero p { font-size: 17px; color: var(--a-ink-2); max-width: 60ch; margin: 0 auto 24px; line-height: 1.55; }
.acms-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.acms-home-sec { margin: 40px 0; }
.acms-home-sec__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; padding-top: 30px; border-top: 1px solid var(--a-line); }
.acms-home-sec:first-of-type .acms-home-sec__head { border-top: 0; padding-top: 0; }
.acms-home-sec__head h2 { font-size: 20px; letter-spacing: -0.4px; margin: 0; }
.acms-home-sec__head a { font-size: 13px; font-weight: 600; color: var(--a-accent); text-decoration: none; white-space: nowrap; }
.acms-faq-home { border-top: 1px solid var(--a-line); padding-top: 34px; }
.acms-faq-home h2 { font-size: 20px; letter-spacing: -0.4px; margin: 0 0 8px; }

/* =======================  COMPARE  ======================= */
.acms-cmp-wrap { overflow-x: auto; border: 1px solid var(--a-line); border-radius: var(--a-radius); }
.acms-cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.acms-cmp th, .acms-cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--a-line-2); font-size: 13px; vertical-align: middle; }
.acms-cmp thead th { background: var(--a-surface-2); vertical-align: bottom; }
.acms-cmp__rowlbl { color: var(--a-ink-2); font-weight: 600; white-space: nowrap; }
.acms-cmp__ent { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: var(--a-accent); font-weight: 700; }
.acms-cmp__ent img { width: 34px; height: 34px; object-fit: contain; border: 1px solid var(--a-line-2); border-radius: 8px; }
.acms-cmp td { font-variant-numeric: tabular-nums; }

/* =======================  FOOTER  ======================= */
.rc-footer { background: var(--a-ink); color: var(--a-surface); margin-top: 40px; padding: 44px 0 28px; }
.rc-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.rc-footer__brandtext { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 20px; letter-spacing: -0.4px; color: var(--a-brand); text-decoration: none; margin-bottom: 12px; }
.rc-footer__brandtext span { color: rgba(255,255,255,0.55); }
.rc-footer__brand p { color: rgba(255,255,255,0.6); font-size: 13.5px; line-height: 1.6; max-width: 100%; }
.rc-footer__col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.7px; color: rgba(255,255,255,0.5); margin: 0 0 12px; }
.rc-footer__col a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; font-size: 13.5px; padding: 4px 0; }
.rc-footer__col a:hover { color: #fff; }
.rc-footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); font-size: 12px; line-height: 1.6; }

/* =======================  RESPONSIVE  ======================= */
@media (max-width: 900px) {
  .acms-body { grid-template-columns: 1fr; gap: 24px; }
  .acms-side { position: static; }
}
@media (max-width: 860px) {
  .acms-nav, .acms-search { display: none; }
  .acms-mobnav { display: inline-block; }
  .acms-kpis { grid-template-columns: repeat(2, 1fr); }
  .acms-kpi:nth-child(2n) { border-right: 0; }
  .acms-rec { grid-template-columns: 1fr; grid-template-areas: "head" "ratings" "cta"; gap: 16px; }
  .acms-ratings { grid-template-columns: 1fr 1fr; }
  .acms-rec__cta { min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .acms-rec__cta .btn { flex: 1 1 auto; }
  .rc-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .acms-hero h1 { font-size: 30px; }
  .acms-ent-grid { grid-template-columns: 1fr; }
  .acms-kpis { grid-template-columns: 1fr; }
  .acms-kpi { border-right: 0; border-bottom: 1px solid var(--a-line-2); }
  .rc-footer__cols { grid-template-columns: 1fr; }
  .acms-rec h1 { font-size: 25px; }
}
