/* Chagua Flipping Redesign */
:root {
  --c-green: #006B3F;
  --c-green-dark: #004D2C;
  --c-gold: #FFD700;
  --c-black: #0A0A0A;
  --c-white: #FFFFFF;
  --c-off: #F5F5F0;
  --c-radius: 18px;
}

body.flipping-chagua {
  background: var(--c-off) !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.flipping-chagua header,
body.flipping-chagua .site-header {
  background: var(--c-black) !important;
  border-bottom: 5px solid var(--c-green) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

body.flipping-chagua header a,
body.flipping-chagua .site-header a { color: white !important; font-weight: 600; }

body.flipping-chagua h1,
body.flipping-chagua .hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--c-green), var(--c-green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  line-height: 1.05;
}

body.flipping-chagua .entry-header,
body.flipping-chagua .hero {
  background: linear-gradient(135deg, #006B3F 0%, #003D24 100%) !important;
  color: white !important;
  padding: 5rem 1.5rem 3rem !important;
  border-radius: 0 0 24px 24px;
  text-align: center;
}

body.flipping-chagua article,
body.flipping-chagua .card,
body.flipping-chagua .candidate,
body.flipping-chagua .wp-block-post {
  background: white !important;
  border-radius: var(--c-radius) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.08) !important;
  padding: 1.6rem !important;
  border: 1px solid #eee !important;
  transition: all .25s ease;
}

body.flipping-chagua article:hover,
body.flipping-chagua .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,107,63,.15) !important;
  border-color: var(--c-green) !important;
}

body.flipping-chagua .button,
body.flipping-chagua .wp-block-button__link,
body.flipping-chagua a.button {
  background: var(--c-green) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 1rem 2rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .4px;
}

body.flipping-chagua .stats,
body.flipping-chagua .countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
}

body.flipping-chagua .stats > * {
  background: white;
  border-radius: var(--c-radius);
  padding: 1.4rem;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-top: 5px solid var(--c-gold);
}

body.flipping-chagua .stats strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-green);
}

#chagua-growth-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--c-black);
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 999;
  border-top: 4px solid var(--c-gold);
  font-weight: 600;
  font-size: .95rem;
}

@media (max-width: 768px) {
  body.flipping-chagua h1 { font-size: 2.2rem !important; }
  #chagua-growth-bar { font-size: .85rem; padding: .8rem; }
}
