
.hc-pop-num{font-size:12px;font-weight:800;color:var(--g300);width:22px;text-align:center;
  flex-shrink:0;transition:color .18s}
.hc-pop-item:hover .hc-pop-num{color:var(--brand-ink,var(--brand))}
.hc-pop-body{flex:1;min-width:0}
.hc-pop-title{font-weight:600;font-size:14.5px;color:var(--text-primary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hc-pop-exc{font-size:12.5px;color:var(--text-secondary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* PHASE_HC_PRESETS_20 — the muted TOKEN, not a fixed grey: --g400 measured 2.0:1 on the
   Minimal starter's warm card and 2.4:1 on tinted grounds; every layout tunes --text-muted. */
.hc-pop-views{font-size:11.5px;color:var(--text-muted,var(--g400));white-space:nowrap;flex-shrink:0}

/* ── Category page header ───────────────────────────────────────────────────── */
.hc-cat-pg-head{display:flex;align-items:center;gap:18px;margin-bottom:30px}
/* Centred variant: used when the page has no hero band, so the title reads as
   the page heading rather than a left-aligned label. */
/* Column stack: icon+title on one row, description beneath, all centred. */
/* margin-top:0 — the owner wants the title to sit up against the breadcrumb
   rather than float below a gap. */
.hc-cat-pg-head-centered{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:0;margin-top:0}
/* Scoped to the CATEGORY crumb so the article page keeps its own spacing. */
.hc-crumb.hc-crumb-cat{margin-bottom:8px}
.hc-cat-pg-titlerow{display:flex;align-items:center;gap:14px;min-width:0}
@media(max-width:640px){.hc-cat-pg-titlerow{gap:10px}}
.hc-cat-pg-head-centered .hc-cat-pg-title{font-size:clamp(28px,3.4vw,44px);line-height:1.12}
.hc-cat-pg-head-centered .hc-cat-pg-sub{margin-top:6px}
/* The description sits under the title and centres with it; capped to a
   readable measure so a long one does not run the full column width. */
.hc-cat-pg-desc{margin-top:8px;font-size:15px;line-height:1.55;color:var(--text-secondary,#64748b)}
.hc-cat-pg-head-centered .hc-cat-pg-desc{max-width:62ch;margin-left:auto;margin-right:auto}
@media(max-width:640px){.hc-cat-pg-head-centered{flex-direction:column;gap:10px}}
.hc-cat-pg-ico{width:56px;height:56px;border-radius:16px;flex-shrink:0;
  background:var(--brand-10);border:1.5px solid var(--brand-20);
  display:flex;align-items:center;justify-content:center;font-size:28px}
.hc-cat-pg-title{font-size:28px;font-weight:800;color:var(--text-primary);letter-spacing:-.025em}
.hc-cat-pg-sub{font-size:13px;color:var(--text-secondary);margin-top:3px}
/* PHASE_KB_IMPORT (K3) — subcategory hub on a category page. */
.hc-subcats{margin-bottom:34px}
/* PHASE_HC_SUBCAT_STYLE — child categories now render through the SAME tile
 * component as the home grid (.hc-home-cat), so every home style works on them.
 * These rules only make the child grid read as SECONDARY to its parent: tighter
 * columns, smaller icon, smaller title. They come after the .hc-cats-* presets,
 * so at equal specificity they win — the preset still decides the tile's shape,
 * border, glow and layout. */
.hc-subcats-grid{margin-top:4px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.hc-subcats-grid .hc-home-cat-ico{width:64px;height:64px;font-size:32px;border-radius:18px}
.hc-subcats-grid .hc-home-cat-letter{width:48px;height:48px;font-size:21px;border-radius:14px}
.hc-subcats-grid .hc-home-cat-name{font-size:16.5px}
.hc-subcats-grid .hc-home-cat-desc{font-size:13px}
.hc-subcats-grid.hc-cats-card .hc-home-cat{padding:24px 20px;border-radius:18px}
.hc-subcats-grid.hc-cats-glow .hc-home-cat{padding:26px 20px;border-radius:20px}
.hc-subcats-grid.hc-cats-minimal .hc-home-cat-ico{width:44px;height:44px;font-size:22px;border-radius:12px}
.hc-subcats-grid.hc-cats-minimal .hc-home-cat-letter{width:44px;height:44px;font-size:18px}
.hc-subcats-label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary);margin:0 0 14px}
.hc-subcats-arts-label{margin-top:6px}

/* ── Search results inline ──────────────────────────────────────────────────── */
.hc-srch-results-hd{margin-bottom:24px}
.hc-srch-results-title{font-size:20px;font-weight:800;color:var(--text-primary);margin-bottom:6px;letter-spacing:-.02em}
.hc-srch-results-title em{font-style:normal;color:var(--brand-ink,var(--brand));font-weight:600}
.hc-srch-results-hint{font-size:13.5px;color:var(--text-secondary)}

/* ── Article page ───────────────────────────────────────────────────────────── */
.hc-art-layout{display:grid;grid-template-columns:1fr;gap:28px;max-width:800px;margin:0 auto}
@media(min-width:920px){.hc-art-layout{grid-template-columns:1fr 230px;max-width:100%}}
.hc-art-card{background:var(--card-bg);border:1.5px solid var(--card-border);
  border-radius:18px;padding:44px 48px;box-shadow:var(--shadow-sm)}
@media(max-width:640px){.hc-art-card{padding:24px 20px;border-radius:14px}}
.hc-art-meta{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap}
.hc-art-cat-chip{display:inline-flex;align-items:center;gap:5px;
  background:var(--brand-10);border:1px solid var(--brand-20);
  border-radius:999px;padding:4px 13px;
  font-size:11.5px;font-weight:700;color:var(--brand-ink,var(--brand));text-decoration:none;letter-spacing:.01em}
.hc-art-cat-chip:hover{background:var(--brand-15)}
.hc-art-tags{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 6px}
.hc-art-tag{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:650;text-decoration:none;color:var(--text-2,#475569);background:var(--card-2,rgba(15,23,42,.05));border:1px solid var(--card-border,rgba(15,23,42,.08));transition:.14s}
.hc-art-tag:hover{color:var(--brand-ink,var(--brand,#6366f1));background:var(--brand-15,rgba(99,102,241,.12));border-color:var(--brand,#6366f1)}
.hc-art-rtime{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--g400)}
.hc-art-title{font-size:clamp(22px,3vw,32px);font-weight:800;color:var(--text-primary);
  line-height:1.22;margin-bottom:26px;letter-spacing:-.025em}
.hc-art-div{height:1px;background:var(--card-border);margin-bottom:30px}
/* PHASE_HC_I18N_AI — machine-translation disclosure. Palette vars only (never
   hardcoded colours) so it follows the single HC dark-mode palette. */
.hc-mt-note{display:flex;align-items:center;gap:7px;margin:0 0 20px;padding:9px 13px;border-radius:10px;
  font-size:12.5px;line-height:1.5;color:var(--text-2,#475569);
  background:var(--card-2,rgba(15,23,42,.04));border:1px solid var(--card-border,rgba(15,23,42,.08))}
.hc-mt-note svg{flex:0 0 auto;opacity:.7}
[dir="rtl"] .hc-mt-note{flex-direction:row-reverse;text-align:right}
/* Article body typography */
.hc-body{line-height:1.82;color:var(--g700);font-size:15.5px}
.hc-body p{margin-bottom:18px}
.hc-body h2{font-size:20px;font-weight:800;color:var(--text-primary);
  margin:36px 0 14px;letter-spacing:-.015em;scroll-margin-top:80px}
.hc-body h3{font-size:17px;font-weight:700;color:var(--g800);
  margin:28px 0 10px;scroll-margin-top:80px}
.hc-body h4{font-size:15px;font-weight:600;color:var(--g700);margin:22px 0 8px}
.hc-body ul,.hc-body ol{padding-left:22px;margin-bottom:18px}
.hc-body li{margin-bottom:7px}
.hc-body strong{font-weight:700;color:var(--text-primary)}