/* ============================================================
   Cambridge Community Library Friends — Redesign Prototype
   Main Stylesheet
   Design System: Literata (body) + Fira Sans (UI/Headers)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,wght@0,300;0,400;0,700;1,400&family=Fira+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
/* NOTE: No emoji in this design system */
:root {
  /* Background colors */
  --bg-cream:          #F9F5EF;
  --bg-white:          #FFFFFF;
  --bg-dark-brown:     #3D2B1F;
  --bg-dark-red:       #8B1A1A;
  --bg-darkest:        #2A1D12;

  /* Text colors */
  --text-body:         #2A1D12;
  --text-heading:      #8B1A1A;
  --text-nav:          #3D2B1F;
  --text-light:        #F9F5EF;
  --text-muted:        #6B5A4E;

  /* Accent colors */
  --accent-rust:       #C8521A;
  --accent-gold:       #C8920A;
  --accent-amber:      #C8920A;

  /* Interactive */
  --link-color:        #8B1A1A;
  --link-hover:        #C8521A;
  --btn-bg:            #8B1A1A;
  --btn-text:          #FFFFFF;
  --btn-hover:         #C8521A;

  /* Borders / Cards */
  --border-card:       #E8DDD0;
  --card-bg:           #FFFFFF;

  /* Nav */
  --nav-bg:            #F9F5EF;
  --nav-border:        #E8DDD0;

  /* Social */
  --facebook-blue:     #1877F2;

  /* Staging banner */
  --staging-bg:        #FF6B35;

  /* Layout */
  --max-width:         1260px;
  --section-pad-v:     80px;
  --section-pad-h:     24px;

  /* Typography */
  --font-body:         'Literata', Georgia, serif;
  --font-ui:           'Fira Sans', system-ui, sans-serif;
  --text-base:         17px;
  --line-height:       1.7;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

/* Remove any card/stat icon spans that held emojis */
.card-icon, .stat-icon { display: none; }
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--text-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--text-body);
  background-color: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--text-heading);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  max-width: 680px;
  margin-bottom: 1.2em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-h);
}

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Alternating section backgrounds */
.bg-cream    { background-color: var(--bg-cream); }
.bg-white    { background-color: var(--bg-white); }
.bg-dark     { background-color: var(--bg-dark-brown); }
.bg-dark-red { background-color: var(--bg-dark-red); }
.bg-darkest  { background-color: var(--bg-darkest); }

/* Text on dark backgrounds */
.text-light {
  color: var(--text-light);
}

.text-light h1, .text-light h2, .text-light h3,
.text-light p, .text-light li {
  color: var(--text-light);
}

.text-light h2 {
  color: var(--accent-gold);
}

.text-light a {
  color: var(--accent-gold);
}

.text-light a:hover {
  color: var(--text-light);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo — landscape emblem, preserve natural proportions */
.nav-brand img,
.nav-logo {
  height: 72px;        /* controls display height */
  width: auto;         /* width scales proportionally (262:212 ratio) */
  max-width: 160px;    /* hard cap so it never goes wider than nav allows */
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav-brand-text {
  display: none; /* logo image already contains the org name */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-nav);
  padding: 8px 10px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--link-hover);
  background-color: rgba(200, 82, 26, 0.07);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--text-heading);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   NAV DROPDOWNS
   ============================================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(42, 29, 18, 0.12);
  z-index: 200;
  overflow: hidden;
}

/* Open via JS class (click/keyboard/touch) OR CSS hover on pointer devices */
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

/* Keep CSS hover as progressive enhancement for mouse users */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-nav);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border-radius: 0;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-cream);
  color: var(--link-hover);
}

/* Hamburger menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-nav);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: var(--nav-bg);
  border-top: 1px solid var(--nav-border);
  padding: 16px 24px 20px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-nav);
  padding: 12px 8px;
  border-bottom: 1px solid var(--nav-border);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--link-hover);
}

.mobile-nav a.active,
.mobile-nav a[aria-current="page"] {
  color: var(--text-heading);
  font-weight: 700;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-dark-brown);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 43, 31, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-ui);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero (inner pages - no image bg) */
.page-hero {
  background-color: var(--bg-dark-brown);
  padding: 56px 24px;
  text-align: center;
}

.page-hero.bg-cream {
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-card);
}

.page-hero.bg-cream h1 {
  color: var(--text-heading);
}

.page-hero.bg-cream .page-lead {
  color: var(--text-body);
}

.page-hero h1 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

/* All text inside the dark page-hero band must be light-coloured */
.page-hero p,
.page-lead {
  color: #ffffff; /* full white — max contrast on dark brown bg */
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Override back to dark for the cream-background variant */
.page-hero.bg-cream p,
.page-hero.bg-cream .page-lead {
  color: var(--text-body);
}

/* ============================================================
   INTERIOR PAGE LAYOUTS
   ============================================================ */

/* Content + sidebar two-column layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.content-main h2 {
  margin-bottom: 1rem;
}

.content-main h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 20px;
}

.sidebar-card h4 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  max-width: none;
}

/* Event detail card */
.event-detail-card {
  background: var(--bg-cream);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 24px;
  margin: 1.5rem 0;
}

.event-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-card);
}

