/* ============================================================
   AMERICAN LEGION ORANGE POST 132
   Main Stylesheet
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --navy:        #1B3D6D;
  --navy-dark:   #102545;
  --navy-light:  #2a5298;
  --red:         #B22222;
  --red-dark:    #8B1A1A;
  --gold:        #C8A951;
  --gold-dark:   #A88A3D;
  --gold-light:  #DEC47A;

  /* Neutrals */
  --cream:       #F5F0E8;
  --cream-dark:  #EAE3D6;
  --charcoal:    #1E2328;
  --text:        #2C3240;
  --text-light:  #5A6272;
  --text-muted:  #8C94A1;
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --light-bg:    #F0EDE6;
  --border:      #DDD8D0;
  --border-light:#EDEBE5;

  /* Typography */
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Fluid Font Sizes */
  --text-xs:   clamp(0.7rem,  1.2vw, 0.8rem);
  --text-sm:   clamp(0.8rem,  1.5vw, 0.875rem);
  --text-base: clamp(0.9rem,  2vw,   1rem);
  --text-md:   clamp(1rem,    2.3vw, 1.1rem);
  --text-lg:   clamp(1.1rem,  2.8vw, 1.25rem);
  --text-xl:   clamp(1.25rem, 3.2vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,  4vw,   2rem);
  --text-3xl:  clamp(2rem,    5vw,   2.75rem);
  --text-4xl:  clamp(2.5rem,  6vw,   3.5rem);
  --text-hero: clamp(2.75rem, 7vw,   5rem);

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --max-width:     1200px;
  --content-width: 860px;
  --nav-height:    76px;
  --section-pad:   clamp(3.5rem, 8vw, 6rem);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 56px rgba(0,0,0,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s var(--ease);
  --t:      0.25s var(--ease);
  --t-slow: 0.4s var(--ease);

  /* Radius */
  --r-sm:   3px;
  --r:      6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

address { font-style: normal; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-4);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r);
  z-index: 9999;
  font-size: var(--text-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p { line-height: 1.7; }
p + p { margin-top: 1em; }

strong { font-weight: 600; }
em { font-style: italic; }

/* Section heading group */
.section-heading {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-heading.left {
  text-align: left;
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}

.section-title .accent {
  color: var(--red);
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin: var(--sp-4) auto 0;
  border-radius: 2px;
}

.section-heading.left .section-title::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--text-light);
  max-width: 640px;
  margin: var(--sp-5) auto 0;
  line-height: 1.75;
}

.section-heading.left .section-subtitle {
  margin-left: 0;
}

/* For navy sections */
.on-navy .section-label { color: var(--gold); }
.on-navy .section-title { color: var(--white); }
.on-navy .section-title::after { background: var(--gold); }
.on-navy .section-subtitle { color: rgba(255,255,255,0.75); }

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-sm {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--section-pad) 0;
}

/* Section backgrounds */
.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-navy   { background: var(--navy); color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-red    { background: var(--red); color: var(--white); }

/* Two-column split layout */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.split-grid.reverse { direction: rtl; }
.split-grid.reverse > * { direction: ltr; }

/* Card grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.7em 1.8em;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 81, 0.4);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-lg {
  padding: 0.85em 2.4em;
  font-size: var(--text-base);
  letter-spacing: 0.1em;
}

.btn-sm {
  padding: 0.5em 1.2em;
  font-size: var(--text-xs);
}

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
}

.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 33%, var(--white) 33%, var(--white) 67%, var(--navy-dark) 67%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  gap: var(--sp-4);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo-emblem {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1px;
}

/* Nav */
.site-nav { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-radius: var(--r);
  transition: all var(--t-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--r);
  margin-left: var(--sp-2);
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(178,34,34,0.4);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-radius: var(--r);
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-dropdown-btn:hover,
.nav-item.open .nav-dropdown-btn {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.chevron {
  font-size: 0.65rem;
  transition: transform var(--t-fast);
  display: inline-block;
  margin-top: 1px;
}
.nav-item.open .chevron { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  min-width: 230px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--t);
  border-top: 3px solid var(--red);
}

/* Invisible bridge fills the 10px gap between button and submenu
   so moving the mouse down doesn't break the hover state */
.has-submenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  display: block;
}

.nav-item:hover .nav-submenu,
.nav-item.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-submenu a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: background var(--t-fast);
  border-bottom: 1px solid var(--border-light);
}
.nav-submenu a:last-child { border-bottom: none; }
.nav-submenu a:hover { background: var(--cream); color: var(--navy); }

.nav-submenu-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r);
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. HERO SECTION (Home Page)
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(42,82,152,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(178,34,34,0.12) 0%, transparent 45%),
    linear-gradient(155deg, #0c1e38 0%, #1B3D6D 55%, #102545 100%);
}

