:root{
  --bg:#0b0f14;
  --panel:#121923;
  --panel2:#172231;
  --border:#2a3a50;
  --text:#e8edf5;
  --muted:#a9b4c3;
  --gold:#f1c64a;
  --gold-soft:rgba(241,198,74,.12);
  --gold-deep:#d6a332;
  --shadow:0 18px 42px rgba(0,0,0,.38);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:linear-gradient(180deg,#0a0d12,#101722 28%,#0c1118);
  color:var(--text);
}

a{color:var(--gold)}
a:hover{color:#f7d878}
a:focus-visible,
button:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
}

h1,h2,h3,.brand{
  font-family:Oswald,Inter,sans-serif;
  letter-spacing:.02em;
}

.topIntro, .seoBlock, .signup-card, .pageIntro, nav, main, footer{
  width:min(980px, calc(100% - 32px));
  margin-left:auto;
  margin-right:auto;
}

.siteHeader{
  text-align:center;
  padding:20px 0 8px;
}

.hero{
  width:min(1200px, calc(100% - 24px));
  margin:0 auto 18px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #243041;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  background:#0f1620;
}

.hero picture,
.hero-image{
  display:block;
  width:100%;
}

.hero-image{
  height:clamp(220px, 34vw, 420px);
  object-fit:cover;
  object-position:center center;
}

h1{
  font-size:clamp(2rem,5vw,3.2rem);
  margin:0 16px 8px;
}

.topIntro{
  color:var(--muted);
  font-size:1.04rem;
  line-height:1.6;
  margin-bottom:14px;
}

.topIntro p,
.signup-card p{
  margin:0;
}

nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:14px auto 18px;
}

nav a{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid rgba(241,198,74,.22);
  background:rgba(255,255,255,.03);
  color:var(--text);
  transition:background .15s ease, color .15s ease, transform .15s ease;
}

nav a:hover,
nav a.active{
  background:var(--gold-soft);
  color:var(--gold);
  transform:translateY(-1px);
}

.signup-card,
.seoBlock,
.pageIntro{
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.65;
}

.signup-card{
  margin-bottom:20px;
  text-align:center;
}

.signup-card strong{
  color:var(--text);
}
.topIntro{
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  padding:18px 20px;
  color:var(--muted);
  font-size:1.04rem;
  line-height:1.6;
  margin-bottom:14px;
  text-align:left;
}
.topIntro h2{
  margin:0 0 10px;
  color:var(--gold);
  font-size:1.15rem;
}

.seoBlock{
  margin-top:18px;
  margin-bottom:24px;
}

.seoBlock h2,
.pageIntro h2{
  margin:0 0 10px;
  color:var(--gold);
  font-size:1.15rem;
}

main{
  margin-top:26px;
  margin-bottom:48px;
}

#events{
  width:100%;
}

.eventCard{
  position:relative;
  margin:20px 0;
  border:1px solid var(--border);
  border-radius:26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)),
    linear-gradient(135deg, var(--panel), var(--panel2));
  box-shadow:var(--shadow);
  overflow:hidden;
}

.eventGlow{
  position:absolute;
  inset:-30% auto auto -10%;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(241,198,74,.14), rgba(241,198,74,0));
  pointer-events:none;
}

.eventCardInner{
  position:relative;
  padding:22px 22px 18px;
}

.tagRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}

.tag{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  border:1px solid rgba(241,198,74,.18);
  background:rgba(241,198,74,.08);
  color:var(--gold);
}

.seoBlock h2 {
  padding: 0; /* Remove padding from h2 to let button fill space */
}

.expand-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: flex-start; /* Changed from space-between */
  gap: 10px;                   /* Adds space between text and chevron */
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.accessBlock{
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px;
  padding:18px 20px;
  color:var(--muted);
  line-height:1.65;
  width:min(980px, calc(100% - 32px));
  margin:18px auto 24px;
}