.event-detail-row:last-child {
  border-bottom: none;
}

.event-detail-row strong {
  color: var(--text-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 2px;
}

.event-detail-row span {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Two-column address blocks */
.two-col-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 1.5rem 0;
}

.two-col-addresses strong {
  display: block;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.two-col-addresses p {
  margin-bottom: 0;
  max-width: none;
}

/* News archive list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-card);
}

.news-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-card);
}

.news-date {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  white-space: nowrap;
}

.news-title {
  font-size: 0.975rem;
  color: var(--text-body);
}

/* Styled list for event features */
.styled-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2em;
}

.styled-list li {
  margin-bottom: 0.5rem;
  color: var(--text-body);
}

/* Staging note style */
.staging-note {
  background: #fff8e1;
  border-left: 3px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  font-size: 0.875rem;
  color: #92400e;
  font-family: var(--font-ui);
  max-width: none;
}

.mt-4 { margin-top: 2rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Primary button */
.btn-primary {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--btn-text);
}

/* Secondary / outline button */
.btn-outline {
  background-color: transparent;
  color: var(--btn-bg);
  border-color: var(--btn-bg);
}

.btn-outline:hover {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

/* Outline on dark backgrounds */
.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-light:hover {
  background-color: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* White button (on dark bg) */
.btn-white {
  background-color: #ffffff;
  color: var(--bg-dark-red);
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: var(--bg-cream);
  color: var(--bg-dark-red);
}

/* Small button */
.btn-sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.10);
  border-color: var(--accent-gold);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.6rem;
  color: var(--text-heading);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.card .btn {
  margin-top: auto;
}

/* Card grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.10);
}

.event-card-date {
  background-color: var(--bg-dark-red);
  color: #ffffff;
  padding: 16px 24px;
  font-family: var(--font-ui);
}

.event-card-date .month {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.event-card-date .day {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card-body h3 {
  margin-bottom: 0.5rem;
  color: var(--text-heading);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* event-meta icons removed — no pseudo-content */

.event-meta .time::before     { content: none; }
.event-meta .location::before { content: none; }

.event-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.2rem;
}

/* ============================================================
   MEMBERSHIP TIER CARDS
   ============================================================ */
.tier-card {
  background-color: var(--card-bg);
  border: 2px solid var(--border-card);
  border-radius: 10px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tier-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 6px 24px rgba(61, 43, 31, 0.12);
}

.tier-card .tier-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.tier-card .tier-name {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.tier-card .tier-price {
  font-family: var(--font-ui);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-rust);
  margin-bottom: 0.75rem;
}

.tier-card .tier-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tier-card .tier-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: none;
  margin-bottom: 0;
}

/* ============================================================
   PIGGLY WIGGLY SECTION
   ============================================================ */
.pig-steps {
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 2rem 0;
}

.pig-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 4px solid var(--accent-gold);
}

.pig-step-number {
  counter-increment: step-counter;
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  line-height: 1;
  padding-top: 2px;
}

.pig-step-text {
  font-size: 1rem;
  color: var(--text-light);
  max-width: none;
  margin: 0;
  line-height: 1.5;
}

/* Pig illustration — always show full image, never crop */
.pig-image {
  display: block;
  border-radius: 4px;
  max-height: 280px;
  max-width: 100%;
  width: auto;
  object-fit: contain; /* never crop the illustration */
  margin: 0 auto;      /* center in its column */
}

/* ============================================================
   STAT ITEMS (Impact section)
   ============================================================ */
.stat-item {
  text-align: center;
  padding: 32px 24px;
}

.stat-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.stat-item h3 {
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 auto;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-card);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 146, 10, 0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-body);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--btn-bg);
}

/* ============================================================
   INFO / NOTICE BOXES
   ============================================================ */
.info-box {
  background-color: rgba(200, 146, 10, 0.10);
  border: 1.5px solid var(--accent-gold);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 1.5rem 0;
}

.info-box p {
  max-width: none;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.staging-note {
  background-color: rgba(255, 107, 53, 0.08);
  border: 1.5px solid #FF6B35;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 1.5rem 0;
}

.staging-note p {
  max-width: none;
  margin: 0;
  font-size: 0.9rem;
  color: #8B3110;
  font-weight: 500;
}

/* ============================================================
   TABLE STYLES (Board of Directors)
   ============================================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.data-table th {
  background-color: var(--bg-dark-brown);
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}

.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-body);
}

.data-table tr:nth-child(even) td {
  background-color: var(--bg-cream);
}

.data-table tr:hover td {
  background-color: rgba(200, 146, 10, 0.05);
}

/* ============================================================
   CONTACT INFO BOX
   ============================================================ */
.contact-info-card {
  background-color: var(--bg-dark-brown);
  color: var(--text-light);
  border-radius: 8px;
  padding: 32px;
}

.contact-info-card h3 {
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.contact-info-card p {
  color: rgba(249, 245, 239, 0.85);
  max-width: none;
  margin-bottom: 0.6rem;
}

.contact-info-card a {
  color: var(--accent-gold);
}

.contact-info-card a:hover {
  color: var(--text-light);
}

/* ============================================================
   LINKS PAGE CARDS
   ============================================================ */
.link-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.10);
  border-color: var(--accent-gold);
}