/* Dot/star pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200,169,81,0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Diagonal light streak */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: linear-gradient(to bottom-left, rgba(255,255,255,0.025) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: var(--sp-16) var(--sp-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 1.1rem;
  background: rgba(200,169,81,0.15);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: var(--r-full);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero-badge::before {
  content: '★';
  font-size: 0.65rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  text-wrap: balance;
}

.hero-title .line2 {
  display: block;
  color: var(--gold);
  font-size: 0.7em;
  letter-spacing: 0.08em;
  margin-top: var(--sp-2);
}

.hero-title .line3 {
  display: block;
  font-size: 0.35em;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-top: var(--sp-3);
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto var(--sp-10);
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   8. PAGE HEADER (Inner Pages)
   ============================================================ */
.page-header {
  background:
    linear-gradient(155deg, #0c1e38 0%, #1B3D6D 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(200,169,81,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.page-header-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.page-header-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.page-header-title::after { display: none; }

.page-header-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.05em;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================================
   9. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--charcoal);
  padding: var(--sp-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-2);
}

/* ============================================================
   10. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-body {
  padding: var(--sp-6);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}
.card-icon.navy { background: rgba(27,61,109,0.1); color: var(--navy); }
.card-icon.red   { background: rgba(178,34,34,0.1); color: var(--red); }
.card-icon.gold  { background: rgba(200,169,81,0.15); color: var(--gold-dark); }

.card-title {
  font-size: var(--text-xl);
  color: var(--charcoal);
  margin-bottom: var(--sp-3);
}

.card-text {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

/* ============================================================
   11. EVENT CARDS
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.event-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  border-left: 4px solid var(--navy);
  transition: transform var(--t), box-shadow var(--t);
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.event-card.ceremony { border-left-color: var(--red); }
.event-card.dining   { border-left-color: var(--gold-dark); }
.event-card.community { border-left-color: var(--navy-light); }

.event-card-date {
  background: var(--navy);
  color: var(--white);
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  flex-shrink: 0;
}
.event-card.ceremony .event-card-date { background: var(--red); }
.event-card.dining .event-card-date   { background: var(--gold-dark); }

.event-day {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2px;
}

.event-card-body {
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
}

.event-type {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.event-title {
  font-size: var(--text-lg);
  color: var(--charcoal);
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.event-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
  flex: 1;
}

.event-time {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* Full event list for events page */
.event-list { display: flex; flex-direction: column; gap: var(--sp-4); }

.event-list-item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0;
  overflow: hidden;
  transition: box-shadow var(--t);
}
.event-list-item:hover { box-shadow: var(--shadow-md); }

.event-list-date {
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-4);
}

.event-list-body {
  padding: var(--sp-5) var(--sp-6);
  border-left: 1px solid var(--border-light);
}

.event-list-action {
  display: flex;
  align-items: center;
  padding: var(--sp-5) var(--sp-6);
}

/* ============================================================
   UPCOMING EVENTS — CARD CAROUSEL
============================================================ */

/* Month navigation bar */
.event-month-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.event-month-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  min-width: 200px;
  text-align: center;
  letter-spacing: 0.02em;
}
.event-month-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: background 0.15s;
  white-space: nowrap;
}
.event-month-btn:hover  { background: rgba(255,255,255,0.2); }
.event-month-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

/* Carousel wrapper — positions arrow buttons on sides */
.event-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* Large arrow buttons — desktop only */
.event-carousel-btn {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  border: 3px solid rgba(255,255,255,0.6);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  transition: background 0.15s, transform 0.1s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-carousel-btn:hover:not(:disabled) {
  background: var(--gold);
  transform: scale(1.08);
}
.event-carousel-btn:active:not(:disabled) { transform: scale(0.96); }
.event-carousel-btn:disabled { opacity: 0.25; cursor: default; }

/* Horizontal scrolling card row */
.event-cards-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar on desktop — arrows handle navigation */
@media (min-width: 769px) {
  .event-cards-scroll { scrollbar-width: none; }
  .event-cards-scroll::-webkit-scrollbar { display: none; }
}

/* On mobile: keep touch scrollbar, hide arrow buttons */
@media (max-width: 768px) {
  .event-carousel-btn { display: none; }
  .event-cards-scroll::-webkit-scrollbar { height: 5px; }
  .event-cards-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.08); border-radius: 3px; }
  .event-cards-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
}

/* Individual event card */
.event-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.event-card-date {
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  text-align: center;
}
.event-card-day {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.event-card-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.event-card-mon {
  font-size: 0.75rem;
  opacity: 0.75;
  font-weight: 600;
}

.event-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card-body .event-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.event-card-body .event-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.event-card-desc {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 0.75rem;
  flex: 1;
}
.event-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Flyer image at card bottom */
.event-card-flyer { border-top: 1px solid var(--border-light); }
.event-card-flyer-img {
  width: 100%;
  height: auto;
  display: block;
}

/* "No events" / loading message */
.event-no-results {
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 3rem 1rem;
  font-style: italic;
  font-size: 1rem;
}

/* ============================================================
   12. FAMILY ORGANIZATION CARDS
   ============================================================ */
.families-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.family-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  border-top: 4px solid var(--navy);
  transition: transform var(--t), box-shadow var(--t);
}
.family-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.family-card.aux   { border-top-color: var(--red); }
.family-card.sons  { border-top-color: var(--gold-dark); }
.family-card.riders { border-top-color: var(--navy-light); }

