/* Events, forms and admin: extends Style B (tokens.css + styles.css). */

/* Inner pages: solid nav from the start, content clears the fixed bar. */
.page { padding-top: 5.5rem; }
.page-head { padding-block: var(--space-xl) var(--space-lg); }
.page-head .h2 { max-width: 20ch; }
.page-head p.lede { margin-top: var(--space-sm); max-width: 60ch; color: var(--color-ink-2); }
.crumb { display: inline-block; margin-bottom: var(--space-sm); font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); text-decoration: none; }
.crumb:hover { color: var(--color-ink); }

/* Upcoming list (home + events page) */
.event { text-decoration: none; color: inherit; }
a.event:hover .event__name { text-decoration: underline; text-underline-offset: 3px; }
.event__tags { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-top: var(--space-2xs); }
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.15em 0.6em; border-radius: var(--radius-pill); background: var(--color-gray); color: var(--color-ink-2); }
.tag--red { background: var(--color-red); color: #fff; }
.tag--cancel { background: var(--color-ink); color: #fff; }
.events__more { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; margin-top: var(--space-lg); }
.empty { padding: var(--space-lg) 0; color: var(--color-muted); border-top: 1px solid var(--color-ink); }

/* Month calendar */
.cal { margin-top: var(--space-xl); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.cal__title { font-size: var(--text-lg); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.cal__nav { display: flex; gap: var(--space-2xs); }
.cal__nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); text-decoration: none; font-weight: 700; }
.cal__nav a:hover { background: var(--color-gray); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--color-ink); border-left: 1px solid var(--color-rule); }
.cal__dow { padding: var(--space-2xs); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); border-right: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.cal__day { min-height: 3.25rem; padding: var(--space-2xs); border-right: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); min-width: 0; }
.cal__day--out { background: #fafaf8; color: #b8b8b4; }
.cal__day--today .cal__num { background: var(--color-ink); color: #fff; border-radius: var(--radius-pill); padding: 0 0.45em; }
.cal__num { display: inline-block; font-weight: 700; }
.cal__ev { display: block; margin-top: 0.2rem; padding: 0.1rem 0.3rem; border-radius: 0.2rem; background: var(--color-red); color: #fff; text-decoration: none; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal__ev--cancel { background: var(--color-muted); text-decoration: line-through; }
.cal__dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-red); margin: 0.2rem 0.1rem 0; }
@media (max-width: 47.99rem) {
  .cal__ev { display: none; }
  .cal__day { min-height: 2.75rem; text-align: center; }
}
@media (min-width: 48rem) {
  .cal__dot { display: none; }
  .cal__day { min-height: 6rem; }
}

/* Event page */
.ev { display: grid; gap: var(--space-xl); padding-bottom: var(--space-2xl); }
.ev__when { font-size: var(--text-md); font-weight: 800; color: var(--color-red); }
.ev__where { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.ev__desc { margin-top: var(--space-md); white-space: pre-line; max-width: 62ch; }
.ev__flyer img { width: 100%; height: auto; border-radius: var(--radius-card); border: 1px solid var(--color-rule); }
.ev__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.notice { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-gray); border-left: 4px solid var(--color-ink); margin-bottom: var(--space-md); }
.notice--ok { border-left-color: #2e7d32; }
.notice--warn { border-left-color: var(--color-red); }
.notice ul { margin: 0.25rem 0 0 1.1rem; }
@media (min-width: 64rem) {
  .ev { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}

/* Forms */
.form { display: grid; gap: var(--space-md); max-width: 40rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-md); }
.form legend { font-weight: 800; font-size: var(--text-md); margin-bottom: var(--space-xs); }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: var(--text-sm); }
.form .hint { font-weight: 400; color: var(--color-muted); font-size: var(--text-xs); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form input[type=time], .form select, .form textarea {
  width: 100%; min-height: 3rem; padding: 0.6rem 0.8rem; font: inherit; font-weight: 400; color: var(--color-ink);
  background: #fff; border: 1px solid #bdbdb8; border-radius: 0.375rem;
}
.form textarea { min-height: 6rem; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-ink); }
.form .row { display: grid; gap: var(--space-md); }
@media (min-width: 40rem) { .form .row { grid-template-columns: 1fr 1fr; align-items: end; } }
.choices { display: grid; gap: var(--space-2xs); }
.choice { display: flex !important; grid-template-columns: none; align-items: center; gap: var(--space-xs) !important; font-weight: 500 !important; min-height: 44px; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--color-red); }
.seg { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.seg label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 var(--space-md); border: 1px solid #bdbdb8; border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; }
.seg input { accent-color: var(--color-red); }
.vol-only[hidden] { display: none; }
.cf-turnstile { min-height: 65px; }
.form button.pill { cursor: pointer; font: inherit; font-weight: 700; }
.form button { justify-self: start; }

/* Admin */
.admin { background: #fafaf8; min-height: 100vh; }
.admin-bar { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--page-gutter); background: var(--color-ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 600; font-size: var(--text-sm); }
.admin-bar .brand { display: inline-flex; align-items: center; gap: var(--space-xs); margin-right: auto; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-bar .brand img { width: 1.6rem; height: auto; }
.admin-bar form { margin: 0; }
.admin-bar button { background: none; border: 1px solid rgba(255,255,255,0.5); color: #fff; border-radius: var(--radius-pill); min-height: 36px; padding: 0 var(--space-sm); font: inherit; font-size: var(--text-xs); cursor: pointer; }
.admin main { padding-block: var(--space-lg) var(--space-2xl); }
.admin h1 { font-size: var(--text-xl); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.admin-item { display: grid; gap: 0.25rem; padding: var(--space-sm) var(--space-md); background: #fff; border: 1px solid var(--color-rule); border-radius: 0.5rem; text-decoration: none; color: inherit; }
.admin-item:hover { border-color: var(--color-ink); }
.admin-item__top { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: baseline; justify-content: space-between; }
.admin-item__title { font-weight: 800; font-size: var(--text-md); }
.admin-item__meta { font-size: var(--text-sm); color: var(--color-muted); }
.admin-section { margin-top: var(--space-xl); }
.admin-section h2 { font-size: var(--text-md); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: var(--space-sm); }
.card-box { background: #fff; border: 1px solid var(--color-rule); border-radius: 0.5rem; padding: var(--space-md); }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--color-rule); border-radius: 0.5rem; }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.table th, .table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.table th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.table td.pre { white-space: pre-line; min-width: 12rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.stat-chip { background: #fff; border: 1px solid var(--color-rule); border-radius: 0.5rem; padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); }
.stat-chip strong { display: block; font-size: var(--text-lg); line-height: 1.1; }
.qr { width: 12rem; height: 12rem; background: #fff; }
.qr svg { width: 100%; height: 100%; }
.danger { color: var(--color-red); background: none; border: 1px solid var(--color-red); border-radius: var(--radius-pill); min-height: 44px; padding: 0 var(--space-md); font: inherit; font-weight: 700; cursor: pointer; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.small { font-size: var(--text-xs); color: var(--color-muted); }

@media print {
  .admin-bar, .no-print { display: none !important; }
  .print-qr { text-align: center; padding-top: 2rem; }
  .print-qr .qr { width: 14cm; height: 14cm; margin: 1cm auto; }
}

/* ---------- Multi-page site (2026-11-23) ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img { max-width: 100%; height: auto; }

/* Nav: current page, mobile menu as a full-height sheet with big rows, Give inside the menu on phones */
.nav__links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 2px; }
.nav__links-give { color: #fff; }
.nav__links.is-open { max-height: calc(100svh - 4rem); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom)); }
.nav__links.is-open a { min-height: 52px; display: flex; align-items: center; }
.nav__links.is-open .nav__links-give { margin-top: var(--space-md); justify-content: center; border: 0; border-radius: var(--radius-pill); background: var(--color-red); font-weight: 800; }
html.menu-open { overflow: hidden; }
@media (min-width: 75rem) { .nav__links-give { display: none !important; } }

/* Home hero: poster image paints first (LCP), video fades in only if it is allowed to play */
.hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero__video { opacity: 0; transition: opacity 0.6s ease; }
.hero__video.is-on { opacity: 1; }
.hero__title span { display: block; }

/* Page hero for inner pages */
.phero { position: relative; isolation: isolate; padding: 6.5rem 0 var(--space-xl); background: var(--color-gray); }
.phero--img { color: var(--color-on-dark); background: var(--color-ink); min-height: min(78svh, 40rem); display: flex; align-items: flex-end; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.82) 100%); }
.phero__inner { display: grid; gap: var(--space-sm); width: 100%; }
.phero__title { font-size: var(--text-2xl); font-weight: 900; line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; max-width: 18ch; text-wrap: balance; }
.phero__lede { max-width: 58ch; font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }
.phero--img .phero__lede { color: var(--color-on-dark-2); }
.phero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
@media (max-width: 29.99rem) { .phero__actions .pill { flex: 1 1 100%; } }
.pill--outline { color: var(--color-ink); border-color: var(--color-ink); }
.pill--outline:hover { background: var(--color-ink); color: #fff; }
.pill--big { min-height: 3.5rem; font-size: var(--text-base); padding-inline: var(--space-xl); }
.section--tight { padding-block: var(--space-xl); }
.about-top { padding-top: 6.5rem; }
.lede-light { color: var(--color-on-dark-2); max-width: 60ch; font-size: var(--text-md); line-height: 1.5; margin-top: var(--space-sm); }

/* Stats variants */
@media (min-width: 64rem) {
  .stats--3 .stats__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats--2 .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
}

/* Linked cards */
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Photo gallery: 2 columns on phones */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); }
.gallery__item { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-card); background: var(--color-gray); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); } }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__media--type { display: flex; align-items: flex-end; padding: var(--space-md); background: var(--color-red); color: #fff; font-weight: 900; font-size: var(--text-lg); text-transform: uppercase; letter-spacing: -0.02em; }

/* Partner block */
.partner { display: grid; gap: var(--space-lg); align-items: center; }
.partner__logo img { width: 10rem; height: auto; border-radius: var(--radius-card); }
@media (min-width: 48rem) { .partner { grid-template-columns: 14rem minmax(0, 1fr); gap: var(--space-2xl); } .partner__logo img { width: 14rem; } }

/* Form sections */
.formwrap { display: grid; gap: var(--space-lg); }
.formwrap__intro { margin-top: var(--space-sm); color: var(--color-ink-2); max-width: 46ch; }
@media (min-width: 64rem) { .formwrap { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-2xl); align-items: start; } }
.formwrap .card-box { padding: var(--space-md); }
@media (max-width: 29.99rem) { .formwrap .card-box { padding: var(--space-sm); margin-inline: calc(-1 * var(--space-2xs)); } .form button.pill { width: 100%; justify-content: center; } }
.form input, .form select, .form textarea { font-size: max(16px, 1rem); } /* 16px+ stops iOS zooming into fields */

/* YouTube click-to-play */
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-short) var(--ease-out); }
.yt:hover img { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 4.25rem; height: 3rem; transform: translate(-50%, -50%); border-radius: 0.75rem; background: var(--color-red); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.yt__play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 0.6rem 0 0.6rem 1rem; border-color: transparent transparent transparent #fff; }
.yt__play--sm { width: 3rem; height: 2.1rem; border-radius: 0.55rem; }
.yt__play--sm::after { border-width: 0.45rem 0 0.45rem 0.75rem; }
.yt__frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-card); display: block; background: #000; }
.yt--short { aspect-ratio: 9 / 16; }
.shorts .yt__frame { aspect-ratio: 9 / 16; }

