@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap');

/* ── Theme (CSS custom properties) ──────────────────────────────────────────── */
:root {
  --red-accent:   #b83a2e;
  --red-dark:     #9e3126;
  --forest:       #2d6a4f;
  --forest-dark:  #1b4332;
  --forest-light: #40916c;
  --gold:         #f4a261;
  --gold-dark:    #e76f51;
  --cream:        #fff8f0;
  --cream-dark:   #fff0e0;
  --stone-100:    #f5f5f4;
  --stone-200:    #e7e5e4;
  --stone-400:    #a8a29e;
  --stone-600:    #57534e;
  --stone-700:    #44403c;
  --stone-900:    #1c1917;
  --radius:       0.625rem;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--stone-900);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--forest); }
h1, h2, h3 { font-family: 'Oswald', sans-serif; letter-spacing: 0.02em; }

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 4rem 0; }
.section-sm { padding: 2rem 0; }

/* ── Navigation ──────────────────────────────────────────────────────────────── */
/* Nav reserves space so page doesn't jump while JS renders */
#nav-root { min-height: 90px; }

.site-nav {
  background: white;
  border-bottom: 1px solid var(--stone-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--forest);
  flex-shrink: 0;
  line-height: 1.25;
}
.nav-logo img { height: 72px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--stone-600);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.15s;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--forest); }
.nav-links a.active { color: var(--forest); border-bottom-color: var(--gold); }