.family-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.family-card-icon.navy   { background: rgba(27,61,109,0.1); color: var(--navy); }
.family-card-icon.red    { background: rgba(178,34,34,0.1); color: var(--red); }
.family-card-icon.gold   { background: rgba(200,169,81,0.15); color: var(--gold-dark); }
.family-card-icon.blue   { background: rgba(42,82,152,0.1); color: var(--navy-light); }

.family-card h3 {
  font-size: var(--text-xl);
  color: var(--charcoal);
}

.family-card p {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   13. FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}

.form-label .required { color: var(--red); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,61,109,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  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='%235A6272' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================================
   14. AMENITIES & LISTS
   ============================================================ */
.amenities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3) var(--sp-8);
  margin: var(--sp-6) 0;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text);
}

.amenity-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Checklist (simpler) */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.6;
}

.checklist li::before {
  content: '★';
  color: var(--gold);
  font-size: 0.7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================================
   15. MUSEUM ARTIFACTS
   ============================================================ */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.artifact-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
  transition: transform var(--t), box-shadow var(--t);
}
.artifact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.artifact-era {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
}

.artifact-body {
  padding: var(--sp-5);
}

.artifact-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
}

.artifact-title {
  font-size: var(--text-lg);
  color: var(--charcoal);
  margin-bottom: var(--sp-2);
}

.artifact-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================================
   16. RESOURCE CARDS (Veterans Services)
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.resource-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border-left: 4px solid var(--navy);
  transition: transform var(--t), box-shadow var(--t);
}
.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.resource-card.external { border-left-color: var(--navy-light); }
.resource-card.crisis   { border-left-color: var(--red); }
.resource-card.benefits { border-left-color: var(--gold-dark); }

.resource-card-title {
  font-size: var(--text-lg);
  color: var(--charcoal);
}

.resource-card-desc {
  font-size: var(--text-sm);
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

/* ============================================================
   17. CTA BANNER
   ============================================================ */
.cta-banner {
  padding: var(--section-pad) 0;
  background: var(--red);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-4);
}

.cta-banner p {
  color: rgba(255,255,255,0.88);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
}

.cta-banner .btn-group {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   18. INFO BOXES
   ============================================================ */
.info-box {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  border-left: 4px solid var(--navy);
}
.info-box.gold-accent { border-left-color: var(--gold-dark); }
.info-box.red-accent  { border-left-color: var(--red); }

.info-box-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Crisis box */
.crisis-box {
  background: #fff5f5;
  border: 2px solid var(--red);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  text-align: center;
  margin: var(--sp-8) 0;
}

.crisis-box h3 {
  color: var(--red);
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.crisis-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--red);
  font-weight: 700;
  display: block;
  margin: var(--sp-2) 0;
}

/* ============================================================
   19. CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(27,61,109,0.1);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--navy);
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.contact-info-value {
  font-size: var(--text-md);
  color: var(--text);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--t-fast);
}
.contact-info-value a:hover { text-decoration-color: var(--navy); }

.map-placeholder {
  background: var(--light-bg);
  border-radius: var(--r-md);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  overflow: hidden;
  margin-top: var(--sp-6);
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: var(--sp-16);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand { padding-right: var(--sp-4); }

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer-logo svg { color: var(--gold); }

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-5);
}

.footer-address {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer-address a {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(200,169,81,0.4);
}
.footer-address a:hover { text-decoration-color: var(--gold); }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.58);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-links-col a:hover { color: var(--white); }

.footer-links-col a[target="_blank"]::after {
  content: '↗';
  font-size: 0.7rem;
  opacity: 0.5;
}

.footer-bottom {
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

.footer-officer-link {
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-officer-link a {
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-officer-link a:hover {
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   21. UTILITY CLASSES
   ============================================================ */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }
.text-navy     { color: var(--navy); }
.text-red      { color: var(--red); }
.text-gold     { color: var(--gold-dark); }
.text-muted    { color: var(--text-muted); }
.text-white    { color: var(--white); }
.font-heading  { font-family: var(--font-heading); }

.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.gap-4         { gap: var(--sp-4); }
.gap-6         { gap: var(--sp-6); }
.flex-wrap     { flex-wrap: wrap; }

.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

.rounded  { border-radius: var(--r); }
.rounded-lg { border-radius: var(--r-lg); }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--sp-8) 0;
}
.divider.dark {
  background: rgba(255,255,255,0.1);
}

/* Pill badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-navy { background: rgba(27,61,109,0.12); color: var(--navy); }
.badge-red  { background: rgba(178,34,34,0.1); color: var(--red); }
.badge-gold { background: rgba(200,169,81,0.15); color: var(--gold-dark); }

/* ============================================================
   21a. FONT SIZE TOGGLE
   ============================================================ */

/* The "Aa" button in the sticky header */
.font-size-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  height: 30px;
  padding: 0 0.65rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-fast);
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}

.font-size-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
}

/* Active state — large text is ON */
.font-size-toggle.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

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

/* The two "A"s inside the button */
.ft-a-small {
  font-size: 0.68em;
  opacity: 0.75;
  line-height: 1;
}
.ft-a-large {
  font-size: 1em;
  line-height: 1;
}

