/* ============================================================
   NANS 2026 — Main Stylesheet (Mobile-First Responsive)
   Design: Whitespace-dominant, green brand, yellow accent
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES
   ══════════════════════════════════════════════════════════ */
:root {
  --green-900: #0d2818;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #15803d;
  --green-500: #16a34a;
  --green-400: #22c55e;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;

  --yellow:       #f5b800;
  --yellow-light: #ffd23f;
  --yellow-dark:  #c79500;
  --yellow-pale:  #fffbeb;

  --bg:          #fafaf7;
  --surface:     #ffffff;
  --surface-2:   #f5f5f2;
  --border:      #e7e5e0;
  --border-light:#f0efe9;

  --text:        #1a1a1a;
  --text-muted:  #5c5c5c;
  --text-light:  #8a8a8a;
  --text-inv:    #ffffff;

  --font-hero:   'Space Grotesk', sans-serif;
  --font-heading:'Montserrat', sans-serif;
  --font-body:   'Poppins', sans-serif;

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-xs:   0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-md:   0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 16px 40px rgba(0,0,0,.14);
  --shadow-green:0 8px 24px rgba(21,128,61,.20);

  --transition:  all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .4s cubic-bezier(.4,0,.2,1);

  --container:   1200px;
  --nav-height:  72px;
  --bar-height:  0px;
}

/* ══════════════════════════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
}

body.has-bar {
  padding-top: calc(var(--nav-height) + var(--bar-height));
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
table { border-collapse: collapse; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ══════════════════════════════════════════════════════════ */
.font-hero    { font-family: var(--font-hero); }
.font-heading { font-family: var(--font-heading); }
.font-body    { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-muted); line-height: 1.8; }

.text-sm   { font-size: .875rem; }
.text-xs   { font-size: .75rem; }
.text-lg   { font-size: 1.125rem; }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }
.text-green { color: var(--green-600); }
.text-yellow{ color: var(--yellow); }
.text-white { color: var(--text-inv); }
.text-center{ text-align: center; }
.font-medium { font-weight: 500; }
.font-semi   { font-weight: 600; }
.font-bold   { font-weight: 700; }

