/* =========================================================================
   MDP – styly webu
   Nejdřív telefon, od 640 px tablet, od 960 px počítač.
   Barvy z vizuální identity: oranžová #EE9221, petrolejová #0B5559.
   ========================================================================= */

:root {
	--orange: #EE9221;
	--orange-600: #D9800F;
	--on-orange: #231302;
	--teal: #0B5559;
	--teal-800: #073F42;
	--on-teal: #F3FAF9;
	--on-teal-2: #B9D5D3;
	--wa: #25D366;
	--wa-600: #1EBE5A;
	--on-wa: #0B2A17;

	--bg: #FFFAF5;
	--surface: #FFFFFF;
	--sand: #FCEEDF;
	--ink: #14262A;
	--muted: #56676A;
	--line: rgba(20, 38, 42, .12);
	--link: #0B5559;
	--chip-mix: 58%;

	--leaf-bg: #FFFFFF;
	--leaf-ink: #14262A;
	--leaf-muted: #56676A;

	--t: #EE9221;

	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r-s: 10px;
	--r-m: 16px;
	--r-l: 22px;
	--r-xl: 32px;
	--shadow: 0 1px 2px rgba(20, 38, 42, .06), 0 12px 32px -14px rgba(20, 38, 42, .25);
	--gutter: 20px;
	--max: 1180px;
	--header-h: 60px;
	--tabbar-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root[data-scheme="auto"] {
		--teal: #0E5E62;
		--teal-800: #0A4548;
		--bg: #0C1A1C;
		--surface: #132629;
		--sand: #1A2E30;
		--ink: #E7F0EF;
		--muted: #9DB2B1;
		--line: rgba(231, 240, 239, .13);
		--link: #7FCDC7;
		--chip-mix: 40%;
		--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -14px rgba(0, 0, 0, .7);
		color-scheme: dark;
	}
}

