:root {
  --navy:       #0f0a2e;
  --royal:      #1a0f5e;
  --purple:     #28166f;
  --violet:     #5B21B6;
  --gold:       #D4AF37;
  --gold-light: #F5D76E;
  --white:      #ffffff;
  --off-white:  #f8f9ff;
  --slate:      #64748b;
  --light:      #e2e8f0;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
  --cat-convention: #28166f;
  --cat-prayer:     #059669;
  --cat-youth:      #7c3aed;
  --cat-women:      #db2777;
  --cat-leadership: #b45309;
  --cat-missions:   #0369a1;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; color:#1a1a1a; overflow-x:hidden; background:var(--off-white); }

/* ── TICKER ── */
.ticker-wrap { background:var(--gold); color:var(--navy); padding:0.55rem 0; overflow:hidden; white-space:nowrap; position:relative; z-index:200; }
.ticker-wrap::before,.ticker-wrap::after { content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; }
.ticker-wrap::before { left:0; background:linear-gradient(to right,var(--gold),transparent); }
.ticker-wrap::after  { right:0; background:linear-gradient(to left,var(--gold),transparent); }
.ticker-track { display:inline-flex; gap:4rem; animation:ticker 40s linear infinite; }
.ticker-track:hover { animation-play-state:paused; }
.ticker-item { font-weight:700; font-size:0.82rem; letter-spacing:0.04em; text-transform:uppercase; }
.ticker-item span { background:var(--navy); color:var(--gold); padding:0.15rem 0.6rem; border-radius:4px; margin-right:0.5rem; font-size:0.7rem; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── TOP BAR ── */
.topbar { background:var(--navy); color:rgba(255,255,255,0.85); font-size:0.8rem; padding:0.5rem 2rem; }
.topbar-inner { max-width:1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; }
.topbar-left { display:flex; gap:1.5rem; align-items:center; }
.topbar-left a { color:rgba(255,255,255,0.8); text-decoration:none; display:flex; align-items:center; gap:0.4rem; transition:color 0.2s; }
.topbar-left a:hover { color:var(--gold); }
.topbar-right { display:flex; gap:0.75rem; align-items:center; }
.social-pill { width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:white; text-decoration:none; transition:var(--transition); }
.social-pill:hover { background:var(--gold); color:var(--navy); transform:translateY(-2px); }
.lang-btn { padding:0.25rem 0.75rem; border:1px solid rgba(255,255,255,0.3); border-radius:20px; color:rgba(255,255,255,0.8); cursor:pointer; background:transparent; font-size:0.78rem; transition:var(--transition); }
.lang-btn:hover { border-color:var(--gold); color:var(--gold); }

/* ── NAV ── */
.nav-wrapper { position:sticky; top:0; z-index:1000; background:rgba(255,255,255,0.97); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid rgba(40,22,111,0.08); box-shadow:0 2px 24px rgba(40,22,111,0.08); }
.nav-inner { max-width:1400px; margin:0 auto; padding:0.85rem 2rem; display:flex; justify-content:space-between; align-items:center; gap:2rem; }
.logo { display:flex; align-items:center; gap:0.85rem; text-decoration:none; }
.logo-mark { width:46px; height:46px; flex-shrink:0; }
.logo-mark img { width:100%; height:100%; object-fit:contain; display:block; }
.logo-name { font-size:1.1rem; font-weight:800; color:var(--purple); line-height:1.2; }
.logo-tagline { font-size:0.68rem; color:var(--slate); font-weight:500; }
.nav-links { display:flex; gap:0.25rem; list-style:none; align-items:center; }
.nav-links > li > a { display:flex; align-items:center; padding:0.5rem 0.85rem; border-radius:8px; text-decoration:none; color:#1a1a1a; font-weight:600; font-size:0.875rem; transition:var(--transition); }
.nav-links > li > a:hover { color:var(--purple); background:rgba(40,22,111,0.05); }
.nav-links > li > a.active { color:var(--purple); }
.nav-actions { display:flex; gap:0.75rem; align-items:center; }
.btn-primary { display:inline-flex; align-items:center; gap:0.4rem; padding:0.6rem 1.25rem; border-radius:50px; font-weight:700; font-size:0.85rem; text-decoration:none; cursor:pointer; border:none; background:linear-gradient(135deg,var(--purple),var(--violet)); color:white; box-shadow:0 4px 16px rgba(91,33,182,0.3); transition:var(--transition); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(91,33,182,0.4); }

/* ── PAGE HERO ── */
.page-hero { background:var(--navy); padding:3.5rem 2rem 0; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 80% 60%,rgba(91,33,182,0.25) 0%,transparent 60%), radial-gradient(ellipse at 20% 40%,rgba(212,175,55,0.08) 0%,transparent 50%); }
.page-hero-inner { max-width:1400px; margin:0 auto; position:relative; z-index:1; }
.breadcrumb { display:flex; align-items:center; gap:0.5rem; margin-bottom:1.5rem; font-size:0.82rem; }
.breadcrumb a { color:rgba(255,255,255,0.5); text-decoration:none; transition:color 0.2s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb-sep { color:rgba(255,255,255,0.25); }
.breadcrumb-current { color:rgba(255,255,255,0.85); font-weight:600; }
.hero-split { display:grid; grid-template-columns:1fr 1.1fr; gap:4rem; align-items:end; padding-bottom:3rem; }
.hero-eyebrow { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--gold); margin-bottom:1rem; }
.hero-title { font-size:clamp(2.2rem,4vw,3.4rem); font-weight:900; color:white; line-height:1.1; margin-bottom:1rem; }
.hero-title em { font-style:normal; color:var(--gold); }
.hero-sub { font-size:1rem; color:rgba(255,255,255,0.6); line-height:1.65; max-width:420px; margin-bottom:2rem; }
.hero-stats { display:flex; gap:2rem; }
.hero-stat-num { font-size:1.75rem; font-weight:900; color:white; line-height:1; }
.hero-stat-lbl { font-size:0.72rem; color:rgba(255,255,255,0.45); text-transform:uppercase; letter-spacing:0.06em; margin-top:0.2rem; }
.hero-featured { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:20px; padding:2rem; backdrop-filter:blur(12px); position:relative; overflow:hidden; }
.hero-featured::before { content:''; position:absolute; top:-30px; right:-30px; width:160px; height:160px; border-radius:50%; background:rgba(212,175,55,0.06); }
.hf-tag { display:inline-flex; align-items:center; gap:0.4rem; background:rgba(212,175,55,0.15); color:var(--gold-light); border:1px solid rgba(212,175,55,0.25); padding:0.28rem 0.8rem; border-radius:50px; font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; margin-bottom:0.9rem; }
.hf-title { font-size:1.35rem; font-weight:900; color:white; line-height:1.25; margin-bottom:1.25rem; }
.hf-meta { display:flex; flex-direction:column; gap:0.55rem; margin-bottom:1.5rem; }
.hf-meta-item { display:flex; align-items:center; gap:0.6rem; font-size:0.84rem; color:rgba(255,255,255,0.7); }
.hf-meta-item svg { flex-shrink:0; opacity:0.6; }
.hf-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; padding-top:1.25rem; border-top:1px solid rgba(255,255,255,0.1); }
.hf-countdown { display:flex; gap:0.5rem; }
.hf-cd-unit { text-align:center; background:rgba(255,255,255,0.08); border-radius:8px; padding:0.4rem 0.6rem; min-width:46px; }
.hf-cd-num { font-size:1.1rem; font-weight:900; color:white; line-height:1; display:block; }
.hf-cd-lbl { font-size:0.58rem; color:rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:0.05em; }
.hf-register { padding:0.6rem 1.35rem; border-radius:50px; background:var(--gold); color:var(--navy); font-weight:800; font-size:0.84rem; text-decoration:none; border:none; cursor:pointer; transition:var(--transition); white-space:nowrap; }
.hf-register:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(212,175,55,0.4); }