/* ── Mobile nav - single row, logo left, links right (scroll if needed) ─────── */
@media (max-width: 640px) {
  #nav-root { min-height: 66px; }
  .nav-inner {
    height: 66px;
    padding: 0 1rem;
    gap: 0.75rem;
    flex-wrap: nowrap;
  }
  .nav-logo { font-size: 0.85rem; flex-shrink: 0; }
  .nav-logo img { height: 46px; }
  .nav-links {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-end;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex-shrink: 0; }
  .nav-links a { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--forest);
  color: white;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero.has-bg .hero-overlay { display: block; }

/* Split layout: text left, map right */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.hero-content { flex: 1; max-width: 580px; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title-img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}
.hero p { font-size: 1.1rem; opacity: 0.9; line-height: 1.65; }
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Circular map with dashed ring */
.hero-map-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-map-ring {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2.5px dashed rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-map {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.hero-location-badge {
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #0d2b1a 0%, #1b4332 40%, #2d6a4f 75%, #52b788 100%);
  background-size: cover;
  background-position: center;
}

/* Mobile: stack vertically, center everything, shrink map */
@media (max-width: 820px) {
  .hero { padding: 3rem 1.5rem; }
  .hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero h1 { text-align: center; }
  .hero-title-img { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-map-wrap { display: none; }
}

/* ── Page header strip ───────────────────────────────────────────────────────── */
.page-header { background: var(--forest); color: white; padding: 3rem 1.5rem 2.5rem; }
.page-header .eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.page-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
.page-header p  { margin-top: 0.5rem; opacity: 0.8; max-width: 600px; }

/* ── Section headings ────────────────────────────────────────────────────────── */
.section-header { margin-bottom: 2.5rem; text-align: center; }
.section-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--forest-dark);
  margin-bottom: 0;
}
.section-divider { width: 64px; height: 3px; background: var(--gold); border-radius: 2px; margin: 0.75rem auto 0.875rem; }
.section-header p { color: var(--stone-600); }

/* ── Event cards ─────────────────────────────────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.event-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.event-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.13); transform: translateY(-3px); }
/* Image strip */
.event-card-image { position: relative; height: 180px; overflow: hidden; background: var(--stone-100); flex-shrink: 0; }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-image .badge { position: absolute; top: 0.625rem; left: 0.625rem; }
.event-card-no-img { height: 52px; display: flex; align-items: center; padding: 0.625rem; }
/* Bottom row: date box + info */
.event-card-bottom { display: flex; flex: 1; }
.event-card-date {
  background: var(--forest);
  color: white;
  padding: 1rem 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  flex-shrink: 0;
  text-align: center;
}
.event-card-mon { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.event-card-day { font-family: 'Oswald', sans-serif; font-size: 2.25rem; font-weight: 700; line-height: 1; margin: 0.1rem 0; }
.event-card-yr  { font-size: 0.6rem; opacity: 0.6; }
.event-card-info { padding: 0.875rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 0; }
.event-card-title { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 600; line-height: 1.2; color: var(--stone-900); letter-spacing: 0.01em; }
.event-card-desc  { font-size: 0.8rem; color: var(--stone-600); line-height: 1.5; flex: 1; }
.event-learn-more { font-size: 0.78rem; font-weight: 700; color: var(--red-accent); letter-spacing: 0.02em; margin-top: 0.25rem; }

/* ── Badges ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-festival  { background: #d1fae5; color: #065f46; }
.badge-sale      { background: #fef3c7; color: #92400e; }
.badge-cruise    { background: #dbeafe; color: #1e40af; }
.badge-holiday   { background: #fee2e2; color: #991b1b; }
.badge-ball      { background: #ede9fe; color: #5b21b6; }
.badge-community { background: #ccfbf1; color: #134e4a; }
.badge-other     { background: #f5f5f4; color: #57534e; }
.badge-published { background: #d1fae5; color: #065f46; }
.badge-draft     { background: #fef3c7; color: #92400e; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  line-height: 1;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--forest); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--forest-dark); }
.btn-gold    { background: var(--gold); color: white; }
.btn-gold:hover:not(:disabled)    { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-outline:hover:not(:disabled) { background: var(--forest); color: white; }
.btn-ghost   { background: transparent; color: var(--stone-700); border: 1px solid var(--stone-200); }
.btn-ghost:hover:not(:disabled)   { background: var(--stone-100); }
.btn-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.btn-danger:hover:not(:disabled)  { background: #fecaca; }
.btn-red  { background: var(--red-accent); color: white; }
.btn-red:hover:not(:disabled)     { background: var(--red-dark); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem;   font-size: 1rem; }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stone-700);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--stone-900);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}
.form-control::placeholder { color: var(--stone-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control    { cursor: pointer; }
.form-hint { margin-top: 0.35rem; font-size: 0.75rem; color: var(--stone-400); }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.checkbox-row input[type=checkbox] { width: 1rem; height: 1rem; accent-color: var(--forest); cursor: pointer; }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card { background: white; border: 1px solid var(--stone-200); border-radius: 1rem; box-shadow: var(--shadow-sm); }
.card-body   { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--stone-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h2, .card-header h3 { font-size: 1rem; font-weight: 700; }

/* ── Alerts ──────────────────────────────────────────────────────────────────── */
.alert { padding: 0.875rem 1rem; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 1rem; }
.alert-error   { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #d1fae5; border: 1px solid #a7f3d0; color: #065f46; }

/* ── Tables ──────────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid var(--stone-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stone-600);
  border-bottom: 2px solid var(--stone-200);
  background: var(--stone-100);
  white-space: nowrap;
}
td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--stone-200); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafaf9; }

/* ── Admin layout ────────────────────────────────────────────────────────────── */
body.admin-body { background: #f5f5f4; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--stone-200);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--stone-200);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sidebar-nav  { padding: 0.75rem 0; flex: 1; }
.sidebar-label {
  padding: 0.5rem 1.5rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stone-400);
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
  color: var(--stone-600);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.sidebar-link:hover  { background: var(--stone-100); color: var(--stone-900); }
.sidebar-link.active { background: #ecfdf5; color: var(--forest); font-weight: 600; }
.sidebar-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--stone-200); }
.admin-main { flex: 1; padding: 2rem; min-width: 0; }
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-page-header h1 { font-size: 1.5rem; font-weight: 800; }
@media (max-width: 768px) {
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-main { padding: 1.25rem; }
}

/* ── Toggle switch ───────────────────────────────────────────────────────────── */
.toggle { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.toggle input { display: none; }
.toggle-track {
  width: 36px; height: 20px;
  background: var(--stone-200);
  border-radius: 10px;
  transition: background 0.2s;
  flex-shrink: 0;
  position: relative;
}
.toggle input:checked + .toggle-track { background: var(--forest); }
.toggle-track::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.toggle input:checked + .toggle-track::after { transform: translateX(16px); }

/* ── Spinner ─────────────────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
.loading-center { display: flex; justify-content: center; padding: 3rem; }

/* ── Stat cards (admin dashboard) ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card  { background: white; border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 1.25rem; }
.stat-value { font-size: 2.25rem; font-weight: 800; color: var(--forest); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--stone-600); margin-top: 0.35rem; }

/* ── Theme picker ────────────────────────────────────────────────────────────── */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
.theme-option {
  border: 2px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s;
  background: white;
  text-align: left;
  font-family: inherit;
}
.theme-option:hover    { border-color: var(--stone-400); }
.theme-option.selected { border-color: var(--stone-900); }
.theme-swatches { display: flex; gap: 6px; margin-bottom: 0.5rem; }
.swatch { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); flex-shrink: 0; }
.theme-name { font-size: 0.8rem; font-weight: 700; color: var(--stone-800); }

/* ── Image preview box ───────────────────────────────────────────────────────── */
.img-preview { position: relative; border: 2px dashed var(--stone-200); border-radius: var(--radius); overflow: hidden; background: var(--stone-100); }
.img-preview img { width: 100%; height: 100%; object-fit: contain; }
.img-preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-400);
  font-size: 0.8rem;
  height: 100%;
}

/* ── Event card image ────────────────────────────────────────────────────────── */

/* ── Event detail ────────────────────────────────────────────────────────────── */
.event-detail { max-width: 760px; margin: 0 auto; }
.event-detail-image { border-radius: 1rem; overflow: hidden; margin-bottom: 1.5rem; }
.event-detail-image img { width: 100%; height: auto; display: block; }
.event-detail-header {
  background: var(--forest);
  color: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem 1rem 0 0;
}
.event-detail-body {
  background: white;
  padding: 2rem;
  border-radius: 0 0 1rem 1rem;
  border: 1px solid var(--stone-200);
  border-top: none;
}
.event-detail-meta { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.event-detail-meta li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.925rem; }
.event-detail-meta .icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.5; }
.event-detail-desc { color: var(--stone-700); line-height: 1.8; white-space: pre-wrap; }
.event-flyer { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--stone-200); }
.event-flyer-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stone-400); margin-bottom: 1rem; }
.event-flyer img { max-width: 560px; width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.event-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone-200);
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
#footer-root { margin-top: auto; }
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.footer-brand { color: white; font-weight: 800; margin-bottom: 0.5rem; }
.footer-text  { font-size: 0.875rem; line-height: 1.6; }
.footer-heading { color: white; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ── Login page ──────────────────────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone-100);
  padding: 1.5rem;
}
.login-card  { width: 100%; max-width: 380px; }
.login-logo  { text-align: center; margin-bottom: 2rem; }
.login-logo h1 { font-size: 1.25rem; font-weight: 800; color: var(--forest); }
.login-logo p  { font-size: 0.875rem; color: var(--stone-600); margin-top: 0.25rem; }