/* Barvy typů akcí */
.t-orange { --t: #EE9221; }
.t-teal   { --t: #0B8A8F; }
.t-gold   { --t: #C9952B; }
.t-green  { --t: #3E8E41; }
.t-purple { --t: #7B5EA7; }
.t-red    { --t: #C8473C; }
.t-blue   { --t: #3570B0; }

/* -------------------------------------------------------------------------
   Základ
   ------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background: var(--bg);
	scroll-padding-top: calc(var(--header-h) + 72px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 1rem/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--tabbar-h) + var(--safe-b));
	overflow-x: hidden;
}

body.has-actionbar { padding-bottom: calc(80px + var(--safe-b)); }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
h1 { font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
	border-radius: 8px;
}

.sr-only {
	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: fixed;
	left: 12px;
	top: -60px;
	z-index: 200;
	background: var(--surface);
	color: var(--ink);
	padding: 10px 16px;
	border-radius: var(--r-s);
	box-shadow: var(--shadow);
	font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 800px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }

/* -------------------------------------------------------------------------
   Tlačítka, štítky, ikony
   ------------------------------------------------------------------------- */

.ico { flex: none; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	background: none;
	color: inherit;
	font: 600 .95rem/1.1 var(--font);
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); color: var(--on-teal); }
.btn--light:hover { background: rgba(255, 255, 255, .18); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--sand); }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px 5px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--t) 15%, var(--surface));
	color: color-mix(in srgb, var(--t) var(--chip-mix), var(--ink));
	font: 600 .68rem/1 var(--font);
	letter-spacing: .07em;
	text-transform: uppercase;
	white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
.chip--on-dark { background: rgba(255, 255, 255, .12); color: var(--on-teal); }
.chip--past { --t: var(--muted); }
.chip--cancelled { --t: #C8473C; }

.count {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--orange);
	color: var(--on-orange);
	font: 600 .8rem/1 var(--font);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* Kalendářní lístek */
.leaf {
	flex: none;
	display: flex;
	flex-direction: column;
	width: 84px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--leaf-bg);
	color: var(--leaf-ink);
	text-align: center;
	box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45);
}
.leaf__m {
	background: var(--orange);
	color: var(--on-orange);
	font: 600 .64rem/1 var(--font);
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 6px 4px;
}
.leaf__d {
	font: 700 2.3rem/1 var(--font);
	letter-spacing: -.03em;
	padding: 9px 4px 2px;
	font-variant-numeric: tabular-nums;
}
.leaf__w { font: 400 .7rem/1 var(--font); color: var(--leaf-muted); padding: 3px 4px 10px; }
.leaf--range .leaf__d { font-size: 1.25rem; padding: 14px 2px 6px; letter-spacing: -.02em; }
.leaf--tba .leaf__d { color: var(--leaf-muted); }
.leaf--s { width: 54px; border-radius: 12px; box-shadow: none; border: 1px solid var(--line); }
.leaf--s .leaf__m { font-size: .58rem; padding: 4px 2px; }
.leaf--s .leaf__d { font-size: 1.4rem; padding: 6px 2px 7px; }
.leaf--s.leaf--range .leaf__d { font-size: .82rem; padding: 10px 1px; letter-spacing: -.03em; }

/* -------------------------------------------------------------------------
   Hlavička
   ------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top, 0px);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__in {
	display: flex;
	align-items: center;
	gap: 10px;
	height: var(--header-h);
}

.back-btn { margin-left: -10px; }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--orange);
	text-decoration: none;
	min-width: 0;
}
.brand__mark { width: auto; height: 30px; flex: none; }
.brand__text {
	color: var(--link);
	font: 600 .72rem/1.15 var(--font);
	letter-spacing: .01em;
	white-space: nowrap;
}

.site-nav { display: none; }
.header-cta { display: none; }
.header-tools { margin-left: auto; display: flex; align-items: center; margin-right: -10px; }

/* -------------------------------------------------------------------------
   Spodní navigace a panely
   ------------------------------------------------------------------------- */

.tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-bottom: var(--safe-b);
	padding-left: env(safe-area-inset-left, 0px);
	padding-right: env(safe-area-inset-right, 0px);
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(16px);
	backdrop-filter: saturate(1.4) blur(16px);
	border-top: 1px solid var(--line);
}
.tabbar a,
.tabbar button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: var(--tabbar-h);
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	font: 600 .68rem/1 var(--font);
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.tabbar__ico {
	display: grid;
	place-items: center;
	width: 56px;
	height: 30px;
	border-radius: 999px;
	transition: background-color .2s;
}
.tabbar [aria-current="page"],
.tabbar .is-active { color: var(--ink); }
.tabbar [aria-current="page"] .tabbar__ico,
.tabbar .is-active .tabbar__ico { background: color-mix(in srgb, var(--orange) 28%, transparent); }
body.has-actionbar .tabbar { display: none; }

dialog.sheet {
	width: 100%;
	max-width: 100%;
	max-height: 88dvh;
	margin: auto 0 0;
	padding: 0 0 var(--safe-b);
	border: 0;
	border-radius: 24px 24px 0 0;
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
	overflow-y: auto;
	overscroll-behavior: contain;
}
dialog.sheet[open] { animation: sheet-in .24s cubic-bezier(.2, .8, .2, 1); }
dialog.sheet::backdrop { background: rgba(6, 18, 20, .5); }
@keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } }

.sheet__grab { width: 40px; height: 5px; margin: 10px auto 2px; border-radius: 99px; background: var(--line); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 12px 6px 20px; }
.sheet__title { font-size: 1.15rem; }
.sheet__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 0 20px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
}
.sheet__nav a[aria-current="page"] { color: var(--link); }
.sheet__nav .ico { color: var(--muted); }
.sheet__social { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 8px; border-top: 1px solid var(--line); }
.sheet__list { padding: 4px 0 12px; }
.sheet__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}
.sheet__item strong { display: block; font-weight: 600; }
.sheet__item small { display: block; color: var(--muted); font-size: .82rem; }
.sheet__item .ico { color: var(--muted); }
.sheet__item--last { margin-bottom: 8px; }
.sheet__body { padding: 0 20px 24px; display: grid; gap: 10px; }
.sheet__photo { width: 150px; height: auto; aspect-ratio: 9 / 16; border-radius: var(--r-m); object-fit: cover; }

