:root {
  --navy: #162b45;
  --blue: #145dba;
  --blue-dark: #10488d;
  --orange: #b65b1d;
  --paper: #fff;
  --back: #f3f6f9;
  --line: #d8e1eb;
  --muted: #5b6b7e;
  --admin: #715189;
  --radius: 8px;
  --promotion-background: #fffaf2;
  --promotion-border: #e8d3b6;
  --promotion-text: #805024;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--back);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(23px, 2.5vw, 31px); letter-spacing: -.8px; font-weight: 750; }
h2 { font-size: 20px; letter-spacing: -.4px; }
h3 { font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--navy); color: white; padding: 10px 18px; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--navy); font-size: 26px; letter-spacing: -1px; font-weight: 800; text-decoration: none; }
.brand-light { font-weight: 450; }
.brand-mark { width: 31px; height: 31px; stroke-width: 2; }
.brand-center { fill: var(--orange); stroke: var(--orange); }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: 22px; row-gap: 0; }
.site-header nav a { text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted); padding-block: 23px 19px; border-bottom: 3px solid transparent; }
.site-header nav a[aria-current=page] { color: var(--navy); border-bottom-color: var(--blue); }
.admin-link, .site-header nav a.admin-link { color: var(--admin); }
.admin-link:hover, .site-header nav a.admin-link:hover { color: #4e3263; }
.site-header nav a.admin-link[aria-current=page] { color: #4e3263; border-bottom-color: var(--admin); }
.admin-label { display: inline-block; margin-left: 3px; font-size: 9px; font-weight: 600; border: 1px solid #d9cbe4; border-radius: 3px; padding: 0 3px; vertical-align: 1px; }
.page-intro { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 25px 0 17px; }
.page-intro p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.intro-link { font-size: 12px; font-weight: 600; white-space: nowrap; }
.home-description { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 28px; padding-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.home-description strong { color: var(--navy); font-weight: 650; }
.home-description p { max-width: 75ch; }
.home-description p + p { border-left: 2px solid var(--line); padding-left: 16px; }
.overview { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 19px; border-block: 1px solid var(--line); padding: 11px 0; }
.overview > * { padding: 0 13px; border-left: 1px solid var(--line); display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; color: var(--navy); text-decoration: none; }
.overview > :first-child { padding-left: 0; border-left: 0; }
.overview strong { font-size: 22px; line-height: 1.2; letter-spacing: -.6px; }
.overview span { font-size: 11px; color: var(--muted); }
.overview > a.admin-link { color: var(--admin); }
.overview a:hover span { color: var(--blue); text-decoration: underline; }
.promoted-section { margin-bottom: 20px; border-left: 3px solid var(--orange); padding: 0 0 0 14px; }
.section-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.section-heading h2 { font-size: 16px; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.promoted-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.promoted-event { padding: 11px 13px; min-width: 0; }
.promoted-date { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 11px; color: var(--promotion-text); }
.promotion-label { margin-left: auto; font-size: 10px; font-weight: 650; color: var(--promotion-text); }
.promoted-event h3 { font-size: 15px; margin: 5px 0; }
.promoted-event h3 a { color: var(--navy); text-decoration: none; }
.promoted-event h3 a:hover { text-decoration: underline; }
.promoted-event p { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.search-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 12px; }
.search-primary { display: grid; grid-template-columns: minmax(170px, 1.4fr) minmax(65px, .5fr) minmax(130px, 1fr) minmax(130px, .9fr) minmax(145px, 1.1fr) minmax(110px, .8fr); gap: 12px; align-items: start; }
.field { min-width: 0; }
.field label { display: block; font-size: 11px; font-weight: 650; margin-bottom: 5px; }
.field input, .field select { height: 40px; width: 100%; min-width: 0; background: var(--paper); color: var(--navy); border: 1px solid #b7c6d8; border-radius: 5px; padding: 7px 10px; line-height: normal; font-size: 13px; }
.field input::placeholder { color: #748296; }
.field select { padding-right: 23px; }
.location-input { position: relative; }
.location-input input { padding-right: 40px; }
.locate-button { position: absolute; right: 2px; top: 2px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--blue); border-radius: 4px; display: grid; place-items: center; }
.locate-button:hover { background: #edf4fc; }
.locate-button svg { width: 21px; height: 21px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px; border: 1px solid var(--blue); border-radius: 5px; background: var(--blue); color: white; font-weight: 650; text-decoration: none; font-size: 13px; line-height: 1.4; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: white; }
.button svg { width: 18px; height: 18px; }
.search-dates { display: flex; justify-content: flex-end; gap: 12px; margin-top: 11px; align-items: end; }
.custom-date-fields { display: grid; grid-template-columns: minmax(135px, 180px) minmax(135px, 180px) minmax(0, 1fr); gap: 12px; flex: 1; align-items: end; }
.date-hint { font-size: 11px; color: var(--muted); align-self: center; padding-top: 17px; }
.search-button { white-space: nowrap; }
.search-help { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.search-help a { white-space: nowrap; }
.errorlist { list-style: none; margin: 5px 0 0; padding: 0; color: #9a301e; font-size: 12px; }
.notice { padding: 10px 14px; border: 1px solid var(--line); background: #f3f7fc; border-radius: 6px; font-size: 13px; margin-top: 13px; }
.notice-error { background: #fff4f0; border-color: #eeb9a9; color: #8d301c; }
.notice-warning { background: #fff8ed; border-color: #ecd6b4; color: #715226; }
.notice .errorlist { font-size: 13px; margin: 0; }
.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 21px 0 12px; }
.results-heading p { font-size: 12px; color: var(--muted); margin-top: 4px; max-width: 700px; }
.text-link { font-size: 12px; font-weight: 550; }
.view-switch { display: flex; flex-shrink: 0; border: 1px solid #b7c6d8; border-radius: 5px; overflow: hidden; }
.view-switch a { padding: 7px 11px; font-size: 12px; text-decoration: none; background: white; color: var(--muted); }
.view-switch a + a { border-left: 1px solid #b7c6d8; }
.view-switch a[aria-current=page] { background: var(--navy); color: white; }
.view-switch a:focus-visible { outline-offset: -3px; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.calendar-layout.list-only { grid-template-columns: minmax(0, 1fr); }
.calendar-layout.map-focused { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
.map-focused > .event-list { max-height: 860px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding: 2px 6px 2px 2px; }
.map-focused .map-selection { max-width: 540px; }
.home-list-more { padding: 10px 0 4px; }
.home-list-more p { margin-bottom: 9px; font-size: 11px; color: var(--muted); }
.map-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 0; }
.panel-heading h3 { font-size: 14px; }
.panel-heading > span { font-size: 11px; color: var(--muted); }
.map-wrap { position: relative; padding: 0 9px 11px; }
.poland-map { display: block; width: 100%; height: auto; stroke-linejoin: round; overflow: visible; }
.province { fill: #e9eef4; stroke: white; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.province.has-events { fill: #e1e9f3; }
.province-link { cursor: pointer; outline: none; }
.province-link .province { transition: fill .15s ease, stroke .15s ease; }
.province-link:hover .province { fill: #cdddf0; stroke: #91afd1; }
.province-link[aria-current=true] .province { fill: #b9d2f0; stroke: var(--blue); stroke-width: 2.5; }
.province-link:focus-visible { outline: none; }
.province-link:focus-visible .province { stroke: var(--orange); stroke-width: 4; }
.province-week-count { fill: #6d7e91; fill-opacity: .8; stroke: none; font-size: 13px; font-weight: 500; text-anchor: middle; dominant-baseline: central; pointer-events: none; user-select: none; }
.province-link[aria-current=true] .province-week-count { fill: #3e5d80; }
.map-city-labels { font-size: 10px; fill: #62778e; stroke: none; pointer-events: none; }
.map-city-labels text { text-anchor: middle; }
.map-marker { cursor: pointer; outline: none; }
.map-marker circle { fill: var(--orange); stroke: white; stroke-width: 3; }
.map-marker text { fill: white; stroke: none; font-weight: 750; font-size: 14px; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-marker:hover circle, .map-marker:focus circle, .map-marker.is-selected circle { fill: var(--navy); stroke: var(--orange); stroke-width: 4; }
.map-marker-promoted circle { fill: var(--promotion-background); stroke: var(--orange); }
.map-marker-promoted text { fill: var(--promotion-text); }
.map-marker-promoted:hover text, .map-marker-promoted:focus text, .map-marker-promoted.is-selected text { fill: white; }
.legend-promotion { background: var(--promotion-background); border: 2px solid var(--orange); }
.map-marker:focus-visible { outline: none; }
.origin-halo { pointer-events: none; fill: #145dba17; stroke: #145dba55; stroke-width: 1; }
.origin-dot { pointer-events: none; fill: var(--blue); stroke: white; stroke-width: 3; }
.map-selection { font-size: 11px; color: var(--muted); text-align: center; padding: 0 10px; min-height: 32px; max-width: 370px; margin-inline: auto; }
.map-selection button { border: 0; background: none; color: var(--blue); text-decoration: underline; font: inherit; padding: 0; }
.map-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; padding: 10px; border-top: 1px solid #edf1f6; font-size: 10px; color: var(--muted); }
.map-legend > span { display: flex; align-items: center; gap: 7px; }
.map-legend i { height: 9px; width: 9px; border-radius: 100%; display: inline-block; }
.legend-event { background: var(--orange); }
.legend-origin { background: var(--blue); outline: 3px solid #e3ecfa; }
.coverage-note { margin: 0 15px; padding: 10px 0; border-top: 1px solid #edf1f6; font-size: 11px; color: var(--muted); }
.regions-summary { margin: 0 15px; padding: 10px 0; border-top: 1px solid #edf1f6; font-size: 11px; }
.regions-summary summary { color: var(--blue); }
.regions-summary ul { list-style: none; padding: 8px 0 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 14px; }
.regions-summary li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.map-attribution { text-align: center; color: var(--muted); font-size: 9px; padding: 2px 10px 12px; }
.map-attribution a { color: inherit; }
.map-leader { stroke: #8b9fb6; stroke-width: 1.1; stroke-dasharray: 3 3; pointer-events: none; }
.map-venue-dot { fill: #8b9fb6; stroke: white; stroke-width: 1; pointer-events: none; }
.event-list { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.event-card { display: flex; gap: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; scroll-margin-top: 20px; }
.promotion-surface, .event-card.promotion-surface, .detail-heading.promotion-surface { background: var(--promotion-background); border: 1px solid var(--promotion-border); border-radius: 6px; }
.promotion-surface .event-topline, .promotion-surface .detail-date { color: var(--promotion-text); }
.promotion-surface .event-date { border-right-color: var(--promotion-border); }
.promotion-surface .event-date-long { display: none; }
.promotion-surface .event-date-short { display: inline; }
.event-card.is-highlighted { border-color: var(--blue); box-shadow: 0 0 0 2px #145dba22; }
.event-date { width: 47px; flex: 0 0 47px; display: flex; flex-direction: column; align-items: center; padding-right: 12px; border-right: 1px solid var(--line); line-height: 1.2; }
.date-day { font-size: 28px; font-weight: 750; letter-spacing: -1px; }
.date-month { font-size: 12px; font-weight: 650; margin-top: 2px; }
.date-weekday, .date-until { font-size: 10px; color: var(--muted); margin-top: 7px; white-space: nowrap; }
.event-body { flex: 1; min-width: 0; }
.event-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.distance { white-space: nowrap; color: var(--blue); font-weight: 650; font-size: 11px; }
.event-card h3 { font-size: 15px; margin-top: 4px; line-height: 1.35; overflow-wrap: anywhere; }
.event-card h3 a { color: var(--navy); text-decoration: none; }
.event-card h3 a:hover { text-decoration: underline; color: var(--blue); }
.venue { display: flex; gap: 5px; align-items: flex-start; margin-top: 7px; font-size: 11px; }
.venue svg { width: 14px; height: 15px; flex-shrink: 0; color: var(--muted); }
.venue-precision { display: block; font-size: 10px; color: #805024; margin: 3px 0 0 19px; }
.event-facts .venue-precision { margin-left: 0; font-size: 11px; }
.organizer { font-size: 10px; color: var(--muted); margin: 2px 0 0 19px; overflow-wrap: anywhere; }
.event-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 9px; }
.discipline-list { display: flex; flex-wrap: wrap; gap: 4px; }
.discipline-list span { padding: 2px 6px; border-radius: 3px; background: #edf3fa; color: #3c5b7d; font-size: 10px; line-height: 1.5; }
.calendar-badges { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 4px; margin-top: 0; }
.calendar-badge { display: inline-block; white-space: nowrap; max-width: 100%; border: 1px solid; border-radius: 3px; padding: 2px 6px; font-size: 10px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.calendar-badge-wzss { color: #4d5868; background: #f3f5f8; border-color: #cdd5df; }
.calendar-badge:focus-visible { outline: 2px solid #1c5fb5; outline-offset: 2px; }
.calendar-badge-pzss { color: #174b82; background: #edf4fc; border-color: #b7cee8; }
.calendar-badge-ipsc { color: #225c48; background: #edf7f1; border-color: #b8d6c5; }
.event-status { width: fit-content; max-width: 100%; margin-top: 7px; padding: 2px 6px; border-radius: 3px; font-size: 11px; font-weight: 650; background: #fff4dc; color: #785015; }
.event-status-cancelled { background: #fceeed; color: #9a3028; }
.event-country { color: var(--muted); }
.event-topline .calendar-badges { margin-left: auto; }
.detail-date { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.detail-heading .calendar-badge { font-size: 12px; }
.detail-source h2 { font-size: 17px; }
.detail-source ul { padding-left: 19px; }
.source-label-help { margin-top: 20px; color: var(--muted); font-size: 13px; }
.event-detail-link { font-size: 11px; white-space: nowrap; text-decoration: none; font-weight: 650; }
.event-detail-link span { font-size: 14px; margin-left: 2px; }
.empty-state { background: white; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 35px 20px; min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.empty-state h3 { font-size: 20px; }
.empty-state p { max-width: 360px; margin: 10px 0 18px; color: var(--muted); font-size: 13px; }
.button-secondary { background: white; color: var(--blue); border-color: #c8d7e9; }
.button-secondary:hover { background: #edf4fc; color: var(--blue-dark); border-color: var(--blue); }
.unknown-note { font-size: 11px; color: var(--muted); padding: 5px; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 8px; font-size: 12px; }
.pagination a { padding: 7px 11px; background: white; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pagination span { color: var(--muted); }
.data-status { display: flex; align-items: flex-start; gap: 8px; margin: 19px 0 27px; color: var(--muted); font-size: 10px; }
.status-dot { width: 6px; height: 6px; flex-shrink: 0; background: #667e9a; border-radius: 100%; margin-top: 5px; }
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 21px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 10px; }
.footer-brand { font-size: 18px; color: var(--navy); font-weight: 750; letter-spacing: -.6px; text-decoration: none; }
.footer-inner div p { margin-top: 3px; }
.footer-inner > a { font-size: 11px; }
.source-list { display: grid; gap: 12px; margin-top: 24px; }
.source-card { border: 1px solid var(--line); background: white; border-radius: var(--radius); padding: 17px; }
.source-list .source-card { margin-top: 0; }
.source-card h2 { font-size: 18px; margin: 0 0 6px; }
.source-card p { font-size: 13px; margin: 6px 0 0; }
.source-status { color: var(--muted); font-size: 12px; }
.detail-page{max-width:1060px;margin:35px auto 60px}
.back-link{font-size:13px;text-decoration:none;display:inline-block;margin-bottom:30px}
.detail-heading{padding-bottom:33px;border-bottom:1px solid var(--line)}
.detail-heading.promotion-surface { padding: 18px; }
.detail-heading h1{font-size:clamp(30px,4vw,48px);max-width:850px;margin-top:12px}
.detail-heading>p:last-child{margin-top:18px;font-size:18px;color:var(--muted)}
.detail-date{color:var(--blue);font-size:15px;font-weight:650}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:55px;margin-top:35px}
.event-facts{margin:0}
.event-facts>div{display:grid;grid-template-columns:110px 1fr;gap:25px;border-bottom:1px solid var(--line);padding:19px 0}
.event-facts>div:first-child{padding-top:0}
.event-facts dt{color:var(--muted);font-size:13px}
.event-facts dd{margin:0;font-weight:550}
.fact-link{display:block;font-size:12px;margin-top:8px;font-weight:450}
.detail-content h2{font-size:22px;margin-top:32px}
.event-notes{font-size:14px;margin-top:16px;overflow-wrap:anywhere}
.event-notes p+p{margin-top:15px}
.detail-actions{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;align-self:start;display:flex;flex-direction:column;gap:12px}
.detail-actions h2{font-size:20px;margin-bottom:10px}
.detail-actions p{font-size:12px;color:var(--muted);margin:8px 0}
.detail-source{font-size:12px;color:var(--muted);margin-top:35px}
.prose-page{max-width:790px;margin:35px auto 70px}
.prose-page h1{font-size:clamp(31px,4vw,47px);line-height:1.16}
.prose-lead{font-size:19px;color:var(--muted);margin-top:25px;line-height:1.6}
.prose-page section{margin-top:40px;scroll-margin-top:30px}
.prose-page h2{font-size:25px;margin-bottom:17px}
.prose-page section p{font-size:15px;line-height:1.8;margin-bottom:17px}

@media (max-width: 1000px) {
  .search-primary { grid-template-columns: minmax(0, 1.5fr) minmax(70px, .65fr) minmax(0, 1fr); }
  .custom-date-fields { grid-template-columns: minmax(135px, 1fr) minmax(135px, 1fr); }
  .date-hint { grid-column: 1 / 3; grid-row: 2; padding-top: 0; }
  .search-button { flex-shrink: 0; }
  .overview > * { display: block; padding-inline: 10px; }
  .overview span { display: block; margin-top: 2px; }
  .calendar-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 13px; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 12px; flex-wrap: wrap; }
  .site-header nav { column-gap: 14px; }
  .site-header nav a { font-size: 11px; padding-block: 21px 17px; }
  .brand { font-size: 23px; gap: 7px; }
  .brand-mark { width: 27px; height: 27px; }
  .page-intro { padding-top: 20px; align-items: start; }
  .page-intro p { font-size: 12px; }
  .intro-link { max-width: 110px; white-space: normal; text-align: right; }
  .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 13px; }
  .overview > :nth-child(4) { border-left: 0; padding-left: 0; }
  .overview strong { font-size: 20px; }
  .promoted-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-layout, .calendar-layout.map-focused { grid-template-columns: minmax(0, 1fr); }
  .map-focused > .event-list { max-height: none; overflow-y: visible; padding: 0; scrollbar-gutter: auto; }
  .home-description { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-description p + p { padding-left: 0; border-left: 0; }
  .map-wrap { max-width: 460px; margin-inline: auto; }
  .poland-map { max-height: 350px; }
  .detail-layout { grid-template-columns: 1fr; gap: 26px; }
  .detail-actions { max-width: 480px; }
  .detail-page, .prose-page { margin-top: 24px; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
  .footer-inner > a { width: 100%; }
}
@media (max-width: 520px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-top: 12px; }
  .site-header nav { width: 100%; justify-content: flex-start; column-gap: 19px; row-gap: 0; margin-top: 4px; }
  .site-header nav a { padding-block: 9px 10px; font-size: 11px; }
  .page-intro { display: block; padding-block: 18px 13px; }
  .intro-link { display: inline-block; max-width: none; margin-top: 8px; text-align: left; }
  .search-form { padding: 13px; }
  .search-primary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 11px; }
  .location-field, .region-field, .source-field { grid-column: 1 / -1; }
  .radius-field { grid-column: 1; grid-row: 3; }
  .discipline-field { grid-column: 1 / -1; }
  .search-dates { flex-wrap: wrap; gap: 10px; }
  .custom-date-fields { flex-basis: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .search-dates input { padding-inline: 6px; font-size: 12px; }
  .date-hint { grid-column: 1 / -1; grid-row: auto; }
  .search-button { width: 100%; }
  .search-help { flex-wrap: wrap; gap: 6px; }
  .promoted-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .section-heading { align-items: start; flex-direction: column; gap: 2px; }
  .results-heading { align-items: start; flex-direction: column; gap: 10px; margin-top: 18px; }
  .results-heading h2 { font-size: 19px; }
  .view-switch a { padding-inline: 12px; }
  .event-card { padding: 12px 10px; gap: 10px; }
  .event-date { flex-basis: 40px; width: 40px; padding-right: 9px; }
  .date-day { font-size: 26px; }
  .event-topline { flex-wrap: wrap; gap: 3px; }
  .event-card h3 { font-size: 14px; }
  .event-bottom { align-items: end; gap: 7px; }
  .discipline-list span { font-size: 9px; padding: 2px 5px; }
  .event-detail-link { font-size: 10px; }
  .prose-page h1, .detail-heading h1 { font-size: 29px; }
  .prose-lead { font-size: 16px; }
  .prose-page section { margin-top: 28px; }
  .prose-page h2 { font-size: 22px; }
  .prose-page section p { font-size: 14px; }
  .event-facts > div { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .event-facts dd { font-size: 13px; overflow-wrap: anywhere; }
  .detail-heading > p:last-child { font-size: 16px; }
  .detail-actions { padding: 20px; }
  .footer-inner { align-items: start; }
  .footer-inner > p { max-width: 170px; }
}
@media (prefers-reduced-motion: no-preference) {
  .event-card { transition: border-color .15s; }
  .button { transition: background-color .15s; }
}

.event-date-short { display: none; }
@media (max-width: 380px) {
  .event-date-long { display: none; }
  .event-date-short { display: inline; }
}

.map-region-overview { padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.map-region-overview h3 { font-size: 16px; }
.map-region-overview > p { margin: 5px 0 10px; font-size: 11px; color: var(--muted); }
.map-region-list { display: grid; }
.map-region-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 12px; }
.map-region-list a:last-child { border-bottom: 0; }
.map-region-list a span:last-child { color: var(--muted); font-size: 11px; }
.map-region-list a:hover span:first-child { text-decoration: underline; }