/* ── FILTER BAR (category + search only) ── */
.filter-bar { background:white; border-bottom:1px solid var(--light); padding:0 2rem; position:sticky; top:75px; z-index:100; box-shadow:0 2px 12px rgba(40,22,111,0.06); }
.filter-bar-inner { max-width:1400px; margin:0 auto; display:flex; align-items:center; gap:0.85rem; flex-wrap:wrap; padding:0.7rem 0; }
.filter-label { font-size:0.72rem; font-weight:700; color:var(--slate); text-transform:uppercase; letter-spacing:0.08em; white-space:nowrap; }
.filter-chips { display:flex; gap:0.4rem; flex-wrap:wrap; flex:1; }
.filter-chip { padding:0.32rem 0.9rem; border-radius:50px; border:1.5px solid var(--light); background:white; font-size:0.8rem; font-weight:600; color:var(--slate); cursor:pointer; transition:var(--transition); line-height:1.4; }
.filter-chip:hover { border-color:var(--violet); color:var(--violet); }
.filter-chip.active { background:var(--purple); color:white; border-color:var(--purple); }
.filter-search { display:flex; align-items:center; gap:0.5rem; border:1.5px solid var(--light); border-radius:50px; padding:0.32rem 1rem; background:var(--off-white); transition:var(--transition); }
.filter-search:focus-within { border-color:var(--violet); background:white; }
.filter-search svg { flex-shrink:0; opacity:0.4; }
.filter-search input { border:none; background:transparent; font-size:0.82rem; outline:none; width:170px; color:#1a1a1a; }

/* ── MAIN LAYOUT ── */
.cal-layout { max-width:1400px; margin:0 auto; padding:2.5rem 2rem 4rem; display:grid; grid-template-columns:220px 1fr; gap:3rem; align-items:start; }

/* ── LEFT SIDEBAR: hierarchical year → month tree ── */
.cal-sidebar { position:sticky; top:148px; }
.sidebar-title { font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--slate); margin-bottom:1rem; }