@media (min-width: 640px) {
	dialog.sheet {
		margin: auto;
		max-width: 480px;
		border-radius: 24px;
		padding-bottom: 8px;
	}
	.sheet__grab { visibility: hidden; height: 0; margin: 8px 0 0; }
}

.toast {
	position: fixed;
	left: 50%;
	bottom: calc(var(--tabbar-h) + 16px + var(--safe-b));
	z-index: 300;
	transform: translateX(-50%);
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--bg);
	font-size: .88rem;
	font-weight: 600;
	box-shadow: var(--shadow);
	animation: sheet-in .2s ease-out;
}

/* -------------------------------------------------------------------------
   Karta „Příští akce“
   ------------------------------------------------------------------------- */

.home-hero { padding-top: 14px; }

.next {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: 20px 18px 18px;
	border-radius: var(--r-l);
	background: linear-gradient(155deg, var(--teal) 0%, var(--teal-800) 100%);
	color: var(--on-teal);
	box-shadow: var(--shadow);
}
.cross-deco {
	position: absolute;
	right: -18px;
	top: -14px;
	z-index: -1;
	width: 120px;
	height: auto;
	fill: var(--orange);
	opacity: .14;
}
.next__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.next__label {
	color: var(--on-teal-2);
	font: 600 .7rem/1 var(--font);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.next__title-row { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.next__titles { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.next__title { font-size: 1.6rem; line-height: 1.1; letter-spacing: -.02em; color: var(--on-teal); }
.next__title a { color: inherit; text-decoration: none; }
.next__sub { color: #F6C27A; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.next__lead { margin-top: 10px; color: var(--on-teal-2); max-width: 46ch; }

.facts { margin: 0; display: grid; gap: 10px; }
.facts > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.facts dt {
	color: var(--muted);
	font: 600 .66rem/1.6 var(--font);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.facts dd { margin: 0; font-size: .97rem; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.facts dd small { display: block; color: var(--muted); font-size: .84rem; }
.facts--on-dark { margin-top: 18px; }
/* Údaje + malý náhled plakátu (telefon a tablet). Popisky nad hodnotami, aby se vešly vedle plakátu. */
.next__body { display: flex; align-items: flex-start; gap: 14px; }
.next__body .facts { flex: 1; min-width: 0; }
.next__body--thumb .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.next__thumb { flex: none; width: 84px; margin-top: 18px; border-radius: 10px; overflow: hidden; background: var(--sand); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); transform: rotate(2deg); }
.next__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: contain; }
.facts--on-dark dt { color: var(--on-teal-2); }

.next__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.next__actions .btn { min-height: 46px; padding: 0 8px; font-size: .84rem; gap: 6px; }
.next__actions .next__main { grid-column: 1 / -1; font-size: .95rem; min-height: 50px; }
.next__actions--empty { display: flex; flex-wrap: wrap; }
.next__actions--empty .btn { padding: 0 18px; }
.next__poster { display: none; }
.next--empty { padding-bottom: 22px; }
.next--empty .next__title { margin-top: 12px; }

/* -------------------------------------------------------------------------
   Sekce a seznamy
   ------------------------------------------------------------------------- */

.section { padding-block: 28px 4px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section__title { font-size: 1.3rem; }
.section__lead { margin: -4px 0 16px; max-width: 60ch; }
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--link);
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	white-space: nowrap;
}

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 10px 12px 10px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	background: var(--surface);
	color: inherit;
	text-decoration: none;
	transition: border-color .15s, transform .1s;
}
.row:hover { border-color: color-mix(in srgb, var(--t) 55%, var(--line)); }
.row:active { transform: scale(.99); }
.row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.row__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.row__title { font-weight: 600; font-size: 1rem; line-height: 1.3; }
.row__meta { color: var(--muted); font-size: .82rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.row__arrow { color: var(--muted); display: grid; }
.row--muted .leaf { opacity: .7; }

.subscribe { margin-top: 14px; }
.subscribe a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; text-decoration: none; }

/* Vodorovně posuvné karty (Co děláme na úvodu) */
.rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	margin-inline: calc(-1 * var(--gutter));
	padding: 2px var(--gutter) 8px;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	background: var(--surface);
	color: inherit;
	text-decoration: none;
}
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--sand); }
.card__img--ph { display: grid; place-items: center; color: var(--orange); }
.card__img--ph svg { width: 40%; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 18px; }
.card__title { font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.card__rhythm { color: var(--link); font-weight: 600; font-size: .86rem; }
.card__text { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cards { display: grid; gap: 14px; }

/* Kdo jsme (úvod): společná fotka celá, bez ořezu */
.who__img { margin: 0 0 14px; }
.who__img img { display: block; width: 100%; height: auto; border-radius: var(--r-l); }
.who__text { font-size: 1.05rem; line-height: 1.6; max-width: 62ch; }

/* Jsi tu poprvé? */
.welcome { display: grid; gap: 18px; padding: 22px 20px; border-radius: var(--r-l); background: var(--sand); }
.welcome__title { font-size: 1.3rem; }
.welcome__items { display: grid; gap: 16px; }
.welcome__item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.welcome__item h3 { font-size: 1rem; margin-bottom: 2px; }
.welcome__item p { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.welcome__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--on-orange); }
.welcome__btn { justify-self: start; }

.stay { display: grid; gap: 10px; margin-top: 14px; }
.stay--top { margin: 0 0 20px; }

/* WhatsApp komunita (úvod, Kontakt) */
.community {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 16px 14px;
	align-items: center;
	padding: 20px;
	border-radius: var(--r-l);
	border: 1px solid color-mix(in srgb, var(--wa) 30%, transparent);
	background: color-mix(in srgb, var(--wa) 8%, var(--surface));
}
.community--top { margin-bottom: 20px; }
.community__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wa); color: var(--on-wa); }
.community__title { font-size: 1.15rem; line-height: 1.3; }
.community__text { margin-top: 4px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.community__btn { grid-column: 1 / -1; }
.btn--wa { background: var(--wa); color: var(--on-wa); }
.btn--wa:hover { background: var(--wa-600); }

/* -------------------------------------------------------------------------
   Patička
   ------------------------------------------------------------------------- */

.site-footer {
	margin-top: 48px;
	padding: 36px 0 28px;
	background: var(--teal-800);
	color: var(--on-teal);
}
.site-footer a { color: var(--on-teal); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__in { display: grid; gap: 26px; }
.site-footer__brand { display: grid; gap: 10px; }
.site-footer__mark { width: 84px; height: auto; color: var(--orange); }
.site-footer__brand p { color: var(--on-teal-2); font-size: .9rem; max-width: 36ch; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.site-footer__nav a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.site-footer__small { color: var(--on-teal-2); font-size: .8rem; }
.site-footer__small a { color: var(--on-teal-2); }

/* -------------------------------------------------------------------------
   Stránky
   ------------------------------------------------------------------------- */

.page-head { padding-block: 22px 10px; display: grid; gap: 10px; }
.page__img img { border-radius: var(--r-l); width: 100%; }
.crumb { display: none; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; text-decoration: none; }
.empty { padding: 28px 20px; border: 1px dashed var(--line); border-radius: var(--r-l); text-align: center; color: var(--muted); display: grid; gap: 6px; }
.empty strong { color: var(--ink); }

.notice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0;
	padding: 12px 16px;
	border-radius: var(--r-m);
	background: var(--sand);
	font-size: .93rem;
}
.notice--bad { background: color-mix(in srgb, #C8473C 14%, var(--surface)); }

/* Obsah z editoru */
.prose { font-size: 1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.3rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .3em; }
.prose img { border-radius: var(--r-m); }
.prose figure { margin-inline: 0; }
.prose blockquote,
.prose .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 18px;
	border-left: 4px solid var(--orange);
	font-size: 1.05rem;
}
.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--orange);
	color: var(--on-orange);
	font-weight: 600;
	text-decoration: none;
}
.prose details,
.wp-block-details {
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	background: var(--surface);
	padding: 0 16px;
}
.prose details + details { margin-top: 8px; }
.prose summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.prose details[open] summary::after { content: "–"; }
.prose details > :last-child { margin-bottom: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }

/* Detail akce */
.event__head { padding-top: 18px; display: grid; gap: 10px; justify-items: start; }
.event__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event__title { font-size: 1.9rem; line-height: 1.12; }
.event__sub { color: var(--muted); font-size: 1.05rem; font-weight: 600; }
.event__layout { display: grid; gap: 20px; margin-top: 18px; }
.event__main { display: grid; gap: 22px; min-width: 0; }
.facts-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.event__actions { display: none; }
.block { display: grid; gap: 12px; }
.block__title { font-size: 1.1rem; }

.program { list-style: none; margin: 0; padding: 0; }
.program li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.program li:last-child { border-bottom: 1px solid var(--line); }
.program__time { color: var(--link); font-weight: 600; font-variant-numeric: tabular-nums; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ico { color: var(--orange); margin-top: 3px; }

.poster { margin: 0; display: grid; gap: 10px; justify-items: center; }
/* Plakáty jsou A4 na výšku; jiný poměr se zmenší celý, nic se neořízne. */
.poster img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 210 / 297; object-fit: contain; background: var(--sand); border-radius: var(--r-m); box-shadow: var(--shadow); }
.poster figcaption a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; text-decoration: none; }

