/* ============================================================
   Committee for a Better Imperial Valley — style.css
   All sections use dark/colored backgrounds with light text.
   Gold (#E8C84A) used for headings, numbers, emphasis.
   No white backgrounds anywhere.
   ============================================================ */

/* ── STEP 1: Custom Properties & Resets ── */

:root {
  --green: #2B6B3A; --green-dark: #1E5C30; --green-light: #3BA55A;
  --blue: #1B5EA6; --navy: #1A3A52;
  --gold: #E8C84A; --gold-dark: #D4A843;
  --footer-blue: #134174; --footer-navy: #111D2E;
}

[data-theme="dark"] {
  --green: #1F4D2A; --green-dark: #164422; --green-light: #2D8045;
  --blue: #144878; --navy: #122838;
  --footer-blue: #0E3058; --footer-navy: #0A1320;
  /* --gold and --gold-dark intentionally omitted — unchanged in dark mode */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--green-dark);
  color: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout helpers */
.wrap      { max-width: 820px;  margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }


/* ── STEP 2: Navigation ── */

.skip-link {
  position: absolute;
  top: -50px; left: 16px;
  background: var(--gold); color: var(--navy);
  padding: 8px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 700; font-size: .85rem;
  z-index: 200;
  transition: top .2s;
}
.skip-link:focus { top: 0; text-decoration: none; color: var(--navy); }

.site-nav {
  background: var(--green);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.20);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 56px;
  gap: 12px;
  position: relative;   /* anchor for .nav-links.open dropdown */
}

.nav-logo {
  font-size: 1rem; font-weight: 700;
  color: #fff; white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; color: rgba(255,255,255,.9); }

/* desktop nav links */
.nav-links {
  display: flex; gap: 6px;
  flex-wrap: wrap; align-items: center;
  list-style: none;
  flex: 1; justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,.95);
  font-size: .88rem; font-weight: 500;
  padding: 6px 12px; border-radius: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}

/* right-side controls */
.nav-controls {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

.lang-switch {
  display: flex;
  background: rgba(255,255,255,.12);
  border-radius: 20px;
  overflow: hidden;
}
.lang-switch button,
.lang-switch a {
  color: rgba(255,255,255,.7);
  font-size: .8rem; font-weight: 600;
  padding: 5px 11px;
  background: none; border: none; cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.lang-switch button:hover,
.lang-switch a:hover      { color: #fff; text-decoration: none; }
.lang-switch button.active,
.lang-switch a.active     { background: var(--gold); color: var(--navy); }

.theme-toggle {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s;
  display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { background: rgba(255,255,255,.22); }

.mobile-menu-btn {
  display: none;
  background: none; border: none;
  color: #fff; font-size: 1.5rem;
  cursor: pointer; padding: 4px;
}

/* Mobile dropdown — absolute, full-width, same green bg */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 56px; left: 0; right: 0;
  background: var(--green);
  padding: 12px 16px;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 99;
}
.nav-links.open a {
  width: 100%; display: block;
  padding: 10px 14px;
  font-size: .95rem;
}


/* ── STEP 3: Hero Section ── */

.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 64px;
  position: relative; overflow: hidden;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -.5px;
  line-height: 1.15;
}

.hero .tagline {
  font-size: clamp(.85rem, 2.2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  opacity: .88;
  margin-bottom: 48px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.stat-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  padding: 28px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: background .2s;
}
.stat-card:hover { background: rgba(255,255,255,.16); }

.stat-card .num {
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.stat-card .label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 700;
}


/* ── STEP 4: Mission, Countdown, Issues, Candidate Banner, CTA, Footer ── */

/* --- Countdown Bar --- */
.countdown-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-size: .95rem;
  letter-spacing: .2px;
}
.countdown-bar strong { color: var(--gold); }

/* --- Mission Section --- */
.mission-section {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}

.mission-section .section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.mission-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 20px;
}

.mission-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.75;
}

/* --- Issues Section --- */
.issues-section {
  background: var(--green);
  padding: 72px 20px;
  color: #fff;
  text-align: center;
}

.issues-section .section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.issues-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 36px;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.issue-chip {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 24px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  cursor: pointer;
  text-align: center;
  transition: background .2s;
}
.issue-chip:hover { background: rgba(255,255,255,.16); }

