/* ==========================================================================
   HikingCare Magazine — main.css
   Editorial outdoor design system: tokens, base, layout, header, cards,
   homepage sections, article template, sidebar, archives, footer,
   and the shared base classes used by the interactive tools.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root{
	--hkc-primary:#1b4332;
	--hkc-secondary:#2d6a4f;
	--hkc-tertiary:#6b8f71;
	--hkc-accent:#c9772b;
	--hkc-warm:#f1ecdf;
	--hkc-dark:#14201a;

	--hkc-bg:#f7f5ef;
	--hkc-surface:#ffffff;
	--hkc-surface-2:#f1ecdf;
	--hkc-text:#1f2a23;
	--hkc-text-muted:#5c6b61;
	--hkc-border:#e3ddcf;
	--hkc-border-strong:#cfc7b3;

	--hkc-radius-sm:6px;
	--hkc-radius:10px;
	--hkc-radius-lg:14px;
	--hkc-shadow-sm:0 1px 2px rgba(20,32,26,.06);
	--hkc-shadow:0 10px 30px -14px rgba(20,32,26,.25);
	--hkc-shadow-lg:0 30px 60px -30px rgba(20,32,26,.35);

	--hkc-font-sans:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--hkc-font-display:'Fraunces', Georgia, 'Times New Roman', serif;
	--hkc-font-editorial:var(--hkc-font-display);

	--hkc-container:1200px;
	--hkc-gutter:24px;
	--hkc-section-y:clamp(48px, 6vw, 84px);
	--hkc-header-h:72px;
}

@media (prefers-reduced-motion: reduce){
	*,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--hkc-header-h) + 12px); }
body{
	margin:0;
	font-family:var(--hkc-font-sans);
	font-size:1rem;
	line-height:1.6;
	color:var(--hkc-text);
	background:var(--hkc-bg);
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
	overflow-x:hidden;
}
body.hkc-nav-open{ overflow:hidden; }
img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:var(--hkc-secondary); text-decoration:none; transition:color .2s ease; }
a:hover{ color:var(--hkc-primary); }
button{ font:inherit; cursor:pointer; }
input,select,textarea{ font:inherit; }
h1,h2,h3,h4,h5,h6{ font-family:var(--hkc-font-display); font-weight:600; color:var(--hkc-dark); margin:0 0 .5em; line-height:1.15; letter-spacing:-.01em; }
h1{ font-size:clamp(2rem, 4.2vw, 3.1rem); }
h2{ font-size:clamp(1.55rem, 2.6vw, 2.1rem); }
h3{ font-size:1.3rem; }
h4{ font-size:1.05rem; }
p{ margin:0 0 1.1em; }
:focus-visible{ outline:3px solid var(--hkc-accent); outline-offset:2px; border-radius:4px; }

.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; word-wrap:normal !important; }
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--hkc-primary); color:#fff; padding:.75rem 1rem; z-index:9999; }
.skip-link:focus{ left:1rem; top:1rem; color:#fff; }

.hkc-icon{ flex-shrink:0; vertical-align:middle; }

/* --------------------------------------------------------------------------
   3. Layout + utilities
   -------------------------------------------------------------------------- */
