/* ═══════════════════════════════════════════════════
   SITES-2 NETWORK THEME — v2
   Clean utility-focused layout: inline nav, horizontal
   cards, left-TOC article pages, no right sidebar.
   Fonts: Outfit (headings) + Inter (body)
════════════════════════════════════════════════════ */

/* ── VARIABLES (overridden by PHP theme injection) ── */
:root {
  --cream:    #FFFFFF;
  --cream-2:  #F8FAFC;
  --cream-3:  #F1F5F9;
  --ink:      #0F172A;
  --ink-2:    #334155;
  --ink-3:    #64748B;
  --accent:   #2563EB;
  --accent-2: #3B82F6;
  --divider:  #E2E8F0;

  --font-sans:    'Inter', system-ui, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-size-article: 17px;
  --font-size-card:    14px;

  --container: 1200px;
  --radius:    6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.08);
  --transition: 200ms ease;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--cream); color: var(--ink); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; padding: 0; font: inherit; }

/* ── CONTAINER ──────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
}

/* ══════════════════════════════════════════════════
   HEADER — inline logo + nav
   OLD: stacked date bar + centered logo + nav row
   NEW: single bar, logo-left + nav-right inline
══════════════════════════════════════════════════ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 1px 0 var(--divider);
}
/* Accent bar at very bottom of sticky header */
.site-header::after {
  content: '';
  display: block;
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.2s;
}
body.scrolled .site-header::after { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 32px;
  text-decoration: none;
}
.logo-p1 { color: var(--ink); }
.logo-p2 { color: var(--accent); }
.site-logo:hover .logo-p1 { color: var(--ink-2); }
.site-logo:hover .logo-p2 { color: var(--accent-2); }

/* Fallback when no split (single-word names) */
.site-logo:not(:has(.logo-p1)) { color: var(--accent); }

.main-nav { display: flex; flex: 1; }
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; overflow: hidden; }
.main-nav a {
  display: block;
  padding: 6px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { background: var(--cream-3); color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle:hover { background: var(--cream-3); }
.bar { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; display: block; transition: transform var(--transition), opacity var(--transition); }
.nav-open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .bar:nth-child(2) { opacity: 0; }
.nav-open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  /* Fix mobile layout: logo left, toggle right */
  .header-inner { justify-content: space-between; }
  .nav-toggle { display: flex; margin-left: 0; }
  .main-nav {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--divider);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow);
    z-index: 999;
    flex: none; /* prevent flex:1 interfering when toggled back */
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; overflow: visible; }
  .main-nav a { padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--divider); font-size: 15px; width: 100%; }
  .main-nav ul li:last-child a { border-bottom: none; }
  .site-header { position: relative; }
}

/* ══════════════════════════════════════════════════
   CATEGORY STRIP (homepage only)
══════════════════════════════════════════════════ */
.cat-strip {
  background: var(--cream-2);
  border-bottom: 1px solid var(--divider);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-strip__inner {
  display: flex;
  gap: 4px;
  padding: 10px 24px;
  white-space: nowrap;
  max-width: var(--container);
  margin: 0 auto;
}
.cat-strip__item {
  display: inline-block;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--divider);
  transition: all var(--transition);
}
.cat-strip__item:hover { background: var(--cream-3); color: var(--ink); }
.cat-strip__item--all { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Text-only hero fallback (no featured article) ─ */
.hero-text-section {
  background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--accent) 30%, var(--ink)) 100%);
  padding: 64px 0;
}
.hero-text-inner { max-width: 680px; }
.hero-text-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 12px;
}
.hero-text-title {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: #fff; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px;
}
.hero-text-desc { font-size: 17px; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ── Empty state (no articles yet) ─────────────── */
.home-empty {
  padding: 72px 0;
  text-align: center;
}
.home-empty__icon { font-size: 40px; margin-bottom: 16px; }
.home-empty__title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.home-empty__sub { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.home-empty__cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ══════════════════════════════════════════════════
   HERO — full-width overlay (single featured)
   OLD: main-60% + secondary-40% side by side
   NEW: full-width image, gradient overlay, text bottom
══════════════════════════════════════════════════ */
.hero-section { position: relative; background: var(--ink); }
.hero-link { display: block; position: relative; min-height: 420px; overflow: hidden; text-decoration: none; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.3) 55%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; padding: 280px 0 52px; }
.hero-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px); font-weight: 800;
  color: #fff; line-height: 1.15;
  max-width: 700px; margin-bottom: 12px;
}
.hero-excerpt { font-size: 16px; color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 16px; }
.hero-meta { font-size: 13px; color: rgba(255,255,255,.65); }
.hero-meta .sep { margin: 0 6px; }

