:root { color-scheme: light; --ink: #21272b; --muted: #657076; --line: #dce2e5; --blue: #0962ce; --orange: #ec671d; --paper: #f4f6f7; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
body::before { content: ""; display: block; height: 4px; background: var(--blue); border-right: 120px solid var(--orange); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon { width: 18px; height: 18px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1670df; outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 12px; background: #fff; color: var(--blue); }
.skip-link:focus { top: 8px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 84px; }
.brand { display: block; width: 184px; flex: 0 0 184px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: #5b646b; font-size: 13px; font-weight: 650; }
.site-nav > a[aria-current="page"] { color: var(--blue); }
.site-nav > a[aria-current="page"]::after { content: ""; position: absolute; height: 3px; bottom: -20px; left: 0; right: 0; background: var(--blue); }
.site-nav > a:hover { color: var(--blue); }
.site-nav .contact-link { border: 1px solid #cdd6db; border-radius: 5px; color: var(--ink); padding: 0 16px; margin-left: 4px; }
.directory { padding-block: 28px 0; }
.directory-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 20px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: #69767b; font-size: 10px; font-weight: 750; }
.eyebrow > span { width: 16px; height: 3px; background: var(--orange); }
h1 { font-size: 36px; line-height: 1.15; font-weight: 750; margin: 0; }
.title-dot { color: var(--orange); }
.heading-description { margin: 9px 0 0; font-size: 13px; color: var(--muted); }
.directory-totals { display: flex; gap: 36px; margin: 0; }
.directory-totals > div { border-left: 1px solid #d3dbdf; padding-left: 22px; display: flex; flex-direction: column-reverse; }
.directory-totals dt { font-size: 11px; color: var(--muted); margin-top: 4px; }
.directory-totals dd { margin: 0; font-size: 30px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.directory-totals > div:first-child dd { color: var(--blue); }
.category-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #cfd8dd; }
.category-filters { display: flex; align-items: stretch; gap: 24px; }
.category-filters button { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 53px; border: 0; border-bottom: 2px solid transparent; padding: 0 0 13px; margin-bottom: -1px; background: transparent; color: #677277; font-size: 13px; font-weight: 600; white-space: nowrap; }
.category-filters button:hover { color: var(--ink); }
.category-filters button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.category-count { display: inline-flex; justify-content: center; min-width: 20px; height: 20px; padding-inline: 5px; align-items: center; font-size: 10px; line-height: 1; background: #e6ebee; color: #5c6870; border-radius: 4px; font-variant-numeric: tabular-nums; }
[aria-pressed="true"] .category-count { background: #dfebfb; color: #155aaa; }
.view-controls { display: flex; padding: 3px; border: 1px solid #d6dfe3; border-radius: 5px; background: #e9eef0; margin-bottom: 12px; gap: 2px; }
.view-controls button { display: grid; place-items: center; width: 34px; height: 32px; border: 0; border-radius: 3px; background: transparent; color: #758187; position: relative; }
.view-controls button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px #17293412; }
[data-tooltip]::after { content: attr(data-tooltip); position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; padding: 5px 8px; border-radius: 4px; background: #222b30; color: #fff; font-size: 11px; white-space: nowrap; opacity: 0; pointer-events: none; }
[data-tooltip]:hover::after, [data-tooltip]:focus-visible::after { opacity: 1; }
.filter-row { display: flex; align-items: center; gap: 12px; padding-block: 14px 4px; }
.search-field { display: flex; align-items: center; gap: 10px; padding-inline: 13px 0; border: 1px solid #d5dee3; border-radius: 5px; background: #fff; flex: 1; max-width: 440px; min-width: 0; color: #77868e; }
.search-field input { border: 0; outline: none; width: 100%; min-width: 0; background: transparent; color: var(--ink); height: 42px; padding: 8px 12px 8px 0; font-size: 13px; }
.search-field input::placeholder { color: #748189; opacity: 1; }
.search-field:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.select-field { display: flex; align-items: center; gap: 9px; min-width: 0; border: 1px solid #d5dee3; border-radius: 5px; background: #fff; padding-inline: 12px; color: #52616b; }
.select-field select { border: 0; background: transparent; color: #39464e; font-size: 12px; height: 42px; min-width: 128px; max-width: 100%; }
.select-field > .icon { width: 16px; height: 16px; }
.sort-field { margin-left: auto; background: transparent; border-color: transparent; padding-right: 0; }
.sort-field label { font-size: 11px; color: #778289; white-space: nowrap; }
.sort-field select { min-width: 140px; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; font-size: 11px; color: #65757f; }
.results-heading p { margin: 0; }
.results-heading strong { color: #3c4b53; font-weight: 650; }
.clear-filters { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0; border: 0; background: transparent; font-size: 11px; color: var(--blue); }
.clear-filters .icon { width: 14px; height: 14px; }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.event-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dfe5e9; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 3px 6px #1b343b03, 0 12px 28px #1b343b05; transition: border-color 180ms ease, box-shadow 180ms ease; }
.event-card:hover, .event-card:focus-within { border-color: #a4b7c4; box-shadow: 0 8px 28px #1b343b13; }
.event-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #e5edf2; flex-shrink: 0; border-bottom: 1px solid #172d4008; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.event-card:hover .event-media img { transform: scale(1.025); }
.media-category { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; background: #fffffff2; color: #253840; font-size: 10px; font-weight: 650; border: 1px solid #ffffffa6; border-radius: 4px; box-shadow: 0 2px 7px #1325330a; }
.media-category .icon { width: 14px; height: 14px; }
.media-index { position: absolute; right: 14px; bottom: 10px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #263c4e; background: #ffffffc9; border-radius: 3px; padding: 2px 6px; }
.event-content { display: flex; flex-direction: column; padding: 19px 20px 20px; flex: 1; min-width: 0; }
.event-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; color: #24714c; font-size: 10px; font-weight: 650; }
.status-badge i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge.is-closed { color: #747d82; }
.event-kind { color: #68777f; font-size: 9px; font-weight: 650; }
.event-card h2 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; min-height: 54px; font-weight: 730; overflow-wrap: anywhere; }
.event-card h2 a:hover { color: var(--blue); }
.event-description { font-size: 13px; line-height: 1.7; color: #63717a; margin: 0 0 16px; }
.event-details { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #5f6d77; margin-top: auto; padding-bottom: 18px; }
.event-details .icon { width: 15px; height: 15px; color: #82919a; }
.event-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #e9edf0; }
.event-price { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.event-price > span { color: #657680; font-size: 11px; }
.event-price strong { font-size: 28px; line-height: 1.2; font-weight: 720; font-variant-numeric: tabular-nums; }
.event-price small { font-size: 13px; margin-right: 3px; }
.event-price .price-decimal { font-size: 15px; color: #8a969e; font-weight: 500; }
.event-price .price-text { font-size: 14px; line-height: 1.4; }
.event-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding: 9px 13px; background: #222b31; border: 1px solid #222b31; color: #fff; border-radius: 4px; font-size: 11px; font-weight: 600; flex-shrink: 0; transition: background 160ms ease; }
.event-action .icon { width: 16px; height: 16px; }
.event-action:hover { background: var(--blue); border-color: var(--blue); }
.event-action.secondary { background: #fff; color: #40515d; border-color: #cfdae1; }
.event-action.secondary:hover { background: #f0f5fa; border-color: #a5b8c7; }
.events-grid[data-view="list"] { grid-template-columns: 1fr; gap: 16px; }
[data-view="list"] .event-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
[data-view="list"] .event-media { height: 100%; aspect-ratio: auto; border: 0; }
[data-view="list"] .event-media img { object-fit: cover; }
[data-view="list"] .event-content { display: grid; grid-template-columns: minmax(0, 1fr) 200px; padding: 22px 26px; column-gap: 28px; }
[data-view="list"] .event-kicker { grid-column: 1; justify-content: flex-start; gap: 18px; }
[data-view="list"] .event-card h2 { grid-column: 1; min-height: 0; font-size: 21px; }
[data-view="list"] .event-description { grid-column: 1; margin-bottom: 12px; }
[data-view="list"] .event-details { grid-column: 1; padding: 0; }
[data-view="list"] .event-bottom { grid-column: 2; grid-row: 1/5; border-top: 0; border-left: 1px solid #e9edf0; padding: 6px 0 6px 26px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; }
.catalogue-end { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 26px 30px; }
.catalogue-end > span { width: 32px; height: 1px; background: #d9e0e5; }
.catalogue-end p { margin: 0; font-size: 11px; color: #657780; }
.empty-state { text-align: center; padding: 56px 20px; border-block: 1px solid var(--line); }
.empty-state > .icon { width: 30px; height: 30px; color: #6b808e; }
.empty-state h2 { margin: 14px 0 8px; font-size: 22px; }
.empty-state p { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
.reset-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; color: var(--blue); background: #fff; border: 1px solid #b9c9d5; border-radius: 4px; font-size: 13px; }
.site-footer { background: #fff; border-top: 1px solid #e1e7eb; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 23px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand strong { color: #28363d; font-size: 12px; font-weight: 750; }
.footer-brand strong > span { color: var(--blue); }
.footer-brand p { margin: 0; padding-left: 18px; border-left: 1px solid var(--line); font-size: 11px; color: #88949b; }
.footer-inner > a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #5f707c; font-size: 11px; }
.footer-inner > a:hover { color: var(--blue); }
.footer-inner > a .icon { width: 15px; height: 15px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .events-grid { gap: 18px; }
  .event-content { padding: 17px 16px; }
  .event-action { padding-inline: 10px; gap: 6px; }
  .event-kind { display: none; }
  .category-filters { gap: 22px; }
}
@media (max-width: 950px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-content { padding: 20px; }
  .directory-totals { gap: 20px; }
  .directory-totals > div { padding-left: 18px; }
  .sort-field label { display: none; }
  .sort-field select { min-width: 125px; }
  [data-view="list"] .event-card { grid-template-columns: 190px minmax(0, 1fr); }
  [data-view="list"] .event-content { grid-template-columns: minmax(0, 1fr) 160px; column-gap: 18px; padding: 20px; }
  [data-view="list"] .event-bottom { padding-left: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 82px; gap: 20px; }
  .brand { width: 156px; flex-basis: 156px; }
  .site-nav { gap: 20px; }
  .site-nav > a { font-size: 12px; }
  .site-nav > a[aria-current="page"]::after { bottom: -19px; }
  .site-nav .contact-link { padding: 0; margin: 0; border: 0; }
  .site-nav .contact-link .icon { display: none; }
  .directory-heading { align-items: flex-start; }
  .directory-totals { gap: 18px; margin-top: 10px; }
  .directory-totals > div { padding-left: 14px; }
  .directory-totals dt { font-size: 10px; max-width: 76px; }
  .directory-totals dd { font-size: 26px; }
  h1 { font-size: 32px; }
  .heading-description { font-size: 12px; max-width: 230px; }
  .category-filters { gap: 16px; }
  .category-filters button { font-size: 12px; gap: 6px; }
  .category-filters button > .icon { display: none; }
  .filter-row { flex-wrap: wrap; }
  .search-field { max-width: none; flex-basis: calc(100% - 208px); }
  .sort-field { margin-left: 0; padding: 0; }
  .sort-field label { display: inline; }
  .sort-field select { height: 30px; }
  .results-heading { min-height: 42px; }
  .event-bottom { flex-wrap: wrap; }
  [data-view="list"] .event-card { grid-template-columns: 150px minmax(0, 1fr); }
  [data-view="list"] .event-content { display: flex; padding: 18px; }
  [data-view="list"] .event-bottom { border: 0; border-top: 1px solid #e9edf0; padding: 12px 0 0; margin-top: 14px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  [data-view="list"] .event-card h2 { font-size: 18px; }
  [data-view="list"] .event-description { display: none; }
}
@media (max-width: 600px) {
  body::before { border-right-width: 64px; height: 3px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; gap: 2px; padding-top: 8px; }
  .brand { width: 160px; flex-basis: auto; }
  .site-nav { justify-content: space-between; gap: 12px; width: 100%; }
  .site-nav > a { min-height: 43px; }
  .site-nav > a[aria-current="page"]::after { bottom: -1px; height: 2px; }
  .site-nav > a .icon { width: 14px; height: 14px; }
  .directory { padding-top: 25px; }
  .directory-heading { margin-bottom: 21px; gap: 16px; }
  h1 { font-size: 30px; }
  .eyebrow { font-size: 9px; }
  .heading-description { font-size: 12px; max-width: 210px; }
  .directory-totals { margin-top: 4px; }
  .directory-totals > div:first-child { border-left: 1px solid #d3dbdf; }
  .directory-totals > div:last-child { display: none; }
  .directory-totals dd { font-size: 26px; }
  .directory-totals dt { font-size: 9px; max-width: 65px; }
  .category-row { display: block; border-bottom: 0; }
  .category-filters { width: 100%; justify-content: space-between; gap: 8px; border-bottom: 1px solid #cfd8dd; }
  .category-filters button { font-size: 11px; min-height: 43px; padding-bottom: 10px; gap: 4px; }
  .category-count { min-width: 15px; height: 16px; padding-inline: 3px; font-size: 9px; }
  .view-controls { display: none; }
  .filter-row { gap: 10px; padding-top: 16px; }
  .search-field { flex-basis: 100%; }
  .search-field input { font-size: 16px; height: 44px; }
  .select-field { padding-inline: 10px; }
  .select-field select { min-width: 0; height: 40px; font-size: 11px; }
  .select-field > .icon { display: none; }
  .sort-field { margin-left: auto; padding-right: 0; }
  .sort-field label { display: none; }
  .sort-field select { font-size: 11px; }
  .events-grid { grid-template-columns: 1fr; gap: 22px; }
  .event-media { aspect-ratio: 3/2; }
  .event-content { padding: 20px; }
  .event-card h2 { min-height: 0; font-size: 22px; }
  .event-kind { display: inline; }
  .event-description { font-size: 13px; }
  .event-details { font-size: 12px; }
  .event-action { min-height: 44px; padding-inline: 14px; font-size: 12px; }
  .event-bottom { flex-wrap: nowrap; }
  .status-badge { font-size: 11px; }
  .events-grid[data-view="list"] .event-card { display: flex; }
  .events-grid[data-view="list"] .event-media { height: auto; aspect-ratio: 3/2; }
  .events-grid[data-view="list"] .event-content { padding: 20px; }
  .events-grid[data-view="list"] .event-card h2 { font-size: 22px; }
  .events-grid[data-view="list"] .event-description { display: block; }
  .events-grid[data-view="list"] .event-bottom { padding-top: 16px; margin-top: 0; }
  .events-grid[data-view="list"] .event-details { padding-bottom: 18px; }
  .catalogue-end { padding-block: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 22px; }
  .footer-brand { gap: 14px; }
  .footer-brand p { padding-left: 14px; }
  .footer-inner > a { font-size: 12px; }
}
@media (max-width: 360px) {
  h1 { font-size: 27px; }
  .directory-heading { gap: 10px; }
  .directory-totals > div { padding-left: 10px; }
  .category-filters { gap: 5px; }
  .category-filters button { font-size: 10px; }
  .event-content { padding: 17px; }
  .event-kind { display: none; }
  .event-action { padding-inline: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
