/* =============================================
   GAMAN JOHN SIMNA — CAMPAIGN WEBSITE
   ADC Brand: Green #006633 | Orange #f05500
   ============================================= */

:root {
  --green:        #006633;
  --green-dark:   #004d26;
  --green-light:  #e8f5ee;
  --orange:       #f05500;
  --orange-light: #fff3ed;
  --white:        #ffffff;
  --off-white:    #f8f9fa;
  --dark:         #1a1a1a;
  --text:         #333333;
  --muted:        #6c757d;
  --border:       #dee2e6;
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.14);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   .3s ease;
  --font-main:    'Nunito', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body { font-family: var(--font-main); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--dark); }

/* ─── UTILITY ─── */
.text-green   { color: var(--green) !important; }
.text-orange  { color: var(--orange) !important; }
.bg-green     { background: var(--green) !important; }
.bg-orange    { background: var(--orange) !important; }
.bg-green-light { background: var(--green-light) !important; }
.section-pad  { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  position: relative;
  margin-bottom: 1rem;
}
.section-title span { color: var(--orange); }
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin-bottom: 3rem; }
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 4px; margin: 1rem auto 2rem;
}
.divider.left { margin-left: 0; }

/* ─── BUTTONS ─── */
.btn-green {
  background: var(--green); color: #fff; border: 2px solid var(--green);
  padding: .65rem 2rem; border-radius: 50px; font-weight: 700;
  transition: all var(--transition);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,102,51,.3); }

