/* ═══════════════════════════════════════════════════════════
   NigeriaDecide Theme — main.css
   Playfair Display (headings) + DM Sans (body) + DM Mono (labels)
═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #f5f2eb;
  color: #0d1f0d;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #006400; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── CSS Variables ── */
:root {
  --nd-green:        #006400;
  --nd-green-dark:   #004d00;
  --nd-green-light:  #e8f5e9;
  --nd-green-mid:    #2e7d32;
  --nd-cream:        #f5f2eb;
  --nd-cream-dark:   #ede9df;
  --nd-white:        #ffffff;
  --nd-ink:          #0d1f0d;
  --nd-ink-mid:      #2a3d2a;
  --nd-muted:        #6b7c6b;
  --nd-border:       #d4cfbf;
  --nd-red:          #b71c1c;
  --nd-amber:        #e65100;
  --nd-blue:         #0d47a1;
  --nd-shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --nd-shadow:       0 2px 12px rgba(0,0,0,.09);
  --nd-shadow-lg:    0 8px 28px rgba(0,0,0,.12);
  --nd-radius:       10px;
  --nd-radius-lg:    14px;
  --nd-serif:        'Playfair Display', Georgia, serif;
  --nd-mono:         'DM Mono', 'Courier New', monospace;
  --nd-header-h:     118px; /* top-bar + header-main */
}

/* ── Container ── */
.nd-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Skip Link ── */
.nd-skip-link {
  position: absolute; top: -40px; left: 0; z-index: 9999;
  background: var(--nd-green); color: #fff;
  padding: 8px 16px; font-weight: 600;
}
.nd-skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.nd-site-header {
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
}

/* Top bar */
.nd-top-bar {
  background: var(--nd-ink);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 6px 0;
}
.nd-top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nd-top-bar-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: rgba(255,255,255,.5); font-family: var(--nd-mono);
}
.nd-top-bar-sep { opacity: .3; }
.nd-top-bar-cta {
  background: var(--nd-green); color: #fff;
  padding: 4px 12px; border-radius: 4px;
  font-size: 11px; font-weight: 600; font-family: var(--nd-mono);
  transition: background .15s;
}
.nd-top-bar-cta:hover { background: var(--nd-green-dark); text-decoration: none; }

/* Header main */
.nd-header-main { background: var(--nd-ink); border-bottom: 3px solid var(--nd-green); }
.nd-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; gap: 24px;
}