.lead-card { display: flex; align-items: center; gap: 14px; }
.lead-card small { display: block; color: var(--muted); }
.lead-card__links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: .9rem; }
/* Fotky lidí 9 : 16 i v malém */
.avatar { width: 54px; height: 96px; border-radius: 12px; object-fit: cover; flex: none; }
.avatar--ph { display: grid; place-items: center; background: var(--sand); color: var(--link); font-weight: 700; font-size: 1.3rem; }

.actionbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: flex;
	gap: 8px;
	padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + var(--safe-b)) max(14px, env(safe-area-inset-left, 0px));
	background: color-mix(in srgb, var(--surface) 94%, transparent);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-top: 1px solid var(--line);
}
.actionbar__main { flex: 1; }
.actionbar__icon { width: 52px; padding: 0; flex: none; }

/* Akce: přepínač, filtry, měsíce, kalendář, archiv */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sand); }
.tabs a {
	flex: 1;
	padding: 10px 6px;
	border-radius: 999px;
	color: var(--muted);
	font-weight: 600;
	font-size: .88rem;
	text-align: center;
	text-decoration: none;
}
.tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }

.filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	margin-inline: calc(-1 * var(--gutter));
	padding: 4px var(--gutter);
	scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 600;
	font-size: .85rem;
	text-decoration: none;
	white-space: nowrap;
}
.filter[class*="t-"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t); }
.filter[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.months { display: grid; gap: 6px; }
.month__empty { padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r-m); color: var(--muted); font-size: .9rem; }
.month__title {
	position: sticky;
	top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
	z-index: 2;
	padding: 14px 0 8px;
	background: var(--bg);
	color: var(--muted);
	font: 600 .74rem/1 var(--font);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.cal { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal__title { font-size: 1.1rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.cal__dow { padding: 6px 0; color: var(--muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.cal__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	aspect-ratio: 1;
	border-radius: 12px;
	color: var(--ink);
	font-size: .92rem;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}
.cal__day--out { opacity: .35; }
.cal__day--has { background: var(--sand); font-weight: 600; }
.cal__day--today { box-shadow: inset 0 0 0 2px var(--orange); }
.cal__dots { display: flex; gap: 3px; }
.cal__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--t); }
.cal__list { margin-top: 16px; }

.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}
.search .btn { width: 48px; padding: 0; flex: none; }

.year { border-top: 1px solid var(--line); }
.year:last-of-type { border-bottom: 1px solid var(--line); }
.year summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.year summary::-webkit-details-marker { display: none; }
.year__count { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .88rem; }
.year summary .ico { transition: transform .2s; color: var(--muted); }
.year[open] summary .ico { transform: rotate(180deg); }
.year .rows { padding-bottom: 16px; }

/* Zástupná grafika bez fotky */
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--orange); }
.ph svg { width: 45%; }