.btn-orange {
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
  padding: .65rem 2rem; border-radius: 50px; font-weight: 700;
  transition: all var(--transition);
}
.btn-orange:hover { background: #d44a00; border-color: #d44a00; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,85,0,.3); }

.btn-outline-green {
  background: transparent; color: var(--green); border: 2px solid var(--green);
  padding: .65rem 2rem; border-radius: 50px; font-weight: 700;
  transition: all var(--transition);
}
.btn-outline-green:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.btn-outline-white {
  background: transparent; color: #fff; border: 2px solid #fff;
  padding: .65rem 2rem; border-radius: 50px; font-weight: 700;
  transition: all var(--transition);
}
.btn-outline-white:hover { background: #fff; color: var(--green); transform: translateY(-2px); }

/* ─── NAVBAR ─── */
#mainNav {
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: all .4s;
  padding: .6rem 0;
}
#mainNav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }
.navbar-brand img.party-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; }
.navbar-brand .brand-text { line-height: 1.2; }
.navbar-brand .brand-name { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--green); display: block; }
.navbar-brand .brand-sub  { font-size: .7rem; color: var(--orange); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.nav-link { font-weight: 600; font-size: .92rem; color: var(--dark) !important; padding: .4rem .9rem !important; border-radius: 6px; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--green) !important; background: var(--green-light); }
.lang-toggle { font-size: .8rem; font-weight: 700; border-radius: 20px; padding: .25rem .7rem; cursor: pointer; border: 1.5px solid var(--green); color: var(--green); background: transparent; transition: all var(--transition); }
.lang-toggle:hover, .lang-toggle.active { background: var(--green); color: #fff; }
.navbar-toggler { border: none; padding: .3rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  padding-top: 72px; /* offset for fixed navbar */
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 45%, #1a7a3a 100%);
  position: relative; overflow: hidden; display: flex; align-items: center;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/pattern.svg') repeat;
  opacity: .06;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 50px;
  padding: .35rem 1rem; font-size: .82rem; font-weight: 700;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 1.5rem;
  text-transform: uppercase; letter-spacing: .5px;
}
.hero-badge img { width: 24px; height: 24px; border-radius: 4px; }
.hero-tagline {
  font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.hero-tagline .accent { color: #ffd166; }
.hero-pillars {
  font-size: 1.15rem; font-weight: 700;
  color: rgba(255,255,255,.9); margin-bottom: 2rem; letter-spacing: .5px;
}
.hero-pillars span { color: #ffd166; }
.hero-description { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 500px; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.8rem; font-weight: 900; color: #ffd166; font-family: var(--font-heading); line-height: 1; }
.hero-stat .lbl { font-size: .75rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .5px; }
.hero-image-wrap {
  position: relative; display: flex; justify-content: center;
}
.hero-candidate-img {
  width: 100%; max-width: 420px;
  border-radius: 30px 30px 120px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  object-fit: cover; aspect-ratio: 3/4;
  border: 4px solid rgba(255,255,255,.2);
  position: relative; z-index: 2;
}
.hero-party-badge {
  position: absolute; bottom: 30px; right: -10px;
  background: #fff; border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow-lg); z-index: 3;
  display: flex; align-items: center; gap: .6rem;
}
.hero-party-badge img { width: 40px; height: 40px; }
.hero-party-badge .pname { font-weight: 800; font-size: .8rem; color: var(--green); line-height: 1; }
.hero-party-badge .pcode { font-size: .7rem; color: var(--muted); }
.hero-scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  text-align: center; color: rgba(255,255,255,.6); font-size: .8rem;
}
.scroll-dot { width: 6px; height: 6px; background: rgba(255,255,255,.6); border-radius: 50%; margin: 4px auto 0; animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ─── ABOUT STRIP ─── */
.about-strip { background: var(--green); color: #fff; padding: 1.5rem 0; }
.about-strip .pillar { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.about-strip .pillar i { font-size: 1.4rem; color: #ffd166; }
.about-strip .pillar span { font-size: .95rem; }

/* ─── ABOUT SECTION ─── */
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/5;
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--orange); color: #fff; border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow); text-align: center;
}
.about-img-badge .big { font-size: 2.2rem; font-weight: 900; font-family: var(--font-heading); line-height: 1; }
.about-img-badge .sm  { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.about-content { padding-left: 2rem; } /* desktop only — overridden to 1rem on mobile */
.fact-list { list-style: none; padding: 0; }
.fact-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.fact-list li:last-child { border-bottom: none; }
.fact-list li i { color: var(--green); font-size: 1rem; margin-top: .15rem; flex-shrink: 0; }

/* ─── MANIFESTO ─── */
.manifesto-card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition); height: 100%;
  border-top: 4px solid transparent;
}
.manifesto-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-top-color: var(--orange);
}
.manifesto-icon {
  width: 64px; height: 64px; border-radius: var(--radius);
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.2rem; transition: all var(--transition);
}
.manifesto-card:hover .manifesto-icon { background: var(--green); color: #fff; }
.manifesto-card h5 { font-size: 1.15rem; margin-bottom: .6rem; }
.manifesto-card p { font-size: .9rem; color: var(--muted); }

/* ─── NEWS ─── */
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition); height: 100%;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { width: 100%; height: 220px; object-fit: cover; }
.news-card-body { padding: 1.5rem; }
.news-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: var(--green-light); color: var(--green); padding: .2rem .7rem; border-radius: 50px; }
.news-card-body h5 { font-size: 1.05rem; margin: .6rem 0 .4rem; line-height: 1.4; }
.news-card-body h5 a:hover { color: var(--orange); }
.news-meta { font-size: .8rem; color: var(--muted); }

/* ─── EVENTS ─── */
.event-card {
  background: #fff; border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  display: flex; gap: 1.25rem; transition: all var(--transition);
  border-left: 4px solid var(--green);
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.event-date-box {
  min-width: 68px; background: var(--green); color: #fff;
  border-radius: var(--radius-sm); text-align: center; padding: .8rem .5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.event-date-box .day  { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.event-date-box .mon  { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.event-info h5 { font-size: 1rem; margin-bottom: .3rem; }
.event-meta { font-size: .82rem; color: var(--muted); }
.event-meta i { color: var(--orange); margin-right: .3rem; }
.event-type-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; background: var(--orange-light); color: var(--orange); padding: .15rem .6rem; border-radius: 50px; }

/* ─── STATS COUNTER ─── */
.stats-section { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; }
.stat-box { text-align: center; padding: 2rem 1rem; }
.stat-box .counter { font-size: 3.5rem; font-weight: 900; font-family: var(--font-heading); color: #ffd166; line-height: 1; }
.stat-box .suffix   { font-size: 2rem; color: #ffd166; }
.stat-box .label    { font-size: .9rem; opacity: .85; margin-top: .4rem; text-transform: uppercase; letter-spacing: .5px; }

/* ─── SUPPORT GROUPS ─── */
.group-form-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 2.5rem; border-top: 4px solid var(--green);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--dark); }
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  padding: .65rem 1rem; font-size: .95rem; transition: border-color var(--transition);
}
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,102,51,.1); }

/* ─── DONATE ─── */
.donate-tier {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 2rem;
  text-align: center; cursor: pointer; transition: all var(--transition);
  background: #fff;
}
.donate-tier:hover, .donate-tier.active {
  border-color: var(--green); background: var(--green-light);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.donate-tier .amount { font-size: 2rem; font-weight: 900; color: var(--green); font-family: var(--font-heading); }
.donate-tier .tier-name { font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.donate-tier .tier-desc { font-size: .85rem; color: var(--muted); }

/* ─── GALLERY ─── */
.gallery-item {
  overflow: hidden; border-radius: var(--radius); position: relative;
  cursor: pointer; background: #000;
}
.gallery-item img { transition: transform .5s ease, opacity .3s; width: 100%; height: 220px; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.08); opacity: .8; }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  background: rgba(0,102,51,.5);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: #fff; }

/* ─── VOLUNTEER CARDS ─── */
.volunteer-role-card {
  border-radius: var(--radius); padding: 1.75rem; text-align: center;
  background: #fff; box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: all var(--transition);
}
.volunteer-role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.volunteer-role-card i { font-size: 2.5rem; color: var(--green); margin-bottom: .8rem; }

/* ─── CONTACT ─── */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 48px; height: 48px; background: var(--green-light); color: var(--green);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; margin-right: .5rem;
  background: var(--green-light); color: var(--green);
  font-size: 1.1rem; transition: all var(--transition);
}
.social-links a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }

/* ─── CTA SECTION ─── */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #c44400 100%);
  color: #fff; padding: 80px 0; text-align: center;
}
.cta-section h2 { font-size: 2.5rem; color: #fff; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; }

/* ─── FOOTER ─── */
#footer {
  background: #0d1b0d; color: rgba(255,255,255,.8); padding-top: 60px;
}
.footer-brand .brand-name { font-family: var(--font-heading); color: #fff; font-size: 1.4rem; font-weight: 800; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: .5rem; }
.footer-heading { color: #fff; font-family: var(--font-main); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: #ffd166; }
.footer-bottom { background: rgba(0,0,0,.3); padding: 1.2rem 0; margin-top: 3rem; font-size: .83rem; color: rgba(255,255,255,.5); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  font-size: 1rem; margin-right: .4rem; transition: all var(--transition);
}
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }

/* ─── BREADCRUMB ─── */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff; padding: 80px 0 40px; margin-top: 72px;
}
.page-banner h1 { color: #fff; font-size: 2.5rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.breadcrumb-item.active { color: rgba(255,255,255,.6); }

/* ─── ADMIN STYLES ─── */
.admin-sidebar {
  min-height: 100vh; background: var(--green-dark); color: #fff; width: 260px;
  position: fixed; top: 0; left: 0; z-index: 1000; overflow-y: auto;
  transition: transform var(--transition);
}
.admin-main { margin-left: 260px; min-height: 100vh; background: #f4f6f4; }
.admin-nav-link {
  color: rgba(255,255,255,.75); padding: .7rem 1.5rem; display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; font-weight: 600; border-radius: 0; transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--orange); }
.admin-nav-link i { font-size: 1rem; width: 20px; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.admin-stat-card { border-radius: var(--radius); padding: 1.5rem; color: #fff; }
.stat-green  { background: linear-gradient(135deg, var(--green), #009944); }
.stat-orange { background: linear-gradient(135deg, var(--orange), #ff7733); }
.stat-blue   { background: linear-gradient(135deg, #0066cc, #0099ff); }
.stat-purple { background: linear-gradient(135deg, #6633cc, #9966ff); }

/* ─── LANGUAGE TOGGLE ─── */
/* Text swapping handled entirely by JS — no CSS hiding needed */

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0; background: var(--green); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
}
.preloader-logo { text-align: center; }
.preloader-logo img { width: 80px; animation: pulse 1s infinite alternate; }
.preloader-logo p { color: rgba(255,255,255,.8); margin-top: .5rem; font-size: .85rem; }
@keyframes pulse { from{transform:scale(.95);opacity:.8} to{transform:scale(1.05);opacity:1} }

/* ─── BACK TO TOP ─── */
#backToTop {
  position: fixed; bottom: 25px; right: 25px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  color: #fff; border: none; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow);
  transition: all var(--transition); opacity: 0; pointer-events: none;
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--orange); transform: translateY(-3px); }

/* ─── LIGHTBOX ─── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 10000;
  display: none; align-items: center; justify-content: center;
}
.lightbox-overlay.show { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 25px; color: #fff; font-size: 2rem; cursor: pointer; }

/* ─── RESPONSIVE ─── */

/* ── Tablet (< 992px) ── */
@media (max-width: 991.98px) {
  /* Hero */
  .hero-image-wrap { margin-top: 2.5rem; }
  .hero-candidate-img { max-width: 320px; aspect-ratio: 4/5; }
  .hero-party-badge { right: 8px; bottom: 12px; } /* prevent clipping by overflow:hidden */

  /* About section */
  .about-content { padding-left: 1rem; padding-top: 2rem; } /* keep positive padding — zero breaks Bootstrap's gutter compensation */
  .about-img-badge { right: 0; bottom: 0; }               /* don't hang below image */
  .about-img-wrap { padding-bottom: 0; }

  /* Admin */
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }

  /* About page sticky image — no stick on tablet/mobile */
  .col-lg-4.sticky-lg-top { position: static !important; }
  .col-lg-4.sticky-lg-top img.img-fluid { max-height: 360px; object-fit: cover; }
}

/* ── Mobile (< 768px) ── */
@media (max-width: 767.98px) {
  /* Fix Bootstrap g-5 row overflow — row negative margin (-1.5rem) exceeds
     container padding (0.75rem) on mobile, clipping left-edge text by ~12px.
     Cap all large gutters to 1.5rem so they balance the container padding. */
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
  .row.g-4 { --bs-gutter-x: 1.5rem; }

  .section-pad     { padding: 55px 0; }
  .section-pad-sm  { padding: 36px 0; }
  .section-title   { font-size: 1.75rem; }
  .section-subtitle { font-size: .95rem; margin-bottom: 2rem; }

  /* Hero text */
  .hero-tagline    { font-size: 1.95rem; line-height: 1.2; }
  .hero-pillars    { font-size: 1rem; }
  .hero-description { font-size: .92rem; margin-bottom: 1.5rem; max-width: 100%; }
  .hero-cta-group  { gap: .6rem; }
  .hero-cta-group .btn { font-size: .85rem; padding: .55rem 1.2rem; }

  /* Hero stats — 2 per row */
  .hero-stats { gap: .75rem 1.25rem; }
  .hero-stat  { min-width: calc(50% - 1.25rem); }
  .hero-stat .num { font-size: 1.5rem; }
  .hero-stat .lbl { font-size: .68rem; }

  /* Hero image — shorter on mobile so text isn't pushed far down */
  .hero-candidate-img { max-width: 260px; aspect-ratio: 1/1; border-radius: 20px 20px 80px 20px; }
  .hero-party-badge { right: 4px; bottom: 8px; padding: 8px 10px; gap: .4rem; }
  .hero-party-badge img { width: 28px; height: 28px; }
  .hero-party-badge .pname { font-size: .72rem; }
  .hero-party-badge .pcode { font-size: .62rem; }

  /* About image — cap height so it doesn't fill the entire screen on mobile */
  .about-img-main { max-height: 280px; object-fit: cover; aspect-ratio: unset; }

  /* About badge — take out of absolute flow so it never covers text below */
  .about-img-badge { position: static; display: block; margin: .6rem auto 0;
                     width: fit-content; border-radius: var(--radius-sm); }

  /* About content — reduce top spacing since image is now much shorter */
  .about-content { padding-top: 1rem !important; }

  /* Counter fix — make counter inline so + sits beside the number */
  .stat-box { padding: 1.5rem .5rem; }
  .stat-box .counter { display: inline; font-size: 2.2rem; }
  .stat-box .suffix  { font-size: 1.6rem; vertical-align: middle; }
  .stat-box .label   { font-size: .75rem; }

  /* Event card */
  .event-date-box { min-width: 58px; padding: .7rem .4rem; }
  .event-date-box .day { font-size: 1.6rem; }
  .event-info h5 { font-size: .9rem; }

  /* Page banner */
  .page-banner { padding: 90px 0 28px; margin-top: 0; }
  .page-banner h1 { font-size: 1.75rem; }

  /* CTA section */
  .cta-section { padding: 55px 0; }
  .cta-section h2 { font-size: 1.8rem; }
  .cta-section p  { font-size: .93rem; }

  /* Donate tiers */
  .donate-tier { padding: 1.1rem .8rem; }
  .donate-tier .amount { font-size: 1.5rem; }

  /* Manifesto card */
  .manifesto-icon { width: 52px; height: 52px; font-size: 1.5rem; margin-bottom: 1rem; }

  /* Gallery */
  .gallery-item img { height: 180px; }

  /* News card */
  .news-card-img { height: 180px; }

  /* Footer */
  .footer-bottom { text-align: center; flex-direction: column !important; gap: .3rem !important; }
}

/* ── Small mobile (< 576px) ── */
@media (max-width: 575.98px) {
  .section-title  { font-size: 1.55rem; }
  .hero-tagline   { font-size: 1.75rem; }

  /* Stack CTA buttons on very small screens */
  .hero-cta-group { flex-direction: column; align-items: flex-start; }

  /* Volunteer role cards */
  .volunteer-role-card { padding: 1.25rem 1rem; }
  .volunteer-role-card i { font-size: 2rem; }

  /* Fact list items */
  .fact-list li { font-size: .88rem; }

  /* News card body padding */
  .news-card-body { padding: 1.1rem; }

  /* Stat box full width */
  .stat-box .counter { font-size: 2rem; }

  /* About strip pillars — stack on smallest screens */
  .about-strip .pillar { justify-content: center; }
}
