/* =====================================================================
   SE RHPV — South East Renewed Hope Polling Unit Volunteers
   Design tokens
   Color:  --green: #008751 (Nigerian flag green) / --green-deep: #00action
   Type:   Poppins (display) + Inter (body)
   Signature: the green-white-green flag stripe used as a structural
   divider throughout — not a generic gradient.
   ===================================================================== */

:root {
  --green:        #00874E;
  --green-deep:   #00532F;
  --green-darker: #003B21;
  --green-soft:   #E7F6EE;
  --white:        #FFFFFF;
  --ink:          #10241B;
  --ink-soft:     #4B5A52;
  --line:         #DCEAE2;
  --gold:         #E8B21D; /* used sparingly — verified badges only */

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0, 59, 33, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 59, 33, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 59, 33, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--green-darker);
  font-weight: 700;
}

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

::selection { background: var(--green); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===== Signature: flag stripe ===== */
.flag-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(
    to right,
    var(--green) 0%, var(--green) 33.33%,
    var(--white) 33.33%, var(--white) 66.66%,
    var(--green) 66.66%, var(--green) 100%
  );
}

/* ===== Buttons ===== */
.btn-se-primary {
  background: var(--green);
  border: 2px solid var(--green);
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-se-primary:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-se-outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-se-outline:hover {
  background: var(--green-soft);
  color: var(--green-deep);
  transform: translateY(-2px);
}
.btn-se-light {
  background: var(--white);
  border: 2px solid var(--white);
  color: var(--green-deep);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.btn-se-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--green-deep);
}

/* ===== Navbar ===== */
.se-navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand-logo-slot {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-slot img { width: 100%; height: 100%; object-fit: cover; }
.logo-fallback { font-family: var(--font-display); font-weight: 800; color: var(--green); font-size: 0.9rem; display:flex; align-items:center; justify-content:center; width:100%; height:100%;}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); color: var(--green-darker); font-size: 1.05rem; letter-spacing: 0.5px; }
.brand-text small { color: var(--ink-soft); font-size: 0.68rem; max-width: 220px; white-space: normal; }
.se-navbar .nav-link { font-weight: 600; color: var(--ink); margin: 0 0.4rem; }
.se-navbar .nav-link:hover { color: var(--green); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(0,135,78,0.08), transparent 45%),
    var(--white);
  overflow: hidden;
}
.hero-bg-emblem {
  position: absolute;
  top: -120px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--green-soft), transparent 60%);
  opacity: 0.7;
  z-index: 0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  border: 1px solid var(--green);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.eyebrow-light { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.4); }
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin: 1.1rem 0 1.2rem;
  color: var(--green-darker);
}
.hero-title span { color: var(--green); }
.hero-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 560px; }

.state-chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.state-chip {
  font-weight: 700; font-size: 0.82rem;
  color: var(--green-deep);
  background: var(--white);
  border: 1.5px solid var(--green);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.hero-logo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-logo-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 12px;
  background: var(--green-soft);
  border: 2px dashed var(--green);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-logo-slot img { width: 100%; height: 100%; object-fit: contain; }
.hero-logo-fallback {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--green-deep); padding: 1.5rem; text-align: center;
}
.hero-logo-fallback i { font-size: 2.2rem; }
.hero-logo-fallback code { font-size: 0.72rem; background: var(--white); padding: 2px 6px; border-radius: 4px; }
.hero-logo-caption { margin-top: 1rem; display: flex; flex-direction: column; }
.hero-logo-caption strong { color: var(--green-darker); }
.hero-logo-caption span { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--green-darker);
  padding: 2.75rem 0;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  color: var(--white);
}
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; margin-top: 0.2rem; }

