/* ══════════════════════════════════════════════════════════════════════════
   UMĚBUĎ — design webu

   Galerijní bílá plocha a TLUSTÉ MODRÉ LINKY (mřížky mají modrý podklad a buňky
   s mezerou 6 px, takže linky vznikají samy; sekce dělí modré pruhy).
   Z vizuálu plakátů a leporela 2027 jsou převzaté: dvoubarevný wordmark UMĚBUĎ
   (křivky z PDF), barevné plochy jednotlivých akcí (.poster--*), bílé linkové
   piktogramy se žlutým akcentem (.picto), žlutá #F4D332 a písmo názvů
   (Adventor = klon Avant Garde). Černá + žlutá jsou zároveň barvy města:
   štítky, datumovky, podtržení v menu, černá patička.
   Modrá linek se bere z administrace (Vzhled → --brand-light).
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --blue:       var(--brand-light, #1D3FD6);
    --blue-dark:  var(--brand-dark, #142C9E);
    --black:      #111111;
    --yellow:     #F4D332;      /* žlutá z plakátů */
    --white:      #FFFFFF;
    --ink:        #111111;
    --muted:      #5B5B5B;
    --grey:       #F3F3F0;
    --grey-line:  #DADAD6;

    --line:       6px;          /* tloušťka modrých linek */
    --line-thin:  3px;
    --font:       'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display:    'Adventor', 'Archivo', system-ui, sans-serif;   /* názvy jako na plakátech */

    --container:  1320px;
    --gutter:     clamp(20px, 4vw, 48px);
    --header-h:   88px;
}

/* ── Základ ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0; background: var(--white); color: var(--ink);
    font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--black); }
h1, h2, h3, h4, .h3 {
    font-family: var(--font); color: var(--ink); font-weight: 800; line-height: 1.02;
    letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance;
}
h1, h2, .display { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.display { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.8rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 300; background: var(--black); color: #fff; padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Modrý oddělovací pruh mezi sekcemi */
.rule { height: var(--line); background: var(--blue); }

.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.preview-bar { background: var(--yellow); color: var(--black); font-weight: 700; text-align: center; padding: 8px 16px; font-size: .9rem; }