.year-tree { list-style:none; display:flex; flex-direction:column; gap:0.25rem; }

/* Year row */
.year-node { border-radius:10px; overflow:hidden; }
.year-toggle {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; padding:0.55rem 0.85rem; border:none; border-radius:10px;
  background:transparent; cursor:pointer; transition:var(--transition);
  text-align:left;
}
.year-toggle:hover { background:rgba(40,22,111,0.06); }
.year-toggle.open { background:var(--purple); }
.year-toggle-left { display:flex; align-items:center; gap:0.6rem; }
.year-toggle-label { font-size:0.92rem; font-weight:800; color:var(--navy); transition:color 0.2s; }
.year-toggle.open .year-toggle-label { color:white; }
.year-total { font-size:0.68rem; font-weight:700; color:var(--slate); background:var(--light); border-radius:50px; padding:0.1rem 0.5rem; transition:var(--transition); }
.year-toggle.open .year-total { background:rgba(255,255,255,0.2); color:rgba(255,255,255,0.8); }
.year-chevron { width:16px; height:16px; flex-shrink:0; transition:transform 0.25s ease; opacity:0.5; }
.year-toggle.open .year-chevron { transform:rotate(180deg); opacity:1; filter:brightness(10); }

/* Month list under year */
.month-list {
  list-style:none; margin-top:0.2rem;
  overflow:hidden; max-height:0;
  transition:max-height 0.35s cubic-bezier(.4,0,.2,1);
  padding-left:0.5rem;
}
.month-list.open { max-height:600px; }

.month-node { display:flex; align-items:center; position:relative; }
/* timeline line */
.month-node::before { content:''; position:absolute; left:11px; top:0; bottom:0; width:1px; background:var(--light); }
.month-node:last-child::before { height:50%; }
/* timeline dot */
.month-node::after { content:''; position:absolute; left:7px; top:50%; transform:translateY(-50%); width:9px; height:9px; border-radius:50%; background:var(--light); border:2px solid white; transition:var(--transition); flex-shrink:0; }
.month-node.active::after { background:var(--purple); box-shadow:0 0 0 3px rgba(40,22,111,0.15); }