/* ══════════════════════════════════════════════════════════
   4. LAYOUT
   ══════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.section    { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section-lg { padding: 96px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.flex       { display: flex; }
.flex-col   { display: flex; flex-direction: column; }
.items-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.flex-wrap{ flex-wrap: wrap; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* Responsive grid breakpoints */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section    { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .section-lg { padding: 112px 0; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

@media (min-width: 1024px) {
  .section    { padding: 96px 0; }
  .section-lg { padding: 128px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ══════════════════════════════════════════════════════════
   5. SECTION HEADERS
   ══════════════════════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label .label-number {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: .68rem;
  color: var(--text-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-title em {
  font-style: italic;
  color: var(--yellow-dark);
}

.section-subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* Flex header with CTA */
.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 52px; }
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
  }
}

/* ══════════════════════════════════════════════════════════
   6. BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  justify-content: center;
}

.btn-primary {
  background: var(--green-600);
  color: var(--text-inv);
  border-color: var(--green-600);
}
.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-outline {
  background: transparent;
  color: var(--green-600);
  border-color: var(--green-600);
}
.btn-outline:hover {
  background: var(--green-600);
  color: var(--text-inv);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--text);
  border-color: var(--yellow);
  font-weight: 700;
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--surface);
  color: var(--green-700);
  border-color: var(--surface);
  font-weight: 700;
}
.btn-white:hover { background: var(--green-50); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-600); }

.btn-sm { font-size: .8rem; padding: 8px 16px; gap: 6px; }
.btn-lg { font-size: .95rem; padding: 14px 32px; }

@media (max-width: 480px) {
  .btn-lg { padding: 12px 22px; font-size: .875rem; }
}

/* ══════════════════════════════════════════════════════════
   7. CARDS
   ══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
  z-index: 1;
}
.card:hover::before { transform: scaleX(1); }

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-2);
}

.card-body { padding: 20px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color .2s;
}

.card:hover .card-title,
a:hover .card-title { color: var(--green-600); }

.card-excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .card-body { padding: 24px; }
  .card-image { height: 220px; }
}

/* ══════════════════════════════════════════════════════════
   8. BADGES
   ══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-green   { background: var(--green-100); color: var(--green-700); }
.badge-yellow  { background: #fef3c7; color: #92400e; }
.badge-blue    { background: #dbeafe; color: #1d4ed8; }
.badge-red     { background: #fee2e2; color: #991b1b; }
.badge-gray    { background: #f3f4f6; color: #374151; }
.badge-orange  { background: #ffedd5; color: #c2410c; }

.badge-national     { background: var(--green-100); color: var(--green-700); }
.badge-zonal        { background: #dbeafe; color: #1d4ed8; }
.badge-campus       { background: #f3e8ff; color: #7c3aed; }
.badge-press        { background: #ffedd5; color: #c2410c; }
.badge-announcement { background: #fef3c7; color: #92400e; }
.badge-welfare      { background: #fce7f3; color: #be185d; }
.badge-advocacy     { background: var(--green-100); color: var(--green-700); }
.badge-impact       { background: #dbeafe; color: #1d4ed8; }

/* ══════════════════════════════════════════════════════════
   9. FORMS
   ══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-label span.required { color: #dc2626; margin-left: 3px; }

.form-control {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(21,128,61,.12);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-hint  { font-size: .78rem; color: var(--text-light); margin-top: 4px; }
.form-error { font-size: .78rem; color: #dc2626; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   10. NAVIGATION
   ══════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: top .3s ease, box-shadow .25s ease;
}

body.has-bar .site-nav {
  top: var(--bar-height);
}

.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 768px) {
  .nav-inner { padding: 0 24px; }
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text strong {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 800;
  color: var(--green-800);
}

.nav-logo-text span {
  font-size: .62rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Nav Links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 190px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-dropdown-item:hover {
  background: var(--green-50);
  color: var(--green-700);
}

/* Nav CTA — hidden on mobile */
.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .nav-cta { display: flex; }
}

/* Announcement Bar */
.announcement-bar {
  background: var(--green-800);
  color: var(--text-inv);
  text-align: center;
  padding: 8px 48px 8px 16px;
  font-size: .75rem;
  font-weight: 500;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.4;
}

.announcement-bar a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: underline;
}

.announcement-bar .bar-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 4px;
}

.announcement-bar .bar-close:hover { color: white; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  flex-direction: column;
  gap: 6px;
}

body.has-bar .mobile-menu {
  top: calc(var(--nav-height) + var(--bar-height));
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--green-700);
  background: var(--green-50);
}

.mobile-menu-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════
   11. FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,.8);
  margin-top: auto;
}

.footer-top {
  padding: 56px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

@media (min-width: 768px) {
  .footer-top { padding: 72px 0 56px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer-brand .footer-logo-text strong {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 800;
  color: white;
  display: block;
}

.footer-brand .footer-logo-text span {
  font-size: .68rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }

.footer-nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav a:hover { color: var(--yellow); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--yellow); }

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom-links a:hover { color: var(--yellow); }

/* Newsletter */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form input {
  flex: 1;
  padding: 9px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  color: white;
  font-size: .82rem;
  font-family: var(--font-body);
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }

.newsletter-form input:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,.12);
}

.newsletter-form button {
  padding: 9px 18px;
  background: var(--yellow);
  color: var(--text);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--yellow-dark); }

/* ══════════════════════════════════════════════════════════
   12. HERO SECTION
   ══════════════════════════════════════════════════════════ */
.hero {
  background: var(--green-800);
  position: relative;
  overflow: hidden;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .hero { padding: 72px 0; min-height: 80vh; display: flex; align-items: center; }
}