/* ---- Large text mode ----------------------------------------
   Bumping html font-size from 16px → 19px propagates through
   every rem-based value on the entire site automatically.
   ------------------------------------------------------------ */
html.large-text {
  font-size: 19px;
}

/* ============================================================
   21b. MEMBERSHIP STATISTICS (About Page)
   ============================================================ */

/* Era / Branch horizontal stat bars */
.stat-bar-row {
  display: grid;
  grid-template-columns: 195px 1fr 48px;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.stat-bar-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  text-align: right;
  line-height: 1.3;
}

.stat-bar-track {
  background: rgba(255,255,255,0.1);
  border-radius: var(--r-full);
  height: 10px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(to right, var(--gold-dark), var(--gold-light));
}

.stat-bar-fill.red-fill {
  background: linear-gradient(to right, var(--red-dark), var(--red));
}

.stat-bar-count {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
}

/* Branch grid */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
}

.branch-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  border-bottom: 3px solid var(--gold);
  transition: background var(--t);
}
.branch-item:hover { background: rgba(255,255,255,0.11); }

.branch-icon {
  font-size: 1.9rem;
  margin-bottom: var(--sp-2);
  display: block;
}

.branch-count {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.branch-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: var(--sp-2);
  display: block;
  line-height: 1.4;
}

/* Legacy callout stats */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}

.legacy-stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  border-top: 3px solid var(--gold);
}

.legacy-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.legacy-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: var(--sp-2);
  display: block;
  line-height: 1.6;
}

/* -- Bar transition (used by analytics.js) -- */
.stat-bar-fill {
  transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -- Analytics interactive states -- */
.ana-clickable {
  cursor: pointer;
  transition: opacity 0.25s, background 0.25s, transform 0.15s;
  border-radius: var(--r-sm);
}
.ana-era-row.ana-clickable:hover  { background: rgba(255,255,255,0.05); }
.ana-era-row.ana-clickable:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.ana-active.stat-bar-row  .stat-bar-label { color: var(--gold); font-weight: 700; }
.ana-active.stat-bar-row  .stat-bar-fill  { background: linear-gradient(to right, var(--gold-dark), var(--gold-light)); box-shadow: 0 0 8px rgba(200,169,81,0.45); }
.ana-active.stat-bar-row  .stat-bar-count { color: white; }

.ana-active.branch-item  { background: rgba(200,169,81,0.18); border-bottom-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.ana-active.branch-item  .branch-count { color: white; }
.ana-active.branch-item  .branch-name  { color: var(--gold-light); }

.ana-dimmed { opacity: 0.35; }

/* -- Filter badge -- */
.stats-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(200,169,81,0.12);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: var(--r-full);
  padding: 0.55rem 1.25rem;
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}
.stats-filter-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}
.stats-filter-label strong { color: var(--gold-light); }
.stats-reset-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.75);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}
.stats-reset-btn:hover { background: var(--red); color: white; border-color: var(--red); }

/* -- Note text -- */
.stats-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: var(--sp-5);
  line-height: 1.6;
}

/* Member total hero number */
.member-total {
  text-align: center;
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.member-total-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.member-total-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: var(--sp-2);
}

/* Stats 2-col layout */
.stats-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.stats-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.stats-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* Mobile overrides */
@media (max-width: 768px) {
  .stats-breakdown-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .legacy-grid { grid-template-columns: 1fr; }
  .stat-bar-row { grid-template-columns: 130px 1fr 40px; }
}

@media (max-width: 480px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar-row { grid-template-columns: 105px 1fr 36px; }
}

/* ============================================================
   22. ANIMATIONS
   ============================================================ */
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease) both;
}

.animate-fade-in-up:nth-child(2) { animation-delay: 0.1s; }
.animate-fade-in-up:nth-child(3) { animation-delay: 0.2s; }
.animate-fade-in-up:nth-child(4) { animation-delay: 0.3s; }

/* ============================================================
   23. TABLET BREAKPOINT (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4,
  .families-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}

/* ============================================================
   24. MOBILE BREAKPOINT (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--nav-height) + 3px); /* 3px for the accent line */
    left: 0;
    right: 0;
    background: var(--navy-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }

  .site-nav.open {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-4) 0 var(--sp-6);
    gap: 0;
  }

  .nav-link,
  .nav-dropdown-btn {
    padding: 0.85rem var(--sp-6);
    border-radius: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    width: 100%;
    text-align: left;
  }

  .nav-item { width: 100%; }
  .nav-cta {
    background: rgba(178,34,34,0.2) !important;
    color: var(--white) !important;
    margin: var(--sp-3) var(--sp-6) 0;
    border-radius: var(--r) !important;
    padding: 0.85rem var(--sp-6) !important;
    text-align: center !important;
  }

  /* Mobile submenu: always visible when parent has open class */
  .nav-submenu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow);
    border-top: none;
  }

  .nav-item.open .nav-submenu {
    max-height: 300px;
  }

  .nav-submenu a {
    padding: 0.7rem var(--sp-8);
    color: rgba(255,255,255,0.7);
    background: none;
    border-bottom-color: rgba(255,255,255,0.06);
  }
  .nav-submenu a:hover { background: rgba(255,255,255,0.06); color: var(--white); }

  /* Layout */
  .split-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .split-grid.reverse { direction: ltr; }

  .grid-2,
  .grid-3,
  .grid-4,
  .events-grid,
  .families-grid,
  .artifacts-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .event-list-item {
    grid-template-columns: 64px 1fr;
  }
  .event-list-action { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }
  .amenities-list { grid-template-columns: 1fr; }

  .hero-title .line3 { display: none; }

  .page-header-title { font-size: var(--text-3xl); }
}