.link-card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.link-card-body h3 {
  margin-bottom: 0.4rem;
}

.link-card-body h3 a {
  color: var(--text-heading);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-card-body h3 a:hover {
  color: var(--link-hover);
}

.link-card-body p {
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   BOOK CLUB CARDS
   ============================================================ */
.book-club-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.book-club-card:hover {
  box-shadow: 0 4px 20px rgba(61, 43, 31, 0.10);
}

.book-club-card-header {
  background-color: var(--bg-dark-red);
  color: #ffffff;
  padding: 20px 28px;
}

.book-club-card-header h3 {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.book-club-card-header .meeting-time {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.book-club-card-body {
  padding: 28px;
}

.book-club-card-body p {
  max-width: none;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.book-club-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1rem 0;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.book-club-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: var(--section-pad-v) var(--section-pad-h);
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FEATURED / DARK SECTION (Piggly Wiggly feature)
   ============================================================ */
.featured-section {
  background-color: var(--bg-dark-brown);
  padding: var(--section-pad-v) var(--section-pad-h);
  color: var(--text-light);
}

.featured-section h2 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.featured-section p {
  color: rgba(249, 245, 239, 0.88);
}

.featured-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr; /* 60/40 text-to-image balance */
  gap: 60px;
  align-items: center;
}

/* Image column — flex center so pig isn’t stretched to fill column */
.featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}

.featured-text .btn {
  margin-top: 2rem;
}

.featured-note {
  color: rgba(249, 245, 239, 0.65) !important;
  font-size: 0.875rem !important;
  font-style: italic;
  margin-top: 1.5rem !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-darkest);
  color: var(--text-light);
  padding: 60px 24px 0;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img,
.footer-logo {
  height: 80px;        /* slightly larger in footer */
  width: auto;
  max-width: 180px;
  border-radius: 0;
  object-fit: contain;
}

.footer-brand-desc {
  color: rgba(249, 245, 239, 0.72);
  font-size: 0.9rem;
  max-width: none;
  margin: 0;
  line-height: 1.6;
}

.footer-fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--facebook-blue);
  background-color: rgba(24, 119, 242, 0.12);
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.2s;
  align-self: flex-start;
}

.footer-fb-link:hover {
  background-color: rgba(24, 119, 242, 0.22);
  color: var(--facebook-blue);
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-rust);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(249, 245, 239, 0.72);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-contact p {
  color: rgba(249, 245, 239, 0.72);
  font-size: 0.9rem;
  max-width: none;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.footer-contact a {
  color: var(--accent-gold);
}

.footer-contact a:hover {
  color: var(--text-light);
}

.footer-bar {
  border-top: 1px solid rgba(249, 245, 239, 0.1);
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-bar p {
  color: rgba(249, 245, 239, 0.45);
  font-size: 0.825rem;
  max-width: none;
  margin: 0;
}

/* ============================================================
   PAYPAL STAGING PLACEHOLDER
   ============================================================ */
.paypal-staging {
  background-color: var(--bg-cream);
  border: 2px dashed var(--border-card);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--text-muted);
}

.paypal-staging p {
  max-width: none;
  margin-bottom: 1rem;
}

.paypal-staging .paypal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   VOLUNTEER SECTION GROUPS
   ============================================================ */
.volunteer-section {
  margin-bottom: 3rem;
}

.volunteer-section h3 {
  color: var(--text-heading);
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-card);
}

.volunteer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 1rem;
}

.volunteer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--bg-cream);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.volunteer-item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-rust);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 20px 24px;
}

.faq-item h4 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  max-width: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border-card);
  margin: 40px 0;
}

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-6  { margin-bottom: 3rem; }

.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;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .featured-inner {
    grid-template-columns: 1fr 1fr; /* keep side-by-side on tablet */
    gap: 32px;
  }

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

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-brand-text {
    display: none;
  }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  :root {
    --section-pad-v: 48px;
    --section-pad-h: 20px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.25rem; }

  /* Nav: switch to hamburger */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-brand img,
  .nav-logo {
    height: 48px;   /* fits inside 64px mobile nav with breathing room */
    max-width: 110px;
  }

  /* Grids collapse */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: 380px;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .featured-inner {
    grid-template-columns: 1fr; /* stack on mobile */
  }

  .featured-image {
    order: 1; /* image below text on mobile */
    max-width: 280px;
    margin: 0 auto;
  }

  .volunteer-list {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Interior page layouts collapse */
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    order: -1; /* sidebar above content on mobile */
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .two-col-addresses {
    grid-template-columns: 1fr;
  }

  .event-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---- 375px ---- */
@media (max-width: 375px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }

  .btn {
    padding: 11px 20px;
    font-size: 0.875rem;
  }

  .card {
    padding: 24px 20px;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .staging-banner,
  .site-header,
  .nav-toggle,
  .mobile-nav,
  .site-footer {
    display: none !important;
  }
}
