/* ============================================
   St. John the Apostle School — Demo Site
   Light, warm, energetic. Navy + Gold (Chargers).
   Built by SynthBridge. © 2026
   ============================================ */

:root {
  /* Chargers brand */
  --navy: #1a3a6e;
  --navy-dark: #102448;
  --navy-light: #2c5396;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #b8860b;
  --gold-bg: #fdf6e3;

  /* Neutrals */
  --cream: #fbf9f4;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #6b6b6b;
  --line: #e8e3d6;
  --line-soft: #f0ebde;

  /* Accents */
  --success: #166534;
  --info: #0c4a6e;
  --warn: #b45309;
  --danger: #b91c1c;

  /* Type */
  --font-display: 'Playfair Display', 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1240px;
  --max-content: 880px;
  --pad: 24px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(26,58,110,0.06), 0 1px 2px rgba(26,58,110,0.04);
  --shadow: 0 4px 14px rgba(26,58,110,0.08), 0 2px 4px rgba(26,58,110,0.04);
  --shadow-lg: 0 20px 50px rgba(26,58,110,0.15), 0 10px 20px rgba(26,58,110,0.08);
  --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--pad); }

/* --- Demo banner --- */
.demo-banner {
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 10px var(--pad);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.demo-banner strong { color: var(--navy-dark); }
.demo-banner a { color: var(--navy-dark); text-decoration: underline; }

/* --- Top utility bar --- */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px var(--pad);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: var(--gold-light); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: flex; align-items: center; gap: 6px; }
.topbar-info svg { width: 14px; height: 14px; opacity: 0.8; }
.topbar-actions { display: flex; gap: 16px; align-items: center; }

/* --- Navbar --- */
.navbar {
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.nav-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
}
.nav-brand-text small {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links > li > a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}
.nav-links > li > a:hover { color: var(--gold-dark); }
.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--paper) !important;
  padding: 10px 20px !important;
  border-radius: 99px;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none; }