/* ── Štítky, datumovky, tlačítka ─────────────────────────────────────────── */
.eyebrow, .tag {
    display: inline-block; padding: 5px 10px; margin: 0 0 18px;
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
    background: var(--yellow); color: var(--black);
}
.tag { margin: 0 0 14px; }
.tag--lg { font-size: .85rem; padding: 7px 12px; }
.tag--current { background: var(--yellow); color: var(--black); }
.tag--upcoming { background: var(--black); color: #fff; }
.tag--past { background: var(--grey); color: var(--muted); }
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 0 22px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.eyebrow-row .crumb { color: var(--black); text-decoration: none; border-bottom: var(--line-thin) solid var(--yellow); }
.eyebrow-row .crumb:hover { color: var(--blue); }

.dbox {
    display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
    width: 76px; height: 76px; background: var(--yellow); color: var(--black); line-height: 1;
}
.dbox__d { font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; }
.dbox__m { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 24px; border: var(--line-thin) solid var(--black);
    background: var(--black); color: #fff; font: inherit; font-weight: 700; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--line { background: transparent; color: var(--black); }
.btn--line:hover { background: var(--black); border-color: var(--black); color: #fff; }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.more-link {
    display: inline-block; font-weight: 700; color: var(--black); text-decoration: none;
    border-bottom: 4px solid var(--yellow); padding-bottom: 2px; white-space: nowrap;
}
.more-link::after { content: ' →'; }
.more-link:hover { color: var(--blue); border-color: var(--blue); }

/* ── Fotky ───────────────────────────────────────────────────────────────── */
.photo { width: 100%; object-fit: cover; background: var(--grey); }

/* ── Plakátové plochy: barva akce + piktogram (hodnoty z PDF plakátů) ─────── */
.poster { --p-bg: #E8C8DF; --p-ink: #50374A; background: var(--p-bg); color: var(--p-ink); }
.poster--lila   { --p-bg: #BAA2CD; --p-ink: #362A44; }
.poster--seda   { --p-bg: #C9C9CC; --p-ink: #313438; }
.poster--zelena { --p-bg: #E0EBCD; --p-ink: #36442F; }
.poster--ruzova { --p-bg: #E8C8DF; --p-ink: #50374A; }
.poster--tmava  { --p-bg: #252226; --p-ink: #FBF5E9; }
.poster :is(h1, h2, h3) { color: var(--p-ink); }
.poster .tag--upcoming { background: var(--p-ink); color: var(--p-bg); }
.poster .tag--past { background: rgba(255, 255, 255, .55); color: var(--p-ink); }
.poster--tmava .tag--past { background: rgba(255, 255, 255, .16); }

/* Piktogram: bílé linky, tenké (.t), s výplní pozadí (.h), žlutý akcent (.a), žlutá výplň (.f) */
.picto { display: block; overflow: visible; }
.picto path { fill: none; stroke: #fff; stroke-width: 2.6px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.picto .t { stroke-width: 1.4px; }
.picto .h { fill: var(--p-bg, #fff); }
.picto .a { stroke: var(--yellow); stroke-width: 4.6px; }
.picto .f { fill: var(--yellow); stroke: none; }
.art { position: relative; }
.art .picto { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; }

/* Texty dlaždice ve stylu plakátu */
.ev__title { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); line-height: 1; letter-spacing: -.015em; margin: 0 0 .4em; }
.ev__title--xl { font-size: clamp(2.5rem, 1.3rem + 5vw, 5.8rem); line-height: .94; margin-bottom: .32em; }
.ev__kind { margin: 0 0 .55em; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.ev__kind--lg { font-size: .88rem; margin: 1.2em 0 .4em; }
.ev__artist { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .7em; }
.ev__meta { margin: 0; }

/* ── Hlavička ────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: var(--line) solid var(--blue); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--black); text-decoration: none; }
.brand__img { height: 48px; width: auto; }
/* Wordmark z plakátu na černém štítku (varianta plakátu ke koncertu): UMĚ bíle, BUĎ žlutě */
.brand__chip { display: block; background: var(--black); padding: 13px 16px; line-height: 0; }
.wm { display: block; height: 30px; width: auto; }
.wm path { fill-rule: evenodd; }
.wm__a { fill: #fff; }
.wm__b { fill: var(--yellow); }
.wm--footer { height: 46px; }
.brand__tag { max-width: 17ch; font-size: .7rem; font-weight: 600; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; color: var(--muted); }

.site-nav__list { display: flex; gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
    position: relative; display: inline-block; padding: 10px 0; color: var(--black); font-weight: 600; font-size: 1rem;
    text-decoration: none; white-space: nowrap;
}
.site-nav__list a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: var(--line);
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .18s;
}
.site-nav__list a:hover::after { transform: scaleX(1); background: var(--blue); }
.site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 48px; height: 48px; padding: 10px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 3px; background: var(--black); transition: transform .2s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-mobile { display: none; background: #fff; border-top: var(--line) solid var(--blue); }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li + li { border-top: var(--line-thin) solid var(--blue); }
.nav-mobile a { display: block; padding: 18px var(--gutter); color: var(--black); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.nav-mobile a[aria-current="page"] { box-shadow: inset 8px 0 0 var(--yellow); }

@media (max-width: 1023px) {
    :root { --header-h: 72px; }
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
    .brand__chip { padding: 11px 13px; }
    .wm { height: 26px; }
}
@media (max-width: 560px) { .brand__tag { display: none; } }

/* ── Přehled výstav na úvodu (celá šířka) ────────────────────────────────── */
.expo { background: var(--blue); }
.expo__grid { display: grid; gap: var(--line); grid-template-columns: 1fr; }
.expo__cell { display: block; background: #fff; color: inherit; text-decoration: none; }
.expo__cell.poster { background: var(--p-bg); color: var(--p-ink); }
.expo__cell:hover .ev__title, .expo__cell:focus-visible .ev__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .09em; text-underline-offset: .12em; }
.expo__photo { aspect-ratio: 16 / 9; width: 100%; }
.expo__body { padding: clamp(24px, 3.4vw, 52px) var(--gutter); }
.expo__art { min-height: 200px; }

/* Dominantní výstava bez fotky = plakát: text vlevo, piktogram vpravo */
.expo__lead .ev__artist { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.7rem); margin-bottom: .5em; }
.expo__lead .ev__meta { font-size: clamp(1.05rem, 1rem + .4vw, 1.35rem); }
.expo__lead .ev__kind { font-size: .85rem; margin: 1.4em 0 .6em; }
.expo__lead .expo__art { margin: 0 var(--gutter) 32px; min-height: 240px; }
.expo__lead .expo__art .picto { left: 0; top: 0; width: 100%; height: 100%; }

.expo__item .expo__body { padding: 24px 26px; }
.expo__item:not(.has-img) { display: grid; grid-template-columns: minmax(0, 1fr) 32%; align-items: center; }
.expo__item .expo__art { height: 100%; min-height: 150px; }
.expo__item .expo__art .picto { left: 8%; top: 16%; width: 74%; height: 68%; }

.expo__more {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--yellow); color: var(--black); padding: 26px var(--gutter);
    font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: -.01em;
}
.expo__more:hover { background: var(--black); color: var(--yellow); }
.expo__arrow { font-family: var(--font); font-size: 1.5em; line-height: 1; transition: transform .15s; }
.expo__more:hover .expo__arrow { transform: translateX(8px); }
.expo__empty { padding: clamp(48px, 7vw, 96px) var(--gutter); }

@media (min-width: 640px) {
    .expo__lead:not(.has-img) { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
    .expo__lead .expo__art { margin: 0 var(--gutter) 0 0; height: 78%; min-height: 280px; }
}
@media (min-width: 900px) {
    .expo__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .expo__lead { grid-column: 1; min-height: clamp(420px, 44vw, 700px); }
    /* Dominantní buňka přes všechny řádky vedlejšího sloupce */
    .expo__grid--side-1 .expo__lead { grid-row: 1 / span 2; }
    .expo__grid--side-2 .expo__lead { grid-row: 1 / span 3; }
    .expo__grid--side-3 .expo__lead { grid-row: 1 / span 4; }
    .expo__grid--solo .expo__more { align-items: flex-end; }
    .expo__item.has-img { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; }
    .expo__item.has-img .expo__photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
    .expo__grid--empty { grid-template-columns: 1fr; }
}

/* ── Sekce a jejich hlavy ────────────────────────────────────────────────── */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.sec-head {
    display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
    margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: 14px; border-bottom: var(--line-thin) solid var(--black);
}
.sec-head h2 { margin: 0; }

/* Úvodní text */
.intro__grid { display: grid; gap: 24px 64px; }
.intro__text { font-size: 1.12rem; }
.intro__text p { max-width: 62ch; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 5fr 7fr; align-items: start; } .intro__text { padding-top: 10px; } }

/* Hlava podstránky */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: var(--line) solid var(--blue); }
.page-head h1 { margin: 0; }
.page-head__grid { display: grid; gap: 20px 64px; align-items: end; }
.page-head__aside .lead { margin: 0; }
@media (min-width: 960px) { .page-head__grid { grid-template-columns: 7fr 5fr; } }

/* ── Doprovodný program (řádky s datumovkou) ─────────────────────────────── */
.prog { list-style: none; margin: 0 0 32px; padding: 0; }
.prog__row { display: flex; gap: 22px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--grey-line); }
.prog__row:first-child { border-top: 1px solid var(--grey-line); }
.prog__kind { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.prog__main h3 { margin: 0 0 4px; font-size: 1.25rem; }
.prog__main h3 a { color: var(--black); text-decoration: none; }
.prog__main h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.prog__meta { margin: 0; color: var(--muted); }
.prog__desc { margin: 8px 0 0; max-width: 70ch; }
.prog__month { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 32px 0 8px; }
.prog__month:first-of-type { margin-top: 0; }
.prog__main { flex: 1; min-width: 0; }
.prog__meta b { color: var(--ink); font-weight: 700; }
.prog__ico { position: relative; flex: none; width: 76px; height: 76px; }
.prog__ico .picto { position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; }
.prog__ico .picto path { stroke-width: 2px; }
.prog__ico .picto .t { stroke-width: 1px; }
.prog__ico .picto .a { stroke-width: 3px; }
@media (max-width: 520px) { .prog__ico { display: none; } }

/* ── Novinky ─────────────────────────────────────────────────────────────── */
.news__list { display: grid; gap: 36px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.news__list--page { grid-template-columns: 1fr; max-width: 820px; gap: 0; }
.news__list--page .news__item { padding: 28px 0; border-bottom: 1px solid var(--grey-line); }
.news__list--page .news__item:first-child { border-top: var(--line-thin) solid var(--black); }
.news__item h3, .news__item .h3 { margin: 10px 0 10px; }
.news__item h3 a, .news__item .h3 a { color: var(--black); text-decoration: none; }
.news__item h3 a:hover, .news__item .h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.news__date { display: inline-block; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.news__text p:last-child { margin-bottom: 0; }

/* ── Karty výstav (plakátové dlaždice) a řádkové seznamy ─────────────────── */
/* Modrý rámeček každé karty = tlustá linka; rámečky sousedů se v mezeře kryjí,
   takže linky jsou všude stejně silné a prázdná místa mřížky zůstávají bílá. */
.cards { display: grid; gap: var(--line); padding: var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 0 0 var(--line) var(--blue); }
.card.poster { background: var(--p-bg); color: var(--p-ink); }
.card__art { width: 100%; aspect-ratio: 3 / 2; }
.card__body { padding: 4px 28px 30px; }
.card.has-img .card__body { padding-top: 24px; }
.card:hover .ev__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .09em; text-underline-offset: .12em; }
@media (min-width: 760px) {
    .cards .card:only-child { flex-direction: row-reverse; align-items: center; }
    .cards .card:only-child .card__art { width: 42%; }
    .cards .card:only-child .card__body { flex: 1; padding: 36px 40px; }
}

.rows { border-top: var(--line-thin) solid var(--black); }
.row {
    display: grid; grid-template-columns: 1fr; gap: 6px 28px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--grey-line); color: inherit; text-decoration: none;
}
.row h3 { margin: 0; font-size: 1.3rem; }
.row:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.row__dates { font-weight: 700; color: var(--blue); white-space: nowrap; }
.row__sub { display: block; color: var(--muted); margin-top: 2px; }
.row__loc { color: var(--muted); }
.row__thumb { display: block; position: relative; overflow: hidden; width: 120px; aspect-ratio: 3 / 2; }
.row__thumb .art { position: absolute; inset: 0; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
    .row { grid-template-columns: 220px 1fr auto; }
    .rows--thumbs .row { grid-template-columns: 120px 1fr auto; }
}
.archive__year { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: 40px 0 12px; color: var(--blue); }
.archive__year:first-of-type { margin-top: 0; }
.prose--intro { max-width: 72ch; margin-bottom: 40px; }

/* ── Detail výstavy / akce ───────────────────────────────────────────────── */
.page-head--poster { background: var(--p-bg); color: var(--p-ink); }
.page-head--poster .page-head__grid { align-items: center; }
.page-head--poster .eyebrow-row, .page-head--poster .eyebrow-row .crumb { color: var(--p-ink); }
.page-head__picto { position: relative; height: clamp(170px, 24vw, 330px); }
.page-head__picto .picto { position: absolute; inset: 0; width: 100%; height: 100%; }
.detail__artist { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.8rem); line-height: 1.05; letter-spacing: -.01em; margin: .1em 0 .7em; }
.detail__when { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); font-weight: 700; margin: 0 0 .15em; }
.detail__where { margin: 0; }
.detail__aside .facts { margin-bottom: 28px; }
.facts { margin: 0; border-top: var(--line-thin) solid var(--black); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--grey-line); }
.facts dt { color: var(--muted); flex: none; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.detail__media { padding-top: clamp(24px, 3vw, 40px); }
.detail__photo { width: 100%; aspect-ratio: 16 / 7; }
.detail__grid { display: grid; gap: 40px 80px; }
@media (min-width: 960px) { .detail__grid { grid-template-columns: 7fr 4fr; align-items: start; } .detail__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.prose { max-width: 72ch; font-size: 1.08rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--blue); }
.aside__h { font-family: var(--font); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.detail__aside .more-link { margin-top: 24px; }

.gallery { display: grid; gap: var(--line); padding: var(--line); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery__item { margin: 0; background: #fff; box-shadow: 0 0 0 var(--line) var(--blue); }
.gallery__photo { aspect-ratio: 4 / 3; }

/* ── O nás, Kontakt ──────────────────────────────────────────────────────── */
.points { list-style: none; margin: 0 0 24px; padding: 0; border-top: var(--line-thin) solid var(--black); }
.points li { padding: 12px 0; border-bottom: 1px solid var(--grey-line); font-weight: 600; }
.points li::before { content: ''; display: inline-block; width: 12px; height: 12px; background: var(--yellow); margin-right: 12px; vertical-align: -1px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team__item h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team__item p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; gap: 40px 80px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid .h3 { margin-top: 1.4em; }
.contact-grid > div > .h3:first-child { margin-top: 0; }
.contact__org { font-weight: 700; margin-bottom: 4px; }
.contact__list { list-style: none; margin: 0 0 1em; padding: 0; font-size: 1.15rem; }
.contact__list li { padding: 8px 0; }
.hours { margin: 0 0 12px; border-top: var(--line-thin) solid var(--black); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--grey-line); font-size: 1.1rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.hours--sm div { font-size: 1rem; padding: 9px 0; }
.error-page h1 { margin-top: .2em; }

/* ── Patička ─────────────────────────────────────────────────────────────── */
.partners { padding: clamp(32px, 4vw, 56px) 0; border-top: var(--line) solid var(--blue); }
.partners__h { font-family: var(--font); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 24px; }
.partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 56px; }
.partners__list li { max-width: 100%; }
.partners__list img { max-height: 62px; width: auto; max-width: min(100%, 230px); }
.partners__interreg img { max-height: 54px; max-width: min(100%, 400px); }
.partners__list a { display: block; }
.partners__name { font-weight: 700; color: var(--black); }

.site-footer { background: var(--black); color: #fff; border-top: var(--line) solid var(--yellow); }
.site-footer__grid { display: grid; gap: 40px 48px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr .8fr 1.1fr; } .site-footer__grid:not(:has(.site-footer__interreg)) { grid-template-columns: 1.3fr 1fr .8fr; } }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { margin: 0 0 .8em; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer__tag { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.site-footer__operator { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.site-footer__h { font-family: var(--font); line-height: 1.3; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); margin: 0 0 14px; }
.site-footer__col .site-footer__h + .site-footer__h, .site-footer__hours + .site-footer__h, .site-footer__links + .site-footer__h { margin-top: 26px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { padding: 4px 0; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.site-footer__hours { margin: 0; }
.site-footer__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.site-footer__hours dd { margin: 0; font-weight: 700; color: var(--yellow); font-variant-numeric: tabular-nums; }
.interreg__text { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.interreg__text p:last-child { margin-bottom: 0; }
.site-footer__bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; color: rgba(255, 255, 255, .7);
}
.site-footer__bar a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer__bar a:hover { color: var(--yellow); }

/* ── Cookie lišta ────────────────────────────────────────────────────────── */
.cookiebar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
    max-width: 760px; margin: 0 auto; padding: 16px 20px; background: #fff; border: var(--line-thin) solid var(--black); box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
.cookiebar[hidden] { display: none; }
.cookiebar__text { flex: 1 1 320px; margin: 0; font-size: .92rem; }
.cookiebar__actions { display: flex; gap: 10px; }

@media print {
    .site-header, .site-footer-wrap, .cookiebar, .btn, .more-link, .nav-mobile { display: none !important; }
    body { font-size: 12pt; }
}