.accessBlock h2{
  margin:0 0 10px;
  color:var(--gold);
  font-size:1.15rem;
}
.chevron {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.expand-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.expandable-content {
  margin-top: 10px;
}

.eventToggle{
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:0;
  color:inherit;
  cursor:pointer;
}

.eventToggle .eventTop{
  padding-bottom:2px;
}

.eventTitle{
  margin:0 0 8px;
  font-size:clamp(1.55rem, 2.7vw, 2.15rem);
  line-height:1.02;
  letter-spacing:.01em;
}

.eventMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:6px;
  color:var(--text);
  font-size:15px;
  font-weight:600;
}

.eventPlace{
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.eventPlace a{
  text-decoration:none;
  border-bottom:1px dotted rgba(241,198,74,.45);
  color:var(--text);
}

.eventPlace a:hover{
  color:var(--gold);
}

.eventToggleHint{
  margin-top:10px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
  opacity:.88;
}

.eventToggle[aria-expanded="false"] .hideText{
  display:none;
}

.eventToggle[aria-expanded="true"] .showText{
  display:none;
}

.eventToggle:hover .eventTitle{
  color:var(--gold);
}

.eventToggle:hover .eventMeta{
  color:#f3f6fb;
}

.eventToggle:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:6px;
  border-radius:16px;
}

.eventDetails{
  padding-top:12px;
  margin-top:12px;
  border-top:1px solid rgba(255,255,255,.06);
}

.eventQuickFacts{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:10px;
  margin:14px 0 16px;
}

.eventQuickFacts span{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
  color:var(--muted);
  font-size:13.5px;
  line-height:1.35;
}

.eventQuickFacts strong{
  color:var(--text);
}

.eventNotes{
  color:var(--text);
  line-height:1.65;
  font-size:15.5px;
}

.eventNotes p{margin:0 0 12px}
.eventNotes ul{margin:0 0 12px 20px}
.eventNotes li{margin:0 0 6px}

.eventActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.eventBtn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
  transition:transform .15s ease, border-color .15s ease, background .15s ease;
  cursor:pointer;
}

.eventBtn:hover{transform:translateY(-1px)}
.primaryBtn{border:0;background:linear-gradient(180deg, #f4cb59, var(--gold-deep));color:#1a1305}
.secondaryBtn{border:1px solid rgba(241,198,74,.25);background:rgba(255,255,255,.03);color:var(--text)}
.emptyState{
  margin:28px auto 48px;
  padding:30px 24px;
  text-align:center;
  border-radius:24px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, var(--panel), var(--panel2));
}
.eventToggle{
  display:block;
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:0;
  color:inherit;
  cursor:pointer;
}

.eventToggle .eventTop{
  padding-bottom:4px;
}

.eventToggleHint{
  margin-top:12px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--gold);
}

.eventToggle[aria-expanded="false"] .hideText{
  display:none;
}

.eventToggle[aria-expanded="true"] .showText{
  display:none;
}

.eventDetails{
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:10px;
}

.eventToggle:hover .eventTitle{
  color:var(--gold);
}

.eventToggle:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:6px;
  border-radius:16px;
}

footer{
  text-align:center;
  color:var(--muted);
  padding:24px 0 40px;
}

.modalOverlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.72);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.modal{
  width:min(460px, calc(100% - 28px));
  background:linear-gradient(180deg, var(--panel), var(--panel2));
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow);
  text-align:center;
}

.modal button{
  margin:8px 6px 0;
  min-height:44px;
  border-radius:12px;
  padding:0 18px;
  border:0;
  cursor:pointer;
  font-weight:700;
}