.month-link {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; padding:0.38rem 0.75rem 0.38rem 2rem;
  text-decoration:none; border-radius:8px;
  font-size:0.82rem; font-weight:600; color:var(--slate);
  transition:var(--transition);
  margin:0.05rem 0;
}
.month-link:hover { color:var(--purple); background:rgba(40,22,111,0.05); }
.month-node.active .month-link { color:var(--purple); font-weight:700; }
.month-count { font-size:0.65rem; font-weight:800; min-width:18px; height:18px; border-radius:50%; background:var(--light); color:var(--slate); display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.month-node.active .month-count { background:var(--purple); color:white; }

/* ── EVENT LIST ── */
.event-list { display:flex; flex-direction:column; }

.month-section { }
.month-section.hidden { display:none; }

/* Month header */
.month-header { display:flex; align-items:center; gap:1rem; padding:1.5rem 0 0.85rem; position:sticky; top:148px; z-index:10; background:var(--off-white); }
.month-header::after { content:''; flex:1; height:1px; background:var(--light); }
.month-badge { display:flex; align-items:center; gap:0.5rem; background:white; border:1.5px solid var(--light); border-radius:50px; padding:0.3rem 1rem 0.3rem 0.6rem; box-shadow:0 2px 8px rgba(40,22,111,0.06); }
.month-badge-dot { width:8px; height:8px; border-radius:50%; background:var(--purple); flex-shrink:0; }
.month-badge h3 { font-size:0.82rem; font-weight:800; color:var(--navy); text-transform:uppercase; letter-spacing:0.07em; white-space:nowrap; }

/* ── EVENT ROW ── */
.event-row {
  display:grid; grid-template-columns:90px 1fr auto;
  gap:0 1.5rem; align-items:stretch;
  background:white; border:1.5px solid var(--light);
  border-radius:16px; overflow:hidden;
  margin-bottom:0.75rem; transition:var(--transition);
  scroll-margin-top:160px;
}
.event-row:hover { box-shadow:0 8px 32px rgba(40,22,111,0.12); transform:translateY(-2px); border-color:rgba(40,22,111,0.15); }
.event-row[data-category="convention"] { border-left:4px solid var(--cat-convention); }
.event-row[data-category="prayer"]     { border-left:4px solid var(--cat-prayer); }
.event-row[data-category="youth"]      { border-left:4px solid var(--cat-youth); }
.event-row[data-category="women"]      { border-left:4px solid var(--cat-women); }
.event-row[data-category="leadership"] { border-left:4px solid var(--cat-leadership); }
.event-row[data-category="missions"]   { border-left:4px solid var(--cat-missions); }

.event-date-block { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:1.25rem 0.5rem; background:var(--off-white); border-right:1.5px solid var(--light); flex-shrink:0; }
.event-date-day { font-size:1.35rem; font-weight:900; color:var(--navy); line-height:1.1; text-align:center; }
.event-date-mon { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--slate); margin-top:0.15rem; }

.event-content { padding:1.1rem 0; display:flex; flex-direction:column; justify-content:center; gap:0.35rem; min-width:0; }
.event-cat-tag { display:inline-flex; align-items:center; gap:0.3rem; font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; width:fit-content; }
.event-title { font-size:1rem; font-weight:800; color:var(--navy); line-height:1.3; }
.event-meta-row { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin-top:0.1rem; }
.event-meta-item { display:flex; align-items:center; gap:0.35rem; font-size:0.78rem; color:var(--slate); }
.event-meta-item svg { flex-shrink:0; opacity:0.55; }
.event-nation { font-size:0.72rem; font-weight:600; color:var(--slate); margin-top:0.2rem; }