/* ===== Section generic ===== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); margin-bottom: 0.6rem;
}
.section-eyebrow-light { color: #B9F0D5; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.section-text { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.7; }

.section-about { padding: 5rem 0; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; color: var(--ink); }
.check-list i { color: var(--green); margin-top: 3px; }

.about-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.about-mini-card {
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}
.about-mini-card:hover { transform: translateY(-4px); }
.about-mini-card i { font-size: 1.6rem; color: var(--green); }
.about-mini-card h5 { margin: 0.6rem 0 0.3rem; font-size: 1.02rem; }
.about-mini-card p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }

/* ===== States section ===== */
.section-states { padding: 5rem 0; background: var(--green-soft); }
.state-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.state-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.state-card-top { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.state-flag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.state-card-top h4 { margin: 0; font-size: 1.15rem; }
.state-card-count { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--green); }
.state-card-label { color: var(--ink-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ===== Connect / social ===== */
.section-connect { padding: 5rem 0; background: var(--green-darker); }
.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.connect-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.4rem 0.8rem;
  color: var(--white);
  font-weight: 600; font-size: 0.88rem;
  transition: all 0.2s ease;
}
.connect-item i { font-size: 1.6rem; }
.connect-item:hover { background: var(--green); color: var(--white); transform: translateY(-4px); }

/* ===== FAQ ===== */
.section-faq { padding: 5rem 0; }
.se-accordion .accordion-item { border: 1px solid var(--line); border-radius: 10px !important; margin-bottom: 0.8rem; overflow: hidden; }
.se-accordion .accordion-button { font-weight: 600; color: var(--green-darker); }
.se-accordion .accordion-button:not(.collapsed) { background: var(--green-soft); color: var(--green-deep); box-shadow: none; }
.se-accordion .accordion-button:focus { box-shadow: none; }

/* ===== Final CTA ===== */
.section-final-cta {
  background: var(--green);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}
.section-final-cta h2 { color: var(--white); margin-bottom: 0.4rem; }
.section-final-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.6rem; }

/* ===== Footer ===== */
.se-footer { background: var(--green-darker); color: rgba(255,255,255,0.8); }
.footer-brand { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; }
.footer-about { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-top: 0.8rem; }
.footer-heading { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--white); }
.social-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.social-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.35rem 0.8rem; border-radius: 999px;
  width: fit-content;
  transition: all 0.2s ease;
}
.social-pill:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.social-pill.wa:hover { background: #25D366; border-color: #25D366; }
.footer-rule { border-color: rgba(255,255,255,0.15); margin: 2.5rem 0 1.5rem; }
.se-footer small { color: rgba(255,255,255,0.55); }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { color: var(--white); transform: scale(1.08); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Register page ===== */
.register-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  padding: 4rem 0 3.5rem;
  color: var(--white);
  text-align: center;
}
.register-hero h1 { color: var(--white); margin: 0.8rem 0 0.5rem; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.register-hero p { color: rgba(255,255,255,0.85); }

.register-section { padding: 3.5rem 0 5rem; background: var(--green-soft); }
.form-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
  border: 1px solid var(--line);
}

/* Wizard progress */
.wizard-progress { display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.wizard-step {
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
  font-size: 0.8rem; font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--line);
  position: relative;
}
.wizard-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--line); color: var(--white);
  font-size: 0.75rem; margin-right: 6px;
}
.wizard-step.active { color: var(--green-deep); border-color: var(--green); }
.wizard-step.active span { background: var(--green); }
.wizard-step.completed { color: var(--green-deep); border-color: var(--green); }
.wizard-step.completed span { background: var(--green-deep); }

.wizard-pane { display: none; padding-top: 1.8rem; animation: fadeIn 0.35s ease; }
.wizard-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.pane-title { color: var(--green-deep); margin-bottom: 1.2rem; }
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--line);
  padding: 0.6rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,135,78,0.15);
}

.wizard-nav { display: flex; justify-content: space-between; margin-top: 2rem; }

