/*
Theme Name: Mesiac fotografie
Theme URI: https://mesiacfotografie.eu
Author: wearekastanea.eu
Author URI: https://wearekastanea.eu
Description: Téma pre festival Mesiac fotografie — program s filtrom podľa typu podujatia, výstavy, autori A–Z, mapa miest, vstupné, press a kontakt. Farby a ročník sa nastavujú v Prispôsobiť › Mesiac fotografie.
Version: 1.9.21
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mesiac
*/

/* ---------- Písma (hostované v téme) ---------- */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/BarlowCondensed-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/BarlowCondensed-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/BarlowCondensed-Bold.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('assets/fonts/JetBrainsMono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url('assets/fonts/JetBrainsMono-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 100 800; font-display: swap; src: url('assets/fonts/JetBrainsMono-latin-Italic.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: italic; font-weight: 100 800; font-display: swap; src: url('assets/fonts/JetBrainsMono-latin-ext-Italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/IBMPlexMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/IBMPlexMono-Medium.woff2') format('woff2'); }

/* ---------- Tokeny ---------- */
:root {
	--ink: #121514;
	--paper: #FFFFFE;
	--accent: #795373;
	--accent-dark: color-mix(in srgb, var(--accent) 78%, #000);
	--accent-light: color-mix(in srgb, var(--accent) 45%, #fff);
	--muted: #3F3E3A;
	--muted-2: #5E5C57;
	--line: #D4D4D0;
	--tint: #EFEFED;
	--ph-1: #3A3833;
	--ph-2: #1F1F1D;
	--ph-3: #57534B;

	--f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--f-body: 'JetBrains Mono', ui-monospace, monospace;
	--f-mono: 'IBM Plex Mono', ui-monospace, monospace;
	--w-display: 500;
	--w-body: 100;
	--w-mono: 400;

	--gutter: 48px;
	--max: 1440px;
	--section: 96px;
	--radius-pill: 999px;
}

@media (max-width: 900px) {
	:root { --gutter: 24px; --section: 64px; }
}
@media (max-width: 600px) {
	:root { --gutter: 16px; --section: 56px; }
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-body);
	font-weight: var(--w-body);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
strong, b { font-weight: 500; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-pill);
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--f-mono); font-weight: var(--w-mono); font-size: 13px; letter-spacing: .01em; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.accent-text { color: var(--accent); }
.label { display: block; font-family: var(--f-mono); font-weight: var(--w-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.h-display {
	font-family: var(--f-display);
	font-weight: var(--w-display);
	text-transform: uppercase;
	line-height: .86;
	letter-spacing: -.005em;
	margin: 0;
}
.h-display--xxl { font-size: clamp(76px, 13vw, 200px); line-height: .8; }
.h-display--xl { font-size: clamp(56px, 8.4vw, 120px); line-height: .82; }
.h-display--l { font-size: clamp(44px, 6.6vw, 96px); }
.h-display--m { font-size: clamp(30px, 3.8vw, 56px); line-height: .9; }
.h-display--s { font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }

/* ---------- Tlačidlá, štítky, filtre ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 28px; border-radius: var(--radius-pill);
	border: 1.5px solid transparent; font-weight: 700; font-size: 17px; line-height: 1;
	cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--f-mono); font-size: 12px; text-transform: uppercase;
	padding: 4px 8px; border: 1px solid var(--ink); line-height: 1.3;
}
.tag--accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.tag--outline-light { border-color: var(--paper); color: var(--paper); }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); flex-shrink: 0; display: inline-block; }
.tag--outline-light .dot { border-color: var(--paper); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chips--sm { margin: 0; }
.h-display + .chips, .h-display + .chips--sm { margin: 32px 0 24px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border-radius: var(--radius-pill); border: 1.5px solid var(--ink); background: transparent;
	font-family: var(--f-body); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: normal; text-transform: none;
	cursor: pointer; white-space: nowrap; text-decoration: none !important;
}
.chip:hover { background: var(--tint); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.chip__n { font-family: var(--f-mono); font-size: 12px; font-weight: 400; }

.eyebrow {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 32px;
	font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
}
.eyebrow a { text-transform: none; letter-spacing: 0; }
.eyebrow--light { border-color: var(--paper); }
.eyebrow--plain { border: 0; padding: 0; margin-bottom: 8px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; }
.more--inline { margin-top: 0; font-family: var(--f-body); font-size: 16px; }

.section { padding-top: var(--section); }
.section--tight { padding-top: 40px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head .more { margin: 0; }
.empty { font-size: 20px; padding: 24px 0; }

/* ---------- Médiá ---------- */
.media { position: relative; display: block; overflow: hidden; background: var(--ph-1); aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__ph {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
	font-family: var(--f-mono); font-size: 13px; color: #D4D4D0;
}
.media__credit { position: absolute; left: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--paper); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.media--wide { aspect-ratio: 16 / 8; }
.wide-figure { margin: 48px auto 0; }
.media--natural { aspect-ratio: auto; background: none; }
.media--natural img { width: auto; max-width: 100%; height: auto; max-height: 90vh; object-fit: contain; margin: 0 auto; }
.author-box { margin-top: 48px; }
.author-box__list { list-style: none; margin: 0 !important; padding: 0; }
.author-box__list li { border-bottom: 1px solid var(--ink); margin: 0; }
.author-box__list li:first-child a { padding-top: 0; }
.author-box__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; text-decoration: none; }
.prose .author-box__list a, .author-box__list a { color: inherit; text-decoration: none; }
.prose .author-box__list a:hover, .author-box__list a:hover { color: var(--accent); }
.author-box--events { margin-top: 40px; }
.author-box--events .author-box__list a { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 6px; }
.author-box--events .author-box__list a > svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.author-box__meta { grid-column: 1; font-family: var(--f-mono); font-weight: var(--w-mono, 400); text-transform: none; font-size: 13px; letter-spacing: .02em; color: var(--accent); line-height: 1.3; }
.box-link--exhibition { margin-bottom: 16px; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; font-weight: 500; font-size: 16px; }
.site-nav__list a { padding: 6px 0; border-bottom: 3px solid transparent; text-decoration: none; }
.site-nav__list a:hover { border-color: var(--line); }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list .current-menu-ancestor > a, .site-nav__list a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }
.site-header__tools { display: flex; align-items: center; gap: 20px; }
.lang { display: inline-flex; gap: 10px; font-family: var(--f-mono); font-size: 14px; }
.lang a { color: var(--muted-2); }
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle {
	display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper);
	align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] { background: var(--paper); color: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.mobile-menu {
	position: fixed; inset: 64px 0 0; background: var(--ink); color: var(--paper);
	display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; padding: 20px var(--gutter) 24px;
}
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a {
	display: block; padding: 6px 0; font-family: var(--f-display); font-weight: var(--w-display); font-size: 52px; line-height: 1; text-transform: uppercase;
}
.mobile-menu__list .current-menu-item > a, .mobile-menu__list a[aria-current="page"] { color: var(--accent-light); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
.mobile-menu__row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 14px; border-top: 1px solid var(--muted-2); padding-top: 14px; }
.mobile-menu__social { display: flex; gap: 16px; }
.mobile-menu .lang a { color: #A9A59C; }
.mobile-menu .lang a[aria-current] { color: var(--paper); }

/* ---------- Logo ---------- */
.mf-logo { position: relative; display: inline-block; width: var(--size); height: var(--size); color: var(--ink); }
.mf-logo canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.mf-logo canvas[data-drag="1"] { cursor: ew-resize; }
.mf-logo__fallback {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
	font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .9; font-size: calc(var(--size) * .2);
}
.mf-logo.is-ready .mf-logo__fallback { display: none; }
.mf-logo--fluid { width: 100%; max-width: var(--size); height: auto; aspect-ratio: 1; }

/* ---------- Úvod (hero) ---------- */
.hero { padding-top: 40px; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding-bottom: 20px; }
.hero__title { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(80px, 16.1vw, 232px); line-height: .8; letter-spacing: -.02em; margin: 0; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding-top: 48px; }
.hero__text { grid-column: span 5; display: flex; flex-direction: column; gap: 32px; padding-bottom: 8px; }
.hero__dates { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(36px, 4.4vw, 64px); line-height: .95; text-transform: uppercase; }
.hero__intro { margin: 0; font-size: 22px; line-height: 1.4; max-width: 520px; }
.hero__visual { grid-column: 7 / span 6; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero__visual .media { aspect-ratio: 4 / 4.2; background: #2B2A27; }
.hero__visual figcaption { display: flex; justify-content: space-between; color: var(--muted-2); }

/* ---------- Kalendár (posuvný) ---------- */
.cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.cal__title { font-family: var(--f-mono); font-weight: var(--w-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.cal__nav { display: inline-flex; gap: 8px; }
.cal__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.cal__btn:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.cal__btn:disabled { opacity: .3; cursor: default; }
.cal.is-static .cal__nav { visibility: hidden; }
.cal__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.cal__viewport::-webkit-scrollbar { display: none; }
.cal__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cal__viewport.is-dragging a { pointer-events: none; }
.cal__viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cal__track { display: flex; width: max-content; min-width: 100%; }
.cal__col { flex: 1 0 56px; max-width: 96px; display: flex; flex-direction: column; scroll-snap-align: start; }
.cal__mo { height: 22px; font-family: var(--f-mono); font-weight: var(--w-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: visible; }
.cal__col.is-month-start .cal__day { border-left: 1px solid var(--ink); }
.cal__col:first-child .cal__day { border-left: 1px solid var(--ink); }
.cal__day {
	height: 96px; padding: 10px 0; gap: 10px; border: 1px solid var(--ink); border-left: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none !important; -webkit-user-drag: none;
}
.cal__day:hover { background: var(--tint); }
.cal__day.is-weekend { background: var(--tint); }
.cal__day.is-open { background: var(--accent); color: var(--paper); }
.cal__day.is-today { box-shadow: inset 0 -4px 0 var(--accent); }
.cal__day.is-picked { background: var(--ink); color: var(--paper); }
.cal__wd { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.cal__n { font-family: var(--f-display); font-weight: var(--w-display); font-size: 28px; line-height: 1; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.cal__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; display: inline-block; }
.swatch--accent { background: var(--accent); }

/* ---------- Karty výstav ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 24px; }
.card__link { display: flex; flex-direction: column; gap: 12px; text-decoration: none !important; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__tags .tag { align-self: auto; }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 6px; }
.card .media { aspect-ratio: 4 / 4.4; }
.card__artist { font-size: 16px; color: var(--muted); }
.card__title { margin: 0; font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; }
.cards--now .card__title { color: var(--accent); }
.card__meta { border-top: 1px solid var(--ink); padding-top: 10px; line-height: 1.6; }

/* ---------- Výstavy A–Z ---------- */
.index-row {
	display: grid; grid-template-columns: 80px 5fr 4fr 3fr 40px; align-items: center; column-gap: 24px;
	padding: 22px 0; border-bottom: 1px solid var(--ink); text-decoration: none !important;
}
.index-list { border-top: 1px solid var(--ink); }
.index-row:hover { background: var(--tint); }
.index-row.is-accent { background: var(--accent); color: var(--paper); padding-left: 12px; padding-right: 12px; }
.index-row__name { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.index-row__title { font-size: 18px; }

/* ---------- Zvýraznené podujatie (fialový blok) ---------- */
.feature { margin-top: var(--section); background: var(--accent); color: var(--paper); padding: 64px 0; }
.feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.feature__grid > .eyebrow { grid-column: 1 / -1; margin-bottom: 16px; }
.feature__text { grid-column: span 7; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.feature__sub { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(22px, 2.2vw, 30px); }
.feature__lead { margin: 0; font-size: 20px; line-height: 1.5; max-width: 620px; }
.feature__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--paper); padding-top: 20px; margin: 0; width: 100%; max-width: 620px; }
.feature__facts dd { margin: 0; font-size: 17px; }
.feature .label { color: var(--paper); }
.feature__visual { grid-column: 9 / span 4; margin: 0; }
.feature__visual .media { background: var(--accent-dark); }
.feature--quote .about-logo { grid-column: span 5; }
.feature--quote .feature__text { grid-column: 7 / span 6; align-self: center; }

/* ---------- Dlaždice ---------- */
.tiles__title { margin-bottom: 32px; }
.tiles { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-bottom: 1px solid var(--ink); }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 40px 28px; min-height: 280px; border-right: 1px solid var(--ink); text-decoration: none !important; }
.tile:first-child { padding-left: 0; }
.tile:last-child { border-right: 0; padding-right: 0; }
.tile:hover .h-display { color: var(--accent); }
.tile__text { font-size: 17px; line-height: 1.45; color: var(--muted); }

/* ---------- Program ---------- */
.event-list { border-top: 1px solid var(--ink); }
.event-row {
	display: grid; grid-template-columns: 96px 180px minmax(0, 1fr) 300px 32px; column-gap: 24px; align-items: center;
	padding: 18px 0; border-bottom: 1px solid var(--ink); text-decoration: none !important;
}
.event-row:hover { background: var(--tint); }
.event-row:hover .event-row__title { text-decoration: underline; text-underline-offset: 5px; }
.date-block { height: 84px; border: 1.5px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-block.is-accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.date-block__m { font-family: var(--f-mono); font-size: 11px; }
.date-block__d { font-family: var(--f-display); font-weight: var(--w-display); font-size: 30px; line-height: 1; }
.event-row__type { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; }
.event-row__main { display: flex; flex-direction: column; gap: 6px; }
.event-row__title { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: 28px; line-height: 1; }
.event-row__sub { font-size: 16px; color: var(--muted); }
.event-row__meta { font-family: var(--f-mono); font-size: 13px; line-height: 1.5; }

/* ---------- Mapa ---------- */
.map { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; align-items: start; }
.map__canvas { grid-column: span 8; position: relative; aspect-ratio: 880 / 760; background: var(--tint); overflow: hidden; }
.map--compact .map__canvas { grid-column: span 7; aspect-ratio: 780 / 600; }
.map__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__label { position: absolute; transform: translate(-50%, -50%); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.map__label--mono { font-family: var(--f-mono); font-weight: 400; transform: translate(-50%, -50%) rotate(28deg); }
.map__pin {
	position: absolute; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%;
	border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 800; font-size: 18px; cursor: pointer; transition: transform .15s;
}
.map__pin.is-active { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.2); }
.map__open { position: absolute; right: 20px; top: 20px; }
.map__list { grid-column: 9 / span 4; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.map--compact .map__list { grid-column: 9 / span 4; }
.map__list li { border-bottom: 1px solid var(--ink); }
.map__place { display: flex; gap: 16px; align-items: flex-start; width: 100%; padding: 18px 12px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.map__place:hover, .map__place.is-active { background: var(--tint); }
.map__num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.map__place.is-active .map__num { background: var(--accent); }
.map__info { display: flex; flex-direction: column; gap: 4px; }
.map__name { font-size: 20px; font-weight: 700; }
.map__detail { display: none; flex-direction: column; gap: 4px; padding-top: 8px; font-size: 15px; line-height: 1.45; }
.map__place.is-active .map__detail { display: flex; }
.map__links { display: flex; gap: 20px; padding: 0 12px 14px 60px; }
.map__links a { text-decoration: underline; text-underline-offset: 3px; }
.map__canvas--google { background: var(--tint); }
.map:not(.map--compact) .map__canvas { position: sticky; top: 104px; }
.map__reset { position: absolute; z-index: 3; left: 12px; top: 12px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: var(--ink); color: var(--paper); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.map__reset[hidden] { display: none; }
.map__iframe, .map__gmap { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__canvas--google .map__open { z-index: 2; top: auto; bottom: 24px; right: 60px; }
.map__info-window { font-family: var(--f-body); font-size: 14px; line-height: 1.45; color: var(--ink); display: flex; flex-direction: column; gap: 4px; padding: 2px 4px; }
.map__info-window a { color: var(--accent); text-decoration: underline; }

/* ---------- Zahraničie ---------- */
.abroad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.abroad__item { display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 40px; border-right: 1px solid var(--ink); text-decoration: none !important; font-size: 18px; line-height: 1.45; }
.abroad__item:first-child { padding-left: 0; }
.abroad__item:last-child { border-right: 0; padding-right: 0; }
.abroad__item:hover .h-display { color: var(--accent); }

/* ---------- Aktuality ---------- */
.news { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 24px; }
.news__item { display: flex; flex-direction: column; gap: 14px; text-decoration: none !important; }
.news__item .media { aspect-ratio: 4 / 3; }
.news__item--big { grid-column: span 2; }
.news__item--big .media { aspect-ratio: 16 / 10; }
.news__title { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.news__item--big .news__title, .news__item--hero .news__title { font-size: clamp(32px, 3.4vw, 48px); line-height: .95; }
.news__item:hover .news__title { text-decoration: underline; text-underline-offset: 5px; }
.news__body { display: flex; flex-direction: column; gap: 14px; }
.news__excerpt { font-size: 18px; color: var(--muted); }
.news--archive .news__item--hero { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
.pagination { padding-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); padding: 0 14px; }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--paper); }

/* ---------- O festivale (domov) ---------- */
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.about__logo { grid-column: span 6; display: flex; justify-content: center; }
.about__text { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 20px; }
.about__text p { margin: 0; font-size: 20px; line-height: 1.5; }

/* ---------- Newsletter ---------- */
.newsletter { padding-top: var(--section); }
.newsletter__box { background: var(--accent); color: var(--paper); padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.newsletter__form { width: min(560px, 100%); display: flex; flex-direction: column; gap: 8px; }
.newsletter .label { color: var(--paper); }
.newsletter__row { display: flex; gap: 12px; }
.newsletter__row .input { flex: 1; border-color: var(--paper); }

/* ---------- Partneri ---------- */
.partners__group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 24px; }
.partners__items { display: flex; flex-wrap: wrap; gap: 16px; }
.partner { min-width: 160px; height: 88px; padding: 12px 20px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.partner img { max-height: 60px; width: auto; object-fit: contain; }
.partners__items--text { gap: 10px 28px; }
.partners__items--text .partner { min-width: 0; height: auto; padding: 0; border: 0; font-weight: 600; font-size: 17px; color: var(--muted); }

/* ---------- Päta ---------- */
.site-footer { margin-top: var(--section); background: var(--accent); color: var(--paper); padding: 64px 0 40px; }
.site-footer a { color: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: 5fr 2fr 2fr 2fr; gap: 24px 48px; }
.site-footer__grid > div { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.site-footer__grid p { margin: 0; }
.site-footer .label { color: var(--paper); margin-bottom: 4px; }
.site-footer__org .h-display { font-size: 40px; line-height: .9; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__extra { padding-top: 40px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px solid var(--paper); padding-top: 24px; margin-top: 48px; }
.site-footer__word { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(56px, 8.4vw, 120px); line-height: .8; }

/* ---------- Podstránky ---------- */
.page-head { padding-top: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.page-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-bottom: 8px; }
.page-head__search { align-items: stretch; width: min(420px, 100%); gap: 8px; }
.page-head__lead { margin: 0; max-width: 460px; font-size: 20px; line-height: 1.45; padding-bottom: 8px; }
.page-head__artist { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(24px, 2.8vw, 40px); margin-bottom: 8px; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 16px 0; margin-bottom: 40px; }

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 8.33%; align-items: start; }
.split--pass { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.facts dd { margin: 0; font-size: 20px; font-weight: 600; }
.facts--rows > div { display: grid; grid-template-columns: 200px 1fr; }
.facts--light { border-color: var(--paper); }
.facts--light > div { border-color: var(--paper); }
.facts--light .label { color: var(--paper); }
.split__side .btn-row { padding-top: 20px; }
.split__side > * + * { margin-top: 20px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 20px; }

.event-hero { background: var(--accent); color: var(--paper); padding: 40px 0 64px; }
.event-hero .crumbs { color: var(--paper); }
.event-hero__grid { display: grid; grid-template-columns: 8fr 3fr; gap: 32px 8.33%; align-items: end; }
.event-hero__main { display: flex; flex-direction: column; gap: 24px; }
.event-hero__sub { font-family: var(--f-display); font-weight: var(--w-display); font-size: clamp(22px, 2.3vw, 32px); }
.event-hero--img .event-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 48px; align-items: end; }
.event-hero__media { margin: 0; }
.event-hero__media .media--natural img { max-height: 70vh; margin: 0 0 0 auto; }

.form-box { background: var(--accent); color: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.form-box .label { color: var(--paper); }
.form-box p { margin: 0; }
.form-plain { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); padding-top: 22px; }
.input {
	width: 100%; min-height: 52px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--radius-pill);
	background: var(--paper); color: var(--ink); font: inherit; font-size: 16px;
}
.input--area { min-height: 160px; padding: 14px 18px; border-radius: 24px; resize: vertical; }
select.input { appearance: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.notice { margin: 0; padding: 12px 16px; background: var(--paper); color: var(--ink); border-left: 4px solid var(--ink); }
.notice--error { border-color: #B3261E; }

.box-link { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1.5px solid var(--ink); text-decoration: none !important; }
.box-link:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }

.alphabet { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0; margin-bottom: 16px; font-family: var(--f-display); font-weight: var(--w-display); font-size: 24px; }
.alphabet a, .alphabet span { min-width: 28px; text-align: center; }
.alphabet span { color: #A9A59C; }
.authors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; margin-top: 40px; }
.authors__group { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 12px; scroll-margin-top: 110px; }
.authors__letter { font-family: var(--f-display); font-weight: var(--w-display); font-size: 64px; line-height: .85; color: var(--accent); }
.author { display: flex; flex-direction: column; gap: 2px; text-decoration: none !important; }
.author__last { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: 26px; line-height: 1; }
.author:hover .author__last { color: var(--accent); }

.pass { background: var(--accent); color: var(--paper); padding: 40px; display: flex; flex-direction: column; gap: 16px; min-height: 480px; }
.pass p { margin: 0; font-size: 19px; }
.rocnik__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.rocnik__grid > .h-display { grid-column: span 5; }
.rocnik__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 20px; }
.rocnik__lead { margin: 0; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; font-weight: 500; }
.rocnik__body .prose p { color: var(--muted); }
.pass--wide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: end; padding: 48px; min-height: 440px; }
.pass__main { grid-column: span 7; display: flex; flex-direction: column; gap: 20px; }
.pass__main .h-display { font-size: clamp(72px, 10vw, 144px); line-height: .82; }
.pass__main p { max-width: 560px; }
.pass__side { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 24px; text-align: right; }
.pass__price { font-size: clamp(64px, 8.3vw, 120px); line-height: .85; }
.pass__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.steps .step { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps p { margin: 0; color: var(--muted); }
/* Banner mapy na úvodnej stránke */
.map-banner { background: var(--accent); color: var(--paper); padding: 40px 48px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; }
.map-banner__count { display: flex; flex-direction: column; gap: 6px; }
.map-banner__num { font-size: clamp(72px, 9vw, 140px); line-height: .85; }
.map-banner__text { font-size: 16px; max-width: 220px; }
.map-banner__where { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid currentColor; padding-left: 40px; min-height: 100%; justify-content: center; }
.map-banner__where .mono { opacity: .8; }
.map-banner__cities { font-size: clamp(28px, 3.4vw, 52px); line-height: 1; }
.map-banner__btn { white-space: nowrap; }
.map-banner .btn--paper:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) {
	.map-banner { grid-template-columns: 1fr; padding: 28px 24px; }
	.map-banner__where { border-left: 0; border-top: 1px solid currentColor; padding: 20px 0 0; }
	.map-banner__btn { justify-self: start; }
}
.sales__intro { max-width: 720px; margin: 0 0 24px; color: var(--muted); }
.sale .label { color: var(--ink); margin-bottom: 4px; }
.step__price { font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: var(--accent); }
.sale .more { margin-top: auto; padding-top: 4px; }
@media (min-width: 900px) { .press-aside { position: sticky; top: 120px; } }
.press-contact .h-display { margin: 0; }
.press-contact__text p { margin: 0 0 12px; }
.press-contact__text p:last-child { margin-bottom: 0; }
.press-contact__text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.years { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.years__cell {
	position: relative; aspect-ratio: 3 / 4; padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
	display: flex; flex-direction: column; justify-content: flex-end; text-align: left; overflow: hidden; font: inherit;
}
button.years__cell { cursor: pointer; }
button.years__cell:hover { border-color: var(--accent); }
button.years__cell:hover .years__label { background: var(--accent); color: var(--paper); }
.years__cell.is-accent { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.years__poster { position: absolute; inset: 0; }
.years__poster img { width: 100%; height: 100%; object-fit: cover; }
.years__label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.years__cell.has-poster .years__label { background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink); }
.years__cell.has-poster.is-accent .years__label { background: var(--accent); color: var(--paper); }
.years__label .mono { font-size: 11px; }

.poster-dialog { border: 0; padding: 0; overflow: auto; max-width: min(1100px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); }
.poster-dialog::backdrop { background: rgba(18, 21, 20, .82); }
.poster-dialog__inner { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: min(720px, calc(100vh - 32px)); }
.poster-dialog__img { background: var(--tint); display: flex; align-items: center; justify-content: center; padding: 24px; }
.poster-dialog__img img { max-height: calc(100vh - 80px); width: auto; object-fit: contain; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.poster-dialog__info { padding: 48px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.poster-dialog__info p { margin: 0; }
.poster-dialog__text { font-size: 18px; line-height: 1.5; }
.poster-dialog__nav { margin-top: auto; display: flex; gap: 8px; }
.poster-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.split--poster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.poster-figure { margin: 0; }
.poster-figure img { width: 100%; height: auto; }
.about-years { font-size: clamp(88px, 16vw, 240px); line-height: .8; }
.about-logo { display: flex; justify-content: center; }

.press-list { border-top: 1px solid var(--ink); }
.press-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ink); text-decoration: none !important; }
.press-row__title { font-size: 22px; font-weight: 700; }
.press-row:hover .press-row__title { color: var(--accent); }

.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plain-list li { border-bottom: 1px solid var(--ink); padding: 18px 0; }
.not-found { padding-bottom: 40px; }
.not-found p { font-size: 20px; }

/* ---------- Obsah z editora ---------- */
.prose { font-size: 19px; line-height: 1.6; overflow-wrap: break-word; }
.split > * { min-width: 0; }
.prose img, .prose iframe, .prose video, .prose figure, .prose embed { max-width: 100%; height: auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.btn--block { max-width: 100%; white-space: normal; text-align: center; }
.facts dd { overflow-wrap: break-word; }
.prose--wide { max-width: 880px; }
.prose--center { max-width: 760px; margin: 0 auto; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose .lead, .prose p.lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 500; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; line-height: .95; margin: 1.6em 0 .6em; }
.prose h2 { font-size: clamp(32px, 3.4vw, 48px); }
.prose h3 { font-size: 28px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--f-mono); font-size: 13px; color: var(--muted-2); margin-top: 8px; }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 3px solid var(--accent); font-size: 24px; line-height: 1.35; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose .wp-block-table td { padding: 18px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
.prose .wp-block-table tr:first-child td { border-top: 1px solid var(--ink); }
.prose .is-style-program td:first-child { width: 120px; font-family: var(--f-mono); font-size: 15px; }
.prose .is-style-prices td { font-size: 17px; line-height: 1.4; }
.prose .is-style-prices td strong { font-size: 24px; }
.prose .is-style-prices td:last-child { text-align: right; font-family: var(--f-display); font-weight: var(--w-display); font-size: 36px; white-space: nowrap; }
.prose .wp-block-details { border-bottom: 1px solid var(--ink); padding: 20px 0; }
.prose .wp-block-details summary { cursor: pointer; font-weight: 700; font-size: 22px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.prose .wp-block-details summary::-webkit-details-marker { display: none; }
.prose .wp-block-details summary::after { content: '+'; font-weight: 400; font-size: 28px; line-height: 1; }
.prose .wp-block-details[open] summary::after { content: '−'; }
.prose .wp-block-details > *:not(summary) { margin-top: 12px; }
.prose h2 + .wp-block-details { border-top: 1px solid var(--ink); }
.prose .wp-block-gallery { gap: 24px; }
.prose .alignwide { margin-left: 0; margin-right: 0; }

/* ---------- Responzívne ---------- */
@media (max-width: 1280px) {
	.site-nav__list { gap: 20px; font-size: 15px; }
	.event-row { grid-template-columns: 88px 150px minmax(0, 1fr) 220px 28px; }
}

@media (max-width: 1100px) {
	.site-nav, .site-header__cta, .site-header__tools > .lang { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-header__inner { height: 64px; }
	.site-header__logo .mf-logo { --size: 60px !important; }
	.mobile-menu { inset: 64px 0 0; }
	.admin-bar .mobile-menu { top: 110px; }
}

@media (max-width: 900px) {
	.hero__meta .hero__cities { display: none; }
	.hero__grid { grid-template-columns: 1fr; row-gap: 24px; padding-top: 24px; }
	.hero__text, .hero__visual { grid-column: auto; }
	.hero__visual { order: -1; }
	.hero__intro { font-size: 18px; }

	.cal__col { flex-basis: 48px; }
	.cal__day { height: 80px; gap: 6px; }
	.cal__n { font-size: 24px; }

	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
	.grid-3.steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.index-row { grid-template-columns: 40px 1fr 28px; row-gap: 4px; padding: 16px 0; }
	.index-row__title { grid-column: 2; font-size: 15px; }
	.index-row__place { grid-column: 2; }
	.index-row .icon { grid-row: 1; grid-column: 3; }

	.feature__grid { grid-template-columns: 1fr; }
	.feature__text, .feature__visual, .feature--quote .about-logo, .feature--quote .feature__text { grid-column: 1 / -1; }
	.feature__visual { max-width: 420px; }

	.tiles:not(.tiles--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile { padding: 24px 16px; min-height: 0; }
	.tiles:not(.tiles--3) .tile { border-bottom: 1px solid var(--ink); }
	.tiles:not(.tiles--3) .tile:nth-child(odd) { padding-left: 0; }
	.tiles:not(.tiles--3) .tile:nth-child(even) { border-right: 0; padding-right: 0; }
	.tiles:not(.tiles--3) .tile:nth-last-child(-n+2) { border-bottom: 0; }
	.tiles--3 .tile { padding: 20px 10px; }
	.tiles--3 .tile:first-child { padding-left: 0; }
	.tiles--3 .tile:last-child { padding-right: 0; }
	.tiles--3 .tile .h-display { font-size: 28px; }
	.tile__text { font-size: 14px; }

	.chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex-shrink: 0; }
	.eyebrow .chips { margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }

	.event-row { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 14px 0; }
	.event-row .date-block { grid-row: span 3; height: 64px; }
	.date-block__d { font-size: 22px; }
	.event-row__type, .event-row__main, .event-row__meta { grid-column: 2; }
	.event-row__title { font-size: 20px; }
	.event-row__sub { font-size: 14px; }
	.event-row__meta { font-size: 11px; }
	.event-row .icon { display: none; }

	.map, .map--compact { grid-template-columns: 1fr; }
	.map__canvas, .map--compact .map__canvas, .map__list, .map--compact .map__list { grid-column: auto; }
	.map:not(.map--compact) .map__canvas { position: relative; top: 0; }
	.map__pin { width: 36px; height: 36px; font-size: 14px; }
	.map__label { font-size: 11px; }

	.abroad { grid-template-columns: 1fr; }
	.abroad__item { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--ink); flex-direction: row; justify-content: space-between; align-items: flex-end; font-size: 13px; }
	.abroad__item .h-display { font-size: 48px; }
	.abroad__item .mono { display: none; }

	.news { grid-template-columns: 1fr; gap: 24px; }
	.news__item--big { grid-column: auto; }
	.news__item:not(.news__item--big):not(.news__item--hero) { display: grid; grid-template-columns: 104px 1fr; gap: 6px 14px; border-top: 1px solid var(--ink); padding-top: 16px; }
	.news__item:not(.news__item--big):not(.news__item--hero) .media { grid-row: span 2; aspect-ratio: 1; }
	.news__item:not(.news__item--big):not(.news__item--hero) .news__title { font-size: 18px; }
	.news__item .media__ph { font-size: 0; }
	.news--archive .news__item--hero { grid-template-columns: 1fr; }

	.about__grid { grid-template-columns: 1fr; row-gap: 24px; }
	.about__logo, .about__text { grid-column: auto; }

	.newsletter__box { padding: 24px 20px; gap: 16px; }
	.newsletter__row { flex-direction: column; }

	.partners__group { grid-template-columns: 1fr; gap: 8px; }
	.partner { min-width: 0; flex: 1 1 30%; height: 64px; padding: 8px; font-size: 12px; }
	.partners__items--text { gap: 6px 14px; }
	.partners__items--text .partner { flex: 0 0 auto; font-size: 14px; }

	.site-footer { padding: 32px 0; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.site-footer__org .h-display { font-size: 32px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }

	.split, .split--pass, .split--poster { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.event-hero__grid, .event-hero--img .event-hero__grid { grid-template-columns: 1fr; }
	.event-hero__media .media--natural img { margin: 0; }
	.facts--rows > div { grid-template-columns: 1fr; }
	.authors { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
	.authors__group { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; row-gap: 12px; padding: 12px 0; }
	.authors__letter { grid-row: span 20; font-size: 44px; }
	.author__last { font-size: 22px; }
	.alphabet { font-size: 18px; }
	.years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.years__label { padding: 6px 8px; }
	.years__label .mono { display: none; }
	.poster-dialog__inner { grid-template-columns: 1fr; }
	.poster-dialog__img { padding: 16px; }
	.poster-dialog__img img { max-height: 60vh; }
	.poster-dialog__info { padding: 24px 20px; }
	.pass { padding: 24px 20px; min-height: 0; }
	.pass--wide { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
	.pass__main { min-width: 0; }
	.pass__main .h-display, .pass h2 { font-size: clamp(40px, 12.5vw, 72px); overflow-wrap: anywhere; hyphens: auto; }
	.pass__price { font-size: clamp(48px, 15vw, 72px); }
	.pass p { font-size: 16px; }
	.pass .btn { width: 100%; max-width: 100%; white-space: normal; text-align: center; font-size: 15px; min-height: 52px; padding: 12px 20px; line-height: 1.2; }
	.rocnik__grid > .h-display, .rocnik__body { grid-column: 1 / -1; }
	.pass__main, .pass__side { grid-column: 1 / -1; }
	.pass__side { align-items: stretch; text-align: left; }
	.pass__side .btn { justify-content: center; }
	.press-row { grid-template-columns: 1fr; gap: 4px; }
	.press-row .mono:last-child { display: none; }
	.media--wide { aspect-ratio: 4 / 5; }
	.media--natural { aspect-ratio: auto; }
	.wide-figure { padding: 0; margin-top: 24px; }
	.prose { font-size: 17px; }
	.prose .is-style-prices td:last-child { font-size: 26px; }
	.prose .wp-block-details summary { font-size: 17px; }
	.page-head__side { align-items: flex-start; }
}

@media (max-width: 600px) {
	.grid-3 { gap: 32px 12px; }
	.grid-3.steps { gap: 28px; }
	/* Veľké nadpisy: menšie a dlhé slová sa radšej zalomia, než by pretiekli */
	.h-display { overflow-wrap: break-word; hyphens: auto; }
	.h-display--xxl { font-size: clamp(40px, 14vw, 76px); }
	.h-display--xl { font-size: clamp(36px, 12vw, 56px); }
	.hero__title { font-size: clamp(48px, 18vw, 80px); overflow-wrap: break-word; }
	.steps .h-display--m { font-size: clamp(22px, 7vw, 30px); }
	.card__artist { font-size: 13px; }
	.card__title { font-size: 20px; }
	.card__meta { font-size: 11px; }
	.tag { font-size: 10px; padding: 3px 6px; }
	.cards--now { grid-template-columns: 1fr; }
	.cards--now .card__title { font-size: 30px; }
	.btn { min-height: 52px; font-size: 16px; }
	.hero .btn-row { flex-direction: column; }
	.hero .btn-row .btn { width: 100%; }
	.mobile-menu__list a { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Pripravujeme (under construction) ---------- */
.soon-page { background: var(--accent); }
.soon { min-height: 100vh; min-height: 100svh; box-sizing: border-box; background: var(--accent); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px, 4vh, 48px); padding: clamp(24px, 6vh, 64px) var(--gutter); text-align: center; }
.soon__visual { margin: 0; width: 100%; display: flex; justify-content: center; }
.soon__visual img { width: auto; max-width: min(100%, 1100px); max-height: 68vh; object-fit: contain; display: block; }
.soon__ph { display: flex; align-items: center; justify-content: center; width: min(100%, 520px); aspect-ratio: 3 / 4; max-height: 68vh; background: color-mix(in srgb, var(--ink) 25%, var(--accent)); font-family: var(--f-mono); font-size: 13px; }
.soon__text { margin: 0; font-family: var(--f-display); font-weight: var(--w-display); text-transform: uppercase; font-size: clamp(36px, 6vw, 88px); line-height: .9; letter-spacing: -.005em; max-width: 14em; }