/* ============================================================
   25. SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; }

  .cta-banner .btn-group { flex-direction: column; align-items: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   26. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   27. ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}
.announcement-bar.urgent { background: var(--red); color: var(--white); }
.announcement-bar.navy   { background: var(--navy-dark); color: var(--white); }
.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}
.announcement-icon { flex-shrink: 0; font-size: 0.9rem; }
.announcement-text { text-align: center; flex: 1; }
.announcement-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: var(--r);
  transition: opacity var(--t-fast);
}
.announcement-close:hover { opacity: 1; }

/* ============================================================
   28. INFO STRIP
   ============================================================ */
.info-strip {
  background: #0e1e36;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.info-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.45rem 1rem;
  flex-wrap: wrap;
}
.info-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.info-strip-item:hover { color: var(--gold); }
.info-strip-item svg  { flex-shrink: 0; opacity: 0.7; }
.info-strip-divider   { opacity: 0.25; font-size: 0.85rem; }

/* ============================================================
   29. HERO QUICK-ACTION BUTTONS
   ============================================================ */
.hero-quick-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-full);
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.quick-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  transform: translateY(-1px);
}
.quick-btn svg { flex-shrink: 0; }

/* ============================================================
   30. NEXT MEETING BADGE (homepage hero)
   ============================================================ */
.next-meeting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200,169,81,0.18);
  border: 1px solid rgba(200,169,81,0.45);
  border-radius: var(--r-full);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.next-meeting-badge svg { opacity: 0.8; flex-shrink: 0; }
.next-meeting-label {
  opacity: 0.7;
  font-weight: 500;
  margin-right: 0.1rem;
}

/* ============================================================
   31. VETERANS CRISIS LINE (footer)
   ============================================================ */
.footer-crisis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(178,34,34,0.12);
  border: 1px solid rgba(178,34,34,0.25);
  border-radius: var(--r-md);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.footer-crisis strong {
  color: #ff8080;
  font-weight: 700;
}
.footer-crisis a {
  color: #ff8080;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-crisis a:hover { text-decoration: underline; }
.footer-crisis-sep { opacity: 0.3; }

@media (max-width: 600px) {
  .info-strip-divider { display: none; }
  .info-strip-inner { gap: 0.75rem; justify-content: flex-start; padding-left: 1rem; }
  .hero-quick-actions { gap: 0.5rem; }
  .quick-btn { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
}

/* ============================================================
   32. SECURE DOCUMENT DROPBOX
   ============================================================ */
.dropbox-trust {
  background: var(--navy-dark);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.trust-badges {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.trust-badge svg { color: var(--gold); flex-shrink: 0; }

.dropbox-section { padding: 3rem 0 5rem; background: var(--cream); }

/* Two-column layout: main area + sidebar */
.dropbox-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .dropbox-layout { grid-template-columns: 1fr; }
}

.dropbox-main { min-width: 0; }

/* How it works intro */
.dropbox-how {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.dropbox-how-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.dropbox-steps {
  list-style: decimal;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Drop zone inner content */
.drop-zone-inner {
  text-align: center;
  padding: 2rem 1.5rem;
  pointer-events: none;
}
.drop-zone-icon { color: var(--navy); opacity: 0.35; margin-bottom: 0.85rem; }
.drop-zone-text { font-weight: 600; color: var(--text); font-size: 0.95rem; margin-bottom: 0.3rem; }
.drop-zone-sub  { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.drop-zone-browse { color: var(--navy); text-decoration: underline; }
.drop-zone-limit { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.4rem; }
.file-input-hidden { position: absolute; opacity: 0; width: 0; height: 0; overflow: hidden; }

/* Note textarea */
.dropbox-note-wrap { display: flex; flex-direction: column; gap: 0.4rem; }
.dropbox-note-label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.dropbox-note {
  width: 100%; padding: 0.65rem 0.85rem;
  border: 1px solid var(--border); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.875rem; color: var(--text);
  background: var(--off-white); resize: vertical;
  transition: border-color var(--t-fast);
}
.dropbox-note:focus { outline: none; border-color: var(--navy); background: var(--white); }

/* Upload button */
.dropbox-upload-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.dropbox-upload-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Success state */
.dropbox-success-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 2rem;
}
.dropbox-success-title { font-size: var(--text-xl); color: var(--charcoal); margin-bottom: 0.5rem; }
.dropbox-success-desc {
  font-size: 0.875rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem;
}
.dropbox-success-tips { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.dropbox-tips-title {
  font-family: var(--font-heading); font-size: var(--text-sm); text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text); margin-bottom: 0.65rem;
}
.dropbox-tips-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.dropbox-tips-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-light); line-height: 1.55;
}
.dropbox-tips-list li svg { color: #3a7c3a; flex-shrink: 0; margin-top: 0.15rem; }
.dropbox-success-another {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem;
}

/* Sidebar */
.dropbox-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.dropbox-security-card {
  background: var(--navy-dark);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  color: white;
}
.dropbox-security-icon {
  width: 52px; height: 52px;
  background: rgba(200,169,81,0.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1rem;
}
.dropbox-security-title {
  font-family: var(--font-heading); font-size: var(--text-base);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold); margin-bottom: 1rem;
}
.dropbox-security-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.dropbox-security-list li {
  font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.6;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropbox-security-list li:last-child { border-bottom: none; padding-bottom: 0; }
.dropbox-security-list li strong { display: block; color: white; margin-bottom: 0.15rem; font-size: 0.85rem; }

.dropbox-what-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.dropbox-what-title {
  font-family: var(--font-heading); font-size: var(--text-sm);
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--navy); margin-bottom: 0.85rem;
}
.dropbox-what-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.dropbox-what-list li {
  font-size: 0.82rem; color: var(--text-light);
  padding-left: 1rem; position: relative;
}
.dropbox-what-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--gold-dark); font-size: 0.75rem;
}
.dropbox-what-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.85rem; }
.dropbox-what-note a { color: var(--navy); }

.dropbox-phone-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.dropbox-phone-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* Pickup page info strip */
.pickup-info-strip {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-top: 1.5rem;
}
.pickup-info-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; color: var(--text-muted);
}
.pickup-info-item svg { color: var(--navy); flex-shrink: 0; }

