* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #111; background: #fff; }
a { color: #c8102e; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* header */
.site-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { text-decoration: none; }
.logo-badge { background: #e01f26; color: #fff; font-weight: 800; border-radius: 50%; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.logo-text { font-weight: 800; font-size: 20px; line-height: 1.05; }
.logo-text small { display: block; font-weight: 400; font-size: 12px; color: #ccc; }
.main-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.main-nav a { color: #fff; font-weight: 600; font-size: 15px; }
.main-nav a.nav-cta { background: #e01f26; padding: 6px 12px; border-radius: 6px; }
.socials { display: flex; gap: 8px; }
.socials a { color: #fff; border: 1px solid #444; border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.socials a svg { width: 15px; height: 15px; display: block; }

/* layout */
.section { max-width: 1180px; margin: 0 auto; padding: 26px 16px 8px; }
.section.narrow { max-width: 780px; }
.section.band { background: #f6f6f6; border-radius: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h2 { font-size: 26px; margin: 6px 0 14px; }
h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 10px; }
.empty { color: #666; }
.lede { font-size: 18px; color: #333; }
.prose p { line-height: 1.65; font-size: 17px; }
.caveat { color: #8a6d00; background: #fff8e1; padding: 8px 12px; border-radius: 8px; }
.detail-list { line-height: 1.9; padding-left: 18px; }
.detail-flyer { border-radius: 12px; margin: 12px 0; }
.form-error { color: #b00020; font-weight: 600; }
.form-success { color: #146c2e; font-weight: 600; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.event-card, .mini-card, .story-card { border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.event-media { position: relative; display: block; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a1a, #3d0a0e); color: #fff; font-weight: 800; font-size: 20px; text-align: center; padding: 16px; }
.badge-featured { position: absolute; top: 10px; left: 10px; background: #e01f26; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.mini-card .badge-featured, .spotlight-card .badge-featured { position: static; display: inline-block; margin-bottom: 8px; }
.event-body, .story-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-when { color: #c8102e; font-weight: 700; margin: 0; font-size: 14px; }
.event-title { margin: 0; font-size: 19px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-title a { color: #111; }
.event-venue { margin: 0; color: #555; font-size: 14px; }
.event-price { margin: 0; font-weight: 600; font-size: 14px; min-height: 18px; }
.event-teaser { margin: 0; color: #444; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-actions { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.btn { display: inline-block; background: #e01f26; color: #fff; font-weight: 700; padding: 9px 14px; border-radius: 8px; border: 0; cursor: pointer; font-size: 14px; }
.btn:hover { text-decoration: none; opacity: .92; }
.btn-dark { background: #111; }
.mini-card { padding: 16px; }
.mini-card h3 { margin: 4px 0 6px; }
.club-logo, .spotlight-logo { max-height: 90px; object-fit: contain; }

/* spotlight */
.spotlight { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.spotlight-main { border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; }
.spotlight-side { display: grid; gap: 18px; }
.spotlight-card { border: 2px solid #e01f26; border-radius: 12px; padding: 20px; position: relative; }
.spotlight-card.plug { border-style: dashed; border-color: #bbb; }

/* stories */
.story-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.story-media { display: block; aspect-ratio: 16/9; background: #111; position: relative; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 28px; background: linear-gradient(135deg, #1a1a1a, #3d0a0e); }
.story-cat { color: #c8102e; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.story-card h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.3; }
.story-card h3 a { color: #111; }
.story-excerpt { margin: 0; color: #444; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* tabs + categories */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.tab { border: 1px solid #ccc; background: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.tab.active { background: #111; color: #fff; border-color: #111; }
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.pill { border: 1px solid #ccc; background: #fff; color: #111; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.pill.active { background: #c8102e; border-color: #c8102e; color: #fff; }
.cat-dropdown { position: relative; }
.cat-menu { position: absolute; top: 110%; left: 0; background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 8px; display: grid; min-width: 220px; z-index: 5; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cat-menu a { color: #111; padding: 6px 8px; border-radius: 6px; }
.cat-menu a:hover { background: #f2f2f2; text-decoration: none; }

/* article */
.read-next { border: 2px solid #111; border-radius: 12px; padding: 14px 16px; margin: 20px 0; }
.read-next span { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #c8102e; margin-bottom: 4px; }
.read-next a { color: #111; font-weight: 700; font-size: 18px; }
.ad-slot { border: 1px dashed #ccc; border-radius: 10px; padding: 10px; margin: 20px 0; text-align: center; }
.ad-slot:empty { display: none; }
.join-block { border: 1px solid #ddd; border-radius: 12px; padding: 18px; margin: 26px 0; }
.join-block.accent { border: 2px solid #e01f26; }
.join-eyebrow { font-weight: 800; color: #c8102e; margin: 0 0 4px; letter-spacing: .03em; }

/* footer */
.site-footer { background: #000; color: #ddd; margin-top: 44px; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 28px 16px; display: grid; gap: 16px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand p { margin: 2px 0 0; color: #aaa; }
.footer-nav, .footer-legal { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.footer-nav a, .footer-legal a { color: #ddd; font-size: 14px; }
.admin-btn { border: 1px solid #555; padding: 6px 14px; border-radius: 8px; font-weight: 700; }
.team-note { color: #888; font-size: 13px; }
.copyright { color: #777; font-size: 13px; margin: 0; }

/* consent bar — slim bottom bar, not a popup */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #111; color: #eee; padding: 10px 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; z-index: 50; font-size: 14px; }
.consent-bar p { margin: 0; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions button { background: #e01f26; color: #fff; border: 0; padding: 8px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.consent-actions button.ghost { background: transparent; border: 1px solid #666; color: #eee; }

/* admin */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.admin-tabs span { background: #111; color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; }
.admin-form { display: grid; gap: 12px; max-width: 360px; }
.admin-form input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-top: 6px; }
.admin-form select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-top: 6px; background: #fff; font-size: 15px; }
.admin-form input[type="checkbox"] { width: auto; margin-top: 2px; flex: none; }
.admin-form .check-row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.admin-form .check-group { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.admin-form .check-group legend { font-weight: 600; margin-bottom: 2px; padding: 0; }
.admin-form .dob-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.stat-cards { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.stat-card { border: 1px solid #e3e3e3; border-radius: 12px; padding: 14px 18px; min-width: 160px; }
.stat-card strong { display: block; font-size: 28px; line-height: 1.1; }
.stat-card span { color: #666; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.settings-form { display: grid; gap: 12px; max-width: 420px; margin-bottom: 22px; }
.settings-form select, .settings-form input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 8px; margin-top: 6px; }
.admin-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eee; font-size: 14px; }
.admin-table th { color: #666; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

#back-to-top { position: fixed; right: 16px; bottom: 64px; background: #111; color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 18px; cursor: pointer; display: none; z-index: 40; }

@media (max-width: 760px) {
  .spotlight { grid-template-columns: 1fr; }
  h1 { font-size: 27px; }
  .main-nav { margin-left: 0; }
}

/* Add-to-Home-Screen button (footer) */
.install-row { margin-top: 4px; }
.install-btn { background: rgba(225,25,25,0.12); color: #fff; border: 1.5px solid #e11919; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; }
.install-btn:hover { background: rgba(225,25,25,0.28); }
.install-help { margin-top: 10px; font-size: 13.5px; color: #bbb; max-width: 420px; line-height: 1.55; }