/* Nav dropdowns */
.nav-links li.has-submenu { position: relative; }
.nav-links li.has-submenu > a::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  margin-left: 6px;
  opacity: 0.6;
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  list-style: none;
}
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}
.nav-links li.has-submenu:hover > .nav-submenu,
.nav-links li.has-submenu:focus-within > .nav-submenu {
  display: block;
}
.nav-submenu li a {
  display: block;
  padding: 10px 18px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav-submenu li a::after { display: none; }
.nav-submenu li a:hover {
  background: var(--gold-bg);
  color: var(--gold-dark);
}

/* Featured principal block */
.featured-principal {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--paper);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.featured-principal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath fill='%23d4a017' fill-opacity='0.06' d='M100 30 L115 75 L160 75 L125 100 L140 145 L100 115 L60 145 L75 100 L40 75 L85 75 Z'/%3E%3C/svg%3E") center/200px;
  opacity: 0.6;
}
.featured-principal .container { position: relative; }
.featured-principal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
}
.principal-portrait {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--navy-dark);
  border: 5px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  font-weight: 700;
  margin: 0 auto;
}
.principal-content h2 { color: var(--paper); margin-bottom: 14px; }
.principal-content .principal-eyebrow {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.principal-content blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 22px 0;
}
.principal-content p.signature {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
@media (max-width: 800px) {
  .featured-principal-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .principal-content blockquote { text-align: left; }
  .principal-portrait { width: 180px; height: 180px; font-size: 3.5rem; }
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding: 10px 16px;
}
.btn-ghost:hover { background: rgba(26,58,110,0.06); }

/* --- Today banner --- */
.today-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--paper);
  padding: 18px var(--pad);
  font-size: 0.95rem;
}
.today-banner .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.today-banner .today-date {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-light);
}
.today-banner .today-items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.today-banner .today-items div { display: flex; gap: 6px; align-items: center; }
.today-banner .today-items strong { color: var(--gold-light); }
.today-banner .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* --- Hero --- */
.hero {
  background: var(--paper);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-bg) 0%, transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-bg);
  color: var(--gold-dark);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero h1 .accent {
  color: var(--gold-dark);
  font-style: italic;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M200 80 L240 130 L290 130 L250 165 L265 215 L200 185 L135 215 L150 165 L110 130 L160 130 Z'/%3E%3C/g%3E%3C/svg%3E") center/cover;
}
.hero-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255,255,255,0.97);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}
.hero-badge p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
}
.hero-crest-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-crest-large strong {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--navy);
  line-height: 1;
}
.hero-crest-large small {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* --- Section --- */
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); color: var(--paper); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section.dark .section-eyebrow { color: var(--gold-light); }
.section-title { margin-bottom: 14px; }
.section-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section.dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* --- Quicklink tiles --- */
.quicklinks { padding: 60px 0; background: var(--paper); }
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.quicklink {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.quicklink:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.quicklink svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
}
.quicklink:hover svg { color: var(--gold-dark); }
.quicklink span {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

/* --- News cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.card-image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.card-image svg { width: 56px; height: 56px; opacity: 0.7; }
.card-image.image-1 { background: linear-gradient(135deg, #1a3a6e 0%, #2c5396 100%); }
.card-image.image-2 { background: linear-gradient(135deg, #b8860b 0%, #d4a017 100%); }
.card-image.image-3 { background: linear-gradient(135deg, #102448 0%, #1a3a6e 100%); }
.card-image.image-4 { background: linear-gradient(135deg, #d4a017 0%, #f0c040 100%); }
.card-image.image-5 { background: linear-gradient(135deg, #166534 0%, #1a3a6e 100%); }
.card-image.image-6 { background: linear-gradient(135deg, #2c5396 0%, #d4a017 100%); }

.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  background: var(--gold-bg);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.card-date { color: var(--ink-muted); font-size: 0.82rem; margin-bottom: 8px; }
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--gold-dark); }
.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
  flex: 1;
}
.card-readmore {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --- Calendar mini --- */
.cal-mini {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
}
.cal-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cal-mini-header h3 { color: var(--navy); font-size: 1.1rem; margin: 0; }
.cal-mini-list { list-style: none; }
.cal-mini-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cal-mini-list li:last-child { border-bottom: 0; }
.cal-date-pill {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  padding: 8px 4px;
}
.cal-date-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1;
}
.cal-date-pill small {
  font-size: 0.7rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cal-event-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.cal-event-time { color: var(--ink-muted); font-size: 0.82rem; }

/* --- CTA strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--paper);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='%23d4a017' fill-opacity='0.05'%3E%3Cpath d='M300 50 L350 200 L500 200 L380 290 L430 440 L300 350 L170 440 L220 290 L100 200 L250 200 Z'/%3E%3C/g%3E%3C/svg%3E") center/cover;
  opacity: 0.5;
}
.cta-strip .container { position: relative; }
.cta-strip h2 { color: var(--paper); margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 28px; }

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 24px;
}
.footer h4 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-crest {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-brand .footer-crest .nav-crest { background: var(--paper); color: var(--navy); border-color: var(--gold); }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .built-by {
  color: rgba(255,255,255,0.65);
}
.footer-bottom .built-by a {
  color: var(--gold-light);
  font-weight: 600;
}

/* --- Page hero (sub-pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--paper);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23d4a017' fill-opacity='0.15' d='M50 10 L60 38 L88 38 L66 56 L75 84 L50 65 L25 84 L34 56 L12 38 L40 38 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--paper); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 660px; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--paper); }

/* --- Long-form content --- */
.prose { max-width: var(--max-content); margin: 0 auto; padding: 60px var(--pad); }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; color: var(--ink-soft); }
.prose blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--gold-bg);
  margin: 24px 0;
  font-style: italic;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.prose .placeholder {
  background: rgba(212,160,23,0.12);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 18px 0;
  font-size: 0.92rem;
  color: var(--gold-dark);
}

/* --- Tables --- */
.data-table {
  width: 100%;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
}
.data-table th {
  background: var(--navy);
  color: var(--paper);
  text-align: left;
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: var(--cream); }

/* --- Forms --- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--paper);
  box-shadow: 0 0 0 3px var(--gold-bg);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* --- Sport/Club listing --- */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.list-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}
.list-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.list-tile-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}
.list-tile-icon svg { width: 22px; height: 22px; }
.list-tile-content strong { display: block; color: var(--navy); font-weight: 600; font-size: 1rem; }
.list-tile-content span { color: var(--ink-muted); font-size: 0.82rem; }

/* --- Stat blocks --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 24px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  color: var(--ink-muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .quicklinks-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .today-banner .container { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px var(--pad);
    box-shadow: var(--shadow);
    gap: 14px;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .topbar-info { font-size: 0.78rem; gap: 14px; }
}