/* Card */
.dropbox-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Drop zone */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--off-white);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--navy);
  background: rgba(27,61,109,0.04);
}
.drop-zone.has-file { border-style: solid; border-color: #3a7c3a; background: rgba(58,124,58,0.04); }
.drop-zone-prompt {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  pointer-events: none;
}
.drop-zone-prompt svg   { color: var(--navy); opacity: 0.4; margin-bottom: 0.75rem; }
.drop-zone-prompt p     { font-weight: 600; color: var(--text); margin-bottom: 0.25rem; font-size: 0.95rem; }
.drop-zone-prompt span  { font-size: 0.8rem; display: block; }
.drop-zone-types        { margin-top: 0.4rem !important; font-size: 0.72rem !important; opacity: 0.65; }

/* Selected file display */
.file-selected-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  width: 100%;
}
.file-selected-info svg  { color: var(--navy); flex-shrink: 0; }
.file-selected-info > div { flex: 1; min-width: 0; }
.file-name { font-weight: 600; color: var(--charcoal); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }
.file-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.3rem; line-height: 1;
  padding: 0.2rem 0.4rem; border-radius: var(--r);
  flex-shrink: 0; transition: color var(--t-fast);
}
.file-remove:hover { color: var(--red); }

/* Form field */
.dropbox-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.field-optional { font-weight: 400; color: var(--text-muted); }

/* Upload button */
.upload-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.upload-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Status messages */
.upload-status {
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  line-height: 1.55;
}
.upload-status.error   { background: rgba(178,34,34,0.08); color: var(--red-dark); border: 1px solid rgba(178,34,34,0.2); }
.upload-status.info    { background: rgba(27,61,109,0.07); color: var(--navy);     border: 1px solid rgba(27,61,109,0.15); }

/* Success card */
.dropbox-success-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.success-icon {
  width: 56px; height: 56px;
  background: rgba(58,124,58,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: #3a7c3a;
}
.dropbox-success-card h2 { font-size: var(--text-xl); color: var(--charcoal); margin-bottom: 0.5rem; }
.dropbox-success-card .success-sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1.5rem; }

/* Pickup link box */
.pickup-link-wrap {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pickup-link-input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.7rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text);
  font-family: monospace;
  outline: none;
  min-width: 0;
}
.copy-btn {
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.copy-btn:hover  { background: var(--navy-light); }
.copy-btn.copied { background: #3a7c3a; }

.success-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  background: rgba(200,169,81,0.1);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  text-align: left;
}
.success-notice strong { color: var(--charcoal); }

/* -- Pickup page ----------------------------------------- */
.pickup-section { padding: 3rem 0 5rem; background: var(--cream); }
.pickup-layout  { max-width: 600px; margin: 0 auto; }

.pickup-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
}