.hkc-container{ width:100%; max-width:var(--hkc-container); margin:0 auto; padding:0 var(--hkc-gutter); }
.hkc-main{ min-height:60vh; }
.hkc-section{ position:relative; padding:var(--hkc-section-y) 0; }
.hkc-section--tint{ background:var(--hkc-surface-2); }
.hkc-section--dark{ background:var(--hkc-primary); color:#e8efe9; }
.hkc-section--dark .hkc-section__title{ color:#fff; }
.hkc-section--flush{ padding:clamp(32px,4vw,56px) 0; }
.hkc-section + .hkc-section--flush{ padding-top:0; }
.hkc-bg-warm{ background:var(--hkc-surface-2); }

.hkc-grid{ display:grid; gap:28px 24px; }
.hkc-grid--2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.hkc-grid--3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.hkc-grid--4{ grid-template-columns:repeat(4, minmax(0,1fr)); }
.hkc-grid--feature{ grid-template-columns:repeat(3, minmax(0,1fr)); grid-auto-flow:dense; }
.hkc-grid--feature .hkc-grid__feature{ grid-column:span 2; grid-row:span 2; }
.hkc-grid--topics{ gap:20px; }

.hkc-eyebrow{
	display:inline-block;
	font-family:var(--hkc-font-sans);
	font-weight:700;
	font-size:.72rem;
	letter-spacing:.16em;
	text-transform:uppercase;
	color:var(--hkc-tertiary);
	margin-bottom:10px;
}
.hkc-eyebrow--light{ color:#b7d0bd; }
.hkc-kicker{
	display:inline-block;
	font-weight:700;
	font-size:.74rem;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:var(--hkc-secondary);
}
.hkc-kicker--accent{ color:var(--hkc-accent); }
.hkc-dot{ display:inline-block; width:4px; height:4px; border-radius:50%; background:currentColor; opacity:.45; margin:0 8px; vertical-align:middle; }

/* Buttons (new + legacy class names) */
.hkc-btn{
	display:inline-flex; align-items:center; justify-content:center; gap:.5em;
	padding:.8em 1.25em;
	border-radius:var(--hkc-radius-sm);
	font-family:var(--hkc-font-sans);
	font-weight:600;
	font-size:.95rem;
	line-height:1.2;
	border:1.5px solid transparent;
	text-decoration:none;
	white-space:nowrap;
	transition:background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.hkc-btn .hkc-icon{ transition:transform .2s; }
.hkc-btn:hover .hkc-icon-arrow{ transform:translateX(3px); }
.hkc-btn--primary, .hkc-btn-primary{ background:var(--hkc-primary); color:#fff; }
.hkc-btn--primary:hover, .hkc-btn-primary:hover{ background:var(--hkc-secondary); color:#fff; }
.hkc-btn--accent{ background:var(--hkc-accent); color:#fff; }
.hkc-btn--accent:hover{ background:#b3671f; color:#fff; }
.hkc-btn--ghost, .hkc-btn-ghost{ background:transparent; color:var(--hkc-primary); border-color:var(--hkc-border-strong); }
.hkc-btn--ghost:hover, .hkc-btn-ghost:hover{ border-color:var(--hkc-primary); color:var(--hkc-primary); background:rgba(27,67,50,.04); }
.hkc-btn--sm, .hkc-btn-sm{ padding:.55em .95em; font-size:.85rem; }
.hkc-btn--lg, .hkc-btn-lg{ padding:1em 1.6em; font-size:1rem; }
.hkc-btn:disabled{ opacity:.6; cursor:default; }
.hkc-btn-link{ background:none; border:none; padding:0; color:var(--hkc-primary); font-weight:600; font-size:.9rem; }
.hkc-btn-link:hover{ color:var(--hkc-accent); }

/* Chips + tag lists */
.hkc-chip{
	display:inline-flex; align-items:center;
	padding:.45em .95em;
	border-radius:999px;
	border:1px solid var(--hkc-border-strong);
	background:var(--hkc-surface);
	color:var(--hkc-text);
	font-size:.85rem; font-weight:600;
}
.hkc-chip:hover, .hkc-chip.is-active{ background:var(--hkc-primary); border-color:var(--hkc-primary); color:#fff; }
.hkc-taglist{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.hkc-taglist a{
	display:inline-block; padding:.4em .85em;
	border-radius:999px;
	background:var(--hkc-surface-2);
	border:1px solid var(--hkc-border);
	color:var(--hkc-text);
	font-size:.85rem; font-weight:600;
}
.hkc-taglist a:hover{ background:var(--hkc-primary); border-color:var(--hkc-primary); color:#fff; }
.hkc-taglist--lg a{ padding:.6em 1.1em; font-size:.95rem; }
.hkc-section--tint .hkc-taglist a{ background:var(--hkc-surface); }

/* Section header / footer rows */
.hkc-section__head{
	display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
	margin-bottom:32px;
	padding-bottom:18px;
	border-bottom:1px solid var(--hkc-border);
}
.hkc-section__heading{ max-width:720px; }
.hkc-section__heading .hkc-eyebrow{ margin-bottom:6px; }
.hkc-section__title{ margin:0; font-size:clamp(1.6rem, 2.8vw, 2.2rem); }
.hkc-section__sub{ margin:.5em 0 0; color:var(--hkc-text-muted); font-size:1.02rem; max-width:62ch; }
.hkc-section--dark .hkc-section__sub{ color:#c9d8cd; }
.hkc-section__more{
	display:inline-flex; align-items:center; gap:.4em;
	font-weight:700; font-size:.9rem; color:var(--hkc-primary);
	white-space:nowrap; padding-bottom:2px;
}
.hkc-section__more:hover{ color:var(--hkc-accent); }
.hkc-section__more:hover .hkc-icon{ transform:translateX(3px); }
.hkc-section__more .hkc-icon{ transition:transform .2s; }
.hkc-section__foot{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:28px; }
.hkc-section__footlabel{ font-size:.85rem; font-weight:700; color:var(--hkc-text-muted); }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.hkc-header{
	position:sticky; top:0; z-index:200;
	background:rgba(247,245,239,.94);
	-webkit-backdrop-filter:saturate(1.4) blur(10px); backdrop-filter:saturate(1.4) blur(10px);
	border-bottom:1px solid var(--hkc-border);
	transition:box-shadow .2s;
}
.hkc-header.is-scrolled{ box-shadow:0 8px 24px -18px rgba(20,32,26,.4); }
.hkc-header__inner{ display:flex; align-items:center; gap:20px; height:var(--hkc-header-h); }
.hkc-header__brand{ display:flex; align-items:center; flex-shrink:0; }
.hkc-header__brand .custom-logo{ max-height:44px; width:auto; }
.hkc-wordmark{ display:inline-flex; align-items:center; gap:10px; color:var(--hkc-dark); }
.hkc-wordmark__text{ display:flex; flex-direction:column; line-height:1.05; }
.hkc-wordmark__name{ font-family:var(--hkc-font-display); font-weight:700; font-size:1.35rem; letter-spacing:-.01em; color:var(--hkc-dark); }
.hkc-wordmark__tag{ font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-text-muted); font-weight:600; margin-top:3px; }
.hkc-brand-mark{ flex-shrink:0; }

.hkc-header__burger{ display:none; background:none; border:none; padding:8px; margin-left:-8px; color:var(--hkc-dark); border-radius:6px; }
.hkc-header__burger .hkc-icon-close{ display:none; }
.hkc-header__burger[aria-expanded="true"] .hkc-icon-menu{ display:none; }
.hkc-header__burger[aria-expanded="true"] .hkc-icon-close{ display:block; }

.hkc-nav{ flex:1; display:flex; justify-content:center; }
.hkc-menu{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:4px; }
.hkc-menu li{ position:relative; }
.hkc-menu > li > a{
	display:inline-flex; align-items:center;
	padding:10px 12px;
	font-weight:600; font-size:.95rem;
	color:var(--hkc-dark);
	border-radius:6px;
}
.hkc-menu > li > a:hover, .hkc-menu > li.is-open > a, .hkc-menu > li:focus-within > a{ color:var(--hkc-primary); background:rgba(27,67,50,.06); }
.hkc-menu > li.current-menu-item > a, .hkc-menu > li.current-menu-ancestor > a, .hkc-menu > li.current_page_parent > a{ color:var(--hkc-primary); box-shadow:inset 0 -2px 0 var(--hkc-accent); }
.hkc-submenu-toggle{ display:none; background:none; border:none; color:var(--hkc-text-muted); padding:6px; border-radius:6px; }
.hkc-menu .sub-menu{
	list-style:none; margin:0; padding:10px;
	position:absolute; top:100%; left:0;
	min-width:240px;
	background:var(--hkc-surface);
	border:1px solid var(--hkc-border);
	border-radius:var(--hkc-radius);
	box-shadow:var(--hkc-shadow);
	opacity:0; visibility:hidden; transform:translateY(6px);
	transition:opacity .18s, transform .18s, visibility .18s;
	z-index:50;
}
.hkc-menu li:hover > .sub-menu, .hkc-menu li:focus-within > .sub-menu, .hkc-menu li.is-open > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.hkc-menu .sub-menu a{ display:block; padding:9px 12px; border-radius:6px; color:var(--hkc-text); font-size:.92rem; font-weight:500; }
.hkc-menu .sub-menu a:hover{ background:var(--hkc-surface-2); color:var(--hkc-primary); }
.hkc-nav__mobile-extra{ display:none; }

.hkc-header__actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.hkc-header__search{
	display:inline-flex; align-items:center; gap:8px;
	background:transparent; border:1.5px solid var(--hkc-border-strong);
	color:var(--hkc-dark); padding:8px 12px; border-radius:var(--hkc-radius-sm);
	font-weight:600; font-size:.88rem;
}
.hkc-header__search:hover{ border-color:var(--hkc-primary); color:var(--hkc-primary); }

/* Search overlay */
.hkc-search{ border-top:1px solid var(--hkc-border); background:var(--hkc-surface); box-shadow:0 20px 40px -20px rgba(20,32,26,.35); }
.hkc-search > .hkc-container{ padding-top:20px; padding-bottom:20px; }
.hkc-search__form{
	display:flex; align-items:center; gap:10px;
	background:var(--hkc-bg);
	border:1.5px solid var(--hkc-border-strong);
	border-radius:var(--hkc-radius);
	padding:6px 6px 6px 14px;
	max-width:760px;
}
.hkc-search__form:focus-within{ border-color:var(--hkc-primary); box-shadow:0 0 0 3px rgba(27,67,50,.12); }
.hkc-search__form .hkc-icon{ color:var(--hkc-text-muted); }
.hkc-search__form input{ flex:1; min-width:0; border:none; background:transparent; padding:10px 4px; font-size:1.05rem; color:var(--hkc-text); }
.hkc-search__form input:focus{ outline:none; }
.hkc-search__form--page{ margin:18px 0 12px; }
.hkc-search__results{ max-width:760px; }
.hkc-search__list{ list-style:none; margin:14px 0 0; padding:0; display:grid; gap:6px; }
.hkc-search__item{ display:flex; align-items:center; gap:12px; padding:8px; border-radius:8px; color:var(--hkc-text); }
.hkc-search__item:hover{ background:var(--hkc-surface-2); }
.hkc-search__item img, .hkc-search__noimg{ width:72px; height:48px; object-fit:cover; border-radius:6px; background:var(--hkc-surface-2); flex-shrink:0; }
.hkc-search__itemtext{ display:flex; flex-direction:column; }
.hkc-search__itemtext small{ color:var(--hkc-text-muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }
.hkc-search__empty{ color:var(--hkc-text-muted); margin:12px 0 0; }
.hkc-search__quick{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; font-size:.85rem; color:var(--hkc-text-muted); }
.hkc-search__quick a{ padding:.3em .7em; border-radius:999px; background:var(--hkc-surface-2); color:var(--hkc-text); font-weight:600; }
.hkc-search__quick a:hover{ background:var(--hkc-primary); color:#fff; }

/* Reading progress */
.hkc-progress{ position:sticky; top:var(--hkc-header-h); z-index:199; height:3px; background:transparent; }
.hkc-progress span{ display:block; height:100%; width:0; background:var(--hkc-accent); transition:width .1s linear; }

/* --------------------------------------------------------------------------
   5. Cards
   -------------------------------------------------------------------------- */
.hkc-card{ position:relative; display:flex; flex-direction:column; min-width:0; }
.hkc-card__media{ display:block; position:relative; overflow:hidden; border-radius:var(--hkc-radius); aspect-ratio:3/2; background:var(--hkc-surface-2); }
.hkc-card__img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.hkc-card:hover .hkc-card__img{ transform:scale(1.04); }
.hkc-ph{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:linear-gradient(135deg, var(--hkc-surface-2), #e6dfcc); }
.hkc-card__body{ display:flex; flex-direction:column; gap:8px; padding:16px 0 0; }
.hkc-card__cat{ align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-secondary); }
.hkc-card__cat:hover{ color:var(--hkc-accent); }
.hkc-card__title{ margin:0; font-size:1.25rem; line-height:1.25; }
.hkc-card__title a{ color:var(--hkc-dark); }
.hkc-card__title a:hover{ color:var(--hkc-primary); }
.hkc-card__excerpt{ margin:0; color:var(--hkc-text-muted); font-size:.95rem; line-height:1.55; }
.hkc-card__meta{ display:flex; align-items:center; font-size:.8rem; color:var(--hkc-text-muted); margin-top:2px; }

.hkc-card--large .hkc-card__media{ aspect-ratio:16/10; }
.hkc-card--large .hkc-card__title{ font-size:clamp(1.5rem, 2.2vw, 1.9rem); }
.hkc-card--large .hkc-card__excerpt{ font-size:1.02rem; }

.hkc-card--row{ flex-direction:row; gap:28px; align-items:center; }
.hkc-card--row .hkc-card__media{ flex:0 0 56%; aspect-ratio:16/10; }
.hkc-card--row .hkc-card__body{ padding:0; }
.hkc-card--row .hkc-card__title{ font-size:clamp(1.5rem, 2.4vw, 2rem); }
.hkc-card--row .hkc-card__excerpt{ font-size:1.02rem; }

.hkc-card--mini{ flex-direction:row; gap:14px; align-items:flex-start; }
.hkc-card--mini .hkc-card__media{ flex:0 0 108px; aspect-ratio:4/3; border-radius:var(--hkc-radius-sm); }
.hkc-card--mini .hkc-card__body{ padding:0; gap:4px; }
.hkc-card--mini .hkc-card__title{ font-size:1rem; line-height:1.3; }
.hkc-card--mini .hkc-card__meta{ font-size:.75rem; }

.hkc-card--number{ flex-direction:row; gap:16px; align-items:flex-start; padding-top:4px; }
.hkc-card--number .hkc-card__num{ font-family:var(--hkc-font-display); font-size:2rem; font-weight:600; line-height:1; color:var(--hkc-accent); min-width:2.2ch; padding-top:2px; }
.hkc-card--number .hkc-card__media{ flex:0 0 120px; aspect-ratio:4/3; border-radius:var(--hkc-radius-sm); }
.hkc-card--number .hkc-card__body{ padding:0; gap:4px; }
.hkc-card--number .hkc-card__title{ font-size:1.05rem; line-height:1.3; }
.hkc-grid--ranked{ row-gap:22px; }

.hkc-minilist{ display:flex; flex-direction:column; gap:16px; }

/* Topic (category) cards */
.hkc-topic{ position:relative; display:block; border-radius:var(--hkc-radius); overflow:hidden; aspect-ratio:4/5; background:var(--hkc-primary); color:#fff; box-shadow:var(--hkc-shadow-sm); }
.hkc-topic__media{ position:absolute; inset:0; }
.hkc-topic__media img, .hkc-topic__media .hkc-ph{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.hkc-topic:hover .hkc-topic__media img{ transform:scale(1.05); }
.hkc-topic__media::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,32,26,0) 30%, rgba(20,32,26,.55) 65%, rgba(20,32,26,.92) 100%); }
.hkc-topic__body{ position:absolute; left:0; right:0; bottom:0; padding:18px; display:flex; flex-direction:column; gap:4px; }
.hkc-topic__name{ font-family:var(--hkc-font-display); font-weight:600; font-size:1.3rem; line-height:1.15; color:#fff; }
.hkc-topic__desc{ font-size:.85rem; color:rgba(255,255,255,.82); line-height:1.4; }
.hkc-topic__count{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:#e6c79b; font-weight:700; margin-top:4px; }
.hkc-topic:hover{ color:#fff; }

/* Tool cards */
.hkc-toolcard{
	display:flex; gap:14px; align-items:flex-start;
	padding:20px;
	background:var(--hkc-surface);
	border:1px solid var(--hkc-border);
	border-radius:var(--hkc-radius);
	color:var(--hkc-text);
	transition:transform .2s, box-shadow .2s, border-color .2s;
	height:100%;
}
.hkc-toolcard:hover{ transform:translateY(-3px); box-shadow:var(--hkc-shadow); border-color:var(--hkc-border-strong); color:var(--hkc-text); }
.hkc-toolcard__icon{ flex-shrink:0; width:44px; height:44px; border-radius:10px; background:var(--hkc-surface-2); color:var(--hkc-primary); display:inline-flex; align-items:center; justify-content:center; }
.hkc-toolcard__body{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.hkc-toolcard__title{ font-family:var(--hkc-font-display); font-weight:600; font-size:1.1rem; line-height:1.25; color:var(--hkc-dark); }
.hkc-toolcard__desc{ font-size:.9rem; color:var(--hkc-text-muted); line-height:1.5; }
.hkc-toolcard__cta{ display:inline-flex; align-items:center; gap:.35em; font-size:.85rem; font-weight:700; color:var(--hkc-primary); margin-top:4px; }
.hkc-toolcard:hover .hkc-toolcard__cta{ color:var(--hkc-accent); }
.hkc-toolcard--compact{ padding:14px 16px; align-items:center; }
.hkc-toolcard--compact .hkc-toolcard__icon{ width:38px; height:38px; }
.hkc-toolcard--compact .hkc-toolcard__title{ font-size:1rem; }
.hkc-toolcard--compact .hkc-toolcard__cta{ margin-top:0; }

/* Trail type cards */
.hkc-trail{
	display:flex; flex-direction:column; gap:8px;
	padding:22px;
	background:var(--hkc-surface);
	border:1px solid var(--hkc-border);
	border-radius:var(--hkc-radius);
	color:var(--hkc-text);
	transition:transform .2s, box-shadow .2s;
}
.hkc-trail:hover{ transform:translateY(-3px); box-shadow:var(--hkc-shadow); color:var(--hkc-text); }
.hkc-trail__diff{ align-self:flex-start; font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:4px 10px; border-radius:999px; }
.hkc-trail__diff--easy{ background:#e3efe6; color:#1b4332; }
.hkc-trail__diff--moderate{ background:#f6e7d3; color:#8a4f12; }
.hkc-trail__diff--hard{ background:#f3dcd8; color:#8a2f22; }
.hkc-trail__title{ font-family:var(--hkc-font-display); font-weight:600; font-size:1.25rem; color:var(--hkc-dark); line-height:1.2; }
.hkc-trail__tag{ font-size:.9rem; color:var(--hkc-text-muted); }
.hkc-trail__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:8px 0 0; padding:12px 0 0; border-top:1px dashed var(--hkc-border); }
.hkc-trail__stats div{ display:flex; flex-direction:column; gap:2px; }
.hkc-trail__stats dt{ font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--hkc-text-muted); font-weight:700; }
.hkc-trail__stats dd{ margin:0; font-size:.88rem; font-weight:600; color:var(--hkc-dark); }
.hkc-trail__cta{ display:inline-flex; align-items:center; gap:.35em; font-size:.85rem; font-weight:700; color:var(--hkc-primary); margin-top:6px; }
.hkc-trail:hover .hkc-trail__cta{ color:var(--hkc-accent); }

/* --------------------------------------------------------------------------
   6. Homepage: lead story
   -------------------------------------------------------------------------- */
.hkc-lead{ padding:clamp(24px,3vw,40px) 0 clamp(32px,4vw,56px); }
.hkc-lead__grid{ display:grid; grid-template-columns:minmax(0, 7fr) minmax(0, 4fr); gap:40px; align-items:start; }
.hkc-lead__main{ display:flex; flex-direction:column; }
.hkc-lead__media{ display:block; border-radius:var(--hkc-radius-lg); overflow:hidden; aspect-ratio:16/10; background:var(--hkc-surface-2); box-shadow:var(--hkc-shadow-lg); }
.hkc-lead__img, .hkc-lead__media .hkc-ph{ width:100%; height:100%; object-fit:cover; }
.hkc-lead__body{ padding:24px 0 0; }
.hkc-lead__labels{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:10px; }
.hkc-lead__title{ font-size:clamp(1.9rem, 3.6vw, 2.9rem); line-height:1.08; margin:0 0 .4em; max-width:22ch; }
.hkc-lead__title a{ color:var(--hkc-dark); }
.hkc-lead__title a:hover{ color:var(--hkc-primary); }
.hkc-lead__deck{ font-size:1.1rem; color:var(--hkc-text-muted); max-width:62ch; margin-bottom:1.2em; }
.hkc-lead__actions{ display:flex; align-items:center; flex-wrap:wrap; gap:18px; }
.hkc-lead__side{ display:flex; flex-direction:column; gap:20px; padding-top:6px; }
.hkc-lead__sidetitle{ font-family:var(--hkc-font-sans); font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--hkc-text-muted); margin:0; padding-bottom:10px; border-bottom:1px solid var(--hkc-border); }
.hkc-lead__list{ display:flex; flex-direction:column; gap:18px; }
.hkc-lead__list .hkc-card--mini .hkc-card__media{ flex-basis:120px; }
.hkc-lead__list .hkc-card--mini .hkc-card__title{ font-size:1.08rem; }
.hkc-lead__start{
	display:flex; align-items:center; gap:14px;
	padding:16px 18px;
	background:var(--hkc-surface-2);
	border:1px solid var(--hkc-border);
	border-radius:var(--hkc-radius);
	color:var(--hkc-text);
	font-size:.92rem; line-height:1.4;
	margin-top:6px;
}
.hkc-lead__start:hover{ border-color:var(--hkc-primary); color:var(--hkc-text); }
.hkc-lead__start strong{ color:var(--hkc-dark); }
.hkc-lead__start-icon{ flex-shrink:0; width:40px; height:40px; border-radius:50%; background:var(--hkc-primary); color:#fff; display:inline-flex; align-items:center; justify-content:center; }
.hkc-lead__start > .hkc-icon-arrow{ margin-left:auto; color:var(--hkc-primary); }

/* --------------------------------------------------------------------------
   7. Homepage: start here (dark), trust, newsletter band
   -------------------------------------------------------------------------- */
.hkc-start{ display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:48px; align-items:center; }
.hkc-start__intro p{ color:#d3e0d6; font-size:1.05rem; max-width:48ch; }
.hkc-start__intro .hkc-btn{ margin-top:6px; }
.hkc-start__quiz{ display:flex; align-items:center; gap:8px; margin-top:18px; color:#e6c79b; font-weight:600; font-size:.92rem; }
.hkc-start__quiz:hover{ color:#fff; }
.hkc-start__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.hkc-start__item{
	display:flex; align-items:center; gap:12px;
	padding:12px 14px 12px 12px;
	background:rgba(255,255,255,.06);
	border:1px solid rgba(255,255,255,.12);
	border-radius:var(--hkc-radius);
	color:#fff;
	transition:background .2s, border-color .2s;
	height:100%;
}
.hkc-start__item:hover{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.3); color:#fff; }
.hkc-start__num{ font-family:var(--hkc-font-display); font-size:1.1rem; color:#e6c79b; min-width:2.2ch; }
.hkc-start__media{ flex:0 0 64px; aspect-ratio:1; border-radius:8px; overflow:hidden; background:rgba(255,255,255,.1); }
.hkc-start__img, .hkc-start__media .hkc-ph{ width:100%; height:100%; object-fit:cover; }
.hkc-start__text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.hkc-start__title{ font-weight:600; font-size:.95rem; line-height:1.3; }
.hkc-start__meta{ font-size:.75rem; color:#b7d0bd; }
.hkc-start__item > .hkc-icon-arrow{ margin-left:auto; opacity:.7; }

.hkc-trust__grid{ display:grid; grid-template-columns:minmax(0, 4fr) minmax(0, 7fr); gap:48px; align-items:start; }
.hkc-trust__intro p{ color:var(--hkc-text-muted); font-size:1.02rem; }
.hkc-trust__links{ display:flex; flex-wrap:wrap; align-items:center; gap:16px; margin-top:8px; }
.hkc-trust__link{ font-weight:600; font-size:.9rem; }
.hkc-trust__points{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
.hkc-trust__point{ display:flex; gap:14px; padding:18px; background:var(--hkc-surface); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); }
.hkc-trust__point h3{ font-family:var(--hkc-font-sans); font-size:1rem; margin:0 0 4px; }
.hkc-trust__point p{ margin:0; font-size:.9rem; color:var(--hkc-text-muted); line-height:1.5; }
.hkc-trust__icon{ flex-shrink:0; width:40px; height:40px; border-radius:10px; background:var(--hkc-surface-2); color:var(--hkc-primary); display:inline-flex; align-items:center; justify-content:center; }
.hkc-trust__safety{ margin:28px 0 0; padding:14px 18px; border-left:3px solid var(--hkc-accent); background:var(--hkc-surface-2); font-size:.9rem; color:var(--hkc-text-muted); border-radius:0 8px 8px 0; }
.hkc-trust-badges{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px 18px; font-size:.85rem; color:var(--hkc-text-muted); }

.hkc-nlband{ position:relative; overflow:hidden; background:var(--hkc-dark); color:#fff; padding:clamp(48px,6vw,80px) 0; }
.hkc-nlband__bg{ position:absolute; inset:0; }
.hkc-nlband__bg img{ width:100%; height:100%; object-fit:cover; }
.hkc-nlband__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(20,32,26,.92) 0%, rgba(20,32,26,.8) 55%, rgba(20,32,26,.55) 100%); }
.hkc-nlband__inner{ position:relative; display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:40px; align-items:center; }
.hkc-nlband__title{ color:#fff; font-size:clamp(1.8rem, 3vw, 2.5rem); margin:0 0 .4em; }
.hkc-nlband__sub{ color:#d3e0d6; font-size:1.05rem; margin:0; max-width:52ch; }
.hkc-nlband__tiny{ display:block; margin-top:10px; font-size:.78rem; color:rgba(255,255,255,.65); }
.hkc-nlband__tiny a{ color:#e6c79b; }

/* Newsletter forms */
.hkc-nl{ display:flex; gap:8px; }
.hkc-nl input{
	flex:1; min-width:0;
	padding:.85em 1em;
	border-radius:var(--hkc-radius-sm);
	border:1.5px solid var(--hkc-border-strong);
	background:var(--hkc-surface);
	color:var(--hkc-text);
	font-size:1rem;
}
.hkc-nl input:focus{ outline:none; border-color:var(--hkc-primary); box-shadow:0 0 0 3px rgba(27,67,50,.12); }
.hkc-nl--band input{ border-color:transparent; }
.hkc-nl--band input:focus{ box-shadow:0 0 0 3px rgba(201,119,43,.35); border-color:var(--hkc-accent); }
.hkc-nl--footer input{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#fff; }
.hkc-nl--footer input::placeholder{ color:rgba(255,255,255,.5); }
.hkc-nl--card, .hkc-nl--footer{ flex-direction:column; }
.hkc-nl__msg{ margin:8px 0 0; font-size:.88rem; min-height:1.2em; color:var(--hkc-tertiary); }
.hkc-nl__msg.is-error{ color:#b23a2c; }
.hkc-nlband .hkc-nl__msg{ color:#e6c79b; }
.hkc-footer .hkc-nl__msg{ color:#b7d0bd; }

/* --------------------------------------------------------------------------
   8. Article template
   -------------------------------------------------------------------------- */
.hkc-crumbs{ font-size:.82rem; color:var(--hkc-text-muted); margin-bottom:16px; }
.hkc-crumbs ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.hkc-crumbs a{ color:var(--hkc-text-muted); }
.hkc-crumbs a:hover{ color:var(--hkc-primary); }
.hkc-crumb__sep{ margin:0 6px; opacity:.6; }
.hkc-crumbs li[aria-current] span{ color:var(--hkc-text); }

.hkc-article__head{ padding:clamp(24px,3vw,40px) 0 0; }
.hkc-article__headinner{ max-width:860px; }
.hkc-article__title{ font-size:clamp(2rem, 4.4vw, 3.2rem); line-height:1.08; margin:.35em 0 .35em; }
.hkc-article__deck{ font-size:clamp(1.05rem, 1.5vw, 1.25rem); color:var(--hkc-text-muted); line-height:1.5; margin:0 0 1.2em; max-width:66ch; }
.hkc-article__bylinerow{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; padding:16px 0; border-top:1px solid var(--hkc-border); border-bottom:1px solid var(--hkc-border); }
.hkc-byline{ display:flex; align-items:center; gap:12px; }
.hkc-byline__avatar{ flex-shrink:0; border-radius:50%; overflow:hidden; }
.hkc-byline__text{ display:flex; flex-direction:column; gap:2px; font-size:.85rem; }
.hkc-byline__author{ font-weight:700; color:var(--hkc-dark); }
.hkc-byline__dates{ color:var(--hkc-text-muted); display:flex; flex-wrap:wrap; align-items:center; }
.hkc-share{ display:flex; align-items:center; gap:6px; }
.hkc-share__label{ font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--hkc-text-muted); margin-right:6px; }
.hkc-share__btn{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; border:1px solid var(--hkc-border-strong); background:var(--hkc-surface); color:var(--hkc-dark); }
.hkc-share__btn:hover{ background:var(--hkc-primary); border-color:var(--hkc-primary); color:#fff; }
.hkc-share__btn.is-copied{ background:var(--hkc-tertiary); border-color:var(--hkc-tertiary); color:#fff; }
.hkc-article__mediawrap{ margin-top:28px; }
.hkc-article__media{ margin:0; }
.hkc-article__img{ width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:var(--hkc-radius-lg); }
.hkc-credit{ margin-top:8px; font-size:.76rem; color:var(--hkc-text-muted); text-align:right; }
.hkc-credit a{ color:var(--hkc-text-muted); text-decoration:underline; text-decoration-color:var(--hkc-border-strong); }

.hkc-article__layout{ display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:56px; padding-top:clamp(28px,4vw,48px); padding-bottom:clamp(28px,4vw,48px); align-items:start; }
.hkc-article__main{ max-width:760px; min-width:0; }
.hkc-article__side{ min-width:0; }
.hkc-sticky{ position:sticky; top:calc(var(--hkc-header-h) + 20px); display:flex; flex-direction:column; gap:22px; }
.hkc-article__foot{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:32px 0; padding-top:20px; border-top:1px solid var(--hkc-border); }

/* Prose */
.hkc-prose{ font-size:1.08rem; line-height:1.78; }
.hkc-prose > *:first-child{ margin-top:0; }
.hkc-prose p, .hkc-prose ul, .hkc-prose ol, .hkc-prose blockquote, .hkc-prose figure{ margin:0 0 1.35em; }
.hkc-prose h2{ font-size:clamp(1.55rem, 2.4vw, 1.95rem); margin:1.7em 0 .6em; scroll-margin-top:calc(var(--hkc-header-h) + 16px); }
.hkc-prose h3{ font-size:1.3rem; margin:1.5em 0 .5em; scroll-margin-top:calc(var(--hkc-header-h) + 16px); }
.hkc-prose h4{ font-size:1.1rem; margin:1.3em 0 .4em; }
.hkc-prose ul, .hkc-prose ol{ padding-left:1.3em; }
.hkc-prose li{ margin-bottom:.45em; }
.hkc-prose li::marker{ color:var(--hkc-accent); }
.hkc-prose a{ color:var(--hkc-secondary); text-decoration:underline; text-decoration-color:rgba(45,106,79,.35); text-underline-offset:3px; }
.hkc-prose a:hover{ color:var(--hkc-primary); text-decoration-color:currentColor; }
.hkc-prose strong{ color:var(--hkc-dark); }
.hkc-prose blockquote{ padding:1em 1.4em; background:var(--hkc-surface-2); border-left:4px solid var(--hkc-accent); border-radius:0 8px 8px 0; color:var(--hkc-text-muted); font-style:italic; }
.hkc-prose img{ border-radius:var(--hkc-radius); }
.hkc-prose figcaption{ font-size:.85rem; color:var(--hkc-text-muted); margin-top:8px; }
.hkc-prose hr{ border:none; border-top:1px solid var(--hkc-border); margin:2.4em 0; }
.hkc-prose code{ font-size:.9em; background:var(--hkc-surface-2); padding:.1em .35em; border-radius:4px; }
.hkc-table-wrap{ overflow-x:auto; margin:0 0 1.5em; -webkit-overflow-scrolling:touch; border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); }
.hkc-prose table{ border-collapse:collapse; width:100%; font-size:.95rem; min-width:520px; }
.hkc-prose th, .hkc-prose td{ text-align:left; padding:.75em .9em; border-bottom:1px solid var(--hkc-border); vertical-align:top; }
.hkc-prose th{ background:var(--hkc-surface-2); font-weight:700; font-size:.85rem; letter-spacing:.04em; }
.hkc-prose tr:last-child td{ border-bottom:none; }
.hkc-prose .hkc-amazon-link{ text-decoration:none; }
.hkc-prose .hkc-internal-link{ font-weight:600; }

/* Table of contents */
.hkc-toc{ margin:0 0 32px; padding:18px 22px; background:var(--hkc-surface); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); }
.hkc-toc__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.hkc-toc__title{ font-size:.75rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-text-muted); }
.hkc-toc__list{ margin:0; padding:0 0 0 1.2em; display:flex; flex-direction:column; gap:6px; font-size:.95rem; }
.hkc-toc__list li::marker{ color:var(--hkc-accent); font-weight:700; }
.hkc-toc__list a{ color:var(--hkc-text); }
.hkc-toc__list a:hover, .hkc-toc__list a.is-active{ color:var(--hkc-primary); font-weight:600; }
.hkc-article__side .hkc-toc{ margin:0; }
.hkc-article__side .hkc-toc__list{ font-size:.88rem; }

/* Editorial boxes */
.hkc-box{ margin:1.6em 0; border-radius:var(--hkc-radius); border:1px solid var(--hkc-border); background:var(--hkc-surface); overflow:hidden; }
.hkc-box__head{ display:flex; align-items:center; gap:8px; padding:12px 18px; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.hkc-box__body{ padding:14px 18px 4px; font-size:1rem; }
.hkc-box__body > *:last-child{ margin-bottom:14px; }
.hkc-box--answer{ border-color:#cfe0d4; }
.hkc-box--answer .hkc-box__head{ background:#e3efe6; color:#1b4332; }
.hkc-box--takeaways .hkc-box__head{ background:var(--hkc-surface-2); color:var(--hkc-dark); }
.hkc-box--tip{ border-color:#d9e6c9; }
.hkc-box--tip .hkc-box__head{ background:#ecf3e1; color:#3f5a1f; }
.hkc-box--warning{ border-color:#f0d3b2; }
.hkc-box--warning .hkc-box__head{ background:#faeedd; color:#8a4f12; }
.hkc-box--note .hkc-box__head{ background:#eef0f4; color:#374151; }

.hkc-proscons{ margin:1.6em 0; }
.hkc-proscons__title{ font-family:var(--hkc-font-sans); font-size:1rem; margin-bottom:.6em; }
.hkc-proscons__grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; }
.hkc-proscons__col{ padding:16px 18px; border-radius:var(--hkc-radius); border:1px solid var(--hkc-border); background:var(--hkc-surface); }
.hkc-proscons__col h5{ font-family:var(--hkc-font-sans); font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 .6em; }
.hkc-proscons__col--pros h5{ color:#1b4332; }
.hkc-proscons__col--cons h5{ color:#8a2f22; }
.hkc-proscons__col ul{ margin:0; padding-left:1.1em; font-size:.95rem; }
.hkc-proscons__col--pros li::marker{ color:#2d6a4f; }
.hkc-proscons__col--cons li::marker{ color:#b23a2c; }

.hkc-cta{ display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin:1.6em 0; padding:18px 20px; border-radius:var(--hkc-radius); background:var(--hkc-surface-2); border:1px solid var(--hkc-border); }
.hkc-cta__title{ font-weight:700; color:var(--hkc-dark); flex:1 1 220px; }
.hkc-cta__note{ font-size:.78rem; color:var(--hkc-text-muted); flex-basis:100%; }

.hkc-guidelink{ display:flex; align-items:center; gap:14px; margin:1.6em 0; padding:12px 16px 12px 12px; border-radius:var(--hkc-radius); border:1px solid var(--hkc-border); background:var(--hkc-surface); color:var(--hkc-text); text-decoration:none !important; }
.hkc-guidelink:hover{ border-color:var(--hkc-primary); }
.hkc-guidelink__img{ width:96px; aspect-ratio:3/2; object-fit:cover; border-radius:6px; flex-shrink:0; }
.hkc-guidelink__text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.hkc-guidelink__label{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-text-muted); }
.hkc-guidelink__title{ font-weight:600; color:var(--hkc-dark); line-height:1.3; }
.hkc-guidelink > .hkc-icon-arrow{ margin-left:auto; color:var(--hkc-primary); }

.hkc-disclosure{ display:flex; align-items:flex-start; gap:8px; margin:0 0 24px; padding:12px 16px; border-radius:var(--hkc-radius-sm); background:var(--hkc-surface-2); font-size:.85rem; color:var(--hkc-text-muted); line-height:1.5; }
.hkc-disclosure .hkc-icon{ margin-top:2px; }
.hkc-disclosure--compact{ padding:10px 14px; font-size:.8rem; }
.hkc-section .hkc-disclosure--compact{ margin:24px 0 0; }

/* Tool CTA inside articles */
.hkc-toolcta{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr); gap:24px; align-items:center; margin:40px 0; padding:26px; border-radius:var(--hkc-radius-lg); background:var(--hkc-surface-2); border:1px solid var(--hkc-border); }
.hkc-toolcta__text h3{ font-size:1.35rem; margin:.2em 0 .3em; }
.hkc-toolcta__text p{ margin:0; color:var(--hkc-text-muted); font-size:.95rem; }
.hkc-toolcta__tools{ display:flex; flex-direction:column; gap:10px; }

/* Author box */
.hkc-authorbox{ display:flex; gap:20px; margin:36px 0; padding:24px; border-radius:var(--hkc-radius-lg); background:var(--hkc-surface); border:1px solid var(--hkc-border); }
.hkc-authorbox__avatar{ flex-shrink:0; }
.hkc-authorbox__avatar img{ border-radius:50%; }
.hkc-authorbox__name{ font-size:1.25rem; margin:0 0 .4em; }
.hkc-authorbox__body p{ margin:0 0 .8em; color:var(--hkc-text-muted); font-size:.95rem; line-height:1.6; }
.hkc-authorbox__links{ display:flex; flex-wrap:wrap; gap:14px; font-size:.85rem; font-weight:600; }

/* Prev / next */
.hkc-postnav{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; margin:32px 0; }
.hkc-postnav__link{ display:flex; flex-direction:column; gap:4px; padding:18px 20px; border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); background:var(--hkc-surface); color:var(--hkc-text); }
.hkc-postnav__link:hover{ border-color:var(--hkc-primary); }
.hkc-postnav__link--next{ text-align:right; align-items:flex-end; }
.hkc-postnav__label{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-text-muted); }
.hkc-postnav__title{ font-family:var(--hkc-font-display); font-weight:600; color:var(--hkc-dark); line-height:1.3; }

/* --------------------------------------------------------------------------
   9. Sidebar
   -------------------------------------------------------------------------- */
.hkc-sidebar{ display:flex; flex-direction:column; gap:22px; }
.hkc-widget{ padding:20px 22px; background:var(--hkc-surface); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); }
.hkc-widget__title{ font-family:var(--hkc-font-sans); font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hkc-text-muted); margin:0 0 14px; }
.hkc-widget p{ font-size:.92rem; color:var(--hkc-text-muted); }
.hkc-widget--nl{ background:var(--hkc-surface-2); }
.hkc-ranklist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.hkc-ranklist li{ display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px dashed var(--hkc-border); }
.hkc-ranklist li:last-child{ border-bottom:none; }
.hkc-ranklist__num{ font-family:var(--hkc-font-display); font-size:1.3rem; line-height:1.1; color:var(--hkc-accent); min-width:1.6ch; }
.hkc-ranklist a{ color:var(--hkc-dark); font-weight:600; font-size:.95rem; line-height:1.35; }
.hkc-ranklist a:hover{ color:var(--hkc-primary); }
.hkc-linklist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.hkc-linklist a{ display:flex; align-items:center; gap:10px; padding:8px 6px; border-radius:6px; color:var(--hkc-text); font-size:.93rem; font-weight:500; }
.hkc-linklist a:hover{ background:var(--hkc-surface-2); color:var(--hkc-primary); }
.hkc-linklist .hkc-icon{ color:var(--hkc-tertiary); }
.hkc-linklist__all a{ font-weight:700; color:var(--hkc-primary); }

/* --------------------------------------------------------------------------
   10. Archive / section headers, pagination, filters
   -------------------------------------------------------------------------- */
.hkc-sectionhead{ position:relative; padding:clamp(28px,4vw,48px) 0 clamp(20px,3vw,32px); }
.hkc-sectionhead__inner{ position:relative; max-width:860px; }
.hkc-sectionhead__title{ font-size:clamp(2rem, 4.4vw, 3.2rem); margin:.15em 0 .3em; }
.hkc-sectionhead__desc{ font-size:1.1rem; color:var(--hkc-text-muted); max-width:62ch; margin:0 0 .6em; }
.hkc-sectionhead__count{ font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--hkc-tertiary); margin:0; }
.hkc-sectionhead--image{ color:#fff; padding:clamp(48px,7vw,96px) 0 clamp(32px,4vw,56px); margin-bottom:8px; }
.hkc-sectionhead__bg{ position:absolute; inset:0; overflow:hidden; }
.hkc-sectionhead__bg img{ width:100%; height:100%; object-fit:cover; }
.hkc-sectionhead__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,32,26,.55), rgba(20,32,26,.85)); }
.hkc-sectionhead--image .hkc-sectionhead__title, .hkc-sectionhead--image .hkc-sectionhead__desc{ color:#fff; }
.hkc-sectionhead--image .hkc-sectionhead__desc{ color:rgba(255,255,255,.85); }
.hkc-sectionhead--image .hkc-eyebrow{ color:#e6c79b; }
.hkc-sectionhead--image .hkc-sectionhead__count{ color:#b7d0bd; }
.hkc-sectionhead--image .hkc-crumbs, .hkc-sectionhead--image .hkc-crumbs a, .hkc-sectionhead--image .hkc-crumbs li[aria-current] span{ color:rgba(255,255,255,.8); }
.hkc-sectionhead--search .hkc-search__form{ margin-top:18px; }
.hkc-filters{ display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 14px; }

.hkc-archive{ padding-top:clamp(20px,3vw,36px); padding-bottom:clamp(40px,5vw,64px); }
.hkc-archive__lead{ margin-bottom:40px; padding-bottom:40px; border-bottom:1px solid var(--hkc-border); }
.hkc-archive__subtitle{ font-family:var(--hkc-font-sans); font-size:.78rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--hkc-text-muted); margin:0 0 20px; }
.hkc-archive__topics{ margin-top:48px; padding-top:32px; border-top:1px solid var(--hkc-border); }
.hkc-empty{ color:var(--hkc-text-muted); font-size:1.05rem; }
.hkc-empty ul{ margin-top:12px; }

.hkc-pagination{ margin:40px 0 0; display:flex; justify-content:center; }
.hkc-pagination .nav-links{ display:flex; flex-wrap:wrap; gap:6px; }
.hkc-pagination .page-numbers{ display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 14px; border-radius:var(--hkc-radius-sm); border:1px solid var(--hkc-border-strong); background:var(--hkc-surface); color:var(--hkc-text); font-weight:600; font-size:.9rem; }
.hkc-pagination .page-numbers:hover{ border-color:var(--hkc-primary); color:var(--hkc-primary); }
.hkc-pagination .page-numbers.current{ background:var(--hkc-primary); color:#fff; border-color:var(--hkc-primary); }
.hkc-pagination .page-numbers.dots{ border:none; background:none; }

/* --------------------------------------------------------------------------
   11. Pages + tool pages
   -------------------------------------------------------------------------- */
.hkc-pagehero{ padding:clamp(24px,3vw,40px) 0 0; }
.hkc-pagehero__inner{ max-width:860px; }
.hkc-pagehero__title{ font-size:clamp(2rem, 4.2vw, 3rem); margin:.15em 0 .3em; }
.hkc-pagehero__deck{ font-size:1.12rem; color:var(--hkc-text-muted); max-width:64ch; margin:0 0 .8em; }
.hkc-pagehero__note{ font-size:.85rem; color:var(--hkc-text-muted); margin:0 0 1em; padding-left:12px; border-left:3px solid var(--hkc-accent); }
.hkc-pagehero__media{ margin:24px 0 0; }
.hkc-pagehero__img{ width:100%; aspect-ratio:21/9; object-fit:cover; border-radius:var(--hkc-radius-lg); }
.hkc-page__layout{ padding-top:clamp(24px,3vw,40px); padding-bottom:clamp(40px,5vw,64px); }
.hkc-page__main{ max-width:760px; }
.hkc-page__updated{ margin-top:32px; font-size:.82rem; color:var(--hkc-text-muted); }
.hkc-hub .hkc-page__layout{ padding-top:0; }
.hkc-toolpage__body{ padding-top:clamp(20px,3vw,36px); padding-bottom:clamp(24px,3vw,40px); }
.hkc-toolpage__body > .hkc-section{ padding:0; }
.hkc-toolpage__body .hkc-section-heading{ display:none; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.hkc-footer{ margin-top:clamp(40px,6vw,72px); background:var(--hkc-dark); color:#c9d8cd; padding:clamp(40px,5vw,64px) 0 24px; font-size:.92rem; }
.hkc-footer a{ color:#dfe9e1; }
.hkc-footer a:hover{ color:#fff; }
.hkc-footer__top{ display:grid; grid-template-columns:minmax(0, 1.4fr) minmax(0, 1fr); gap:48px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.12); }
.hkc-wordmark--footer .hkc-wordmark__name{ color:#fff; }
.hkc-footer__about{ max-width:52ch; margin:16px 0; color:#b7c8bb; }
.hkc-footer__social{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.hkc-footer__social a{ display:inline-block; padding:.35em .8em; border:1px solid rgba(255,255,255,.2); border-radius:999px; font-size:.82rem; font-weight:600; }
.hkc-footer__social a:hover{ border-color:#fff; }
.hkc-footer__title{ font-family:var(--hkc-font-sans); font-size:.76rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#fff; margin:0 0 14px; }
.hkc-footer__newsletter p{ color:#b7c8bb; margin:0 0 12px; }
.hkc-footer__grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:32px; padding:36px 0; }
.hkc-footer__links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.hkc-footer__links a{ color:#c9d8cd; }
.hkc-footer__disclaimer{ padding:20px 0; border-top:1px solid rgba(255,255,255,.12); font-size:.8rem; color:#93a89a; }
.hkc-footer__disclaimer p{ margin:0 0 .6em; max-width:96ch; }
.hkc-footer__disclaimer strong{ color:#c9d8cd; }
.hkc-footer__bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); font-size:.82rem; color:#93a89a; }
.hkc-footer__copy{ margin:0; }
.hkc-footer__top-link{ font-weight:600; }

/* --------------------------------------------------------------------------
   13. Shared base classes used by the interactive tool partials (legacy names)
   -------------------------------------------------------------------------- */
.hkc-section-heading{ text-align:center; max-width:760px; margin:0 auto 40px; }
.hkc-section-heading .hkc-eyebrow{ margin-bottom:8px; }
.hkc-section-title{ font-size:clamp(1.6rem, 3vw, 2.3rem); margin:0 0 .35em; }
.hkc-section-sub{ color:var(--hkc-text-muted); font-size:1.02rem; margin:0; }
.hkc-section-subtitle{ font-family:var(--hkc-font-display); font-size:1.25rem; margin:32px 0 16px; }
.hkc-glass-card{ background:var(--hkc-surface); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius-lg); box-shadow:var(--hkc-shadow-sm); position:relative; overflow:hidden; }
.hkc-tool{ padding:28px clamp(18px, 3vw, 36px); }
.hkc-tool-section{ padding-top:0; }
.hkc-field{ display:flex; flex-direction:column; gap:6px; }
.hkc-field-label{ font-size:.74rem; letter-spacing:.12em; text-transform:uppercase; color:var(--hkc-text-muted); font-weight:700; }
.hkc-field input, .hkc-field select, .hkc-field textarea{ width:100%; padding:.8em 1em; border-radius:var(--hkc-radius-sm); border:1.5px solid var(--hkc-border-strong); background:var(--hkc-surface); color:var(--hkc-text); font-size:1rem; }
.hkc-field input:focus, .hkc-field select:focus, .hkc-field textarea:focus{ outline:none; border-color:var(--hkc-primary); box-shadow:0 0 0 3px rgba(27,67,50,.12); }
.hkc-field input[type="range"]{ padding:0; background:transparent; border:none; }
.hkc-tool-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px 22px; margin-bottom:22px; }
.hkc-tool-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.hkc-tool-result{ margin-top:28px; padding-top:28px; border-top:1px solid var(--hkc-border); }
.hkc-tool-result-header{ text-align:center; margin-bottom:24px; }
.hkc-tool-result-header h3{ font-size:1.4rem; margin:.4em 0 .2em; }
.hkc-tool-result-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin-bottom:24px; }
.hkc-result-card{ background:var(--hkc-surface-2); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); padding:18px; }
.hkc-result-card-label{ display:block; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--hkc-text-muted); margin-bottom:6px; font-weight:700; }
.hkc-result-card-value{ font-family:var(--hkc-font-display); font-size:1.5rem; color:var(--hkc-primary); }
.hkc-result-card-list{ margin:0; padding:0 0 0 1.1em; font-size:.92rem; color:var(--hkc-text-muted); }
.hkc-tool-result-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.hkc-tool-disclaimer{ font-size:.82rem; color:var(--hkc-text-muted); margin-top:16px; text-align:center; }
.hkc-bar{ display:inline-block; width:80px; height:8px; border-radius:999px; background:var(--hkc-surface-2); position:relative; overflow:hidden; vertical-align:middle; }
.hkc-bar span{ display:block; height:100%; border-radius:999px; background:linear-gradient(90deg, var(--hkc-tertiary), var(--hkc-accent)); }
.hkc-faq-list{ max-width:780px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.hkc-faq-item{ background:var(--hkc-surface); border:1px solid var(--hkc-border); border-radius:var(--hkc-radius); overflow:hidden; }
.hkc-faq-item summary{ list-style:none; cursor:pointer; padding:18px 22px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-family:var(--hkc-font-display); font-weight:600; font-size:1.05rem; }
.hkc-faq-item summary::-webkit-details-marker{ display:none; }
.hkc-faq-toggle{ flex-shrink:0; width:28px; height:28px; border-radius:50%; background:var(--hkc-surface-2); display:inline-flex; align-items:center; justify-content:center; transition:transform .2s; }
.hkc-faq-item[open] .hkc-faq-toggle{ transform:rotate(45deg); }
.hkc-faq-body{ padding:0 22px 18px; color:var(--hkc-text-muted); }
.hkc-amazon-link{ display:inline-flex; align-items:center; gap:.5em; font-weight:700; color:#fff; background:var(--hkc-accent); padding:.65em 1.1em; border-radius:var(--hkc-radius-sm); font-size:.9rem; text-decoration:none; transition:background .2s, transform .15s; }
.hkc-amazon-link:hover{ background:#b3671f; color:#fff; }
.hkc-amazon-link-block{ display:inline-flex; margin-top:auto; }
.hkc-amazon-link-cta{ padding:.8em 1.3em; }
.hkc-amazon-link-small{ padding:.4em .8em; font-size:.78rem; }
.hkc-amazon-arrow{ transition:transform .2s; }
.hkc-amazon-link:hover .hkc-amazon-arrow{ transform:translateX(3px); }
.hkc-affiliate-disclosure{ max-width:760px; margin:0 auto 28px; background:var(--hkc-surface-2); border:1px dashed var(--hkc-border-strong); border-radius:var(--hkc-radius-sm); padding:.8em 1.1em; font-size:.85rem; color:var(--hkc-text-muted); text-align:center; }
.hkc-product-thumb--image{ display:block; aspect-ratio:4/3; overflow:hidden; }
.hkc-product-thumb--image img{ width:100%; height:100%; object-fit:cover; }
.hkc-product-thumb{ display:flex; align-items:center; justify-content:center; color:var(--hkc-tertiary); }
.hkc-archetype-detail-header h3{ margin:0 0 .2em; }
.hkc-archetype-detail-gearlist{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px; }
.hkc-tool-related-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:12px; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px){
	.hkc-grid--4{ grid-template-columns:repeat(3, minmax(0,1fr)); }
	.hkc-article__layout{ grid-template-columns:minmax(0,1fr) 280px; gap:40px; }
}

@media (max-width: 960px){
	:root{ --hkc-header-h:64px; }
	.hkc-header__burger{ display:inline-flex; }
	.hkc-header__search span{ display:none; }
	.hkc-header__search{ padding:8px; border:none; }
	.hkc-header__cta{ display:none; }
	.hkc-wordmark__tag{ display:none; }
	.hkc-nav{
		position:fixed; top:var(--hkc-header-h); left:0; right:0; bottom:0;
		display:block;
		background:var(--hkc-surface);
		padding:12px 20px 40px;
		overflow-y:auto;
		transform:translateX(-100%);
		transition:transform .25s ease;
		z-index:190;
	}
	.hkc-nav.is-open{ transform:translateX(0); }
	.hkc-menu{ flex-direction:column; align-items:stretch; gap:0; }
	.hkc-menu > li{ border-bottom:1px solid var(--hkc-border); display:flex; flex-wrap:wrap; align-items:center; }
	.hkc-menu > li > a{ flex:1; padding:14px 4px; font-size:1.05rem; }
	.hkc-submenu-toggle{ display:inline-flex; }
	.hkc-submenu-toggle .hkc-icon{ transition:transform .2s; }
	.hkc-menu > li.is-open .hkc-submenu-toggle .hkc-icon{ transform:rotate(180deg); }
	.hkc-menu .sub-menu{
		position:static; display:none; opacity:1; visibility:visible; transform:none;
		flex-basis:100%; min-width:0;
		border:none; box-shadow:none; background:var(--hkc-surface-2);
		padding:6px 8px 10px; margin:0 0 10px; border-radius:8px;
	}
	.hkc-menu li.is-open > .sub-menu{ display:block; }
	.hkc-nav__mobile-extra{ display:flex; margin-top:20px; }
	.hkc-nav__mobile-extra .hkc-btn{ width:100%; }

	.hkc-lead__grid{ grid-template-columns:1fr; gap:28px; }
	.hkc-grid--3, .hkc-grid--4, .hkc-grid--feature{ grid-template-columns:repeat(2, minmax(0,1fr)); }
	.hkc-grid--feature .hkc-grid__feature{ grid-column:span 2; grid-row:auto; }
	.hkc-start, .hkc-trust__grid, .hkc-nlband__inner, .hkc-footer__top{ grid-template-columns:1fr; gap:28px; }
	.hkc-article__layout{ grid-template-columns:1fr; gap:36px; }
	.hkc-sticky{ position:static; }
	.hkc-article__side .hkc-toc{ display:none; }
	.hkc-footer__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
	.hkc-toolcta{ grid-template-columns:1fr; }
}

@media (max-width: 640px){
	:root{ --hkc-gutter:18px; --hkc-section-y:44px; }
	.hkc-grid{ gap:24px 18px; }
	.hkc-grid--2, .hkc-grid--3, .hkc-grid--4, .hkc-grid--feature, .hkc-grid--topics{ grid-template-columns:1fr; }
	.hkc-grid--topics{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
	.hkc-grid--feature .hkc-grid__feature{ grid-column:auto; }
	.hkc-topic{ aspect-ratio:1; }
	.hkc-topic__desc{ display:none; }
	.hkc-topic__name{ font-size:1.05rem; }
	.hkc-topic__body{ padding:12px; }
	.hkc-section__head{ flex-direction:column; align-items:flex-start; gap:10px; }
	.hkc-card--row{ flex-direction:column; align-items:stretch; gap:14px; }
	.hkc-card--row .hkc-card__media{ flex-basis:auto; }
	.hkc-card--row .hkc-card__body{ padding-top:0; }
	.hkc-start__list{ grid-template-columns:1fr; }
	.hkc-trust__points{ grid-template-columns:1fr; }
	.hkc-proscons__grid{ grid-template-columns:1fr; }
	.hkc-postnav{ grid-template-columns:1fr; }
	.hkc-postnav__link--next{ text-align:left; align-items:flex-start; }
	.hkc-nl:not(.hkc-nl--card):not(.hkc-nl--footer){ flex-direction:column; }
	.hkc-article__bylinerow{ flex-direction:column; align-items:flex-start; }
	.hkc-article__img, .hkc-pagehero__img{ border-radius:var(--hkc-radius); aspect-ratio:16/10; }
	.hkc-authorbox{ flex-direction:column; gap:12px; padding:20px; }
	.hkc-footer__grid{ grid-template-columns:1fr; gap:24px; }
	.hkc-footer__bottom{ flex-direction:column; align-items:flex-start; }
	.hkc-lead__title{ font-size:1.75rem; }
	.hkc-lead__actions .hkc-btn{ width:100%; }
	.hkc-search__form{ flex-wrap:wrap; padding:8px; }
	.hkc-search__form .hkc-icon{ display:none; }
	.hkc-search__form input{ flex-basis:100%; }
	.hkc-search__form .hkc-btn{ width:100%; }
	.hkc-prose{ font-size:1.02rem; }
	.hkc-toc{ padding:14px 16px; }
	.hkc-card--number .hkc-card__media{ flex-basis:96px; }
}

@media (max-width: 380px){
	.hkc-grid--topics{ grid-template-columns:1fr; }
	.hkc-topic{ aspect-ratio:16/10; }
	.hkc-wordmark__name{ font-size:1.15rem; }
	.hkc-header__inner{ gap:10px; }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */
@media print{
	.hkc-header, .hkc-footer, .hkc-progress, .hkc-share, .hkc-toolcta, .hkc-nlband, .hkc-article__side, .hkc-postnav{ display:none !important; }
	body{ background:#fff; color:#000; }
	.hkc-article__layout{ display:block; }
	.hkc-prose a{ color:#000; }
}
