/* BC NDP Exposed — Global Stylesheet */
/* Palette: #0a0f1e (bg), #ffffff (text), #cc0000 (red), #FFD700 (gold) */

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

:root {
  --bg:       #0a0f1e;
  --bg2:      #111827;
  --bg3:      #1a2236;
  --border:   #1e2d45;
  --text:     #e8eaf0;
  --muted:    #9ba3b5;
  --red:      #cc0000;
  --red2:     #e60000;
  --gold:     #FFD700;
  --gold2:    #ffc107;
  --white:    #ffffff;
  --radius:   6px;
  --shadow:   0 4px 20px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); text-decoration: underline; }

/* ── NAVIGATION ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 30, 0.97);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #050812 0%, #0d1830 40%, #1a0a0a 100%);
  border-bottom: 3px solid var(--red);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(204,0,0,0.03) 40px,
    rgba(204,0,0,0.03) 41px
  );
}
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero h1 strong { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.hero-sub strong { color: var(--gold); }

.hero-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none !important;
}
.hero-cta:hover { background: var(--red2); transform: translateY(-2px); }

/* ── STATS DASHBOARD ────────────────────────────────────────── */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--red);
}
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ── PAGE LAYOUT ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #080c1a 0%, #0e1928 50%, #160609 100%);
  border-bottom: 3px solid var(--red);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

main { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { margin-bottom: 3.5rem; }

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  border-left: 4px solid var(--red);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.section-title.gold { border-color: var(--gold); }

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1.5rem 0 0.75rem;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border-top: 3px solid var(--red);
}
.card.gold-top { border-top-color: var(--gold); }
.card.blue-top { border-top-color: #3b82f6; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.card p, .card li { color: var(--text); font-size: 0.97rem; }
.card ul { padding-left: 1.25rem; }
.card li { margin-bottom: 0.4rem; }

/* Card grid for nav cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.nav-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
  color: var(--text) !important;
  text-decoration: none !important;
}
.nav-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none !important;
}
.nav-card-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.nav-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.nav-card p { font-size: 0.9rem; color: var(--muted); }

/* ── QUOTE BLOCKS ───────────────────────────────────────────── */
blockquote {
  background: var(--bg3);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.5rem;
}
blockquote cite {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

/* ── TABLES ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
thead tr { background: var(--red); }
thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:nth-child(odd) { background: var(--bg3); }
tbody tr:nth-child(even) { background: var(--bg2); }
tbody td {
  padding: 0.65rem 1rem;
  color: var(--text);
  vertical-align: top;
}
tbody td strong { color: var(--gold); }

/* ── CALLOUT / ALERT BOXES ──────────────────────────────────── */
.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout.red {
  background: rgba(204, 0, 0, 0.12);
  border: 1px solid rgba(204, 0, 0, 0.4);
}
.callout.gold {
  background: rgba(255, 215, 0, 0.07);
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.callout.blue {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.callout-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.callout.red .callout-title { color: var(--red2); }
.callout.gold .callout-title { color: var(--gold); }
.callout.blue .callout-title { color: #60a5fa; }

/* ── FACT BOXES ─────────────────────────────────────────────── */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.fact-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.fact-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  display: block;
  margin-bottom: 0.25rem;
}
.fact-num.gold { color: var(--gold); }
.fact-label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.fact-sub { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }

/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline { padding-left: 0.5rem; }
.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  min-width: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 0.1rem;
}
.timeline-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.timeline-content p { font-size: 0.93rem; color: var(--text); }

/* ── TWO-COL ────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

/* ── PROMISE LIST ───────────────────────────────────────────── */
.promise-list { list-style: none; padding: 0; }
.promise-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.promise-x {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}
.promise-text { font-size: 0.95rem; }
.promise-text strong { color: var(--white); }
.promise-text span { color: var(--muted); font-size: 0.88rem; }

/* ── ORG TABLE ──────────────────────────────────────────────── */
.org-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.org-card h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.5rem; }
.org-card .org-meta { font-size: 0.83rem; color: var(--muted); margin-bottom: 0.5rem; }
.org-card p { font-size: 0.95rem; }

/* ── COMPARISON TABLE ───────────────────────────────────────── */
.compare-table { border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.compare-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: var(--bg3);
  border-bottom: 2px solid var(--border);
}
.compare-header div {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-header div:nth-child(2) { color: var(--gold); }
.compare-header div:nth-child(3) { color: var(--muted); }
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:nth-child(odd) { background: var(--bg3); }
.compare-row:nth-child(even) { background: var(--bg2); }
.compare-row div { padding: 0.65rem 1rem; font-size: 0.93rem; }
.compare-row .val-good { color: var(--gold); font-weight: 700; }
.compare-row .val-bad { color: var(--red2); font-weight: 700; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 2px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo { font-weight: 900; font-size: 1.1rem; color: var(--white); }
.footer-logo span { color: var(--red); }
.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.85rem; color: var(--muted); }
.footer-nav a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-inner { height: 56px; }
  nav { position: sticky; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.15rem;
    background: rgba(10,15,30,0.99);
    border-bottom: 2px solid var(--red);
    box-shadow: 0 18px 35px rgba(0,0,0,0.35);
    padding: 0.65rem 1.25rem 1rem;
    z-index: 999;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.92rem; padding: 0.7rem 0.85rem; }

  .hero { padding: 3rem 1.25rem 2.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .compare-header, .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 480px) {
  main { padding: 2rem 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
}

/* ── UTILITY ────────────────────────────────────────────────── */
.text-red { color: var(--red2); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.bold { font-weight: 700; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.75rem; }
.lead { font-size: 1.1rem; line-height: 1.7; color: var(--text); margin-bottom: 1.5rem; }

/* ── Language Switcher ── */
.lang-switcher { position: relative; margin-left: auto; }
#lang-btn { background: #1a2a4a; color: #FFD700; border: 1px solid #FFD700; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 0.85rem; white-space: nowrap; }
#lang-btn:hover { background: #FFD700; color: #0a0f1e; }
#lang-dropdown { display: none; position: absolute; right: 0; top: 110%; background: #1a2a4a; border: 1px solid #FFD700; border-radius: 4px; min-width: 160px; z-index: 1000; }
#lang-dropdown.open { display: block; }
.lang-option { display: block; padding: 8px 16px; color: #fff; cursor: pointer; font-size: 0.85rem; }
.lang-option:hover { background: #FFD700; color: #0a0f1e; }

/* ── Newsletter Signup ── */
.newsletter-section {
  background: #0d1f3c;
  border-top: 2px solid #FFD700;
  border-bottom: 2px solid #FFD700;
  padding: 40px 0;
  margin: 40px 0 0 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  color: #FFD700;
  font-size: 1.4rem;
  margin: 0 0 8px 0;
}
.newsletter-text p {
  color: #ccc;
  margin: 0;
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  background: #1a2a4a;
  border: 1px solid #FFD700;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  min-width: 260px;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #fff;
}
.newsletter-form button {
  background: #cc0000;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: #ff0000;
}
@media (max-width: 600px) {
  .newsletter-inner { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: 100%; }
  .newsletter-form { width: 100%; }
  .newsletter-form button { width: 100%; }
}

/* ── ALLY SPOTLIGHT CARD ─────────────────────────────────── */
.ally-spotlight { border: 2px solid #FFD700 !important; }
.ally-spotlight-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 15px; flex-wrap: wrap; }
.photo-box { background: #1a2a4a; border: 2px dashed #FFD700; border-radius: 8px; padding: 20px; text-align: center; color: #aaa; font-size: 0.8rem; min-width: 120px; }
.ally-header-text { flex: 1; }
.ally-tagline { color: #FFD700; font-style: italic; margin: 5px 0 0 0; font-size: 0.95rem; }
.ally-highlights { background: #0d1f3c; border-left: 3px solid #FFD700; padding: 12px 16px; margin: 12px 0; border-radius: 0 4px 4px 0; }
.ally-highlight-item { color: #ccc; font-size: 0.9rem; margin: 6px 0; }
.ally-btn.primary { background: #cc0000 !important; color: white !important; font-weight: bold; }
.ally-btn.primary:hover { background: #ff0000 !important; }


/* ── CURRENTNESS / AUDIT INDICATORS ───────────────────────── */
.currentness-box {
  max-width: 1100px;
  margin: 1.25rem auto 1.5rem;
  padding: 0.9rem 1.15rem;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.currentness-box strong { color: var(--gold); }
.audit-update {
  max-width: 1100px;
  margin: 1rem auto 2rem;
  padding: 1rem 1.15rem;
  background: rgba(204, 0, 0, 0.10);
  border: 1px solid rgba(204, 0, 0, 0.35);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.audit-update h3 { color: var(--gold); margin-bottom: 0.55rem; }
.audit-update ul { margin-left: 1.25rem; }
.audit-update li { margin: 0.35rem 0; }

/* SEO topic hubs */
.topic-link{color:var(--gold,#d4af37);font-weight:700;text-decoration:none}.topic-link:hover{text-decoration:underline}.topic-cloud{line-height:1.9}.topic-cloud a{color:var(--gold,#d4af37);font-weight:800;text-decoration:none}.topic-cloud a:hover{text-decoration:underline}.topic-intro{font-size:1.08rem;line-height:1.75;max-width:900px;margin:0 auto 1.5rem}.topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.topic-card{display:flex;flex-direction:column;gap:.4rem;padding:1rem;border:1px solid rgba(212,175,55,.35);border-radius:14px;background:rgba(255,255,255,.045);color:inherit;text-decoration:none}.topic-card strong{color:var(--gold,#d4af37);font-size:1.05rem}.topic-card span{opacity:.78;font-size:.92rem}.topic-card:hover{transform:translateY(-2px);border-color:var(--gold,#d4af37)}.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.25rem}.seo-topic-section{max-width:1100px;margin:2rem auto;padding:0 1rem}.seo-topic-hero{text-align:center;padding:3rem 1rem}.seo-topic-hero h1{font-size:clamp(2rem,4vw,3.4rem);margin-bottom:.75rem}.seo-topic-hero em{color:var(--gold,#d4af37);font-style:normal}