.event-action { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; padding:1.25rem 1.5rem; gap:0.5rem; flex-shrink:0; border-left:1.5px solid var(--light); }
.event-register-btn { padding:0.5rem 1.25rem; border-radius:50px; background:linear-gradient(135deg,var(--purple),var(--violet)); color:white; font-size:0.78rem; font-weight:700; text-decoration:none; border:none; cursor:pointer; transition:var(--transition); white-space:nowrap; }
.event-register-btn:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(91,33,182,0.35); }
.event-learn-btn { padding:0.5rem 1.25rem; border-radius:50px; border:1.5px solid var(--light); color:var(--slate); font-size:0.78rem; font-weight:700; text-decoration:none; transition:var(--transition); white-space:nowrap; }
.event-learn-btn:hover { border-color:var(--violet); color:var(--violet); }

/* category tag colours */
.cat-convention { color:var(--cat-convention); }
.cat-prayer     { color:var(--cat-prayer); }
.cat-youth      { color:var(--cat-youth); }
.cat-women      { color:var(--cat-women); }
.cat-leadership { color:var(--cat-leadership); }
.cat-missions   { color:var(--cat-missions); }

/* ── EMPTY STATES ── */
.empty-state { text-align:center; padding:5rem 2rem; color:var(--slate); display:none; }
.empty-state svg { opacity:0.2; margin-bottom:1rem; display:block; margin-left:auto; margin-right:auto; }
.month-empty {
  display:none; align-items:center; gap:1.25rem;
  padding:1.5rem 1.75rem; margin-bottom:0.75rem;
  background:white; border:1.5px dashed var(--light);
  border-radius:16px; color:var(--slate);
}
.month-empty.show { display:flex; }
.month-empty svg { flex-shrink:0; opacity:0.25; }
.month-empty-text { font-size:0.85rem; line-height:1.5; }
.month-empty-text strong { display:block; font-size:0.9rem; color:var(--navy); margin-bottom:0.2rem; }

/* ── FOOTER ── */
.cal-footer { background:var(--navy); color:rgba(255,255,255,0.5); text-align:center; padding:2rem; font-size:0.82rem; }
.cal-footer a { color:var(--gold); text-decoration:none; font-weight:600; }
.cal-footer a:hover { text-decoration:underline; }

/* ── BACK TO TOP ── */
.back-top { position:fixed; bottom:2rem; right:2rem; width:46px; height:46px; border-radius:50%; background:var(--purple); color:white; border:none; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 4px 20px rgba(40,22,111,0.35); transition:var(--transition); opacity:0; pointer-events:none; }
.back-top.show { opacity:1; pointer-events:all; }
.back-top:hover { background:var(--violet); transform:translateY(-3px); }

/* ── EVENT DETAIL MODAL ── */
.em-backdrop {
  display:none; position:fixed; inset:0; z-index:2000;
  background:rgba(15,10,46,0.65); backdrop-filter:blur(4px);
  align-items:center; justify-content:center; padding:1.5rem;
}
.em-backdrop.open { display:flex; }

.em-panel {
  background:white; border-radius:20px; width:100%; max-width:560px;
  max-height:90vh; overflow-y:auto; position:relative;
  box-shadow:0 24px 80px rgba(15,10,46,0.3);
  animation:emSlideIn 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes emSlideIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.em-close {
  position:absolute; top:1rem; right:1rem; width:34px; height:34px;
  border-radius:50%; border:none; background:var(--light); color:var(--slate);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:var(--transition); z-index:1;
}
.em-close:hover { background:var(--navy); color:white; }

.em-header {
  background:var(--navy); color:white; padding:2rem 2rem 1.5rem;
  border-radius:20px 20px 0 0;
}
.em-cat-tag {
  display:inline-flex; align-items:center; gap:0.4rem;
  font-size:0.68rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em;
  background:rgba(255,255,255,0.12); color:rgba(255,255,255,0.85);
  padding:0.25rem 0.75rem; border-radius:50px; margin-bottom:0.85rem;
}
.em-title { font-size:1.3rem; font-weight:900; line-height:1.25; margin-bottom:0.6rem; }
.em-nations { font-size:0.82rem; color:rgba(255,255,255,0.55); }

.em-body { padding:1.75rem 2rem; }

.em-meta-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem 1.5rem; margin-bottom:1.5rem; }
.em-meta-item { display:flex; flex-direction:column; gap:0.2rem; }
.em-meta-label { font-size:0.65rem; font-weight:700; text-transform:uppercase; letter-spacing:0.09em; color:var(--slate); }
.em-meta-value { font-size:0.88rem; font-weight:600; color:var(--navy); line-height:1.4; }