/* Podcast page */
.podhead { padding-top: 6.5rem; }
.podhead__player { margin-top: var(--space-lg); max-width: 56rem; }
.podhead__title { margin-top: var(--space-md); font-size: var(--text-lg); font-weight: 800; line-height: 1.2; max-width: 40ch; }
.podhead__date { color: var(--color-on-dark-2); font-size: var(--text-sm); margin-top: var(--space-2xs); }
.eps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg) var(--space-md); }
@media (min-width: 40rem) { .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .eps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ep { display: grid; gap: var(--space-2xs); text-decoration: none; color: inherit; }
.ep__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); background: var(--color-gray); }
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep__title { font-weight: 700; line-height: 1.3; }
.ep:hover .ep__title { text-decoration: underline; text-underline-offset: 3px; }
.ep__date { font-size: var(--text-xs); color: var(--color-muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }
/* Shorts: swipeable row on phones, grid on desktop */
.shorts { list-style: none; margin: 0 calc(-1 * var(--page-gutter)); padding: 0 var(--page-gutter) var(--space-xs); display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: var(--space-sm); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.shorts::-webkit-scrollbar { display: none; }
.shorts li { scroll-snap-align: start; display: grid; gap: var(--space-2xs); align-content: start; }
.shorts__title { font-size: var(--text-xs); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 48rem) { .shorts { grid-auto-columns: 22%; } }
@media (min-width: 64rem) { .shorts { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }

/* Home podcast teaser */
.pod-teaser { display: grid; gap: var(--space-lg); align-items: center; }
.pod-teaser__title { margin: var(--space-sm) 0 var(--space-md); font-size: var(--text-md); font-weight: 700; color: #fff; max-width: 36ch; }
.pod-teaser__img img { width: 100%; border-radius: var(--radius-card); aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 48rem) { .pod-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-2xl); } }
.give__h3 { margin-top: var(--space-xl); font-size: var(--text-md); font-weight: 800; }
.sam__media img { object-position: 50% 30%; }

/* Admin extras */
.badge { display: inline-flex; min-width: 1.3rem; height: 1.3rem; align-items: center; justify-content: center; padding: 0 0.35rem; border-radius: 999px; background: var(--color-red); color: #fff; font-size: 0.72rem; font-weight: 800; }
.admin-item--new { border-left: 4px solid var(--color-red); }
.admin-item--new .admin-item__title { font-weight: 900; }
@media (max-width: 29.99rem) { .admin-bar { gap: var(--space-xs); flex-wrap: wrap; } .admin-bar .brand { flex: 1 0 100%; } }
/* Phone fixes from the 11/23 visual pass */
.pill { white-space: normal; text-align: center; line-height: 1.2; }
.give__text, .sam__text, .formwrap > *, .pod-teaser > * { min-width: 0; }
.nav__links.is-open { min-height: calc(100svh - 4rem); }
.shorts__more { align-self: center; justify-self: start; }
@media (min-width: 64rem) { .shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .shorts__more { grid-column: 1 / -1; } }
/* Phones: episodes as a compact list (thumb left, title right) so the page scrolls half as far */
@media (max-width: 39.99rem) {
  .eps { gap: var(--space-sm); }
  .ep { grid-template-columns: 42% minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--space-sm); row-gap: 0.15rem; align-items: start; }
  .ep__thumb { grid-row: 1 / span 2; }
  .ep__title { font-size: var(--text-sm); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* Audit fixes 11/23: contrast on dark sections, real-table calendar, screen-reader-only text */
.section--ink .sam__text p, .section--ink .sam__text .eyebrow { color: var(--color-on-dark-2); }
.section--ink .sam__text .h2 { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.list-h { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-xs); }
table.cal__grid { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; border-top: 1px solid var(--color-ink); border-left: 1px solid var(--color-rule); }
table.cal__grid th, table.cal__grid td { vertical-align: top; text-align: left; }
@media (max-width: 47.99rem) { table.cal__grid td { text-align: center; } }
/* Privacy page text */
.prose h2 { font-size: var(--text-md); font-weight: 800; margin: var(--space-lg) 0 var(--space-2xs); }
.prose p { max-width: 64ch; margin-bottom: var(--space-sm); color: var(--color-ink-2); }
.prose a { font-weight: 600; }
.events__more { row-gap: var(--space-2xs); }
/* Admin bar: logo + Sign out on one row, links on their own row on phones (11/23) */
.admin-bar { flex-wrap: wrap; row-gap: var(--space-2xs); }
.admin-nav { display: flex; gap: var(--space-md); overflow-x: auto; scrollbar-width: none; flex: 1 1 100%; order: 3; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { white-space: nowrap; min-height: 36px; display: inline-flex; align-items: center; }
.admin-bar form { order: 2; }
@media (min-width: 48rem) { .admin-nav { flex: 0 1 auto; order: 1; } .admin-bar form { order: 2; } }
@media (max-width: 29.99rem) { .admin-bar .brand { flex: 1 1 auto; } }
button.pill--outline { background: transparent; }
/* Stories */
.stories { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-lg) var(--space-md); }
@media (min-width: 40rem) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story { display: grid; gap: var(--space-2xs); text-decoration: none; color: inherit; align-content: start; }
.story__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-card); background: var(--color-ink); }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__type { display: flex; align-items: flex-end; height: 100%; padding: var(--space-md); color: #fff; font-weight: 900; font-size: var(--text-lg); text-transform: uppercase; }
.story .tag { justify-self: start; margin-top: var(--space-2xs); }
.story__title { font-weight: 800; font-size: var(--text-md); line-height: 1.2; }
.story:hover .story__title { text-decoration: underline; text-underline-offset: 3px; }
.story__meta { font-size: var(--text-xs); color: var(--color-muted); }
.story__excerpt { font-size: var(--text-sm); color: var(--color-ink-2); }
.story-page__photo { margin: 0 0 var(--space-lg); max-width: 56rem; }
.story-page__photo img { width: 100%; height: auto; border-radius: var(--radius-card); }
.story-page__body p { font-size: var(--text-md); line-height: 1.6; }
.story-page__video { margin-top: var(--space-lg); max-width: 56rem; }
.ev__recap { margin-top: var(--space-md); }
/* Ministry updates */
.updates { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xl); }
.update { border-top: 1px solid var(--color-ink); padding-top: var(--space-md); }
.update__date { font-weight: 800; color: var(--color-red); text-transform: uppercase; font-size: var(--text-sm); }
.update__title { font-size: var(--text-lg); font-weight: 900; line-height: 1.15; margin: var(--space-2xs) 0 var(--space-md); }
.update__video { max-width: 56rem; margin-bottom: var(--space-md); }
.admin-item form { display: inline; margin: 0; }
.signout { position: relative; order: 2; }
.signout summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,0.5); border-radius: var(--radius-pill); padding: 0.35rem var(--space-sm); font-size: var(--text-xs); }
.signout summary::-webkit-details-marker { display: none; }
.signout form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; color: var(--color-ink); padding: var(--space-sm); border-radius: 0.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.2); display: grid; gap: var(--space-xs); width: 16rem; }
.signout form .choice { color: var(--color-ink); font-size: var(--text-sm); }
.signout form button { background: var(--color-ink); color: #fff; border: 0; }
