/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  --ink:           #0F1112;
  --ink-muted:     #4C5259;
  --ink-faint:     #8C9099;
  --surface:       #FFFFFF;
  --surface-2:     #F4F5F7;
  --surface-3:     #EAECF0;
  --accent:        #0C6848;
  --accent-light:  #E5F2EC;
  --accent-mid:    #14976A;
  --accent-2:      #1C3D72;
  --accent-2-light:#EAF0F9;
  --amber:         #B57010;
  --amber-light:   #FEF1D8;
  --border:        #E1E3E8;
  --border-strong: #C8CAD0;
  --radius:        8px;
  --radius-lg:     12px;
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'Sora', system-ui, sans-serif;
}

html { font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--surface-2);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark svg { width: 16px; height: 16px; }
.logo-text {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 0;
  flex: 1;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-muted);
  padding: 6px 13px;
  border-radius: 6px;
  transition: all 0.15s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-links a.active,
.nav-links a.current-menu-item { color: var(--accent); background: var(--accent-light); font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-primary {
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: #0a5a3d; color: #fff; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: all 0.2s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #0d1117 0%, #131e2b 100%);
  border-bottom: none;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 2rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-mid);
  background: rgba(20, 151, 106, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-mid);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
.hero h1 em { font-style: italic; color: var(--accent-mid); font-weight: 300; }
.hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 480px;
  font-weight: 300;
}
.hero-search {
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 440px;
}
.hero-search form {
  display: flex;
  flex: 1;
  min-width: 0;
}
.hero-search input, .hero-search .search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 16px;
  font-size: 13.5px;
  color: #fff;
  font-family: var(--font-body);
  outline: none;
}
.hero-search input::placeholder,
.hero-search .search-field::placeholder { color: rgba(255,255,255,0.32); }
.hero-search button, .hero-search .search-submit {
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}
.hero-search button:hover, .hero-search .search-submit:hover { background: var(--accent-mid); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  font-optical-sizing: auto;
}
.stat-label { font-size: 11.5px; color: rgba(255,255,255,0.42); margin-top: 4px; letter-spacing: 0.01em; }

/* hero right panel */
.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-header {
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-header-title { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.panel-dots { display: flex; gap: 5px; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; }
.panel-body { padding: 1rem 1.2rem 1.2rem; }
.panel-article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.panel-article:last-child { border-bottom: none; padding-bottom: 0; }
.panel-article:first-child { padding-top: 0; }
.panel-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.18);
  min-width: 22px;
  padding-top: 1px;
  font-optical-sizing: auto;
}
.panel-article-info { flex: 1; }
.panel-tag {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 5px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-green { background: var(--accent-light); color: var(--accent); }
.tag-blue  { background: var(--accent-2-light); color: var(--accent-2); }
.tag-amber { background: var(--amber-light); color: var(--amber); }
.panel-article-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.88); line-height: 1.45; letter-spacing: -0.01em; }
.panel-article-title a { color: inherit; }
.panel-article-title a:hover { color: var(--accent-mid); }
.panel-article-meta { font-size: 11px; color: rgba(255,255,255,0.38); margin-top: 4px; }

/* ── MAIN LAYOUT ── */
.main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 2.5rem;
  align-items: start;
}

/* ── SECTION HEADER ── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-link { font-size: 12.5px; color: var(--accent); font-weight: 500; }

/* ── FEATURED ARTICLE ── */
.featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  transition: border-color 0.15s;
}
.featured:hover { border-color: var(--border-strong); }
.featured-body { padding: 2rem 2rem 1.75rem; }
.featured-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 1rem; }
.badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-green { background: var(--accent-light); color: var(--accent); }
.badge-blue  { background: var(--accent-2-light); color: var(--accent-2); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-dark  { background: var(--ink); color: #fff; }
.featured-meta-text { font-size: 11.5px; color: var(--ink-faint); }
.featured h2 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  font-optical-sizing: auto;
}
.featured h2 a { color: var(--ink); }
.featured h2 a:hover { color: var(--accent); }
.featured-excerpt {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.featured-footer { display: flex; align-items: center; gap: 1rem; }
.avatar-row { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-muted);
}
.avatar-name { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.avatar-role { font-size: 11px; color: var(--ink-faint); }
.read-time { font-size: 12px; color: var(--ink-faint); margin-left: auto; }
.featured-visual {
  background: linear-gradient(150deg, #0F1112 0%, #1a2535 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(20, 151, 106, 0.15) 0%, transparent 65%);
}
.screen-mockup {
  width: 170px;
  background: #1c2a3a;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.screen-header { background: #243041; padding: 8px 10px; display: flex; align-items: center; gap: 5px; }
.screen-dot { width: 5px; height: 5px; border-radius: 50%; }
.screen-content { padding: 10px; }
.screen-bar { height: 5px; border-radius: 3px; margin-bottom: 6px; }
.screen-bar-g { background: rgba(20,151,106,0.5); }
.screen-bar-w { background: rgba(255,255,255,0.1); }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.screen-tile { background: rgba(255,255,255,0.05); border-radius: 4px; height: 38px; display: flex; align-items: center; justify-content: center; }
.screen-stat { color: rgba(255,255,255,0.4); font-size: 9px; text-align: center; }
.screen-stat-n { font-size: 14px; font-weight: 600; color: #14976A; display: block; }

/* ── ARTICLE GRID ── */
.articles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1.5rem; }
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.article-card:has(.badge-green) { border-left-color: var(--accent); }
.article-card:has(.badge-blue)  { border-left-color: var(--accent-2); }
.article-card:has(.badge-amber) { border-left-color: var(--amber); }
.article-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.article-h {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.article-h a:hover { color: var(--accent); }
.article-p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}
.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.article-foot-left { display: flex; align-items: center; gap: 8px; }
.article-read { font-size: 11px; color: var(--ink-faint); }
.arrow-link {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: -0.01em;
}

/* ── GUIDE STRIP ── */
.guide-strip {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.guide-strip::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,151,106,0.18) 0%, transparent 70%);
}
.guide-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.guide-strip h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 4px; letter-spacing: -0.02em; }
.guide-strip p { font-size: 12.5px; color: rgba(255,255,255,0.45); font-weight: 300; }
.guide-strip a {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--accent-mid);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
}
.guide-strip a:hover { background: var(--accent); }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-card-head {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sidebar-card-body { padding: 0.5rem 1rem 0.75rem; }
.topic-list { list-style: none; }
.topic-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.12s;
}
.topic-list li:last-child { border-bottom: none; }
.topic-list li:hover { color: var(--ink); }
.topic-list li a { display: flex; width: 100%; justify-content: space-between; align-items: center; color: inherit; font-weight: 400; }
.topic-count {
  font-size: 10.5px;
  color: var(--ink-faint);
  background: var(--surface-3);
  padding: 2px 7px;
  border-radius: 10px;
}