/* Upload dropzones */
.upload-drop {
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: var(--green-soft);
  padding: 1.6rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.upload-drop:hover, .upload-drop.dragover { border-color: var(--green); background: #DDF3E7; }
.upload-drop i { font-size: 1.8rem; color: var(--green); display: block; margin-bottom: 0.4rem; }
.upload-text { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.upload-filename { display: block; margin-top: 0.4rem; font-weight: 700; color: var(--green-deep); }

/* ===== Thank you page ===== */
.thankyou-section { padding: 6rem 0; }
.thankyou-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem;
  margin: 0 auto 1.5rem;
}
.thankyou-next-steps {
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin-top: 2rem;
  max-width: 460px;
}
.thankyou-next-steps h6 { color: var(--green-deep); margin-bottom: 0.6rem; }
.thankyou-next-steps ol { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.thankyou-next-steps li { margin-bottom: 0.4rem; }

/* ===== Admin ===== */
.admin-body { background: var(--green-soft); min-height: 100vh; }
.admin-sidebar { background: var(--green-darker); min-height: 100vh; color: var(--white); }
.admin-sidebar a { color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--green-deep), var(--green-darker)); }
.admin-login-card { background: var(--white); border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.badge-status-pending { background: #FFF3CD; color: #8A6D1B; }
.badge-status-verified { background: var(--green-soft); color: var(--green-deep); }
.badge-status-rejected { background: #FBE1E1; color: #9C2B2B; }

/* ===== Banner slider (homepage hero — always sliding: real photos once
   uploaded in admin/banners.php, built-in animated slides until then) ===== */
.banner-hero { position: relative; overflow: hidden; }
.banner-hero .carousel-item { height: clamp(420px, 78vh, 760px); }
.banner-media-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--green-darker); }
.banner-media-blur {
  position: absolute; inset: -30px;
  background-size: cover; background-position: center;
  filter: blur(26px) brightness(0.55) saturate(1.15);
  transform: scale(1.15);
  animation: kenburns 9s ease-out forwards;
}
.banner-media-frame img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
}
.banner-hero .carousel-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,59,33,0.05) 0%, rgba(0,59,33,0.55) 100%);
  pointer-events: none;
}
@keyframes kenburns {
  from { transform: scale(1.15); }
  to { transform: scale(1.25); }
}
.carousel-caption-custom {
  position: absolute; left: 6%; right: 6%; bottom: 12%; z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1.15;
  max-width: 760px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

/* Built-in animated slides (no photo needed) */
.hero-slide-css {
  position: relative;
  height: clamp(420px, 78vh, 760px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-darker) 0%, var(--green-deep) 45%, var(--green) 100%);
}
.hero-slide-css-2 { background: linear-gradient(135deg, #002417 0%, var(--green-darker) 50%, var(--green-deep) 100%); }
.hero-slide-css-3 { background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 55%, #00A85E 100%); }
.hero-slide-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  animation: driftPattern 18s linear infinite;
  opacity: 0.5;
}
@keyframes driftPattern {
  from { background-position: 0 0; }
  to { background-position: 260px 260px; }
}
.hero-slide-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 0 1rem; }
.hero-slide-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.15;
  margin: 1.1rem 0 1rem;
  text-shadow: 0 3px 20px rgba(0,0,0,0.3);
}
.hero-slide-content p { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

@media (max-width: 767px) {
  .banner-hero .carousel-item, .hero-slide-css { height: clamp(400px, 88vh, 620px); }
  .carousel-caption-custom { bottom: 15%; }
}

/* ===== Campaign logo strip (below the hero) ===== */
.logo-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.logo-strip-inner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.logo-strip-emblem {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green-soft); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
}
.logo-strip-emblem img { width: 100%; height: 100%; object-fit: contain; }
.logo-strip-fallback { color: var(--green); font-size: 1.3rem; }
.logo-strip-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-strip-text strong { color: var(--green-darker); font-family: var(--font-display); font-size: 0.95rem; }
.logo-strip-text span { font-size: 0.8rem; color: var(--ink-soft); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== News (front and center) ===== */
.section-news { padding: 5rem 0 2rem; }
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card-img { position: relative; height: 220px; background: var(--green-darker); overflow: hidden; }
.news-media-blur {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(18px) brightness(0.6);
  transform: scale(1.15);
}
.news-card-img img {
  position: relative; z-index: 1;
  display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.news-card-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--green); position: relative; z-index: 1; }
.news-card-body { padding: 1.3rem; }
.news-card-body h5 { font-size: 1.05rem; margin: 0.4rem 0 0.5rem; color: var(--green-darker); }
.news-card-body p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
.news-empty-card {
  text-align: center; padding: 3rem 1.5rem;
  background: var(--green-soft); border-radius: var(--radius);
  color: var(--ink-soft);
}
.news-empty-card i { font-size: 2rem; color: var(--green); display: block; margin-bottom: 0.6rem; }
.news-empty-card code { background: var(--white); padding: 2px 6px; border-radius: 4px; }

/* ===== Knowledge Hub ===== */
.section-knowledge { padding: 5rem 0; background: var(--green-soft); }
.knowledge-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.knowledge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.knowledge-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--green); margin-bottom: 0.9rem; }
.knowledge-type { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); }
.knowledge-card h6 { margin: 0.4rem 0 0.4rem; color: var(--green-darker); }
.knowledge-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ===== Election calendar / countdown ===== */
.section-calendar { padding: 4.5rem 0; background: var(--green-darker); }
.countdown-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.countdown-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 1.2rem 1.6rem;
  min-width: 100px;
  text-align: center;
}
.countdown-box span { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); }
.countdown-box small { color: rgba(255,255,255,0.65); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Results preview ===== */
.section-results { padding: 5rem 0; background: var(--green-soft); }

/* ===== Pagination ===== */
.pagination .page-link { color: var(--green-deep); border-color: var(--line); }
.pagination .page-item.active .page-link { background: var(--green); border-color: var(--green); }

/* Responsive tweaks */
@media (max-width: 767px) {
  .about-card-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; }
  .wizard-step { min-width: 45%; }
}