@media (min-width: 1024px) {
  .hero { min-height: 88vh; padding: 80px 0; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(21,128,61,.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(245,184,0,.08) 0%, transparent 60%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,184,0,.15);
  border: 1px solid rgba(245,184,0,.3);
  color: var(--yellow-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-badge span {
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-inv);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--yellow);
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; gap: 14px; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 36px;
}

.hero-stat {
  background: rgba(255,255,255,.04);
  padding: 18px 14px;
  text-align: center;
  transition: background .2s;
}

@media (min-width: 768px) {
  .hero-stat { padding: 24px 20px; }
}

.hero-stat:hover { background: rgba(255,255,255,.08); }

.hero-stat strong {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

@media (min-width: 768px) {
  .hero-stat span { font-size: .72rem; }
}

/* Hero visual — hidden on mobile/tablet */
.hero-visual { display: none; }

@media (min-width: 1024px) {
  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
}

.hero-card-stack { position: relative; width: 100%; max-width: 400px; }

.hero-main-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  z-index: 2;
}

.hero-sub-card {
  position: absolute;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero-sub-card.card-1 {
  bottom: -20px; right: -20px;
  width: 180px; height: 88px;
  padding: 14px;
}

.hero-sub-card.card-2 {
  top: -16px; left: -16px;
  width: 150px; height: 72px;
  padding: 12px;
}

/* ══════════════════════════════════════════════════════════
   13. HOMEPAGE SECTIONS (responsive helpers)
   ══════════════════════════════════════════════════════════ */

/* Pillar strip */
.hp-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .hp-pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .hp-pillars-grid { grid-template-columns: repeat(4, 1fr); }
}

.hp-pillar {
  background: var(--surface);
  padding: 28px 22px;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .hp-pillar { padding: 36px 28px; }
}

.hp-pillar:hover { background: var(--green-50); }

/* News featured layout */
.hp-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .hp-news-grid { grid-template-columns: 1.4fr 1fr; gap: 28px; }
}

.hp-news-side-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .hp-news-side-stack { gap: 28px; }
}

.hp-side-card-inner {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .hp-side-card-inner { grid-template-columns: 110px 1fr; }
}

.hp-side-card-img {
  height: 160px;
  min-height: 100px;
  background: var(--green-50);
  overflow: hidden;
}

@media (min-width: 480px) {
  .hp-side-card-img { height: 100%; min-height: 120px; }
}

/* About grid */
.hp-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hp-about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

@media (min-width: 1024px) {
  .hp-about-grid { gap: 80px; }
}

.hp-about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .hp-about-points { grid-template-columns: 1fr 1fr; gap: 14px; }
}

.hp-zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .hp-zone-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.hp-zone-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 480px) {
  .hp-zone-stats {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Events list */
.hp-event-item-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (min-width: 640px) {
  .hp-event-item-inner { grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; }
}

.hp-event-date-block { display: none; }

@media (min-width: 640px) {
  .hp-event-date-block { display: block; }
}

.hp-event-cta { margin-top: 12px; }

@media (min-width: 640px) {
  .hp-event-cta { margin-top: 0; }
}

/* Impact numbers */
.hp-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hp-impact-grid { grid-template-columns: repeat(4, 1fr); }
}

.hp-impact-item {
  padding: 28px 18px;
  text-align: center;
}

@media (min-width: 768px) {
  .hp-impact-item { padding: 40px 24px; }
}

/* Hub CTA */
.hp-hub-outer {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  padding: 36px 20px;
}

@media (min-width: 768px) {
  .hp-hub-outer { padding: 56px 48px; }
}

@media (min-width: 1024px) {
  .hp-hub-outer { padding: 72px 64px; }
}

.hp-hub-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .hp-hub-inner { grid-template-columns: 1fr auto; gap: 48px; }
}