/* ── Prose (static pages) ────────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 0.75rem; color: var(--stone-900); }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.prose p  { margin-bottom: 1.25rem; color: var(--stone-700); }
.prose ul { margin: 0 0 1.25rem 1.5rem; color: var(--stone-700); }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--stone-700);
}

/* ── Values grid (about page) ────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.value-card { background: white; border: 1px solid var(--stone-200); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.value-icon  { font-size: 2rem; margin-bottom: 0.75rem; }
.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.value-desc  { font-size: 0.875rem; color: var(--stone-600); line-height: 1.6; }

/* ── Sponsor pills (about page) ──────────────────────────────────────────────── */
/* ── Sponsor pills (fallback / legacy) ───────────────────────────────────────── */
.sponsor-cloud { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.sponsor-pill {
  background: white;
  border: 1px solid var(--stone-200);
  color: var(--stone-700);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-sm);
}

/* ── Sponsor cards (about page - dynamic) ────────────────────────────────────── */
.mission-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mission-image img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.sponsor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.sponsor-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.25rem 1rem; gap: 0.625rem;
  border: 1px solid var(--stone-200); border-radius: var(--radius);
  background: white; text-decoration: none; color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s;
  min-height: 90px; text-align: center;
}
a.sponsor-card:hover { box-shadow: var(--shadow); border-color: var(--stone-400); }
.sponsor-card img { max-height: 60px; max-width: 100%; object-fit: contain; }
.sponsor-card-name { font-size: 0.875rem; font-weight: 600; color: var(--stone-700); line-height: 1.3; }