/* Stránka Fotky (Zonerama) */
.photos__cta {
	display: grid;
	gap: 16px;
	justify-items: start;
	margin-top: 8px;
	padding: 24px 20px;
	border-radius: var(--r-l);
	background: linear-gradient(155deg, var(--teal) 0%, var(--teal-800) 100%);
	color: var(--on-teal);
	box-shadow: var(--shadow);
}
.photos__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--on-orange); }
.photos__text { font-size: 1.05rem; line-height: 1.6; }
.photos__text .prose,
.photos__text .prose a { color: inherit; }

/* Formát akce */
.format__hero { padding-top: 14px; display: grid; gap: 16px; }
.format__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-l); }
.format__titles { display: grid; gap: 8px; justify-items: start; }
.format__rhythm { color: var(--link); font-weight: 600; font-size: 1.05rem; }
.format__layout { display: grid; gap: 24px; margin-top: 18px; }
.format__main { display: grid; gap: 22px; min-width: 0; }
.format__aside section { display: grid; gap: 12px; }

/* O nás */
.subnav {
	position: sticky;
	top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
	z-index: 5;
	background: color-mix(in srgb, var(--bg) 94%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.subnav__in { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.about__img { margin-block: 16px; }
.about__img img { width: 100%; border-radius: var(--r-l); }
.about .prose { margin-top: 18px; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.person {
	display: grid;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.person__img { display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r-l); background: var(--sand); }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.person:hover .person__img img { transform: scale(1.03); }
.person__name { font-weight: 600; line-height: 1.3; }
.person__line { color: var(--muted); font-size: .82rem; line-height: 1.4; }

/* Kontakt */
.contacts { display: grid; gap: 12px; }
.contact { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.contact__head { display: flex; align-items: center; gap: 14px; }
.contact__topic { color: var(--link); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact__name { font-size: 1.1rem; }
.contact__role { color: var(--muted); font-size: .88rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__actions .btn { max-width: 100%; }
.contact__actions .btn span { overflow: hidden; text-overflow: ellipsis; }

/* Ostatní */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.post-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: inherit; text-decoration: none; }
.post-list span { color: var(--muted); font-size: .88rem; }

.offline__in { min-height: 100dvh; display: grid; place-content: center; gap: 14px; text-align: center; justify-items: center; }
.offline__mark { width: 120px; color: var(--orange); }

/* Prohlížeč fotek */
dialog.lb {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(4, 10, 11, .96);
	color: #FFFFFF;
	overflow: hidden;
}
dialog.lb::backdrop { background: rgba(4, 10, 11, .96); }
.lb__stage { position: absolute; inset: 56px 0 env(safe-area-inset-bottom, 0px); display: grid; place-items: center; margin: 0; touch-action: pan-y pinch-zoom; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__bar { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: env(safe-area-inset-top, 0px) 8px 0 18px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb .icon-btn { color: #FFFFFF; }
.lb .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); display: none; }
.lb__prev { left: 10px; }
.lb__next { right: 10px; }

/* -------------------------------------------------------------------------
   Tablet
   ------------------------------------------------------------------------- */

@media (min-width: 640px) {
	:root { --gutter: 28px; }
	.rail { grid-auto-columns: 44%; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.stay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.photos__cta { padding: 32px; }
	.next__body--thumb .facts > div { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
	.next__thumb { width: 104px; }
	.photos__btn { width: auto; }
	.welcome__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.community { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; padding: 22px 26px; }
	.community__ico { width: 52px; height: 52px; }
	.community__btn { grid-column: auto; }
	.next__actions { display: flex; flex-wrap: wrap; }
	.next__actions .btn { padding: 0 18px; font-size: .9rem; }
	.next__actions .next__main { flex: 1 1 100%; }
	.lb__prev, .lb__next { display: inline-grid; }
}

/* -------------------------------------------------------------------------
   Počítač
   ------------------------------------------------------------------------- */

@media (min-width: 960px) {
	:root { --header-h: 72px; --gutter: 32px; }
	body, body.has-actionbar { padding-bottom: 0; }
	.tabbar, .actionbar, .back-btn { display: none; }

	h1 { font-size: 2.6rem; }
	.section { padding-block: 56px 8px; }
	.section__title { font-size: 1.75rem; }
	.section__head { margin-bottom: 20px; }

	.site-header__in { gap: 24px; }
	.brand__mark { height: 36px; }
	.brand__text { font-size: .78rem; }
	.site-nav { display: block; margin-left: auto; }
	.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
	.site-nav a {
		display: block;
		padding: 9px 14px;
		border-radius: 999px;
		color: var(--ink);
		font-weight: 600;
		font-size: .95rem;
		text-decoration: none;
	}
	.site-nav a:hover { background: var(--sand); }
	.site-nav a[aria-current="page"] { color: var(--link); background: color-mix(in srgb, var(--teal) 10%, transparent); }
	.header-cta { display: inline-flex; }
	.header-tools { margin-left: 0; }

	.home-hero { padding-top: 28px; }
	.next { padding: 44px 48px; border-radius: var(--r-xl); }
	.next__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; }
	.next__title-row { gap: 24px; margin-top: 22px; }
	.next__title { font-size: 2.8rem; }
	.next__sub { font-size: 1.1rem; }
	/* Jen velký lístek; malý v řádcích akcí (.leaf--s) zůstává 54 px, jinak by překryl název. */
	.leaf:not(.leaf--s) { width: 104px; border-radius: 18px; }
	.leaf:not(.leaf--s) .leaf__m { font-size: .72rem; padding: 7px 4px; }
	.leaf:not(.leaf--s) .leaf__d { font-size: 3rem; }
	.leaf--range:not(.leaf--s) .leaf__d { font-size: 1.55rem; padding: 18px 2px 8px; }
	.facts--on-dark { margin-top: 26px; }
	.facts > div { grid-template-columns: 96px minmax(0, 1fr); }
	.facts dd { font-size: 1.05rem; }
	.next__actions { margin-top: 28px; gap: 10px; }
	.next__actions .next__main { flex: 0 0 auto; }
	.next__poster { display: block; }
	.next__thumb { display: none; }
	.next__body--thumb .facts > div { grid-template-columns: 96px minmax(0, 1fr); }
	.next__poster img { width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: contain; background: var(--sand); border-radius: var(--r-m); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); transform: rotate(1.5deg); }
	.cross-deco { width: 200px; right: -30px; top: -24px; }

	.rows--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; }
	.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.who__img { margin-bottom: 20px; }
	.who__text { font-size: 1.2rem; }
	.welcome { padding: 36px 40px; grid-template-columns: 1fr; }
	.welcome__title { font-size: 1.75rem; }
	.community { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 24px; padding: 28px 36px; }
	.community__ico { width: 60px; height: 60px; }
	.community__title { font-size: 1.35rem; }
	.community__text { font-size: 1rem; }
	.stay { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.page-head { padding-block: 40px 16px; }
	.crumb { display: inline-flex; }

	.event__head { padding-top: 32px; }
	.event__title { font-size: 2.8rem; }
	.event__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
	.event__aside { position: sticky; top: calc(var(--header-h) + 24px); }
	.event__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
	.event__actions .btn--block { width: auto; }
	.facts-card { padding: 24px; }

	.people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }

	.format__hero { padding-top: 28px; }
	.format__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
	.format__aside { position: sticky; top: calc(var(--header-h) + 24px); }

	.site-footer { margin-top: 72px; padding: 56px 0 36px; }
	.site-footer__in { grid-template-columns: 1fr 1.4fr; gap: 40px; }
	.site-footer__small { grid-column: 1 / -1; }

	.toast { bottom: 28px; }
}

/* Omezení pohybu podle nastavení zařízení */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