.hp-hub-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Contact strip */
.hp-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hp-contact-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* Quick stats 2x2 inside hero card */
.hp-hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════
   14. FLASH MESSAGES
   ══════════════════════════════════════════════════════════ */
.flash-messages {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  right: 12px;
  left: 12px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .flash-messages {
    left: auto;
    max-width: 380px;
    right: 24px;
  }
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: var(--shadow-md);
  animation: flash-in .3s ease;
  border-left: 4px solid;
}

@keyframes flash-in {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

.flash--success { background: #f0fdf4; border-color: var(--green-600); color: var(--green-700); }
.flash--error   { background: #fef2f2; border-color: #dc2626; color: #991b1b; }
.flash--info    { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
.flash--warning { background: #fffbeb; border-color: var(--yellow); color: #92400e; }

/* ══════════════════════════════════════════════════════════
   15. PAGINATION
   ══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.page-btn:hover { border-color: var(--green-600); color: var(--green-600); }
.page-btn.active { background: var(--green-600); border-color: var(--green-600); color: white; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ══════════════════════════════════════════════════════════
   16. BREADCRUMB
   ══════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: var(--text-light);
  flex-wrap: wrap;
  padding: 12px 0;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--green-600); }
.breadcrumb-sep { color: var(--border); line-height: 1; }
.breadcrumb span:last-child { color: var(--green-700); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   17. PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--green-800);
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero { padding: 64px 0 52px; }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(21,128,61,.3) 0%, transparent 70%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,184,0,.12);
  border: 1px solid rgba(245,184,0,.25);
  color: var(--yellow-light);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.page-hero h1 em { font-style: italic; color: var(--yellow); }

.page-hero p {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   18. COMMENT SECTION
   ══════════════════════════════════════════════════════════ */
.comments-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .comments-section { margin-top: 64px; padding-top: 48px; }
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-title .count {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--surface-2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.comment-list { display: flex; flex-direction: column; }

.comment-item {
  display: flex;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .comment-item { gap: 16px; padding: 28px 0; }
}

.comment-item:last-child { border-bottom: none; }

.comment-item.reply {
  margin-left: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--green-100);
}

@media (min-width: 768px) {
  .comment-item.reply { margin-left: 56px; padding-left: 20px; }
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-700);
  flex-shrink: 0;
}

.comment-body { flex: 1; min-width: 0; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.comment-author { font-weight: 700; font-size: .88rem; color: var(--text); }
.comment-date   { font-size: .75rem; color: var(--text-light); }

.comment-text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.comment-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.comment-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.comment-action-btn:hover {
  color: var(--green-600);
  background: var(--green-50);
}

.comment-form-wrap {
  margin-top: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

@media (min-width: 768px) {
  .comment-form-wrap { padding: 36px; margin-top: 48px; }
}

.comment-form-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.comment-name-email-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .comment-name-email-grid { grid-template-columns: 1fr 1fr; }
}

.reply-form-wrap {
  margin-top: 12px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  display: none;
}

.reply-form-wrap.open { display: block; }

/* ══════════════════════════════════════════════════════════
   19. UTILITIES
   ══════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.divider { height: 1px; background: var(--border); margin: 24px 0; }
.rounded    { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full{ border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }

.bg-green-50  { background: var(--green-50); }
.bg-green-800 { background: var(--green-800); }
.bg-surface   { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.bg-yellow-pale{ background: var(--yellow-pale); }
.border     { border: 1px solid var(--border); }

.img-cover { width: 100%; height: 100%; object-fit: cover; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state svg { color: var(--border); margin: 0 auto 16px; }
.empty-state h3  { font-size: 1rem; color: var(--text-muted); margin-bottom: 8px; }
.empty-state p   { font-size: .85rem; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: var(--green-600);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 500;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════
   20. SCROLL REVEAL (added by JS)
   ══════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal="left"]  { transform: translateX(-20px); }
[data-reveal="right"] { transform: translateX(20px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* ══════════════════════════════════════════════════════════
   21. INLINE STYLE MOBILE OVERRIDES
   Target inline grid/flex styles on content sections
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Force all inline 2-col grids to stack */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.4fr"],
  [style*="grid-template-columns:1.4fr"],
  [style*="grid-template-columns: 1.2fr"],
  [style*="grid-template-columns:1.2fr"],
  [style*="grid-template-columns: 1.8fr"],
  [style*="grid-template-columns:1.8fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Fixed-width sidebar grids */
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 280px"],
  [style*="grid-template-columns:1fr 280px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }

  /* Multi-column inline grids */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Event row grid */
  [style*="grid-template-columns: 88px 1fr auto"],
  [style*="grid-template-columns:88px 1fr auto"],
  [style*="grid-template-columns: 80px 1fr auto"],
  [style*="grid-template-columns:80px 1fr auto"] {
    grid-template-columns: 1fr !important;
  }

  /* News side card layout */
  [style*="grid-template-columns: 120px 1fr"],
  [style*="grid-template-columns:120px 1fr"],
  [style*="grid-template-columns: 110px 1fr"],
  [style*="grid-template-columns:110px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* President card */
  [style*="grid-template-columns: 280px 1fr"],
  [style*="grid-template-columns:280px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Timeline */
  [style*="grid-template-columns: 1fr 40px 1fr"],
  [style*="grid-template-columns:1fr 40px 1fr"] {
    grid-template-columns: 32px 1fr !important;
  }

  /* Large paddings */
  [style*="padding: 72px 64px"],
  [style*="padding:72px 64px"],
  [style*="padding: 44px 48px"],
  [style*="padding:44px 48px"],
  [style*="padding: 40px 48px"],
  [style*="padding:40px 48px"] {
    padding: 28px 16px !important;
  }

  /* Large gaps */
  [style*="gap: 80px"],
  [style*="gap:80px"],
  [style*="gap: 72px"],
  [style*="gap:72px"],
  [style*="gap: 60px"],
  [style*="gap:60px"] {
    gap: 32px !important;
  }

  [style*="gap: 56px"],
  [style*="gap:56px"],
  [style*="gap: 48px"],
  [style*="gap:48px"] {
    gap: 24px !important;
  }

  /* Large font overrides */
  [style*="font-size: 5rem"],
  [style*="font-size:5rem"] { font-size: 3rem !important; }
  [style*="font-size: 8rem"],
  [style*="font-size:8rem"] { font-size: 3.5rem !important; }
  [style*="font-size: 2.4rem"],
  [style*="font-size:2.4rem"] { font-size: 1.5rem !important; }
  [style*="font-size: 2.2rem"],
  [style*="font-size:2.2rem"] { font-size: 1.4rem !important; }
  [style*="font-size: 1.8rem"],
  [style*="font-size:1.8rem"] { font-size: 1.2rem !important; }

  /* Large image heights */
  [style*="height: 320px"],
  [style*="height:320px"] { height: 200px !important; }
  [style*="height: 280px"],
  [style*="height:280px"] { height: 200px !important; }

  /* Sticky sidebar */
  aside[style*="position: sticky"],
  aside[style*="position:sticky"] { position: static !important; }

  /* Zone card sidebar */
  [style*="width: 60px"][style*="writing-mode"] { display: none !important; }

  /* All images responsive */
  img { max-width: 100% !important; }

  /* Flex wrap */
  [style*="display: flex"][style*="justify-content: space-between"],
  [style*="display:flex"][style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
  }

  /* Border radius on full-width cards */
  [style*="border-radius: var(--radius-lg) 0 0 var(--radius-lg)"] {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }
}

@media (max-width: 479px) {
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns:repeat(2"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Stat strips with 1px gaps */
  [style*="gap: 1px"][style*="grid"],
  [style*="gap:1px"][style*="grid"],
  [style*="gap: 2px"][style*="grid"],
  [style*="gap:2px"][style*="grid"] {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════
   22. PRINT
   ══════════════════════════════════════════════════════════ */
@media print {
  .site-nav, .site-footer, .announcement-bar,
  .btn, .flash-messages, .newsletter-form,
  .back-to-top, .mobile-menu { display: none !important; }
  body { padding-top: 0 !important; }
  .hero { min-height: auto; padding: 24px 0; }
  .section { padding: 20px 0; }
}

/* ══════════════════════════════════════════════════════════
   HERO MOBILE FIX — Tighter, fitted, balanced
   ══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* Hero container */
  .hero {
    padding: 32px 0 40px !important;
    min-height: auto !important;
  }

  .hero-inner {
    padding: 0 20px !important;
    gap: 0 !important;
  }

  .hero-content {
    text-align: left;
  }

  /* Badge — smaller */
  .hero-badge {
    font-size: .62rem !important;
    padding: 4px 10px !important;
    margin-bottom: 18px !important;
    letter-spacing: .08em !important;
  }

  .hero-badge span {
    width: 5px !important;
    height: 5px !important;
  }

  /* Title — fit on screen */
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
    letter-spacing: -.025em !important;
  }

  /* Subtitle — smaller, tighter */
  .hero-subtitle {
    font-size: .92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
    color: rgba(255,255,255,.7) !important;
  }

  /* Action buttons */
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 28px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: .88rem !important;
  }

  /* Stats — equal cells, compact */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    margin-top: 0 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
  }

  .hero-stat {
    padding: 14px 6px !important;
    text-align: center !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .hero-stat strong {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    margin-bottom: 3px !important;
  }

  .hero-stat span {
    font-size: .58rem !important;
    letter-spacing: .06em !important;
    line-height: 1.2 !important;
  }
}

/* Extra small phones */
@media (max-width: 380px) {

  .hero {
    padding: 24px 0 32px !important;
  }

  .hero-inner {
    padding: 0 16px !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.1 !important;
  }

  .hero-subtitle {
    font-size: .85rem !important;
    margin-bottom: 20px !important;
  }

  .hero-stat strong {
    font-size: 1.1rem !important;
  }

  .hero-stat span {
    font-size: .52rem !important;
  }

  .hero-actions .btn {
    padding: 11px 16px !important;
    font-size: .82rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   FIX: Counter animation works without JS
   Stats show actual numbers as fallback if JS fails
   ══════════════════════════════════════════════════════════ */
.hero-stat strong span[data-count] {
  display: inline-block;
}

/* Show static number if no JS — invisible "0" replaced with actual */
.hero-stat strong span[data-count]::after {
  content: attr(data-display);
}

/* ══════════════════════════════════════════════════════════
   Ensure nav and hero feel connected (remove white gap)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .site-nav {
    box-shadow: none !important;
    border-bottom: 1px solid rgba(0,0,0,.04) !important;
  }

  .site-nav.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
  }
}

/* ══════════════════════════════════════════════════════════
   EVENT LIST CARDS — Mobile-first responsive
   ══════════════════════════════════════════════════════════ */

.event-list-card {
  overflow: hidden;
}

.event-card-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  align-items: stretch;
}

.event-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  flex-shrink: 0;
}

.event-date-month {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.event-date-day {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-year {
  font-size: .65rem;
  margin-top: 2px;
}

.event-content-col {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.event-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.event-actions .btn {
  font-size: .78rem;
  padding: 8px 14px;
}

@media (min-width: 768px) {
  .event-card-inner {
    grid-template-columns: 100px 1fr;
  }

  .event-date-col {
    padding: 20px 12px;
  }

  .event-date-day {
    font-size: 2.2rem;
  }

  .event-content-col {
    padding: 20px 24px;
  }

  .event-actions .btn {
    font-size: .82rem;
    padding: 9px 18px;
  }
}