.issue-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  flex-shrink: 0;
}
.issue-icon svg { width: 22px; height: 22px; display: block; }

.issue-name {
  font-size: .93rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

/* Accordion description panel — hidden by default */
.issue-desc {
  display: none;
  font-size: .88rem;
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: left;
}
.issue-chip.open .issue-desc { display: block; }

/* --- Candidate Banner --- */
.candidate-banner {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: block;           /* full-width anchor */
  text-decoration: none;
  transition: opacity .15s;
}
.candidate-banner:hover { opacity: .92; text-decoration: none; }

.candidate-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.candidate-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  overflow: hidden;
  flex-shrink: 0;
}
.candidate-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.candidate-info { flex: 1; }
.candidate-info .endorse-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.candidate-info .candidate-name {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.candidate-info .candidate-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.70);
}

.candidate-arrow {
  color: var(--gold);
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  text-align: center;
  padding: 72px 20px;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--navy);
  opacity: .85;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: .95rem; font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  border: none; cursor: pointer;
}
.cta-btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; color: #fff; }

/* --- Site Footer --- */
.site-footer {
  background: linear-gradient(135deg, var(--footer-blue), var(--footer-navy));
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 48px 20px 32px;
}
.site-footer .footer-name {
  font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: 6px;
}
.site-footer .footer-tagline {
  font-size: .88rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.site-footer .footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.50);
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.6;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { text-decoration: underline; }

/* --- Inner Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green) 50%, var(--green-light));
  color: #fff;
  text-align: center;
  padding: 64px 20px 52px;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.page-hero .subtitle {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  opacity: .82;
  max-width: 540px;
  margin: 0 auto;
}


/* ── STEP 5: Support Page ── */

/* --- Why Support --- */
.why-support {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  padding: 72px 20px;
  text-align: center;
}
.why-support .section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.why-support h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 36px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.why-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 28px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  text-align: left;
}
.why-card .why-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.why-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.80);
  line-height: 1.65;
}

/* --- Donate Section --- */
.donate-section {
  background: var(--green);
  color: #fff;
  padding: 72px 20px;
  text-align: center;
}
.donate-section .section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.donate-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 32px;
}
.donate-placeholder {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 40px 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  max-width: 480px;
  margin: 0 auto;
  font-size: .95rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* --- Volunteer Form --- */
.volunteer-section {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  padding: 72px 20px;
  text-align: center;
}
.volunteer-section .section-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.volunteer-section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 32px;
}

.volunteer-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.volunteer-form .form-group {
  margin-bottom: 18px;
}
.volunteer-form label {
  display: block;
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.volunteer-form input,
.volunteer-form textarea {
  width: 100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  padding: 11px 14px;
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .15s, background .15s;
  -webkit-appearance: none;
}
.volunteer-form input::placeholder,
.volunteer-form textarea::placeholder {
  color: rgba(255,255,255,.45);
}
.volunteer-form input:focus,
.volunteer-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.15);
}
.volunteer-form textarea {
  resize: vertical;
  min-height: 110px;
}
.volunteer-form .form-submit {
  display: inline-block;
  background: var(--gold);
  color: #1A3A52;
  font-size: .95rem; font-weight: 700;
  padding: 13px 36px;
  border-radius: 8px;
  border: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
  margin-top: 6px;
  width: 100%;
  text-align: center;
}
.volunteer-form .form-submit:hover { opacity: .88; transform: translateY(-1px); }

/* Thank-you message — hidden by default, shown via :target */
.thank-you-msg {
  display: none;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 24px 22px;
  text-align: center;
  color: #fff;
  font-size: 1rem;
  margin-top: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.thank-you-msg strong { color: var(--gold); }
/* Show when URL contains #thank-you */
#thank-you:target .thank-you-msg,
#thank-you:target { display: block; }


/* ── STEP 6: Responsive Breakpoints ── */

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-inner { padding: 0 14px; }

  /* Stat grid → 2 cols */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Issues → 2 cols */
  .issues-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Why-support → 1 col */
  .why-grid { grid-template-columns: 1fr; max-width: 480px; }

  /* Candidate banner — stack vertically */
  .candidate-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .candidate-arrow { display: none; }
}