.modal button:first-of-type{background:linear-gradient(180deg, #f4cb59, var(--gold-deep));color:#1a1305}
.modal button:last-of-type{background:#263445;color:#fff}

#tipBtn{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1500;
  min-height:48px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(241,198,74,.25);
  background:linear-gradient(180deg, #f4cb59, var(--gold-deep));
  color:#1a1305;
  font-weight:700;
  cursor:pointer;
  box-shadow:var(--shadow);
}

.closeX{
  position:absolute;
  top:12px;
  right:12px;
  background:transparent !important;
  color:var(--text) !important;
  border:0;
  font-size:1.5rem;
  min-height:auto !important;
  padding:0 8px !important;
}

.goldNote{color:var(--gold)}

@media (max-width: 640px){
  .hero{
    width:min(100%, calc(100% - 16px));
    border-radius:16px;
  }
  .hero-image{
    height:240px;
    object-position:35% center;
  }
  .eventCardInner{
    padding:18px 16px 16px;
  }
  .eventTitle{
    font-size:1.4rem;
  }
  .eventMeta{
    font-size:14px;
  }
  .eventPlace{
    font-size:13.5px;
  }
  .eventNotes{
    font-size:15px;
  }
  .eventBtn{
    width:100%;
  }
  nav{justify-content:center}
  .signup-card,
  .seoBlock,
  .pageIntro,
  .topIntro, nav, main, footer{
    width:min(980px, calc(100% - 20px));
  }
}

/* Featured next-event banner */
.featuredWrap{
  width:min(980px, calc(100% - 32px));
  margin:20px auto 6px;
}
.featuredCard{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(241,198,74,.24);
  background:
    radial-gradient(circle at top right, rgba(241,198,74,.18), transparent 34%),
    linear-gradient(135deg, rgba(241,198,74,.08), rgba(255,255,255,.02)),
    linear-gradient(180deg, #161f2b, #101722);
  box-shadow:0 20px 48px rgba(0,0,0,.34);
}
.featuredInner{
  position:relative;
  padding:24px 24px 22px;
}
.featuredEyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:10px;
}
.featuredTitle{
  margin:0 0 10px;
  font-size:clamp(1.5rem, 2.6vw, 2.35rem);
  line-height:1.05;
}
.featuredMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-size:15px;
  margin-bottom:10px;
}
.featuredPlace a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px dotted rgba(241,198,74,.45);
}
.featuredPlace a:hover{
  color:var(--gold);
}
.featuredText{
  color:var(--text);
  line-height:1.65;
  font-size:15.5px;
  margin-top:14px;
}
.featuredActions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.featuredBtn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:46px;
  padding:0 16px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
}
.featuredBtn.primary{
  background:linear-gradient(180deg, #f4cb59, #d6a332);
  color:#1a1305;
}
.featuredBtn.secondary{
  border:1px solid rgba(241,198,74,.25);
  background:rgba(255,255,255,.03);
  color:var(--text);
}
.featuredGlow{
  position:absolute;
  right:-30px;
  top:-30px;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(241,198,74,.2), rgba(241,198,74,0));
  pointer-events:none;
}
@media (max-width:640px){
  .featuredWrap{width:min(980px, calc(100% - 20px))}
  .featuredInner{padding:20px 18px 18px}
  .featuredBtn{width:100%}
}
/* =========================
   PRINT VERSION
   ========================= */

@media print {

  @page {
    margin: 0.5in;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt !important;
    line-height: 1.4 !important;
  }

  /* Hide screen-only elements */
  .modalOverlay,
  #ageGate,
  #tipBtn,
  #tipModal,
  nav,
  .hero,
  footer,
  .closeX,
  button:not(.expand-trigger) {
    display: none !important;
  }

  /* Remove dark theme effects */
  header,
  main,
  section,
  .seoBlock,
  .accessBlock,
  .eventCard,
  .modal,
  div {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    border-color: #ddd !important;
  }

  /* Expand ALL hidden / accordion content */
  .expandable-content,
  .expanded,
  .eventExpanded,
  .eventDetails,
  #host-content,
  [class*="expand"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Fix clipping */
  #events,
  #events *,
  .eventCard,
  section,
  div {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  /* Links print cleanly */
  a,
  a:visited {
    color: #000 !important;
    text-decoration: none !important;
  }

  /* Heading cleanup */
  h1,
  h2,
  h3 {
    color: #000 !important;
    page-break-after: avoid;
    break-after: avoid;
  }

  /* Keep event cards together */
  .eventCard {
    margin-bottom: 20pt !important;
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ddd !important;
    padding: 10pt !important;
  }

  /* Prevent weird page splits */
  p,
  ul,
  li {
    page-break-inside: avoid;
  }

  /* Show URL after external links if desired */
  /*
  a[href^="http"]:after {
      content: " (" attr(href) ")";
      font-size: 9pt;
  }
  */

}