.em-description {
  font-size:0.9rem; color:#374151; line-height:1.7;
  padding:1.25rem; background:var(--off-white); border-radius:12px;
  margin-bottom:1.25rem;
}

.em-contact {
  display:flex; align-items:center; gap:0.45rem;
  font-size:0.8rem; color:var(--slate); margin-bottom:0;
}
.em-contact a { color:var(--purple); font-weight:600; text-decoration:none; }
.em-contact a:hover { text-decoration:underline; }

.em-footer {
  display:flex; align-items:center; justify-content:flex-end; gap:0.75rem;
  padding:1.25rem 2rem; border-top:1px solid var(--light);
}
.em-dismiss {
  padding:0.6rem 1.25rem; border-radius:50px; border:1.5px solid var(--light);
  background:white; color:var(--slate); font-size:0.84rem; font-weight:700;
  cursor:pointer; transition:var(--transition);
}
.em-dismiss:hover { border-color:var(--navy); color:var(--navy); }
.em-register {
  padding:0.6rem 1.35rem; border-radius:50px;
  background:linear-gradient(135deg,var(--purple),var(--violet));
  color:white; font-size:0.84rem; font-weight:700;
  text-decoration:none; transition:var(--transition);
}
.em-register:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(91,33,182,0.35); }
.em-register.hidden { display:none; }

/* make Learn More a proper button matching the existing style */
.event-learn-btn {
  padding:0.5rem 1.25rem; border-radius:50px; border:1.5px solid var(--light);
  color:var(--slate); font-size:0.78rem; font-weight:700;
  background:white; cursor:pointer; transition:var(--transition); white-space:nowrap;
}
.event-learn-btn:hover { border-color:var(--violet); color:var(--violet); }

@media(max-width:560px) {
  .em-meta-grid { grid-template-columns:1fr; }
  .em-panel { border-radius:16px; }
  .em-header { padding:1.5rem 1.25rem 1.25rem; border-radius:16px 16px 0 0; }
  .em-body { padding:1.25rem; }
  .em-footer { padding:1rem 1.25rem; }
}

/* ── RESPONSIVE ── */
@media(max-width:960px) {
  .cal-layout { grid-template-columns:1fr; }
  .cal-sidebar { position:static; }
  .sidebar-title { display:none; }
  .year-tree { flex-direction:row; gap:0.5rem; flex-wrap:wrap; }
  .year-node { flex:none; }
  /* Year toggle becomes a compact pill */
  .year-toggle { padding:0.35rem 0.85rem; border-radius:50px; }
  .year-toggle-label { font-size:0.82rem; }
  /* Months flow in a tight multi-column grid */
  .month-list { padding-left:0; }
  .month-list.open {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:0.25rem;
    padding:0.5rem 0 0.25rem;
    max-height:none;
  }
  .month-node::before, .month-node::after { display:none; }
  .month-link { padding:0.3rem 0.6rem; border-radius:8px; font-size:0.78rem; justify-content:space-between; }
  .hero-split { grid-template-columns:1fr; gap:2rem; padding-bottom:2rem; }
  .hero-featured { display:none; }
}
@media(max-width:768px) {
  .nav-links { display:none; }
  .event-row { grid-template-columns:64px 1fr; grid-template-rows:auto auto; }
  .event-action {
    grid-column: 2 / 3;
    flex-direction: row; justify-content: flex-start;
    border-left: none; border-top: 1px solid var(--light);
    padding: 0.75rem 1rem 1rem;
  }
  .page-hero { padding:2.5rem 1.25rem 0; }
  .cal-layout { padding:1.5rem 1.25rem 3rem; }
  .filter-bar { padding:0 1.25rem; }
}
</style>