.newsletter-card {
  background: var(--accent-light);
  border: 1px solid rgba(12,104,72,0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.newsletter-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.newsletter-card p {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1.55;
}
.newsletter-input-wrap { display: flex; flex-direction: column; gap: 7px; }
.newsletter-input-wrap input {
  border: 1px solid rgba(12,104,72,0.2);
  background: #fff;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
}
.newsletter-input-wrap input:focus { border-color: var(--accent); }
.newsletter-input-wrap button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.comp-head { padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); }
.comp-head-title { font-size: 10.5px; font-weight: 600; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
}
.comp-row:last-child { border-bottom: none; }
.comp-name { color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.comp-score { display: flex; align-items: center; gap: 7px; }
.score-bar { width: 56px; height: 3px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.score-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.score-val { font-size: 11.5px; color: var(--ink-muted); min-width: 24px; text-align: right; font-weight: 500; }

/* ── SINGLE POST ── */
.post-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}
.post-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.post-category { margin-bottom: 1.1rem; }
.post-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 780px;
  font-optical-sizing: auto;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 12.5px;
  color: var(--ink-faint);
  flex-wrap: wrap;
}
.post-meta-sep::before { content: '·'; }
.post-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 2.5rem;
  align-items: start;
}

/* ── POST CONTENT (article reading experience) ── */
.post-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  line-height: 1.8;
}
.post-content h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-optical-sizing: auto;
  display: none; /* title already in post-header */
}
.post-content h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin: 2.5rem 0 0.85rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  font-optical-sizing: auto;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}
.post-content h2:first-child { border-top: none; margin-top: 0; }
.post-content h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.post-content p {
  margin-bottom: 1.25rem;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink);
}
.post-content ul,
.post-content ol { margin: 0.75rem 0 1.25rem 1.5rem; }
.post-content li {
  font-size: 15.5px;
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--ink);
}
.post-content strong { font-weight: 600; color: var(--ink); }
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 13.5px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-content th {
  background: var(--surface-2);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.post-content td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.post-content tr:last-child td { border-bottom: none; }
.post-content tr:hover td { background: var(--surface-2); }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.post-content a:hover { color: #0a5a3d; }

/* ── ARTICLE IMAGES (inline) ── */
.post-content figure.article-image {
  margin: 2rem 0;
}
.post-content figure.article-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
/* Hero featured image at top of article */
.post-content figure.article-image--hero {
  margin: 0 0 2rem;
}
.post-content figure.article-image--hero img {
  width: 100%;
  max-width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}

/* ── FEATURED IMAGE (WordPress post thumbnail) ── */
.post-content .wp-post-image,
.post-thumbnail img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: block;
}

/* ── RELATED POSTS ── */
.related-posts { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

/* ── ARCHIVE ── */
.archive-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.archive-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}
.archive-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.archive-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
  line-height: 1.1;
  font-optical-sizing: auto;
}
.archive-description { font-size: 15px; color: var(--ink-muted); font-weight: 300; max-width: 580px; line-height: 1.65; }
.archive-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.archive-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--ink-muted);
  background: var(--surface);
  transition: all 0.15s;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  margin-top: 1.5rem;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .logo-text { color: rgba(255,255,255,0.9); font-size: 14px; }
.footer-brand .logo-text span { color: var(--accent-mid); }
.footer-brand .logo-mark { background: rgba(20,151,106,0.25); border: 1px solid rgba(20,151,106,0.3); }
.footer-tagline {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 220px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  transition: color 0.12s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.1rem 2rem;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    z-index: 99;
    gap: 2px;
  }
  .hamburger { display: block; }

  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-panel { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 1.5rem; }

  .main { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
  .featured { grid-template-columns: 1fr; }
  .featured-visual { display: none; }
  .articles { grid-template-columns: 1fr; gap: 8px; }

  .post-container { grid-template-columns: 1fr; padding: 1.5rem 1rem; }
  .post-header { padding: 2rem 0 1.75rem; }
  .post-title { font-size: 30px; }
  .post-content { padding: 1.5rem; }
  .post-content figure.article-image img { max-width: 100%; }

  .related-grid { grid-template-columns: 1fr; gap: 8px; }
  .archive-grid { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 0; }
  .hero-inner { padding: 2.5rem 1rem 2rem; }
  .hero h1 { font-size: 30px; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .guide-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .guide-strip a { margin-left: 0; }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .post-content h2 { font-size: 22px; }
}