@media (max-width: 640px) {
  .hero-link { min-height: 320px; }
  .hero-content { padding: 200px 0 36px; }
}

/* ══════════════════════════════════════════════════
   ARTICLE CARDS — horizontal layout
   OLD: image on top, text below (vertical card)
   NEW: image left (square), text right
══════════════════════════════════════════════════ */
.article-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
  border-left: 3px solid transparent;
  padding-left: 0;
  transition: border-color var(--transition), padding-left var(--transition);
}
.article-card:last-child { border-bottom: none; }
.article-card:hover {
  border-left-color: var(--accent);
  padding-left: 12px;
}

.card-img-link {
  flex: 0 0 160px;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-3);
}
.card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.article-card:hover .card-img-link img { transform: scale(1.04); }

.card-body { flex: 1; min-width: 0; }
.card-cat {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.card-cat:hover { color: var(--accent-2); }
.card-title {
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em;
  margin-bottom: 6px;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
  font-size: var(--font-size-card);
  color: var(--ink-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 8px;
}
.card-meta { font-size: 12px; color: var(--ink-3); }
.card-meta .sep { margin: 0 5px; }

.card-compact .card-img-link { flex: 0 0 80px; }
.card-compact .card-excerpt { display: none; }
.card-compact .card-title { font-size: 14px; }

@media (max-width: 480px) {
  .card-img-link { flex: 0 0 100px; }
  .card-excerpt { display: none; }
}

/* ── Card list wrappers ─────────────────────────── */
.card-list { display: flex; flex-direction: column; }
.card-list--3col {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card-list--3col .article-card {
  flex-direction: column; padding: 0; border-bottom: none;
}
.card-list--3col .card-img-link { flex: none; width: 100%; aspect-ratio: 16/9; }
.card-list--3col .card-body { padding-top: 12px; }

@media (max-width: 768px) { .card-list--3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .card-list--3col { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════
   LATEST / HOMEPAGE CONTENT
══════════════════════════════════════════════════ */
.latest-section { padding: 48px 0; }
.section-hdr {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 8px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.section-title { font-family: var(--font-heading); font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.section-count { font-size: 13px; color: var(--ink-3); font-weight: 400; }

/* ══════════════════════════════════════════════════
   TOP PICKS / AFFILIATE STRIP
══════════════════════════════════════════════════ */
.top-picks-section {
  background: var(--cream-2);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 32px 0;
}
.top-picks__hdr {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.top-picks__title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; }
.top-picks__sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.top-picks__disc { font-size: 11px; color: var(--ink-3); flex-shrink: 0; }
.top-picks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.aff-card {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none; color: var(--ink);
}
.aff-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.aff-card__img { aspect-ratio: 1; background: var(--cream-3); overflow: hidden; }
.aff-card__img img { width: 100%; height: 100%; object-fit: cover; }
.aff-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.aff-card__name { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
.aff-card__cta { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.aff-card__price { font-size: 12px; color: var(--ink-3); }
.aff-card__btn {
  display: block; text-align: center;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 8px 10px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  letter-spacing: .01em;
}
.aff-card:hover .aff-card__btn { background: var(--accent-2); }
.aff-card__btn:hover { transform: scale(1.02); }

@media (max-width: 900px) { .top-picks__grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════
   QUICK PICKS STRIP (top of article, compact)
══════════════════════════════════════════════════ */
.quick-picks-strip {
  background: var(--cream-2); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 28px;
}
.qps__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px;
}
.qps__disc { font-size: 11px; color: var(--ink-3); margin-bottom: 12px; }
.qps__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px;
}
.qps__card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--cream); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 10px 8px; text-align: center; text-decoration: none; color: var(--ink);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.qps__card:hover { box-shadow: var(--shadow); border-color: var(--accent); color: var(--ink); }
.qps__card--top { border-color: var(--accent); }
.qps__img { width: 72px; height: 72px; object-fit: contain; border-radius: 4px; }
.qps__pick { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.qps__name { font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qps__btn {
  display: block; width: 100%; margin-top: auto;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; text-align: center;
  padding: 5px 6px; border-radius: var(--radius); text-decoration: none;
}
.qps__card:hover .qps__btn { background: var(--accent-2); }

/* ══════════════════════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════════════════════ */
.comp-table-wrap { overflow-x: auto; margin-bottom: 28px; border-radius: var(--radius-lg); border: 1px solid var(--divider); }
.comp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.comp-table thead th {
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 14px; text-align: left; white-space: nowrap;
}
.comp-table td { padding: 10px 14px; border-bottom: 1px solid var(--divider); vertical-align: middle; }
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:nth-child(even) td { background: var(--cream-2); }
.comp-table__top td { background: rgba(15,118,110,.05) !important; }
.ct-badge {
  display: inline-block; font-size: 10px; font-weight: 700; color: #fff;
  background: var(--accent); padding: 2px 7px; border-radius: 10px; margin-left: 6px;
  vertical-align: middle;
}
.ct-btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: var(--radius);
  white-space: nowrap; text-decoration: none;
}
.ct-btn:hover { background: var(--accent-2); color: #fff; }

/* ══════════════════════════════════════════════════
   BREADCRUMBS
══════════════════════════════════════════════════ */
.breadcrumb-bar {
  background: var(--cream-2); border-bottom: 1px solid var(--divider); padding: 10px 0;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12.5px; color: var(--ink-3); list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.breadcrumbs li::after { content: '/'; color: var(--divider); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════
   ARTICLE LAYOUT
   OLD: content + right sidebar
   NEW: sticky left TOC + full-width content
══════════════════════════════════════════════════ */
.article-outer { padding-bottom: 64px; }
.article-container {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}

.toc-panel {
  position: sticky; top: 76px;
  padding: 18px 16px;
  background: var(--cream-2); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  font-size: 13px;
}
.toc-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--divider);
}
#toc ul { display: flex; flex-direction: column; gap: 2px; }
#toc a {
  display: block; padding: 5px 8px;
  color: var(--ink-2); border-radius: var(--radius); line-height: 1.35;
  font-size: 12.5px; border-left: 2px solid transparent;
  transition: background var(--transition), color var(--transition);
}
#toc a:hover { background: var(--cream-3); color: var(--ink); }
#toc a.active { color: var(--accent); background: rgba(37,99,235,.06); border-left-color: var(--accent); }

@media (max-width: 960px) {
  .article-container { grid-template-columns: 1fr; }
  .toc-panel { display: none; }
}

/* Article header */
.article-header { margin-bottom: 28px; }
.article-cat {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.article-cat:hover { color: var(--accent-2); }
.article-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.article-excerpt {
  font-size: 18px; color: var(--ink-2); line-height: 1.55; margin-bottom: 20px;
}
.article-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 14px 0;
  border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); margin-bottom: 24px;
}
.article-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 36px; height: 36px; background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 600; }
.author-dates { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.author-dates .sep { margin: 0 4px; }

.article-share { display: flex; align-items: center; gap: 8px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; border-radius: 100px;
  transition: all var(--transition);
}
.share-btn--pin { background: #E60023; color: #fff; }
.share-btn--pin:hover { background: #c0001e; color: #fff; }

.article-hero-img { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-3); }
.article-hero-img img { width: 100%; height: auto; }
.photo-credit { font-size: 11px; color: var(--ink-3); text-align: right; padding: 6px 10px; }
.photo-credit a { color: var(--accent); }

/* ── Quick Answer / Summary box (LLM SEO) ───────── */
.article-summary {
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(59,130,246,.03));
  border: 1px solid rgba(37,99,235,.2); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin-bottom: 28px;
}
.summary-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.summary-text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ── Key Takeaways (LLM SEO) ────────────────────── */
.key-takeaways {
  background: var(--cream-2); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  padding: 18px 20px; margin-bottom: 28px;
}
.takeaways-label {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px;
}
.takeaways-list { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.takeaways-list li { font-size: 14px; color: var(--ink-2); padding-left: 20px; position: relative; line-height: 1.45; }
.takeaways-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 13px; }

/* ── Article body ───────────────────────────────── */
.article-body { font-size: var(--font-size-article); line-height: 1.72; color: var(--ink); }
.article-body h2 {
  font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--divider);
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  margin: 28px 0 10px; scroll-margin-top: 80px;
}
.article-body h4 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 1.6em; padding: 0; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.article-body a:hover { color: var(--accent-2); }
.article-body strong, .article-body b { font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--accent); margin: 24px 0; padding: 14px 20px;
  background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--ink-2);
}
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.article-body th, .article-body td { text-align: left; padding: 10px 14px; border: 1px solid var(--divider); }
.article-body th { background: var(--cream-2); font-weight: 600; }
.article-body tr:nth-child(even) td { background: var(--cream-2); }
.article-body img { border-radius: var(--radius); margin: 8px 0 20px; }
.article-body code { font-size: .875em; background: var(--cream-3); padding: 2px 6px; border-radius: 3px; }
.article-body pre { background: var(--ink); color: #e2e8f0; padding: 20px 24px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 24px; }
.article-body pre code { background: none; padding: 0; color: inherit; }

.article-body .tip-box    { padding: 16px 18px; border-radius: var(--radius); margin: 24px 0; font-size: 15px; background: #f0fdf4; border-left: 4px solid #22c55e; }
.article-body .warning-box{ padding: 16px 18px; border-radius: var(--radius); margin: 24px 0; font-size: 15px; background: #fefce8; border-left: 4px solid #eab308; }
.article-body .info-box   { padding: 16px 18px; border-radius: var(--radius); margin: 24px 0; font-size: 15px; background: rgba(37,99,235,.05); border-left: 4px solid var(--accent); }

/* ── Affiliate product boxes ───────────────────── */
.aff-products { margin: 28px 0; }
.aff-disclosure { font-size: 12px; color: var(--ink-3); border: 1px solid var(--divider); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 16px; background: var(--cream-2); }
.aff-prd { border: 1px solid var(--divider); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; background: var(--cream); }
.aff-prd--top { border-color: var(--accent); }
.aff-prd__badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; }
.aff-prd__layout { display: flex; align-items: stretch; }
.aff-prd__img { flex: 0 0 220px; background: var(--cream-3); display: flex; align-items: center; justify-content: center; }
.aff-prd__img a { display: block; width: 100%; }
.aff-prd__img img { width: 100%; height: 220px; object-fit: contain; display: block; padding: 12px; background: var(--cream-2); }
.aff-prd__info { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; }
.aff-prd__name { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.aff-prd__price { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.aff-prd__feats { list-style: none; margin: 0 0 16px 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.aff-prd__feats li {
  font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.45;
}
.aff-prd__feats li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 13px; }
.aff-prd .aff-prd__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), box-shadow var(--transition);
  margin-top: auto; align-self: flex-start;
  box-shadow: 0 2px 8px rgba(15,118,110,.25);
}
.aff-prd .aff-prd__btn::after { content: ' →'; }
.aff-prd .aff-prd__btn:hover { background: var(--accent-2); color: #fff; box-shadow: 0 4px 16px rgba(15,118,110,.35); }
.aff-prd__price-note { font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.aff-products--bottom .aff-products__heading { font-weight: 700; font-size: 16px; margin-bottom: 14px; }

@media (max-width: 600px) {
  .aff-prd__layout { flex-direction: column; }
  .aff-prd__img { flex: none; width: 100%; }
  .aff-prd__img img { height: 220px; }
  .aff-prd__btn { align-self: stretch; text-align: center; }
}

/* ── Tags ────────────────────────────────────────── */
.article-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--divider); }
.tags-label { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.tag { display: inline-block; padding: 4px 10px; font-size: 12px; background: var(--cream-2); border: 1px solid var(--divider); border-radius: 100px; color: var(--ink-2); }

/* ── FAQ section (accordion) ───────────────────── */
.faq-section { margin: 40px 0; border-top: 2px solid var(--ink); padding-top: 28px; }
.faq-title { font-family: var(--font-heading); font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--divider); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 16px 0; font-size: 15px; font-weight: 600;
  color: var(--ink); text-align: left; gap: 12px; cursor: pointer;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--divider); position: relative;
  transition: border-color var(--transition);
}
.faq-icon::before { content: ''; position: absolute; width: 8px; height: 1.5px; background: var(--ink-3); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { content: ''; position: absolute; width: 1.5px; height: 8px; background: var(--ink-3); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform var(--transition), opacity var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { border-color: var(--accent); }
.faq-question[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-answer { padding: 0 0 16px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ── Disclaimer ────────────────────────────────── */
.content-disclaimer {
  font-size: 12px; color: var(--ink-3); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 12px 16px; margin: 32px 0; background: var(--cream-2); line-height: 1.5;
}

/* ── Author box ────────────────────────────────── */
.author-box {
  display: flex; gap: 16px; padding: 24px;
  background: var(--cream-2); border: 1px solid var(--divider); border-radius: var(--radius-lg);
  margin-top: 32px; margin-bottom: 48px; align-items: flex-start;
}
.author-box__avatar {
  width: 48px; height: 48px; background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.author-box__name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.author-box__bio { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ── Reading progress bar ──────────────────────── */

/* ── Related articles ──────────────────────────── */
.related-section { padding: 48px 0; background: var(--cream-2); border-top: 1px solid var(--divider); }
.related-section .article-card:hover { border-left-color: transparent; padding-left: 0; }

/* ══════════════════════════════════════════════════
   CATEGORY PAGE
══════════════════════════════════════════════════ */
.cat-banner { background: var(--ink); color: #fff; padding: 40px 0; }
.cat-banner .breadcrumbs { margin-bottom: 16px; }
.cat-banner .breadcrumbs,
.cat-banner .breadcrumbs li,
.cat-banner .breadcrumbs a { color: rgba(255,255,255,.55); }
.cat-banner .breadcrumbs a:hover { color: #fff; }
.cat-banner__title { font-family: var(--font-heading); font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: 8px; }
.cat-banner__desc { font-size: 15px; color: rgba(255,255,255,.72); max-width: 600px; }

.cat-articles { padding: 40px 0; }
.cat-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--divider); }
.cat-subnav__item { padding: 5px 14px; font-size: 13px; font-weight: 500; color: var(--ink-2); border-radius: 100px; border: 1px solid var(--divider); background: transparent; transition: all var(--transition); }
.cat-subnav__item:hover { background: var(--cream-3); color: var(--ink); }
.cat-subnav__item--active { background: var(--accent); color: #fff; border-color: var(--accent); }

.empty-state { padding: 60px 0; text-align: center; color: var(--ink-3); }
.btn-back { display: inline-block; margin-top: 16px; padding: 9px 20px; background: var(--accent); color: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn-back:hover { background: var(--accent-2); color: #fff; }

/* ══════════════════════════════════════════════════
   STATIC / LEGAL PAGES (about, contact, privacy…)
══════════════════════════════════════════════════ */
.legal-outer { padding: 48px 0 80px; }
.legal-wrap { max-width: 720px; }
.legal-title { font-family: var(--font-heading); font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin-bottom: 6px; }
.legal-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--divider); }
.legal-body h2 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--ink); margin: 32px 0 10px; }
.legal-body p { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 20px; }
.legal-body ul li { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin-bottom: 5px; list-style: disc; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { color: var(--accent-2); }
.legal-body strong { color: var(--ink); }

/* ══════════════════════════════════════════════════
   FOOTER — 2-column: brand left, links right
   OLD: brand top, 3 equal cols below
   NEW: brand column + link columns side by side
══════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 0; margin-top: 48px; }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  max-width: var(--container); margin: 0 auto; padding: 0 24px 40px;
}
.footer-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 800; letter-spacing: -.04em; display: block; margin-bottom: 12px; text-decoration: none; }
.flogo-p1 { color: rgba(255,255,255,.9); }
.flogo-p2 { color: var(--accent-2); }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,.9); font-weight: 600; margin-bottom: 8px; }
.footer-desc { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.48); max-width: 360px; }
.footer-links { display: flex; gap: 48px; }
.footer-col strong { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.48); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.62); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px;
  max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 4px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.38); }
.footer-disclosure a { color: rgba(255,255,255,.55); }
.footer-disclosure a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 32px; }
}
@media (max-width: 480px) {
  .footer-links { flex-direction: column; gap: 24px; }
}

/* ══════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════ */
.sep { color: var(--divider); }