/* ── Sponsor list rows (admin) ───────────────────────────────────────────────── */
.sponsor-row { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.25rem; }
.sponsor-row-logo { width: 80px; height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--stone-100); border-radius: 6px; overflow: hidden; }
.sponsor-row-logo img { max-width: 80px; max-height: 50px; object-fit: contain; }
.sponsor-logo-empty { font-size: 0.7rem; color: var(--stone-400); text-align: center; padding: 0.25rem; }
.sponsor-row-info { flex: 1; min-width: 0; }
.sponsor-row-name { font-weight: 600; font-size: 0.9rem; color: var(--stone-900); }
.sponsor-row-url { font-size: 0.8rem; color: var(--stone-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsor-row-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ── Timeline (history page) ─────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--stone-200);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute;
  left: -1.625rem;
  top: 0.875rem;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-era   { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); margin-bottom: 0.25rem; }
.timeline-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-body  { font-size: 0.875rem; color: var(--stone-600); line-height: 1.7; }

/* ── CTA strip ───────────────────────────────────────────────────────────────── */
/* ── Facebook page embed ─────────────────────────────────────────────────────── */
.fb-page-wrap { width: 500px; max-width: 100%; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.fb-page-wrap iframe { width: 100%; }

.cta-strip { background: var(--forest-dark); padding: 4rem 1.5rem; text-align: center; color: white; }
.cta-strip .section-header h2 { color: white; }
.cta-strip .section-header p  { color: rgba(255,255,255,0.7); font-style: italic; }
.cta-strip .section-divider   { background: var(--gold); }
.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
.cta-card-icon  { font-size: 2.5rem; }
.cta-card-title { font-family: 'Oswald', sans-serif; font-size: 1.15rem; font-weight: 600; color: white; letter-spacing: 0.06em; text-transform: uppercase; }
.cta-card-desc  { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.55; flex: 1; }
.cta-actions    { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact page ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(45,106,79,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-label { font-weight: 600; margin-bottom: 0.25rem; }
.contact-value { font-size: 0.9rem; color: var(--stone-600); }
.contact-value a { color: var(--forest); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Banner focal-point drag picker ──────────────────────────────────────────── */
.focal-dot {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 2.5px solid white;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.15);
  z-index: 2;
}

/* ── Color picker grid (admin settings) ─────────────────────────────────────── */
.color-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.625rem; }
.color-picker-row {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.875rem;
  border: 1px solid var(--stone-200); border-radius: var(--radius); background: white;
}
.color-picker-row label { flex: 1; font-size: 0.8rem; font-weight: 600; color: var(--stone-700); display: flex; flex-direction: column; gap: 0.1rem; }
.color-picker-row label small { font-weight: 400; color: var(--stone-400); font-size: 0.72rem; }
.color-picker-row input[type=color] { width: 44px; height: 34px; border: 1.5px solid var(--stone-200); border-radius: var(--radius); cursor: pointer; padding: 2px; flex-shrink: 0; background: none; }

/* ── Preset swatch buttons ───────────────────────────────────────────────────── */
.preset-swatches { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.preset-btn {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.875rem;
  border: 1.5px solid var(--stone-200); border-radius: 9999px;
  background: white; cursor: pointer; font-size: 0.8rem; font-weight: 600;
  font-family: inherit; transition: border-color 0.15s; color: var(--stone-700);
}
.preset-btn:hover { border-color: var(--stone-500); }
.preset-dots { display: flex; gap: 3px; }
.preset-dot  { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ── Misc ────────────────────────────────────────────────────────────────────── */
.text-muted { color: var(--stone-600); }
.text-sm    { font-size: 0.875rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.gap-3 { gap: 0.75rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--stone-600); }
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1.5px solid var(--stone-200);
  background: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--stone-600);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  font-family: inherit;
}
.filter-btn:hover  { border-color: var(--forest); color: var(--forest); }
.filter-btn.active { border-color: var(--forest); background: var(--forest); color: white; }
