@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/archivo-black.ttf") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-bold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-sans-regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("fonts/dm-sans-bold.ttf") format("truetype"); }

:root {
  --ink: #20343a; --ink-2: #283f45; --paper: #f7f0e2; --muted: #5f6967;
  --line: #d7d2c5; --coral: #b93535; --yellow: #f6e598; --aqua: #759a67;
  --shadow: 0 12px 30px #20343a12; --headline: "Archivo Black", "Arial Black", sans-serif;
  --heading: "Space Grotesk", sans-serif;
}
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; }
body { background: var(--paper); font-family: "DM Sans", sans-serif; }
:focus-visible { outline: 3px solid #b93535 !important; outline-offset: 4px; }
.site-header, main, footer { width: min(2160px, calc(100% - clamp(48px, 4vw, 96px))); }
.site-header { min-height: 96px; border-bottom: 1px solid var(--ink); }
.brand { gap: 10px; }
.brand b { font-family: var(--headline); font-size: 2.15rem; letter-spacing: -.07em; }
.brand small { font-size: .65rem; font-weight: 750; letter-spacing: .04em; }
.editorial-mark { color: var(--coral); font-size: 3.15rem; line-height: 1; }
nav { gap: 24px; }
nav a { font-size: .78rem; }
.header-agenda { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.intro { display: grid; grid-template-columns: 1fr 175px; gap: 48px; min-height: 0; padding: 45px 0 36px; color: var(--ink); background: none; border-radius: 0; overflow: visible; }
.intro::before, .intro::after { display: none; }
.intro .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: .61rem; letter-spacing: .1em; margin-bottom: 22px; }
.version-label { padding: 6px 9px; background: var(--ink); color: var(--paper); }
h1 { font-family: var(--headline); font-size: clamp(3rem, 6.4vw, 5.55rem); max-width: 960px; line-height: .99; font-weight: 400; letter-spacing: -.065em; margin-bottom: 18px; }
h1 em { color: var(--coral); font-style: normal; font-weight: 400; }
.intro-text { max-width: 630px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.week-card { padding: 0 0 8px 24px; border-left: 1px solid var(--ink); border-radius: 0; box-shadow: none; background: none; transform: none; min-height: 0; }
.week-card span { font-size: .63rem; }
.week-card strong { font-family: var(--headline); letter-spacing: -.07em; font-size: 4.5rem; margin: 8px 0; }
.week-card small { font-size: .72rem; color: var(--muted); }
.category-section { margin-bottom: 24px; }
.category-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; text-transform: uppercase; font-size: .65rem; letter-spacing: .1em; font-weight: 800; }
#all-categories { padding: 5px 0 5px 15px; color: var(--ink); border: 0; background: none; font-size: .74rem; }
#all-categories[aria-pressed="true"] { color: var(--coral); text-decoration: underline; text-underline-offset: 4px; }
.category-shortcuts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.category-shortcut { display: flex; flex-direction: column; align-items: start; position: relative; min-height: 145px; gap: 19px; padding: 14px 12px 30px; color: var(--category-color); background: var(--ink); border: 2px solid transparent; border-radius: 13px; text-align: left; }
.category-shortcut:hover { border-color: var(--category-color); }
.category-shortcut[aria-pressed="true"] { color: var(--ink); background: var(--category-color); border-color: var(--ink); }
.category-topline { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 5px; color: var(--paper); font-size: .72rem; font-weight: 500; letter-spacing: 0; }
.category-name { display: inline-flex; align-items: center; gap: 7px; }
.category-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.category-topline b { color: var(--category-color); font-size: .62rem; font-variant-numeric: tabular-nums; }
.category-shortcut[aria-pressed="true"] .category-topline, .category-shortcut[aria-pressed="true"] .category-topline b { color: var(--ink); }
.category-shortcut > strong { font-family: var(--headline); font-weight: 400; font-size: clamp(.85rem, 1.4vw, 1.13rem); line-height: 1.05; letter-spacing: -.045em; text-transform: uppercase; }
.category-arrow { position: absolute; bottom: 8px; right: 13px; font-size: 1.2rem; }
.category-shortcut { transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease; }
.category-arrow { transition: transform .22s ease; }
.category-shortcut[aria-pressed="true"] { box-shadow: 0 4px 0 var(--ink); }
.commune-strip { padding: 14px 0; background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; }
.commune-strip > div:first-child strong { font-family: var(--heading); font-size: 1rem; }
.commune-strip > div:first-child span { font-size: .6rem; }
.commune-shortcuts button { background: #eae4d8; }
.toolbar { position: static; margin: 18px 0 36px; padding: 18px; box-shadow: none; background: #fffcf5; backdrop-filter: none; border-radius: 18px; }
.filter-pill { background: #f0ece4; font-size: .84rem; }
input, select { background: #fffefa; }
.section-heading { align-items: center; }
.section-heading h2, .community-panel h2, .method h2 { font-family: var(--heading); font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; letter-spacing: -.055em; }
.section-heading .eyebrow { margin-bottom: 8px; }
.result-count { font-size: .79rem; }
.view-switcher { background: #e9e3d7; border-radius: 14px; }
.view-button { border-radius: 10px; min-height: 40px; }
.event-card { border-color: #d8d3c7; background: #fffdf7; min-height: 0; }
.event-card:hover { transform: none; box-shadow: var(--shadow); }
.event-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.event-card .card-visual { border-radius: 21px 21px 0 0; }
.event-card.has-image .card-visual { min-height: 260px; background: #17282d; }
.poster-date-badge { width: 61px; min-height: 66px; color: var(--ink); background: var(--category-color, var(--paper)); border-radius: 13px; box-shadow: 0 4px 14px #0002; pointer-events: none; }
.poster-date-badge strong { font-family: var(--headline); font-size: 2.15rem; letter-spacing: -.055em; }
.poster-date-badge span { letter-spacing: .07em; }
.poster-credit { pointer-events: none; }
.date-poster strong { font-family: var(--headline); }
.date-poster > .category-icon { width: 52px; height: 52px; margin-inline: auto; }
.card-body { padding: 0 20px 18px; }
.card-meta { margin: 0 -20px 15px; padding: 8px 20px; color: var(--ink); background: var(--category-color, var(--paper)); min-height: 34px; font-size: .64rem; line-height: 1.2; letter-spacing: .045em; }
.card-category { display: inline-flex; align-items: center; gap: 7px; }
.card-category .category-icon { width: 15px; height: 15px; }
.card-date-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.editorial-date { display: inline-flex; align-items: center; gap: 9px; text-align: left; font-style: normal; }
.editorial-date > strong { font-family: var(--headline); font-size: 2.45rem; font-weight: 400; letter-spacing: -.08em; line-height: .92; }
.editorial-date .date-labels { display: grid; gap: 2px; font-size: .68rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.editorial-date .date-weekday { text-transform: capitalize; }
.editorial-date .date-month { text-transform: uppercase; font-size: .61rem; letter-spacing: .045em; }
.poster-date-badge.editorial-date { width: auto; min-height: 61px; padding: 10px; }
.poster-date-badge.editorial-date span { margin: 0; }
.card-when { display: grid; gap: 3px; margin: 0; font-size: .7rem; text-align: right; line-height: 1.25; }
.card-time { font-size: .79rem; white-space: nowrap; }
.card-commune { color: var(--muted); }
.card-body h3 { font-family: var(--heading); font-weight: 700; font-size: 1.4rem; line-height: 1.07; letter-spacing: -.045em; margin-bottom: 8px; }
.card-place { margin-bottom: 6px; color: var(--muted); font-size: .79rem; line-height: 1.35; }
.card-price { margin-bottom: 15px; font-size: .78rem; line-height: 1.35; font-weight: 700; }
.card-footer { gap: 10px; }
.card-footer .source-link { display: block; min-height: 0; padding: 0; border: 0; justify-self: start; font-size: .65rem; line-height: 1.4; font-weight: 500; color: var(--muted); }
.card-footer .source-link:hover { color: var(--coral); text-decoration: underline; }
.source-link { font-size: .74rem; min-height: 28px; border-bottom-width: 1px; }
.card-actions { gap: 5px; }
.reaction-button { background: #eeeae0; }
.reaction-button.active { background: var(--ink); color: white; }
.calendar-menu summary, .share-button { background: #fffdf7; }
.event-card:has(.calendar-menu[open]) { overflow: visible; z-index: 25; }
.event-card .calendar-options { right: -45px; left: auto; max-width: min(290px, calc(100vw - 32px)); }
.event-row-thumb img { object-fit: contain; }
.event-row-thumb:hover img { transform: none; }
.event-row-copy h4, .list-date-heading, .calendar-toolbar h3 { font-family: var(--heading); font-weight: 700; }
.calendar-dots .category-music { background: #729132; }
.calendar-dots .category-cinema { background: #36848e; }
.calendar-dots .category-stage { background: #b06996; }
.calendar-dots .category-literature { background: #b87936; }
.calendar-dots .category-festival { background: #aa9123; }
.calendar-dots .category-heritage { background: #7573ad; }
.calendar-cell.selected { outline-color: var(--coral); }
.featured { margin: 70px 0 48px; }
.featured-content h2 { font-family: var(--heading); font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; }
.featured-content { padding: 36px; }
.featured-image { min-height: 370px; }
.community-panel { margin-bottom: 60px; background: #fffcf5; gap: 35px; }
.community-message strong { font-family: var(--heading); }
.community-message { background: #eeebdf; }
.community-intro { font-size: .9rem; }
.method { background: #eae4d8; }

/* Seamless conveyor: one full group plus an identical visual repeat. No alternating bounce. */
.mural-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mural-toolbar p { max-width: 610px; margin: 0; color: var(--muted); font-size: .79rem; }
.mural-controls { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
#mural-motion, #mural-static { padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: #fffdf7; font-size: .74rem; }
#mural-motion[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
#mural-motion:disabled, #mural-static:disabled { opacity: .65; cursor: default; }
.mural-stage { --mural-gap: 18px; position: relative; height: clamp(960px, 152svh, 1520px); margin-top: 20px; isolation: isolate; }
.mural-grid { display: flex; gap: var(--mural-gap); height: 100%; }
.mural-column { flex: 1; min-width: 0; max-width: 420px; height: 100%; overflow: hidden; border-radius: 18px; }
.mural-track { animation: mural-conveyor var(--mural-duration, 180s) linear infinite; animation-delay: var(--mural-delay, 0s); animation-play-state: paused; will-change: transform; }
.mural-track-shift { transform: translateY(var(--preview-shift, 0px)); }
.mural-column:nth-child(even) .mural-track { animation-direction: reverse; }
.mural-group { display: flex; flex-direction: column; gap: var(--mural-gap); padding-bottom: var(--mural-gap); }
.mural-column[data-loop="false"] .mural-track { animation: none; transform: none; }
.mural-column[data-loop="false"] [data-repeat] { display: none; }
.mural-grid[data-motion="running"] .mural-track { animation-play-state: running; }
.mural-grid .mural-column:has(:focus-visible) .mural-track { animation-play-state: paused; }
.mural-flyer { display: block; padding: 0; border: 0; overflow: hidden; width: 100%; color: var(--ink); background: var(--ink); border-radius: 18px; box-shadow: 0 3px 15px #20343a10; text-decoration: none; touch-action: pan-y; transition: transform .24s ease, box-shadow .24s ease, filter .24s ease; }
.mural-flyer img { display: block; width: 100%; height: auto; }
.mural-flyer:focus-visible { outline-offset: 5px; }
.mural-flyer:hover { box-shadow: 0 8px 25px #20343a30; }
.mural-column:has(.mural-flyer:hover), .mural-column:has(:focus-visible) { position: relative; z-index: 2; }
.mural-no-flyer { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; aspect-ratio: 3 / 4; background: var(--category-color); font-size: .7rem; text-align: center; }
.mural-no-flyer .category-icon { width: 54px; height: 54px; }
@keyframes mural-conveyor { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-1 * var(--mural-distance)), 0); } }
.mural-stage.is-static { height: auto; min-height: 0; }
.mural-stage.is-static .mural-column { height: auto; overflow: visible; }
.mural-stage.is-static .mural-track { animation: none; transform: none; }
.mural-stage.is-static [data-repeat] { display: none; }
.mural-stage.is-static .mural-column:nth-child(even) { padding-top: 35px; }
.mural-item { position: relative; }
.mural-item.is-expanded .mural-flyer { background: #fffdf7; box-shadow: inset 0 0 0 2px var(--category-color); transform: none; filter: none; }
.mural-item.is-expanded .mural-flyer > img { max-height: min(36svh, 340px); object-fit: contain; background: #17282d; }
.mural-item.is-expanded .mural-no-flyer { display: block; aspect-ratio: auto; padding-top: 20px; }
.mural-item.is-expanded .mural-no-flyer > span { display: block; padding: 10px; }
.mural-preview-copy { padding: 0 16px 17px; text-align: left; max-height: 330px; overflow: auto; overscroll-behavior: contain; animation: mural-card-reveal .2s ease-out; }
.mural-preview-category { background: var(--category-color); margin: 0 -16px 13px; padding: 9px 16px; font-size: .61rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.mural-preview-copy .editorial-date > strong { font-size: 2.25rem; }
.mural-preview-copy h3 { font-family: var(--heading); font-size: 1.3rem; line-height: 1.13; letter-spacing: -.035em; margin: 0 0 9px; }
.mural-preview-copy .card-date-line { margin-bottom: 12px; }
.mural-preview-copy .card-price { margin-bottom: 10px; }
.mural-preview-cta { display: block; padding-top: 11px; border-top: 1px solid var(--line); font-size: .74rem; font-weight: 700; }
@keyframes mural-card-reveal { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }
@media (hover: hover) and (pointer: fine) {
  .mural-flyer:hover { transform: translateY(-3px) scale(1.025); filter: brightness(1.04); box-shadow: 0 14px 32px #20343a35; }
  .event-card:hover { transform: translateY(-4px); border-color: var(--category-color, var(--ink)); box-shadow: 0 12px 27px #20343a1c; }
  .category-shortcut:hover { transform: translateY(-4px); box-shadow: 0 7px 18px #20343a20; }
  .category-shortcut:hover .category-arrow { transform: translate(2px, -2px); }
  .filter-pill, .commune-shortcuts button, .view-button { transition: transform .18s ease, background-color .18s ease; }
  .filter-pill:hover, .commune-shortcuts button:hover, .view-button:hover { transform: translateY(-2px); }
}
.category-shortcut:active, .mural-flyer:active { transform: scale(.98); }
.event-card:has(:focus-visible) { border-color: var(--ink); box-shadow: 0 0 0 2px var(--category-color); }

/* The event is a native modal, preserving the agenda and the browser back button. */
body.event-dialog-open { overflow: hidden; }
.event-dialog { position: fixed; padding: 0; width: min(960px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; overflow: auto; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 22px 90px #0005; overscroll-behavior: contain; }
.event-dialog::backdrop { background: #13272dbf; backdrop-filter: blur(8px); }
.event-dialog-toolbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.event-dialog-toolbar > span { font-size: .63rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; }
#event-dialog-close { width: 42px; height: 42px; padding: 0; flex-shrink: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 1.65rem; line-height: 1; }
.detail-layout { display: grid; grid-template-columns: .85fr 1.15fr; }
.detail-flyer { position: relative; align-self: start; margin: 28px 0 28px 28px; background: var(--ink); border-radius: 16px; overflow: hidden; }
.detail-flyer .poster-link { position: relative; display: block; }
.detail-flyer img { display: block; width: 100%; height: auto; object-fit: contain; }
.detail-flyer .poster-date-badge { display: none; }
.detail-flyer .date-poster { min-height: 280px; align-content: center; color: var(--paper); }
.detail-copy { padding: 28px; min-width: 0; }
.detail-category { display: flex; align-items: center; gap: 7px; width: fit-content; padding: 7px 10px; margin-bottom: 20px; background: var(--category-color); border-radius: 6px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.detail-date { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.detail-date .editorial-date > strong { font-size: 3.5rem; }
.detail-date .date-labels { font-size: .85rem; }
.detail-date .date-month { font-size: .73rem; }
#event-dialog-title { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.055em; margin-bottom: 24px; }
.detail-access { font-size: .85rem; color: var(--muted); }
#detail-reactions .reaction-group { gap: 7px; }
#detail-reactions .reaction-button { min-height: 42px; }
.detail-utilities { display: flex; align-items: center; gap: 10px; margin: 18px 0 22px; }
.detail-utilities .calendar-menu .calendar-options { top: auto; bottom: calc(100% + 8px); }
.detail-source { display: block; padding: 13px 17px; color: var(--paper); background: var(--ink); border-radius: 12px; font-size: .83rem; font-weight: 800; text-align: center; text-decoration: none; }
.detail-credit { color: var(--muted); font-size: .71rem; line-height: 1.5; margin: 14px 0; }
.detail-permalink { padding: 8px 0; color: var(--ink); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: .76rem; }
.detail-local-note { display: block; color: var(--muted); font-size: .65rem; line-height: 1.4; }
.event-dialog .image-lightbox { z-index: 10; }
.toast { z-index: 3000; }

/* Discovery first; background information lives in secondary sheets. */
body.secondary-dialog-open { overflow: hidden; }
.secondary-dialog { position: fixed; width: min(920px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 22px 90px #0005; }
.secondary-dialog::backdrop { background: #13272dbf; backdrop-filter: blur(6px); }
#secondary-dialog-close { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.5rem; }
.secondary-dialog .community-panel, .secondary-dialog .method { margin: 0; border: 0; border-radius: 0; padding: 30px; gap: 28px; }
.secondary-dialog .community-panel { grid-template-columns: 1fr; }
.secondary-dialog .method { grid-template-columns: 1fr; }
.secondary-dialog h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.newsletter-invitation { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin: 70px 0 30px; padding: 35px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.newsletter-invitation .eyebrow { font-size: .64rem; color: var(--coral); }
.newsletter-invitation h2 { font-family: var(--headline); font-size: clamp(1.5rem, 3.2vw, 2.7rem); line-height: 1.07; letter-spacing: -.045em; font-weight: 400; margin: 0 0 15px; }
.newsletter-invitation h2 em { font-style: normal; color: var(--coral); }
.newsletter-invitation p:not(.eyebrow) { max-width: 480px; font-size: .83rem; color: var(--muted); margin-bottom: 0; }
.newsletter-next { display: grid; gap: 18px; justify-items: start; }
.newsletter-next > span { font-size: .68rem; border: 1px solid var(--line); padding: 7px 10px; border-radius: 99px; }
.newsletter-next a { font-size: .79rem; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
footer .brand { flex-shrink: 0; text-decoration: none; }
.footer-information { max-width: 470px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 12px; }
.footer-links a { color: var(--ink); font-size: .73rem; text-underline-offset: 4px; }
.footer-information p { font-size: .71rem; margin: 0; }

@media (max-width: 960px) {
  .category-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-shortcut { min-height: 135px; gap: 15px; }
  .category-shortcut > strong { font-size: 1.13rem; max-width: 190px; }
  .intro { grid-template-columns: 1fr 130px; gap: 24px; }
  .week-card { padding-left: 16px; }
  .week-card strong { font-size: 3.8rem; }
  .section-heading { flex-direction: column; align-items: start; }
  .agenda-heading-actions { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  .view-switcher { width: 100%; justify-content: space-between; order: 3; }
  .agenda-utilities { width: auto; }
  .detail-layout { grid-template-columns: .75fr 1fr; }
}
@media (max-width: 620px) {
  .newsletter-invitation { grid-template-columns: 1fr; gap: 24px; margin-top: 44px; }
  .secondary-dialog .community-panel, .secondary-dialog .method { padding: 22px 18px; }
  .site-header, main, footer { width: calc(100% - 28px); }
  .site-header { min-height: 80px; gap: 10px; flex-direction: row; padding: 10px 0; }
  .brand b { font-size: 1.75rem; }
  .brand small { font-size: .52rem; }
  .editorial-mark { font-size: 2.6rem; }
  .site-header nav { gap: 0; }
  .site-header nav a:not(.header-agenda) { display: none; }
  .header-agenda { font-size: .65rem; padding: 7px 8px; }
  .intro { grid-template-columns: 1fr; padding: 28px 0 25px; gap: 22px; }
  .intro .eyebrow { gap: 8px; font-size: .51rem; margin-bottom: 19px; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 4rem); letter-spacing: -.068em; line-height: 1.02; margin-bottom: 16px; }
  .intro-text { font-size: .84rem; }
  .week-card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 0; border: 0; }
  .week-card strong { order: -1; font-size: 1.3rem; margin: 0; }
  .week-card span { font-size: .63rem; }
  .week-card small { display: none; }
  .category-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .category-shortcut { padding: 12px 11px 25px; min-height: 121px; gap: 14px; border-radius: 12px; }
  .category-topline { font-size: .69rem; }
  .category-name { gap: 6px; }
  .category-shortcut > strong { font-size: 1.03rem; max-width: 170px; }
  .commune-strip { padding: 13px 0; gap: 11px; }
  .commune-shortcuts { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
  .commune-shortcuts button { width: auto; min-height: 34px; padding: 7px 11px; font-size: .7rem; }
  .toolbar { padding: 0; background: none; border: 0; margin: 14px 0 30px; }
  .filter-panel { background: #fffcf5; box-shadow: none; }
  .filter-toggle { background: #fffcf5; box-shadow: none; }
  .filter-pill { font-size: .74rem; }
  .view-switcher { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 4px; overflow: visible; }
  .view-button { min-width: 0; padding: 0 2px; font-size: .66rem; min-height: 42px; }
  .section-heading { gap: 15px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 1.9rem; }
  .agenda-heading-actions { display: flex; gap: 9px; }
  .agenda-utilities { width: auto; }
  .event-card { grid-template-columns: 100px minmax(0, 1fr); }
  .event-card .card-visual { border-radius: 17px 0 0 17px; }
  .event-card.has-image .card-visual { min-height: 100%; }
  .card-body { padding: 0 11px 14px; min-width: 0; }
  .card-meta { padding: 8px 11px; margin: 0 -11px 11px; font-size: .54rem; letter-spacing: .02em; min-height: 30px; }
  .card-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .card-date-line { gap: 7px; margin-bottom: 11px; }
  .card-date .editorial-date { gap: 6px; }
  .card-date .editorial-date > strong { font-size: 1.92rem; }
  .card-date .date-labels { font-size: .58rem; }
  .card-date .date-month { font-size: .49rem; letter-spacing: .01em; }
  .card-when { font-size: .57rem; gap: 3px; }
  .card-time { font-size: .66rem; }
  .card-place { font-size: .72rem; margin-bottom: 5px; }
  .card-price { font-size: .71rem; margin-bottom: 11px; }
  .card-footer .source-link { font-size: .58rem; }
  .card-actions { gap: 3px; }
  .card-actions .reaction-group { gap: 3px; }
  .card-actions .reaction-group.compact .reaction-button { min-width: 33px; padding: 0 4px; gap: 2px; font-size: .62rem; }
  .card-actions .reaction-icon { width: 15px; height: 15px; }
  .card-actions .calendar-menu.compact summary { min-width: 30px; padding: 0 6px; }
  .card-actions .calendar-menu.compact summary::after { display: none; }
  .card-actions .share-button { width: 30px; height: 34px; min-height: 34px; }
  .poster-date-badge { width: 48px; min-height: 50px; border-radius: 11px; }
  .poster-date-badge strong { font-size: 1.55rem; }
  .card-visual img { object-fit: cover; }
  .featured { margin: 48px 0; }
  .featured-content { padding: 27px 22px; }
  .featured-image { min-height: 320px; }
  .community-panel { padding: 26px 22px; gap: 24px; }
  .mural-toolbar { align-items: start; gap: 12px; flex-direction: column; }
  .mural-toolbar p { font-size: .76rem; }
  .mural-stage { --mural-gap: 10px; height: clamp(900px, 144svh, 1280px); margin-top: 16px; }
  .mural-flyer { border-radius: 13px; }
  .mural-item.is-expanded .mural-flyer > img { max-height: 180px; }
  .mural-preview-copy { padding: 0 9px 12px; max-height: 300px; }
  .mural-preview-category { margin-inline: -9px; padding: 8px 9px; font-size: .53rem; }
  .mural-preview-copy h3 { font-size: .96rem; }
  .mural-preview-copy .card-date-line { display: block; }
  .mural-preview-copy .editorial-date { gap: 5px; }
  .mural-preview-copy .editorial-date > strong { font-size: 1.8rem; }
  .mural-preview-copy .date-labels { font-size: .57rem; }
  .mural-preview-copy .date-month { font-size: .49rem; }
  .mural-preview-copy .card-when { text-align: left; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; font-size: .62rem; }
  .mural-preview-copy .card-place, .mural-preview-copy .card-price { font-size: .68rem; }
  .mural-preview-cta { font-size: .66rem; }
  .event-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .event-dialog-toolbar { padding: 9px 12px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-flyer { margin: 16px 18px 0; background: #192e34; }
  .detail-flyer img { max-height: 32dvh; object-fit: contain; }
  .detail-flyer .date-poster { min-height: 140px; }
  .detail-copy { padding: 20px; }
  .detail-category { margin-bottom: 17px; }
  #event-dialog-title { font-size: 1.9rem; }
  .detail-copy dl > div { grid-template-columns: 58px 1fr; padding: 9px 0; }
  .detail-copy dd { font-size: .85rem; }
  .detail-copy dt { font-size: .65rem; }
}
@media (max-width: 359px) {
  .event-card { grid-template-columns: 82px minmax(0, 1fr); }
  .card-actions .reaction-group.compact .reaction-button { min-width: 30px; padding: 0 2px; }
  .card-actions .calendar-menu.compact summary { min-width: 27px; padding-inline: 4px; }
  .card-actions .share-button { width: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mural-track { transform: none !important; }
  .event-card, .category-shortcut, .category-arrow, .mural-flyer, .filter-pill, .commune-shortcuts button, .view-button { transform: none !important; }
}

/* Readable cards on wide displays, without stretching individual flyers. */
@media (min-width: 1450px) {
  .event-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1900px) {
  .event-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Distinct image actions, connected venue sheets and practical map/calendar views. */
.card-visual .poster-link img { object-fit: cover; }
.card-time { font-size: .94rem; }
.poster-zoom { position: absolute; top: 9px; right: 9px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; padding: 8px; color: #17282d; background: #fffdf7ed; border: 1px solid #fff9; border-radius: 50%; box-shadow: 0 2px 9px #0003; cursor: zoom-in; }
.poster-zoom svg { width: 20px; height: 20px; }
.poster-zoom:hover { background: #fff; transform: scale(1.08); }
.event-row-media { position: relative; width: 72px; }
.event-row.compact .event-row-media { width: 58px; }
.event-row-media .poster-zoom { width: 28px; height: 28px; padding: 5px; top: 3px; right: 3px; }
.event-row-media .poster-zoom svg { width: 17px; height: 17px; }
.venue-link { color: inherit; text-decoration: underline; text-decoration-color: #a8aaa0; text-underline-offset: 3px; }
.venue-link:hover { color: #875345; }
.facet-link { display: inline; min-height: 28px; padding: 0; color: inherit; font: inherit; background: none; border: 0; text-decoration: underline; text-decoration-color: #a8aaa0; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.detail-address { display: block; margin-top: 6px; font-size: .76rem; color: var(--muted); font-weight: 400; }
.detail-category .facet-link { text-transform: inherit; }
.mural-item.is-expanded { background: #fffdf7; border-radius: 18px; box-shadow: 0 0 0 2px var(--category-color), 0 10px 28px #0002; }
.mural-item.is-expanded .mural-flyer { border-radius: 18px 18px 0 0; box-shadow: none; }
.mural-preview-copy { border-radius: 0 0 18px 18px; }
.mural-preview-category { margin-top: 0; }
.mural-preview-utilities { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-block: 12px; }
.mural-preview-utilities .calendar-menu[open] { width: 100%; }
.mural-preview-utilities .calendar-options { position: static; width: 100%; min-width: 0; box-shadow: none; margin-top: 8px; }
.mural-preview-utilities .calendar-options a { padding: 10px; font-size: .75rem; }
.mural-preview-hint { display: block; font-size: .6rem; color: var(--muted); line-height: 1.5; }
.mural-no-flyer { display: grid; gap: 16px; min-height: 320px; padding: 24px; text-align: left; color: var(--ink); background: var(--category-color); }
.text-flyer-category { font-size: .65rem; text-transform: uppercase; font-weight: 800; }
.text-flyer-title { font-family: var(--heading); font-size: 1.55rem; line-height: 1.1; }
.mural-no-flyer > span:not(.editorial-date), .mural-no-flyer > b { font-size: .8rem; }
.mural-no-flyer small { font-size: .65rem; }
.directions-menu { border: 1px solid var(--line); border-radius: 14px; margin: 16px 0; background: #fffdf7; }
.directions-menu > summary { padding: 13px 16px; cursor: pointer; font-size: .85rem; font-weight: 700; }
.directions-options { padding: 0 16px 14px; display: grid; gap: 5px; }
.directions-options a { padding: 10px 0; color: var(--ink); font-size: .85rem; border-bottom: 1px solid var(--line); }
.directions-options small { color: var(--muted); line-height: 1.5; padding-top: 8px; }
body.venue-dialog-open { overflow: hidden; }
.venue-dialog { position: fixed; padding: 0; width: min(1000px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; overflow: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 22px 90px #0005; overscroll-behavior: contain; }
.venue-dialog::backdrop { background: #13272dbf; backdrop-filter: blur(8px); }
#venue-dialog-close { width: 42px; height: 42px; border-radius: 50%; background: transparent; border: 1px solid var(--line); color: var(--ink); font-size: 1.65rem; }
.venue-profile { padding: 30px; }
#venue-dialog-title, .venue-directory h2 { font-family: var(--heading); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; margin: 12px 0 20px; }
.venue-description { max-width: 720px; margin: 20px 0 28px; line-height: 1.6; }
.venue-location-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.venue-location-layout h3 { margin-bottom: 12px; }
.venue-location-layout p { line-height: 1.5; }
.venue-contact-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: .8rem; }
.venue-contact-links a, .venue-sources a { color: var(--ink); }
.venue-mini-map { width: 100%; height: 240px; border: 1px solid var(--line); border-radius: 16px; z-index: 0; }
.venue-map-pending { padding: 50px 25px; background: #e9e3d7; border-radius: 16px; line-height: 1.5; }
.venue-map-note, .venue-program-note { font-size: .74rem; color: var(--muted); line-height: 1.5; margin: 10px 0; }
.venue-notice { padding: 14px; background: #f6e59855; font-size: .8rem; line-height: 1.5; }
.venue-sources { padding: 18px 0; border-block: 1px solid var(--line); margin-block: 25px; font-size: .78rem; }
.venue-sources summary { cursor: pointer; font-weight: 700; }
.venue-sources p { margin-block: 12px; line-height: 1.5; }
.venue-sources a { display: block; padding-block: 7px; }
.venue-program-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.venue-program-heading h3 { margin: 0; font-size: 1.2rem; }
.venue-program-heading a, .venue-program-heading button { color: var(--ink); font-size: .78rem; }
.venue-day { margin-top: 26px; }
.venue-day > h3 { font-size: .9rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.venue-profile .event-row { grid-template-columns: 58px 100px minmax(0, 1fr); }
.venue-profile .event-row-actions { grid-column: 2 / -1; justify-content: start; }
.venue-dialog .image-lightbox { z-index: 10; }
.venue-directory { padding: 28px; }
.venue-directory > p { line-height: 1.6; max-width: 680px; }
.venue-directory > label { display: grid; gap: 8px; margin-block: 25px; font-size: .8rem; }
.venue-directory input { padding: 13px; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fffdf7; color: var(--ink); }
#venue-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.venue-directory-card { padding: 22px; background: #fffdf7; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.venue-directory-card:hover { background: #eee9df; }
.venue-directory-card h3 { margin: 12px 0; font-family: var(--heading); font-size: 1.2rem; }
.venue-directory-card small, .venue-directory-card p, .venue-directory-card span { font-size: .75rem; }
.map-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 20px 0 12px; }
.map-controls label { display: grid; gap: 5px; font-size: .7rem; }
.map-controls select, .map-controls button, #calendar-upcoming { min-height: 40px; padding: 10px 14px; color: var(--ink); background: #fffdf7; border: 1px solid var(--line); border-radius: 12px; font-size: .75rem; }
.map-controls button[aria-pressed=true] { color: white; background: var(--ink); }
.map-hint, .calendar-hint { font-size: .75rem; color: var(--muted); line-height: 1.5; }
#map-venue-list { max-height: 520px; overflow: auto; }
.venue-map-item > b { background: var(--venue-color); }
.venue-map-item[aria-pressed=true] { background: #e9e3d7; border-radius: 8px; }
.radar-map-icon { background: var(--venue-color, var(--ink)); }
.radar-map-icon.approximate { border-style: dashed; }
.map-popup button { padding: 10px 0; background: transparent; color: var(--ink); border: 0; text-decoration: underline; text-align: left; display: block; font-weight: 700; }
.map-popup small { display: block; line-height: 1.5; }
.map-selected-events { padding: 0 24px 24px; margin-top: 24px; background: #fffdf7; border: 1px solid var(--line); border-radius: 18px; }
.map-selected-events > p { font-size: .75rem; color: var(--muted); }
.map-selected-events:empty { display: none; }
.calendar-overview { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 18px 0; font-size: .82rem; }
.calendar-overview p { margin: 0; }
#calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 20px; font-size: .7rem; }
#calendar-legend span { display: flex; align-items: center; gap: 5px; }
#calendar-legend i { width: 8px; height: 8px; border-radius: 50%; }
#calendar-legend .category-music { background: #729132; } #calendar-legend .category-cinema { background: #36848e; } #calendar-legend .category-stage { background: #b06996; } #calendar-legend .category-literature { background: #b87936; } #calendar-legend .category-festival { background: #aa9123; } #calendar-legend .category-heritage { background: #7871a6; }
@media (max-width: 900px) {
  .event-row-media, .event-row.compact .event-row-media { width: 64px; }
  #map-venue-list { max-height: 260px; }
}
@media (max-width: 620px) {
  .card-time { font-size: .82rem; }
  .poster-zoom { width: 32px; height: 32px; top: 6px; right: 6px; padding: 6px; }
  .event-row-media { grid-row: 1 / span 2; }
  .mural-item.is-expanded, .mural-preview-copy { border-radius: 13px; }
  .mural-item.is-expanded .mural-flyer { border-radius: 13px 13px 0 0; }
  .mural-preview-copy .card-time { font-size: .78rem; }
  .mural-preview-copy .facet-link { min-height: 28px; }
  .mural-preview-utilities { gap: 6px; }
  .mural-no-flyer { padding: 16px; gap: 13px; min-height: 300px; }
  .text-flyer-title { font-size: 1.12rem; }
  .mural-no-flyer > span:not(.editorial-date), .mural-no-flyer > b { font-size: .7rem; }
  .venue-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .venue-profile, .venue-directory { padding: 20px 16px; }
  .venue-location-layout { grid-template-columns: 1fr; gap: 20px; }
  .venue-mini-map { height: 210px; }
  #venue-directory-grid { grid-template-columns: 1fr; }
  .venue-profile .event-row { grid-template-columns: 64px minmax(0, 1fr); }
  .venue-profile .event-row-actions { grid-column: 1 / -1; }
  .map-selected-events { padding: 0 14px 16px; }
  .calendar-cell .calendar-event-count { display: block; font-size: .5rem; line-height: 1; margin-top: 5px; }
  .calendar-cell { padding: 5px 3px; }
}
