/* SB ToDo — modern stylesheet. Keeps the original navy bar, green buttons and gold tags. */
:root {
  --navy: #0f2f57; --navy-2: #173d6b; --green: #23874a; --green-2: #1c6f3c;
  --gold: #b7790b; --gold-bg: #fdf3df;
  --bg: #f6f5f1; --surface: #ffffff; --ink: #1b2430; --muted: #5d6877; --line: #e3e1da;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141c; --surface: #16202c; --ink: #e8ecf1; --muted: #9aa6b4; --line: #26323f;
    --gold: #f0b54a; --gold-bg: #2d2412; --green: #34a862; --green-2: #2c9255;
    --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
h1, h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid #7cb7ff; outline-offset: 2px; border-radius: 6px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar-in { max-width: 1120px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .01em; }
.brand img { display: block; width: auto; height: 48px; border-radius: 8px; }
.home-cta { justify-content: center; margin-bottom: 8px; }
.banner.logo img { max-width: 720px; margin: 0 auto 20px; background: #fff; }
.brand.new img { height: 34px; padding: 5px 8px; background: #fff; box-sizing: content-box; }
.banner img { display: block; width: 100%; height: auto; border-radius: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.nav { margin-left: auto; display: flex; gap: 2px; }
.top-search { display: none; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 10px;
  text-decoration: none; font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.82); }
.nav a .i { width: 20px; height: 20px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 640px) {
  .brand img { height: 36px; }
  .topbar-in { flex-wrap: wrap; row-gap: 4px; }
  .top-search { display: block; flex: 1; min-width: 0; }
  .top-search input { width: 100%; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; }
  .nav a.nav-find { display: none; }
  form.search[data-search] { display: none; }
  .brand { flex: none; }
  .brand.new img { height: 20px; padding: 3px 6px; }
  .nav { flex-basis: 100%; gap: 0; }
  .nav a { padding: 4px 2px; font-size: .64rem; }
  .topbar-in { gap: 8px; padding: 6px 10px; }
  .nav { flex: 1; justify-content: space-between; }
  .nav a { padding: 6px 6px; font-size: .66rem; }
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 28px; padding-bottom: 56px; min-height: 60vh; }
.page-head { margin-bottom: 20px; }
.lede { color: var(--muted); font-size: 1.08rem; margin: 0 0 .5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700; color: var(--gold); margin: 0 0 .4em; }
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); }
.notice { background: var(--gold-bg); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.empty { color: var(--muted); }
.section-h { font-size: 1.4rem; margin-top: 32px; }
.small { font-size: .86rem; }

/* buttons + chips */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; font-size: .95rem; }
.btn:hover { background: var(--green-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.select select { font: inherit; font-size: .92rem; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

/* day groups + cards */
/* Desktop: big cards (picture on top) in a grid. Phones: compact rows (small picture on the left). */
.day { margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.day[hidden] { display: none; }
.day > .day-h { grid-column: 1 / -1; margin-bottom: 0; }
.day-h { position: sticky; top: 58px; z-index: 5; background: var(--bg); padding: 10px 0 8px; margin: 0 0 12px;
  border-bottom: 1px solid var(--line); font-size: 1.45rem; display: flex; align-items: baseline; gap: 10px; }
.day-h small { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); }
.card { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; transition: transform .15s, box-shadow .15s; }
.card[hidden] { display: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,24,40,.12); }
.card-img { display: block; background: var(--line); aspect-ratio: 16 / 9; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img img[src$="/logo-new.jpg"] { object-fit: contain; background: #fff; }
.noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.noimg .i { width: 40px; height: 40px; }
.card-body { padding: 14px 16px; min-width: 0; position: relative; }
.card-body h3 { padding-right: 40px; }
.like { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: #98a2b3; cursor: pointer; font: inherit; font-weight: 600; }
.like .i { width: 20px; height: 20px; }
.like:hover { color: #e0245e; }
.like[aria-pressed="true"] { color: #e0245e; border-color: #f4b6c8; }
.like[aria-pressed="true"] .i { fill: currentColor; }
.like.big { position: static; padding: 8px 14px; }
.nav-ic { display: inline-flex; align-items: center; gap: 3px; }
.fav-n { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: #e0245e; color: #fff; font-size: .64rem; line-height: 16px; text-align: center; }
.fav-n[hidden] { display: none; }
.like-n { font-size: .8rem; font-weight: 700; min-width: 1ch; }
.like:not(.big) .like-n { padding-right: 2px; }
.card.past { opacity: .7; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.meta { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 4px; font-size: .92rem; color: var(--muted); }
.meta .i { margin-top: 3px; }
.note { color: var(--muted); font-size: .88em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 0; }
.tags a { display: inline-block; font-size: .78rem; font-weight: 600; text-decoration: none; padding: 3px 10px; border-radius: 999px;
  background: var(--gold-bg); color: var(--gold); }
.tags a.free { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.tags a:hover { filter: brightness(.95); text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 640px) {
  .day, .grid { grid-template-columns: 1fr; gap: 10px; }
  .card { grid-template-columns: 104px 1fr; grid-template-rows: auto; }
  .card-img { aspect-ratio: auto; height: 100%; min-height: 96px; }
  .card-body { padding: 10px 12px; }
  .card h3 { font-size: 1rem; margin-bottom: 4px; }
  .card .meta { font-size: .84rem; }
  .card .tags { display: none; }
  .like { top: 6px; right: 6px; padding: 4px; }
  .like .i { width: 16px; height: 16px; }
  .day-h { top: 86px; }
}

/* home */
.hero { display: flex; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow); margin-bottom: 36px; }
.hero img { width: 140px; height: auto; border-radius: 12px; object-fit: contain; }
@media (max-width: 640px) { .hero { flex-direction: column; align-items: flex-start; padding: 20px; } .hero img { width: 84px; height: 84px; } }
.block { margin-bottom: 40px; }
.block-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.block-h a { font-weight: 600; color: var(--green); text-decoration: none; white-space: nowrap; }
.block h2 { font-size: 1.5rem; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cloud a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.cloud a span { font-size: .75rem; color: var(--muted); font-weight: 500; }
.cloud a:hover { border-color: var(--gold); color: var(--gold); }
.cloud.big a { font-size: 1rem; padding: 8px 14px; }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.person { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; }
.person:hover { border-color: var(--green); }
.person img, .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.hosts .person img { border-radius: 10px; }
/* Hosts list: photo across the top of each card */
.people.hosts { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.people.hosts .person { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.people.hosts .person img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.people.hosts .person .avatar { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; display: grid; place-items: center; font-size: 2rem; }
.people.hosts .person > span { padding: 10px 14px 14px; }
.avatar { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 1.3rem; }
.avatar.xl { width: 120px; height: 120px; font-size: 3rem; }
.person span { display: flex; flex-direction: column; min-width: 0; }
.person small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.person em { font-style: normal; font-size: .78rem; color: var(--gold); font-weight: 600; margin-top: 2px; }
.profile { display: flex; gap: 22px; align-items: center; margin-bottom: 8px; }
.profile img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.profile.host img { width: 180px; height: auto; border-radius: 14px; }
@media (min-width: 641px) {
  .profile.host { align-items: stretch; }
  .profile.host img { width: 300px; height: auto; min-height: 100%; align-self: stretch; object-fit: cover; }
}
@media (max-width: 640px) { .profile { flex-direction: column; align-items: flex-start; } }

/* event page */
.event { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.hero-img { width: 100%; max-height: 560px; object-fit: contain; background: var(--surface); border-radius: 18px; margin-bottom: 22px; box-shadow: var(--shadow); }
.prose { font-size: 1.04rem; max-width: 68ch; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--green); overflow-wrap: anywhere; }
.event-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 16px; }
.facts { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; box-shadow: var(--shadow); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { display: flex; gap: 8px; align-items: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.facts dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.facts a { color: var(--green); }
.addcal { display: flex; flex-wrap: wrap; gap: 8px; }
.curated .person { margin-top: 4px; }
@media (max-width: 860px) { .event { grid-template-columns: 1fr; } .event-side { position: static; } }

/* search */
.search input { width: 100%; font: inherit; font-size: 1.1rem; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.count { color: var(--muted); }

/* footer */
.foot { background: var(--navy); color: rgba(255,255,255,.85); padding: 28px 0; font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: #fff; }
[hidden] { display: none !important; }