@media (max-width: 520px) {
  /* Stat cards */
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 20px 10px; }
  .stat-card .num { font-size: 1.35rem; }

  /* Issues → still 2 cols but smaller */
  .issues-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .issue-chip { padding: 18px 12px; }
  .issue-name { font-size: .82rem; }

  /* Hero */
  .hero { padding: 56px 16px 44px; }
  .hero h1 { font-size: 1.7rem; }

  /* Sections */
  .mission-section,
  .issues-section,
  .cta-section,
  .why-support,
  .donate-section,
  .volunteer-section { padding: 52px 16px; }

  /* Page hero */
  .page-hero { padding: 48px 16px 40px; }

  /* Countdown */
  .countdown-bar { font-size: .85rem; padding: 12px 16px; }
}


/* ── STEP 7: 404 Page ── */

.page-404 {
  min-height: 75vh;
  background: linear-gradient(135deg, var(--green-dark), var(--green) 50%, var(--green-light));
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
}

.page-404 .big-404 {
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -3px;
}

.page-404 h2 {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.page-404 p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 400px;
}

.page-404 .page-404-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}

.page-404 .page-404-btns a {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: .93rem; font-weight: 700;
  padding: 11px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  border: 1px solid rgba(255,255,255,.18);
}
.page-404 .page-404-btns a:hover { opacity: .85; transform: translateY(-1px); text-decoration: none; }

/* ── Article Pages ── */
.article-page { padding: 40px 0 60px; }
.article-page > .wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 40px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
@media (max-width: 600px) {
  .article-page > .wrap { padding: 28px 20px; border-radius: 12px; }
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 20px; font-size: .85rem; }
.breadcrumb li::after { content: '/'; margin-left: 6px; color: var(--gold); opacity: .5; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--gold); }
.post-header { margin-bottom: 32px; }
.post-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: #fff; margin: 12px 0 8px; line-height: 1.2; }
.post-meta { font-size: .88rem; color: rgba(255,255,255,.6); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.badge-rates { background: #D45050; color: #fff; }
.badge-economy { background: var(--gold); color: #1A3A52; }
.badge-grid { background: #1B5EA6; color: #fff; }
.badge-water { background: #4DB8E8; color: #1A3A52; }
.badge-environment { background: #3BA55A; color: #fff; }
.badge-energy { background: #F0A830; color: #1A3A52; }
.badge-policy { background: #6B5B95; color: #fff; }
.badge-infrastructure { background: #2B6B3A; color: #fff; }
.badge-data { background: #1A3A52; color: #fff; }
.post-content { font-size: 1.05rem; line-height: 1.8; }
.post-content h2 { font-size: 1.4rem; font-weight: 800; color: #fff; margin: 36px 0 16px; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; }
.post-content p { margin-bottom: 18px; }
.post-content a { color: var(--gold); text-decoration: underline; }
.post-content ul, .post-content ol { margin: 1em 0 1.5em; padding-left: 1.5em; }
.post-content li { margin-bottom: .5em; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .92rem; }
.post-content th { background: var(--green); color: #fff; padding: 12px 16px; text-align: left; }
.post-content td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.post-content tr:nth-child(even) { background: rgba(255,255,255,.03); }
.post-content blockquote { border-left: 4px solid var(--gold); padding: 16px 24px; margin: 1.5em 0; background: rgba(232,200,74,.08); border-radius: 0 10px 10px 0; font-style: italic; }
.post-content .data-callout { padding: 20px 24px; background: rgba(27,94,166,.15); border-left: 4px solid #1B5EA6; border-radius: 0 10px 10px 0; margin: 1.5em 0; }
.post-content .data-callout strong { color: var(--gold); }
.article-cta { margin: 48px 0 32px; padding: 32px; background: var(--green); border-radius: 16px; text-align: center; color: #fff; }
.article-cta h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
.article-cta p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.article-back { text-align: center; margin-top: 24px; }
.article-back a { color: var(--gold); font-weight: 600; }
/* Research listing */
.research-hero { background: var(--green-dark); color: #fff; }
.research-hero h1 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 8px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.post-card a { text-decoration: none; color: inherit; display: block; padding: 24px; }
.post-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin: 8px 0; }
.post-card p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; }
.card-meta { font-size: .8rem; color: rgba(255,255,255,.5); padding: 0 24px 16px; }