.pickup-status {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pickup-status.loading { }
.pickup-status.error   { color: var(--red-dark); }
.pickup-status.success { padding: 0.5rem 0 1rem; }

.pickup-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(27,61,109,0.12);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 1rem;
}
.pickup-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(58,124,58,0.1);
  color: #3a7c3a;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(58,124,58,0.25);
}
.pickup-file-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin: 1rem 0;
  flex-wrap: wrap;
}
.pickup-file-icon { color: var(--navy); flex-shrink: 0; }
.pickup-file-details { flex: 1; min-width: 0; }
.pickup-file-name { font-weight: 700; color: var(--charcoal); font-size: 0.95rem; word-break: break-all; }
.pickup-file-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.pickup-file-note {
  font-size: 0.8rem; color: var(--text-light);
  margin-top: 0.35rem;
  font-style: italic;
}
.pickup-download-btn { flex-shrink: 0; }
.pickup-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* Veterans services dropbox promo card */
.dropbox-promo {
  background: var(--navy-dark);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.dropbox-promo-icon {
  width: 56px; height: 56px;
  background: rgba(200,169,81,0.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.dropbox-promo-text { flex: 1; min-width: 240px; }
.dropbox-promo-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.dropbox-promo-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.dropbox-promo-desc strong { color: var(--gold-light); }
.dropbox-promo-features {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.dropbox-promo-features li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
}
.dropbox-promo-features li svg { color: var(--gold); flex-shrink: 0; }
.dropbox-promo-cta {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.5rem; padding-top: 0.25rem;
}
.dropbox-promo-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.dropbox-promo-note { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* Legacy body class still used in older markup if any */
.dropbox-promo-body { flex: 1; }
.dropbox-promo-body h3 { color: var(--white); font-size: var(--text-lg); margin-bottom: 0.35rem; }
.dropbox-promo-body p  { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }

@media (max-width: 600px) {
  .dropbox-card, .pickup-card { padding: 1.5rem 1.25rem; }
  .pickup-file-card { flex-direction: column; align-items: flex-start; }
  .pickup-download-btn { width: 100%; text-align: center; }
  .dropbox-promo { flex-direction: column; padding: 1.5rem; }
  .dropbox-promo-cta { width: 100%; }
  .dropbox-promo-cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   33. DROPBOX v2 — Simple password-based drop off / pick up
   ============================================================ */

/* Page sections */
.db2-dropoff-section { background: var(--navy-dark); padding: var(--sp-12) 0; }
.db2-pickup-section  { background: var(--cream);      padding: var(--sp-12) 0; }

/* Section header (icon + title row) */
.db2-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  max-width: 680px;
}
.db2-section-num  { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.db2-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.db2-pickup-section .db2-section-title { color: var(--navy); }
.db2-section-sub  { color: rgba(255,255,255,0.65); font-size: 1rem; line-height: 1.5; }
.db2-pickup-section .db2-section-sub { color: var(--text-light); }

/* Card */
.db2-card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 680px;
}

/* Steps */
.db2-step { margin-bottom: 1.5rem; }
.db2-step-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.db2-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.db2-step-hint { font-size: 0.82rem; font-weight: 400; color: var(--text-muted); }

/* Drop zone */
.db2-dropzone {
  border: 2.5px dashed var(--border);
  border-radius: var(--r-md);
  background: var(--off-white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.db2-dropzone:hover, .db2-dropzone.drag-over {
  border-color: var(--navy);
  background: rgba(27,61,109,0.05);
}
.db2-dropzone.has-file { border-style: solid; border-color: #3a7c3a; background: rgba(58,124,58,0.04); }
.db2-dropzone-inner { padding: 1.5rem; pointer-events: none; }
.db2-dropzone-icon  { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.db2-dropzone-text  { font-size: 1.05rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.3rem; }
.db2-dropzone-hint  { font-size: 0.78rem; color: var(--text-muted); display: block; }

/* Selected file chip */
.db2-file-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--off-white);
  border: 1px solid #c8e6c8;
  border-radius: var(--r-md);
  margin-top: 0.5rem;
}
.db2-file-chip-icon { font-size: 1.4rem; flex-shrink: 0; }
.db2-file-chip-info { flex: 1; min-width: 0; }
.db2-file-chip-info strong { display: block; font-size: 0.9rem; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db2-file-chip-info span   { font-size: 0.75rem; color: var(--text-muted); }
.db2-file-chip-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.1rem; padding: 0.25rem 0.5rem;
  border-radius: var(--r); transition: color 0.15s; flex-shrink: 0;
}
.db2-file-chip-remove:hover { color: var(--red); }

/* Inputs */
.db2-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  background: var(--off-white);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box;
}
.db2-input:focus { outline: none; border-color: var(--navy); background: var(--white); }

/* Code input — bigger, monospace, centered */
.db2-code-input {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.35em;
  text-align: center;
  text-transform: uppercase;
  max-width: 260px;
}

/* Password wrapper */
.db2-pass-wrap { display: flex; gap: 0.5rem; }
.db2-pass-wrap .db2-input { flex: 1; }
.db2-pass-toggle {
  padding: 0.7rem 1rem;
  background: var(--off-white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.db2-pass-toggle:hover { background: var(--cream); }

/* Status messages */
.db2-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.db2-status.error   { background: rgba(178,34,34,0.08); color: #8B1A1A; border: 1px solid rgba(178,34,34,0.2); }
.db2-status.info    { background: rgba(27,61,109,0.07); color: var(--navy); border: 1px solid rgba(27,61,109,0.15); }
.db2-status.loading { background: rgba(27,61,109,0.07); color: var(--navy); border: 1px solid rgba(27,61,109,0.15); }

/* Send / Get buttons */
.db2-send-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 0.5rem;
}
.db2-send-btn:hover:not(:disabled) { background: var(--red-dark); }
.db2-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.db2-pickup-btn { background: var(--navy); }
.db2-pickup-btn:hover:not(:disabled) { background: var(--navy-light); }

/* Success state */
.db2-success { text-align: center; padding: 0.5rem 0; }
.db2-success-check { font-size: 3rem; margin-bottom: 0.75rem; }
.db2-success-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.db2-success-desc { color: var(--text-light); font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; }

.db2-success-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.db2-success-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  text-align: left;
}
.db2-success-item-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

/* Big code display */
.db2-code-display {
  font-family: 'Courier New', monospace;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--navy);
  padding: 0.75rem 0;
  word-break: break-all;
}
.db2-copy-btn {
  padding: 0.55rem 1.25rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  margin-top: 0.5rem;
}
.db2-copy-btn:hover { background: var(--navy-light); }

.db2-success-pass-note {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.db2-success-callout {
  background: rgba(200,169,81,0.12);
  border: 1px solid rgba(200,169,81,0.35);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
  text-align: left;
  margin-bottom: 1.25rem;
}
.db2-success-callout a { color: var(--navy); font-weight: 600; }

.db2-again-link { font-size: 0.9rem; color: var(--navy); text-decoration: underline; }

/* Pick up result */
.db2-result-card {
  background: rgba(58,124,58,0.06);
  border: 1px solid rgba(58,124,58,0.25);
  border-radius: var(--r-md);
  padding: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}
.db2-result-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  text-align: left;
}
.db2-result-check { font-size: 1.8rem; flex-shrink: 0; }
.db2-result-info { flex: 1; min-width: 0; }
.db2-result-info strong { display: block; font-size: 0.95rem; color: var(--charcoal); word-break: break-all; }
.db2-result-info span   { font-size: 0.8rem; color: var(--text-muted); }
.db2-download-btn { width: 100%; font-size: 1.1rem; padding: 0.9rem; margin-bottom: 0.85rem; }
.db2-result-notice { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

/* Mobile tweaks */
@media (max-width: 560px) {
  .db2-card { padding: 1.25rem; }
  .db2-code-input { max-width: 100%; }
  .db2-pass-wrap { flex-direction: column; }
  .db2-pass-toggle { align-self: flex-start; }
}

/* ============================================================
   34. OFFICER ROSTER (About Page)
   ============================================================ */

/* Three featured command-staff cards */
.officers-command {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.officer-featured {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.officer-featured-icon {
  width: 64px; height: 64px;
  background: rgba(200,169,81,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
}
.officer-featured-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.officer-featured-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Four-column roster grid */
.officers-roster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.officers-roster-group {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}
.officers-group-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.officers-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.officer-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--text-sm);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-light);
}
.officer-row:last-child { border-bottom: none; }
.officer-name {
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}
.officer-vacant {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}
.officer-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .officers-command { grid-template-columns: 1fr; max-width: 380px; }
  .officers-roster  { grid-template-columns: 1fr; }
  .officer-row      { flex-direction: column; gap: 0.1rem; }
  .officer-role     { text-align: left; }
}

/* ============================================================
   35. BYLAWS / DOCUMENT VIEWER
   ============================================================ */

.bylaws-section {
  padding: var(--sp-16) 0;
  background: var(--bg-light);
}

.bylaws-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
}

.bylaws-intro-text { flex: 1; min-width: 260px; }

.bylaws-intro-text h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--navy-dark);
  margin-bottom: var(--sp-3);
}

.bylaws-intro-text p {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 56ch;
}

.bylaws-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.bylaws-download:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}
.bylaws-download svg { flex-shrink: 0; }

.pdf-viewer-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.1);
  background: #525659;
}