/* Logo / Wordmark */
.nd-flag {
  display: inline-flex; width: 38px; height: 24px;
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  flex-shrink: 0;
}
.nd-flag-g { flex: 1; background: #006400; }
.nd-flag-w { flex: 1; background: #fff; }
.nd-wordmark {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nd-wordmark-text {
  font-family: var(--nd-serif); font-size: 20px; font-weight: 700;
  color: #fff; letter-spacing: -.3px;
}
.nd-wordmark-text em { color: #4caf50; font-style: normal; }

/* Nav */
.nd-nav { flex: 1; display: flex; justify-content: flex-end; }
.nd-nav-list { display: flex; align-items: center; gap: 2px; }
.nd-nav-item { position: relative; }
.nd-nav-link {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 4px;
  transition: all .15s; text-decoration: none;
}
.nd-nav-link:hover, .nd-nav-link--active {
  background: rgba(255,255,255,.08); color: #fff; text-decoration: none;
}
.nd-nav-arrow { font-size: 9px; opacity: .5; }

/* Dropdown */
.nd-has-dropdown:hover .nd-dropdown,
.nd-has-dropdown:focus-within .nd-dropdown { display: block; }
.nd-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--nd-ink); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; min-width: 200px; padding: 6px;
  box-shadow: var(--nd-shadow-lg); z-index: 100;
}
.nd-dropdown .nd-nav-item .nd-nav-link {
  border-radius: 4px; padding: 7px 12px; white-space: nowrap;
}

/* Mobile hamburger */
.nd-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: none; cursor: pointer; padding: 4px;
}
.nd-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 1px;
  transition: all .2s;
}
.nd-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nd-hamburger.open span:nth-child(2) { opacity: 0; }
.nd-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nd-mobile-nav {
  display: none; background: var(--nd-ink);
  border-top: 1px solid rgba(255,255,255,.08);
}
.nd-mobile-nav.open { display: block; }
.nd-mobile-nav-inner {
  padding: 16px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.nd-mobile-nav .nd-nav-list {
  flex-direction: column; align-items: stretch; gap: 2px;
}
.nd-mobile-nav .nd-nav-link {
  padding: 10px 12px; border-radius: 6px;
}
.nd-mobile-cta { margin-top: 12px; text-align: center; }

/* ── Ticker ── */
.nd-ticker-wrap {
  background: var(--nd-green); overflow: hidden; padding: 5px 0;
  border-bottom: 1px solid var(--nd-green-dark);
}
.nd-ticker-inner {
  display: flex; animation: nd-tick 36s linear infinite;
  width: max-content;
}
.nd-ticker-item {
  white-space: nowrap; padding: 0 24px;
  font-size: 11px; font-family: var(--nd-mono);
}
.nd-ticker-item a { color: #fff; text-decoration: none; }
.nd-ticker-item a:hover { text-decoration: underline; }
.nd-ticker-sep { margin-left: 24px; opacity: .5; }
@keyframes nd-tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.nd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 6px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .18s; line-height: 1;
}
.nd-btn-primary { background: var(--nd-green); color: #fff; }
.nd-btn-primary:hover { background: var(--nd-green-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.nd-btn-secondary { background: transparent; color: var(--nd-green); border: 1.5px solid var(--nd-green); }
.nd-btn-secondary:hover { background: var(--nd-green-light); text-decoration: none; }
.nd-btn-outline { background: transparent; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.25); }
.nd-btn-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; text-decoration: none; }
.nd-btn-ghost { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.12); }
.nd-btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.nd-btn-lg { padding: 13px 28px; font-size: 15px; }

/* ═══════════════════════════════════════════
   HOMEPAGE — HERO
═══════════════════════════════════════════ */
.nd-hero {
  background: var(--nd-ink); min-height: 92vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.nd-hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,100,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,100,0,.06) 1px, transparent 1px);
  background-size: 64px 64px;
}
.nd-hero-glow {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; pointer-events: none;
  background: radial-gradient(circle, rgba(0,100,0,.18), transparent 70%);
}
.nd-hero-inner {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 60px; align-items: center;
  padding: 80px 24px; position: relative; z-index: 1;
  width: 100%;
}
.nd-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,100,0,.18); border: 1px solid rgba(0,100,0,.3);
  color: #4caf50; padding: 4px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; font-family: var(--nd-mono); margin-bottom: 18px;
}
.nd-live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff4444;
  animation: nd-blink 1.4s ease-in-out infinite; flex-shrink: 0;
}
@keyframes nd-blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.nd-hero-h1 {
  font-family: var(--nd-serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900; color: #fff; line-height: 1.0;
  letter-spacing: -2px; margin-bottom: 18px;
}
.nd-hero-h1 em { color: #4caf50; font-style: normal; }
.nd-hero-sub {
  font-size: 16px; color: rgba(255,255,255,.55);
  line-height: 1.7; max-width: 520px; margin-bottom: 28px;
}
.nd-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.nd-hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,.07);
  border-radius: 8px; overflow: hidden;
}
.nd-hero-stat {
  background: rgba(255,255,255,.04); padding: 18px 12px; text-align: center;
  transition: background .15s;
}
.nd-hero-stat:hover { background: rgba(255,255,255,.08); }
.nd-hero-stat-num {
  display: block; font-family: var(--nd-serif);
  font-size: 28px; font-weight: 700; color: #4caf50; line-height: 1;
}
.nd-hero-stat-lbl {
  display: block; font-size: 10px; color: rgba(255,255,255,.4);
  margin-top: 4px; text-transform: uppercase; letter-spacing: .8px;
}

