/* ============================================================
   VoltChop — Global Stylesheet
   Professional affiliate review site design
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --green:        #22c55e;
  --green-dark:   #16a34a;
  --green-deeper: #14532d;
  --green-pale:   #f0fdf4;
  --green-mid:    #dcfce7;

  --navy:         #0f172a;
  --navy-mid:     #1e293b;
  --navy-light:   #334155;

  --text:         #1a1a2e;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;

  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-card:      #ffffff;

  --border:       #e2e8f0;
  --border-dark:  #cbd5e1;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-green: 0 4px 20px rgba(34,197,94,0.2);

  --radius:       10px;
  --radius-lg:    16px;

  --max-content:  1160px;
  --max-article:  740px;

  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;

  --header-h:     64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1;
}

.logo-text span {
  color: var(--green);
}

/* Site nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.site-nav .nav-cta {
  background: var(--green);
  color: #fff;
  margin-left: 0.5rem;
  padding: 0.45rem 1rem;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--green-dark);
  color: #fff;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}

/* ---------- HERO (Homepage) ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0d2818 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(34,197,94,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(34,197,94,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(34,197,94,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
}

.trust-bar-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* ---------- SECTION WRAPPERS ---------- */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 0.4rem;
}

.section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover { color: var(--green); }

/* ---------- ARTICLE CARDS GRID ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

/* Card image / colour band */
.card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-inner.type-review {
  background: linear-gradient(135deg, #0f2027 0%, #1a3a2a 50%, #203a43 100%);
}
.card-image-inner.type-guide {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.card-image-inner.type-comparison {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #2c3e50 100%);
}

.card-image-icon {
  font-size: 3.5rem;
  opacity: 0.6;
}

.card-category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.card-body {
  padding: 1.4rem 1.4rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
}

.card-title a:hover { color: var(--green-dark); }

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  gap: 0.5rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.card-meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.card-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.card-read-link:hover { color: var(--green); }

.card-read-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s;
}

.card-read-link:hover svg { transform: translateX(3px); }

/* ---------- FEATURED / FIRST CARD (wider) ---------- */
.articles-grid.featured .article-card:first-child {
  grid-column: span 2;
}

.articles-grid.featured .article-card:first-child .card-image {
  height: 240px;
}

.articles-grid.featured .article-card:first-child .card-title {
  font-size: 1.25rem;
}

/* ---------- SECTION ALT BG ---------- */
.section-alt {
  background: var(--bg-alt);
}

/* ---------- CATEGORY CHIPS ---------- */
.category-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.chip:hover,
.chip.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 300px;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  color: #64748b;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.affiliate-disclosure {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.55;
  max-width: 560px;
}

.affiliate-disclosure strong {
  color: #64748b;
}

.footer-copy {
  font-size: 0.8rem;
  color: #334155;
  text-align: right;
  flex-shrink: 0;
}

/* ============================================================
   ARTICLE PAGE STYLES
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1.5rem;
}

.breadcrumb-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--green-dark); }

.breadcrumb-sep {
  color: var(--text-light);
}

/* Article hero */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(34,197,94,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.article-hero-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  position: relative;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-decoration: none;
}

.article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 760px;
}

.article-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.article-meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.article-meta-item.author {
  color: #94a3b8;
}

/* Article layout: content + sidebar */
.article-wrapper {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* Article body prose */
.article-body {
  min-width: 0;
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 0.9rem;
  padding-top: 0.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.75rem 0 0.6rem;
  line-height: 1.3;
}

.article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 1.25rem 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.article-body p {
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #2d3748;
}

.article-body ul,
.article-body ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
}

.article-body li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
  color: #2d3748;
}

.article-body ul li::marker {
  color: var(--green);
}

.article-body strong { font-weight: 700; color: var(--text); }
.article-body em { font-style: italic; }

.article-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5rem 0;
}

/* Blockquote / callout */
.article-body blockquote {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--green-deeper);
  line-height: 1.65;
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-body thead {
  background: var(--navy);
  color: #fff;
}

.article-body th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.article-body td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: #374151;
  vertical-align: top;
}

.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--bg-alt); }

/* Verdict / highlight box */
.verdict-box {
  background: var(--green-pale);
  border: 1.5px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.75rem 0;
}

.verdict-box strong {
  display: block;
  color: var(--green-deeper);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

/* ---------- SIDEBAR ---------- */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Quick summary card */
.sidebar-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-header {
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 1.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-card-header svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.sidebar-card-body {
  padding: 1.15rem;
}

/* Rating display */
.rating-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.rating-score {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.rating-info {
  flex: 1;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.rating-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Pros/Cons */
.pros-cons {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pros-cons-section {
  margin-bottom: 0.75rem;
}

.pros-cons-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.pros-cons-section.pros h4 { color: var(--green-dark); }
.pros-cons-section.cons h4 { color: #dc2626; }

.pros-cons-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pros-cons-section li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

.pros-cons-section li::before {
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.05rem;
}

.pros-cons-section.pros li::before {
  content: '✓';
  color: var(--green);
}

.pros-cons-section.cons li::before {
  content: '✗';
  color: #dc2626;
}

/* Buy button area */
.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  box-shadow: var(--shadow-green);
}

.buy-btn:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.buy-btn svg {
  width: 16px;
  height: 16px;
}

.affiliate-note {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* TOC card */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.toc-list a {
  display: block;
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.6rem;
  transition: all 0.15s;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--green-dark);
  border-left-color: var(--green);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid.featured .article-card:first-child {
    grid-column: span 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .article-wrapper {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 58px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid.featured .article-card:first-child {
    grid-column: span 1;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 3px solid var(--green);
  }

  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.65rem 1rem; }
  .site-nav .nav-cta { text-align: center; }

  .nav-toggle { display: flex; }

  .hero { padding: 3rem 1.25rem 2.5rem; }

  .trust-bar-inner {
    gap: 0.85rem;
  }

  .section { padding: 2.5rem 1.25rem; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-copy { text-align: left; }

  .article-hero { padding: 2rem 1.25rem; }

  .article-wrapper { padding: 2rem 1.25rem 3rem; }

  .article-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }

  .hero h1 { font-size: 1.85rem; }

  .hero-actions { flex-direction: column; }

  .article-title { font-size: 1.5rem; }

  .article-meta-bar { gap: 0.75rem; }

  .article-body h2 { font-size: 1.25rem; }

  .article-body table { font-size: 0.82rem; display: block; overflow-x: auto; }
}