.pdf-viewer {
  display: block;
  width: 100%;
  height: 780px;
  border: none;
}

.pdf-fallback {
  display: none;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--white);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pdf-viewer { height: 520px; }
  .bylaws-intro { flex-direction: column; gap: var(--sp-4); }
}

/* ============================================================
   28. MILITARY NEWS PAGE
   ============================================================ */

/* Sticky filter bar */
.news-filter-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

.news-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-filters {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.news-filter-btn {
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.news-filter-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.news-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.news-meta-divider { opacity: 0.3; }

/* Main news section */
.news-section {
  padding: 2.5rem 0 5rem;
  background: var(--bg-light);
  min-height: 60vh;
}

/* 3-column grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}

/* Individual card */
.news-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--navy);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-body {
  padding: 1.1rem 1.2rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.news-card-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.news-source-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  padding: 0.65rem 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.news-card-date {
  font-size: 0.73rem;
  color: var(--text-muted);
}
.news-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.news-card-link:hover { color: var(--red); }

/* Loading state */
.news-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  gap: 1rem;
  color: var(--text-muted);
}
.news-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(27,61,109,0.15);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.news-empty, .news-error-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

/* Sources legend at bottom */
.news-sources-footer {
  padding: 1.5rem 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.07);
}
.news-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: center;
  align-items: center;
}
.news-source-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Responsive — news */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-filter-bar { position: static; }
  .news-grid { grid-template-columns: 1fr; }
  .news-meta { display: none; }
  .news-sources-list { gap: 0.5rem 1rem; }
}