/* Hero right panel */
.nd-hero-panel {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; overflow: hidden;
}
.nd-panel-head {
  background: var(--nd-green); padding: 12px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.nd-panel-title { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-family: var(--nd-mono); }
.nd-panel-live { color: #fff; font-size: 10px; font-family: var(--nd-mono); display: flex; align-items: center; gap: 5px; }
.nd-panel-foot { padding: 10px 18px; background: rgba(0,0,0,.2); display: flex; justify-content: space-between; }
.nd-panel-foot span { font-size: 10px; color: rgba(255,255,255,.3); font-family: var(--nd-mono); }
.nd-panel-foot a { font-size: 10px; color: #4caf50; font-family: var(--nd-mono); font-weight: 600; }

/* Hero results rows */
.nd-hero-results { padding: 4px 0; }
.nd-hero-result-row {
  padding: 10px 18px; border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; gap: 10px;
}
.nd-hero-result-row:last-child { border-bottom: none; }
.nd-hr-rank {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; font-family: var(--nd-mono); flex-shrink: 0;
}
.nd-rank-1 { background: #b8860b; color: #fff; }
.nd-rank-2 { background: #777; color: #fff; }
.nd-rank-3 { background: #7a4219; color: #fff; }
.nd-rank-4 { background: #333; color: #555; }
.nd-hr-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; font-family: var(--nd-mono);
}
.nd-hr-info { flex: 1; }
.nd-hr-name { color: #fff; font-size: 12px; font-weight: 600; }
.nd-hr-party { font-size: 10px; color: rgba(255,255,255,.4); font-family: var(--nd-mono); }
.nd-hr-bar-wrap { background: rgba(255,255,255,.08); border-radius: 3px; height: 4px; margin-top: 4px; }
.nd-hr-bar { height: 4px; border-radius: 3px; transition: width .5s; }
.nd-hr-votes { color: #4caf50; font-size: 11px; font-family: var(--nd-mono); font-weight: 600; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   ELECTION TYPES STRIP
═══════════════════════════════════════════ */
.nd-election-types-strip { background: var(--nd-white); padding: 32px 0; border-bottom: 1px solid var(--nd-border); }
.nd-strip-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; }
.nd-strip-card {
  padding: 24px 20px; border-right: 1px solid var(--nd-border);
  transition: all .2s; cursor: pointer; text-decoration: none;
  display: block; position: relative; overflow: hidden;
}
.nd-strip-card:last-child { border-right: none; }
.nd-strip-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--nd-green); transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nd-strip-card:hover { background: var(--nd-green-light); text-decoration: none; }
.nd-strip-card:hover::before { transform: scaleX(1); }
.nd-strip-icon { font-size: 24px; margin-bottom: 10px; }
.nd-strip-title { font-family: var(--nd-serif); font-size: 16px; font-weight: 700; color: var(--nd-ink); margin-bottom: 4px; }
.nd-strip-count { font-size: 28px; font-weight: 700; color: var(--nd-green); font-family: var(--nd-mono); line-height: 1; margin-bottom: 6px; }
.nd-strip-desc { font-size: 11px; color: var(--nd-muted); line-height: 1.4; }

/* ═══════════════════════════════════════════
   HOME SECTIONS
═══════════════════════════════════════════ */
.nd-home-section { padding: 72px 0; }
.nd-section-white  { background: var(--nd-white); }
.nd-section-cream  { background: var(--nd-cream); }
.nd-section-light  { background: var(--nd-green-light); }
.nd-section-dark   { background: var(--nd-ink); }
.nd-section-header { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.nd-section-header > div:first-child, .nd-section-header > h2, .nd-section-header > p { flex: 1; }
.nd-section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--nd-green); font-family: var(--nd-mono); margin-bottom: 8px; }
.nd-section-title { font-family: var(--nd-serif); font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--nd-ink); letter-spacing: -1px; line-height: 1.1; margin-bottom: 10px; }
.nd-section-title--sm { font-size: clamp(20px, 2.5vw, 28px); margin-bottom: 20px; }
.nd-section-sub { font-size: 15px; color: var(--nd-muted); max-width: 560px; margin-bottom: 0; }
.nd-section-link { font-size: 13px; font-weight: 600; color: var(--nd-green); white-space: nowrap; }

/* ═══════════════════════════════════════════
   CITIZEN CTA SECTION
═══════════════════════════════════════════ */
.nd-citizen-cta { background: var(--nd-ink); padding: 80px 0; position: relative; overflow: hidden; }
.nd-citizen-cta::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(0,100,0,.03), rgba(0,100,0,.03) 1px, transparent 1px, transparent 12px);
}
.nd-cta-inner { position: relative; z-index: 1; max-width: 720px; }
.nd-cta-title { font-family: var(--nd-serif); font-size: clamp(32px, 4.5vw, 56px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 18px; letter-spacing: -1px; }
.nd-cta-title em { color: #4caf50; font-style: normal; }
.nd-cta-sub { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 28px; }
.nd-cta-steps { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.nd-cta-step { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 160px; }
.nd-cta-step-num {
  width: 28px; height: 28px; background: var(--nd-green); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; font-family: var(--nd-mono);
}
.nd-cta-step span:last-child { font-size: 13px; color: rgba(255,255,255,.65); padding-top: 5px; line-height: 1.4; }

/* ═══════════════════════════════════════════
   NEWS GRID
═══════════════════════════════════════════ */
.nd-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.nd-news-card { background: var(--nd-white); border: 1px solid var(--nd-border); border-radius: var(--nd-radius); overflow: hidden; transition: all .2s; }
.nd-news-card:hover { transform: translateY(-3px); box-shadow: var(--nd-shadow-lg); border-color: var(--nd-green); }
.nd-news-card-img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.nd-news-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nd-news-card:hover .nd-news-card-img { transform: scale(1.04); }
.nd-news-card-body { padding: 18px; }
.nd-news-card-title { font-family: var(--nd-serif); font-size: 18px; font-weight: 700; color: var(--nd-ink); margin-bottom: 10px; line-height: 1.25; }
.nd-news-card-title a { color: inherit; }
.nd-news-card-title a:hover { color: var(--nd-green); text-decoration: none; }
.nd-news-card-excerpt { font-size: 13px; color: var(--nd-muted); line-height: 1.6; margin-bottom: 12px; }
.nd-news-read-more { font-size: 12px; font-weight: 600; color: var(--nd-green); }

/* ═══════════════════════════════════════════
   PAGE HERO BANNER
═══════════════════════════════════════════ */
.nd-page-hero {
  background: var(--nd-ink); padding: 44px 0 38px;
  border-bottom: 3px solid var(--nd-green);
}
.nd-page-hero-title {
  font-family: var(--nd-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900; color: #fff; margin-bottom: 8px; letter-spacing: -1px;
}
.nd-page-hero-sub { font-size: 15px; color: rgba(255,255,255,.5); max-width: 560px; }
.nd-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12px; font-family: var(--nd-mono); }
.nd-breadcrumb a { color: rgba(255,255,255,.5); }
.nd-breadcrumb a:hover { color: #4caf50; }
.nd-breadcrumb span { color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   ARCHIVE & FILTER BAR
═══════════════════════════════════════════ */
.nd-archive-wrap { padding: 40px 24px; }
.nd-filter-bar { margin-bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.nd-filter-bar-row { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
.nd-filter-group { display: flex; flex-direction: column; gap: 5px; }
.nd-filter-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--nd-muted); font-family: var(--nd-mono); }
.nd-filter-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.nd-filter-btn {
  padding: 6px 16px; border-radius: 18px; border: 1.5px solid var(--nd-border);
  background: var(--nd-white); color: var(--nd-ink); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .15s; text-decoration: none;
}
.nd-filter-btn:hover, .nd-filter-btn.active {
  background: var(--nd-green); color: #fff; border-color: var(--nd-green); text-decoration: none;
}
.nd-filter-select {
  border: 1.5px solid var(--nd-border); border-radius: 6px; padding: 7px 10px;
  font-size: 13px; font-family: inherit; color: var(--nd-ink); background: var(--nd-white);
  outline: none; transition: border-color .15s; min-width: 160px;
}
.nd-filter-select:focus { border-color: var(--nd-green); }

/* ═══════════════════════════════════════════
   CANDIDATE HERO BANNER (single)
═══════════════════════════════════════════ */
.nd-candidate-hero-banner { padding: 20px 0; }
.nd-candidate-page-main { padding: 40px 24px; }
.nd-related-candidates { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--nd-border); }

/* Mini candidate card */
.nd-mini-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--nd-white); border: 1px solid var(--nd-border);
  border-radius: 8px; padding: 12px; text-decoration: none;
  transition: all .15s;
}
.nd-mini-card:hover { border-color: var(--nd-green); background: var(--nd-green-light); text-decoration: none; }
.nd-mini-card-photo {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; font-family: var(--nd-mono); overflow: hidden;
}
.nd-mini-card-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nd-mini-card-name { font-size: 13px; font-weight: 600; color: var(--nd-ink); margin-bottom: 3px; }
.nd-mini-card-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--nd-muted); }
.nd-mini-badge { padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 700; color: #fff; font-family: var(--nd-mono); }

/* ═══════════════════════════════════════════
   PAGE CONTENT (generic page.php)
═══════════════════════════════════════════ */
.nd-page-main { padding: 44px 24px 60px; }
.nd-entry-content { max-width: 900px; }
.nd-entry-content h1, .nd-entry-content h2, .nd-entry-content h3 {
  font-family: var(--nd-serif); color: var(--nd-ink); margin: 28px 0 12px; line-height: 1.2;
}
.nd-entry-content h2 { font-size: 28px; font-weight: 700; }
.nd-entry-content h3 { font-size: 20px; font-weight: 700; }
.nd-entry-content p { margin-bottom: 16px; font-size: 15px; line-height: 1.8; color: var(--nd-ink-mid); }
.nd-entry-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.nd-entry-content ul li { margin-bottom: 6px; font-size: 15px; }
.nd-entry-content a { color: var(--nd-green); text-decoration: underline; }

/* Info box */
.nd-info-box {
  background: var(--nd-green-light); border: 1px solid rgba(0,100,0,.2);
  border-radius: var(--nd-radius); padding: 24px 28px;
}
.nd-info-box h3 { font-family: var(--nd-serif); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.nd-info-box p { font-size: 14px; color: var(--nd-ink-mid); line-height: 1.7; margin-bottom: 8px; }
.nd-info-box p:last-child { margin-bottom: 0; }
.nd-mt-40 { margin-top: 40px; }

/* ═══════════════════════════════════════════
   SINGLE POST / ARTICLE
═══════════════════════════════════════════ */
.nd-single-post-wrap {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; padding: 44px 24px 60px;
}
.nd-post-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; font-family: var(--nd-mono); }
.nd-post-date { color: var(--nd-muted); }
.nd-post-cat a {
  background: var(--nd-green-light); color: var(--nd-green);
  padding: 2px 9px; border-radius: 4px; font-weight: 700; font-size: 11px;
  text-decoration: none;
}
.nd-article-title { font-family: var(--nd-serif); font-size: clamp(26px, 4vw, 42px); font-weight: 700; color: var(--nd-ink); margin-bottom: 24px; line-height: 1.15; letter-spacing: -.5px; }
.nd-article-hero-img { margin-bottom: 28px; border-radius: var(--nd-radius); overflow: hidden; }
.nd-article-img { width: 100%; }
.nd-article-body { max-width: 740px; }
.nd-article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--nd-border); }
.nd-article-tags { margin-bottom: 16px; font-size: 13px; }
.nd-article-tags a { background: var(--nd-cream); padding: 3px 9px; border-radius: 4px; color: var(--nd-muted); margin-right: 6px; font-size: 12px; text-decoration: none; }
.nd-post-nav { display: flex; justify-content: space-between; gap: 16px; }
.nd-post-nav-link { font-size: 13px; color: var(--nd-green); font-weight: 600; max-width: 48%; line-height: 1.4; }
.nd-post-nav-next { text-align: right; }

/* Sidebar */
.nd-sidebar-widget { background: var(--nd-white); border: 1px solid var(--nd-border); border-radius: var(--nd-radius); padding: 20px; margin-bottom: 20px; }
.nd-sidebar-title { font-family: var(--nd-serif); font-size: 16px; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--nd-border); }
.nd-sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.nd-sidebar-list a { font-size: 13px; color: var(--nd-ink); display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid #f0ece0; }
.nd-sidebar-list a:hover { color: var(--nd-green); text-decoration: none; }

/* ═══════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════ */
.nd-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.nd-pagination a, .nd-pagination span {
  padding: 7px 13px; border-radius: 5px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--nd-border); background: var(--nd-white); color: var(--nd-ink);
}
.nd-pagination a:hover { border-color: var(--nd-green); color: var(--nd-green); text-decoration: none; }
.nd-pagination .current { background: var(--nd-green); color: #fff; border-color: var(--nd-green); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.nd-site-footer { background: #050d05; border-top: 1px solid rgba(255,255,255,.06); }
.nd-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; padding: 56px 24px 40px;
}
.nd-footer-brand .nd-wordmark-text { font-size: 22px; }
.nd-footer-tagline { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 240px; margin-top: 10px; }
.nd-footer-badges { display: flex; gap: 6px; margin-top: 14px; }
.nd-fbadge { padding: 3px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; font-size: 9px; font-weight: 700; color: rgba(255,255,255,.3); font-family: var(--nd-mono); letter-spacing: .5px; }
.nd-footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.35); font-family: var(--nd-mono); margin-bottom: 14px; }
.nd-footer-links { display: flex; flex-direction: column; gap: 9px; }
.nd-footer-links a, .nd-footer-links li a { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.nd-footer-links a:hover, .nd-footer-links li a:hover { color: #4caf50; }
.nd-footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 24px; }
.nd-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.nd-footer-copy { font-size: 11px; color: rgba(255,255,255,.22); font-family: var(--nd-mono); }
.nd-footer-credit { font-size: 11px; color: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .nd-hero-inner { grid-template-columns: 1fr; }
  .nd-hero-panel { display: none; }
  .nd-strip-grid { grid-template-columns: repeat(3,1fr); }
  .nd-footer-top { grid-template-columns: 1fr 1fr; }
  .nd-news-grid { grid-template-columns: repeat(2,1fr); }
  .nd-single-post-wrap { grid-template-columns: 1fr; }
  .nd-sidebar { display: none; }
}
@media (max-width: 768px) {
  .nd-nav { display: none; }
  .nd-hamburger { display: flex; }
  .nd-top-bar-left .nd-top-bar-tagline { display: none; }
  .nd-strip-grid { grid-template-columns: repeat(2,1fr); }
  .nd-hero-stats { grid-template-columns: 1fr 1fr; }
  .nd-news-grid { grid-template-columns: 1fr; }
  .nd-footer-top { grid-template-columns: 1fr; }
  .nd-section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .nd-hero-actions { flex-direction: column; }
  .nd-strip-grid { grid-template-columns: 1fr; }
  .nd-cta-steps { flex-direction: column; }
}
