/* Styles for the search-engine pages (site/build_pages.py): /event/..., /this-weekend/..., /this-week/...
   A file, not inline, so thousands of pages share one copy and the CSP needn't allow more. Same palette as info.css;
   text is 4.5:1 or better in light and dark. */
:root { color-scheme: light dark; --fg: #1a1a1a; --bg: #fff; --muted: #595959; --link: #0b57d0; --line: #d0d0d0; --chip: #eef3fd; --btn: #0b57d0; --btn-fg: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.55; color: var(--fg); background: var(--bg); }
main, .top, footer { max-width: 820px; margin: 0 auto; padding: 0 1rem; }
main { padding-bottom: 2rem; }
a { color: var(--link); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); padding: 0.5rem 1rem; z-index: 2; }
.skip:focus { left: 0; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.25rem; padding-top: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--fg); }
.top nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.15rem 0.5rem; margin: 1rem 0 0; padding: 0; font-size: 0.9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0.8rem 0 0.6rem; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; margin: 1.8rem 0 0.5rem; }
.intro { font-size: 1.05rem; }
.muted { color: var(--muted); font-size: 0.92rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.1rem; margin: 1rem 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.desc { max-width: 65ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0; }
.btn { display: inline-block; padding: 0.6rem 1rem; border-radius: 0.5rem; background: var(--btn); color: var(--btn-fg); font-weight: 600; text-decoration: none; }
.btn.alt { background: transparent; color: var(--link); border: 2px solid var(--link); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.when { display: inline-block; min-width: 6.2rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.where { color: var(--muted); }
.where::before { content: "· "; }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0 0.5rem; border: 1px solid var(--muted); border-radius: 1rem; font-size: 0.82rem; color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 1rem; background: var(--chip); text-decoration: none; }
footer { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; padding-bottom: 2rem; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; gap: 0 0; }
  .facts dd { margin-bottom: 0.6rem; }
  .when { display: block; }
}
@media (prefers-color-scheme: dark) {
  :root { --fg: #e8e8e8; --bg: #111; --muted: #b0b0b0; --link: #8ab4f8; --line: #444; --chip: #1f2a3d; --btn: #8ab4f8; --btn-fg: #0b0b0b; }
}
