/* ==========================================================================
   Vajanova z.s. – sdílený stylopis
   Barvy a písma se mění na jednom místě: v :root níže.
   Každý projekt má svou barvu (--c-…), stejnou jako lístek v logu.
   ========================================================================== */

:root {
  /* Barvy projektů = lístky květu v logu */
  --c-divadlo: #e8505b;   /* korálová */
  --c-kino: #00a79d;      /* tyrkysová – barva nápisu VAJANOVO z vajanovo.cz */
  --c-atefa: #f29e2e;     /* oranžová */
  --c-nebe: #3b7dd8;      /* modrá – obloha */
  --c-art: #9257d6;       /* fialová */
  --c-namiru: #6aa121;    /* svěží zelená */

  --ink: #2a2340;         /* tmavý inkoust – text, patička */
  --bg: #fffaf2;          /* teplý papír */
  --surface: #ffffff;
  --surface-2: #fff1df;   /* broskvová */
  --text: #2a2340;
  --text-soft: #5f5875;
  --line: #efe2cf;
  --link: #c43a45;
  --focus: #3b7dd8;
  --accent: var(--c-divadlo);

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --font-kino: "Kameron", Georgia, "Times New Roman", serif; /* písmo nápisu na vajanovo.cz */
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 20px;
  --shadow: 0 1px 2px rgba(42, 35, 64, .06), 0 10px 30px rgba(42, 35, 64, .08);
  --wrap: 1160px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1726;
    --surface: #251f34;
    --surface-2: #2d2640;
    --text: #f2eefa;
    --text-soft: #b9b2cc;
    --line: #3a3250;
    --link: #ff8a92;
    --focus: #8fb8ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 90px; } /* kotvy nezajedou pod lepivou hlavičku */
a { color: var(--link); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 720px) { .wrap { padding-left: 28px; padding-right: 28px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.todo {
  background: #fff1a8; color: #4a3b00; padding: 0 .35em; border-radius: 5px;
  font-size: .88em; font-weight: 700; font-family: var(--font-body); letter-spacing: 0;
}

/* Ručně psaná poznámka */
.hand {
  font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.1;
  color: var(--accent);
}

/* ---------- Hlavička a menu ---------- */
.site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; min-height: 70px;
}
.logo {
  color: var(--text); text-decoration: none; font-family: var(--font-head);
  font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em;
  display: flex; align-items: center; gap: .4em;
}
.logo small { font-size: .62em; color: var(--text-soft); font-weight: 600; letter-spacing: 0; }
.logo svg { width: 40px; height: 40px; flex: none; transition: transform .6s ease; }
.logo:hover svg { transform: rotate(60deg); }

.nav-toggle {
  display: none;
  background: var(--surface); color: var(--text); border: 2px solid var(--line);
  border-radius: 999px; padding: 6px 16px; font: inherit; font-weight: 700; cursor: pointer;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav a {
  display: block; color: var(--text); text-decoration: none; padding: 8px 14px;
  border-radius: 999px; font-weight: 700;
}
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) {
  .main-nav a[aria-current="page"] { background: #fff; color: var(--ink); }
}

/* Bez JS je menu vždy vidět (zalomí se). S JS se na mobilu skládá pod tlačítko. */
@media (max-width: 799px) {
  .js .nav-toggle { display: inline-block; }
  .js .main-nav { display: none; width: 100%; padding-bottom: 12px; }
  .js .main-nav.is-open { display: block; }
  .js .main-nav ul { flex-direction: column; }
}

/* Podmenu sekce Divadlo */
.subnav { background: var(--c-divadlo); }
.subnav ul {
  list-style: none; margin: 0; padding: 8px 0; display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: thin;
}
.subnav a {
  display: block; white-space: nowrap; color: #fff; text-decoration: none;
  padding: 6px 14px; border-radius: 999px; font-size: .95rem; font-weight: 700; opacity: .92;
}
.subnav a:hover { background: rgba(255,255,255,.18); opacity: 1; }
.subnav a[aria-current="page"] { background: #fff; color: var(--c-divadlo); opacity: 1; }

/* ---------- Úvodní blok (hero) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--c-atefa) 30%, transparent) 0, transparent 26%),
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--c-kino) 24%, transparent) 0, transparent 28%),
    radial-gradient(circle at 85% 95%, color-mix(in srgb, var(--c-art) 22%, transparent) 0, transparent 30%),
    radial-gradient(circle at 12% 100%, color-mix(in srgb, var(--c-namiru) 20%, transparent) 0, transparent 28%),
    var(--bg);
  padding: 56px 0 64px;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 18ch; }
.hero .lead { color: var(--text-soft); max-width: 60ch; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero--photo .hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .hero--photo .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(42,35,64,.22);
  border: 8px solid #fff; transform: rotate(2deg); margin: 0;
}

/* Zvýrazněné slovo – jako fixou */
.marker {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--c-atefa) 55%, transparent) 58%, color-mix(in srgb, var(--c-atefa) 55%, transparent) 92%, transparent 92%);
  padding: 0 .08em;
}

/* Úvodní blok podstránek */
.page-hero {
  --tone: var(--c-art);
  position: relative; overflow: hidden; padding: 48px 0 44px;
  background:
    radial-gradient(circle at 95% -10%, color-mix(in srgb, var(--tone) 30%, transparent) 0, transparent 40%),
    radial-gradient(circle at 0% 120%, color-mix(in srgb, var(--c-atefa) 22%, transparent) 0, transparent 35%),
    var(--surface-2);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero p { color: var(--text-soft); max-width: 62ch; margin: 0; font-size: 1.12rem; }
.page-hero--divadlo { --tone: var(--c-divadlo); }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7em;
}

/* ---------- Rozcestník projektů ---------- */
.hub {
  display: grid; gap: 14px; margin-top: 30px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
}
.hub-tile {
  --c: var(--c-divadlo);
  position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center;
  column-gap: 16px; row-gap: 10px;
  padding: 18px 20px; border-radius: var(--radius); text-decoration: none;
  background: var(--c); color: #fff; overflow: hidden;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hub-tile::after { /* bublina v rohu */
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .3s ease;
}
.hub-tile:hover { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 14px 30px color-mix(in srgb, var(--c) 45%, transparent); }
.hub-tile:hover::after { transform: scale(1.35); }
.hub-icon {
  grid-row: span 2; align-self: start;
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255,255,255,.22);
}
.hub-icon svg { width: 30px; height: 30px; }
.hub-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hub-text strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.15; font-weight: 800; }
.hub-text span { display: block; font-size: .95rem; opacity: .95; line-height: 1.35; margin-top: 2px; }
.hub-go {
  grid-column: 2; justify-self: start;
  position: relative; z-index: 1; font-size: .8rem; font-weight: 800;
  background: rgba(255,255,255,.95); color: var(--c); border-radius: 999px; padding: 5px 11px;
  white-space: nowrap;
}
.hub-tile--divadlo { --c: var(--c-divadlo); }
.hub-tile--kino { --c: var(--c-kino); }
.hub-tile--kino .hub-text strong { /* stejný styl jako nápis VAJANOVO na vajanovo.cz */
  font-family: var(--font-kino); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; font-size: 1.3rem; line-height: 1.05;
}
.hub-tile--atefa { --c: #e08712; }
.hub-tile--nebe { --c: #3470cc; }
.hub-tile--art { --c: var(--c-art); }
.hub-tile--namiru { --c: #5b8f1c; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; line-height: 1.2; cursor: pointer; font: inherit; font-weight: 800;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-red { background: var(--c-divadlo); color: #fff; }
.btn-primary:hover, .btn-red:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--c-divadlo) 40%, transparent); }
.btn-ghost, .btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-ghost:hover, .btn-outline:hover { background: var(--surface); }
.btn-small { padding: 8px 16px; font-size: .95rem; }

/* ---------- Sekce ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--surface-2); }
.section-head { max-width: 700px; margin-bottom: 32px; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }

/* Zastřešení – spolek nahoře, projekty pod ním */
.umbrella { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .umbrella { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pillars li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--surface);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
}
.pillars .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 7px; }
.pillars strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.pillars span { color: var(--text-soft); font-size: .97rem; }

/* ---------- Karty (projekty, rozcestník divadla) ---------- */
.projects { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.project {
  --accent: var(--c-divadlo);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border-top: 6px solid var(--accent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translateY(-4px); }
.project h3 { margin: 0; }
.project p { margin: 0; color: var(--text-soft); flex: 1; }
.project .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent);
}
.project .icon svg { width: 30px; height: 30px; }
.project .btn { align-self: flex-start; margin-top: 8px; background: var(--accent); color: #fff; }
.project .domain { font-size: .85rem; color: var(--text-soft); }
.project--home { --accent: var(--ink); }
.project--divadlo { --accent: var(--c-divadlo); }
.project--kino { --accent: var(--c-kino); }
.project--atefa { --accent: #e08712; }
.project--nebe { --accent: #3470cc; }
.project--art { --accent: var(--c-art); }
.project--namiru { --accent: #5b8f1c; }
@media (prefers-color-scheme: dark) { .project--home { --accent: #c9c0e6; } }
.ext::after { content: " ↗"; }

/* ---------- Obecné karty, fakta ---------- */
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.facts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fact { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.1rem; line-height: 1.05; color: var(--accent); }
.fact:nth-child(2) strong { color: var(--c-kino); }
.fact:nth-child(3) strong { color: #e08712; }
.fact:nth-child(4) strong { color: var(--c-art); }
.fact span { color: var(--text-soft); }

.info-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.info-list dt { font-weight: 800; }
.info-list dd { margin: 0; }

/* Motto – auto s přívěsem */
.motto { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.motto svg { width: 150px; height: auto; flex: none; color: var(--c-divadlo); }

/* ---------- Časová osa (historie) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px dotted var(--line); }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -10px; top: 6px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--c-atefa); border: 3px solid var(--bg);
}
.timeline li:nth-child(6n+2)::before { background: var(--c-kino); }
.timeline li:nth-child(6n+3)::before { background: var(--c-divadlo); }
.timeline li:nth-child(6n+4)::before { background: var(--c-nebe); }
.timeline li:nth-child(6n+5)::before { background: var(--c-art); }
.timeline li:nth-child(6n)::before { background: var(--c-namiru); }
.timeline .when { font-weight: 800; font-family: var(--font-head); display: block; }

/* ---------- Kronika ---------- */
.chronicle-intro { font-family: var(--font-hand); font-size: 1.9rem; line-height: 1.2; color: var(--c-divadlo); max-width: 40ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.filters button {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 6px 14px;
}
.filters button[aria-pressed="true"] { background: var(--c-divadlo); color: #fff; border-color: var(--c-divadlo); }

.season { margin-top: 48px; }
.season-title { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; }
.season-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }

.chronicle { position: relative; margin-left: 8px; padding-left: 28px; border-left: 2px dashed #e3c9a4; }
.entry {
  position: relative; margin: 22px 0;
  background:
    linear-gradient(transparent 31px, rgba(160,130,80,.10) 32px) 0 0 / 100% 32px,
    #fffdf7;
  color: #2a2340;
  border-radius: 8px 18px 18px 8px; padding: 18px 22px 16px;
  box-shadow: 0 1px 2px rgba(60,40,10,.06), 0 8px 20px rgba(60,40,10,.07);
  border-left: 5px solid #f0d8b4;
}
@media (prefers-color-scheme: dark) {
  .entry { background: linear-gradient(transparent 31px, rgba(255,255,255,.04) 32px) 0 0 / 100% 32px, #2a2338; color: var(--text); border-left-color: #5b4d73; }
}
.entry::before {
  content: ""; position: absolute; left: -39px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-atefa); border: 4px solid var(--bg);
}
.entry[data-typ="ctena"]::before { background: var(--c-kino); }
.entry[data-typ="zkouska"]::before { background: var(--c-namiru); }
.entry[data-typ="predstaveni"]::before { background: var(--c-divadlo); }
.entry[data-typ="web"]::before { background: var(--c-art); }
.entry[hidden] { display: none; }
.entry-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.stamp {
  font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; line-height: 1.1; color: var(--c-divadlo);
  border: 2px solid currentColor; border-radius: 8px; padding: 0 9px; transform: rotate(-2deg);
}
@media (prefers-color-scheme: dark) { .stamp { color: #ff8a92; } }
.tag {
  font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; background: #f6ead6; color: #6a4d1c;
}
.tag--ctena { background: #e2edfb; color: #1f4f96; }
.tag--zkouska { background: #def3e6; color: #1d6b3d; }
.tag--predstaveni { background: #fde2e4; color: #a32630; }
.tag--akce { background: #fdebd2; color: #8a4b00; }
.tag--organizace { background: #f2ece2; color: #5a4a35; }
.tag--web { background: #ece3fa; color: #5a2fa0; }
.entry h3 { font-size: 1.2rem; margin-bottom: .35em; }
.entry .meta { font-size: .92rem; color: #6d6580; margin: 0 0 .5em; }
@media (prefers-color-scheme: dark) { .entry .meta { color: var(--text-soft); } }
.entry blockquote { margin: 0; font-size: 1.05rem; }
.entry blockquote p { margin: 0 0 .6em; }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry .note { font-size: .92rem; font-style: italic; color: #6d6580; margin: .6em 0 0; }
@media (prefers-color-scheme: dark) { .entry .note { color: var(--text-soft); } }
.entry--highlight { border-left-color: var(--c-divadlo); }

.mini-chronicle { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mini-chronicle .entry { margin: 0; }
.mini-chronicle .entry::before { display: none; }

/* ---------- Inscenace ---------- */
.play { display: grid; gap: 32px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 860px) { .play { grid-template-columns: 380px 1fr; } }
.play-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-body { padding: 8px 24px 28px; }
@media (min-width: 860px) { .play-body { padding: 32px 32px 32px 0; } }
.cast { list-style: none; margin: 0 0 1em; padding: 0; }
.cast li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.cast .role { flex: 1; color: var(--text-soft); }
.cast .actor { font-weight: 800; text-align: right; }
.dates { list-style: none; padding: 0; margin: 0 0 1em; }
.dates li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.dates strong { display: inline-block; min-width: 9.5em; }

/* ---------- Soubor ---------- */
.people { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.person { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.person-photo {
  aspect-ratio: 1 / 1; background: var(--c-divadlo);
  display: grid; place-items: center; color: rgba(255,255,255,.92);
  font-family: var(--font-hand); font-size: 3.2rem; font-weight: 700;
}
.person:nth-child(5n+2) .person-photo { background: var(--c-kino); }
.person:nth-child(5n+3) .person-photo { background: var(--c-atefa); }
.person:nth-child(5n+4) .person-photo { background: var(--c-namiru); }
.person:nth-child(5n) .person-photo { background: var(--c-art); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: 16px 18px 20px; }
.person h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.person p { margin: 0; color: var(--text-soft); }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,16,30,.94);
  display: none; align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: .9rem; }

/* ---------- EU publicita ---------- */
.eu-box {
  background: #fff; color: #1d1d27; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid #dfe5f2; overflow: hidden;
}
.eu-box img { width: 100%; }
.eu-box .eu-text { padding: 20px 24px 24px; border-top: 4px solid #1a4ea2; }
.eu-box .eu-text p:last-child { margin-bottom: 0; }
.eu-box .eu-text a { color: #1a4ea2; }
.eu-teaser { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .eu-teaser { grid-template-columns: 1fr 1fr; } }

/* ---------- Formulář ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 700; margin-bottom: 4px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 11px 14px; border-radius: 12px;
  border: 2px solid var(--line); background: var(--surface); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--focus); outline: none; }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Patička ---------- */
.site-footer { background: var(--ink); color: #d6d0e6; padding-top: 0; font-size: .97rem; }
.site-footer::before { /* barevný proužek projektů */
  content: ""; display: block; height: 8px;
  background: linear-gradient(90deg, var(--c-divadlo) 0 16.66%, var(--c-kino) 0 33.33%, var(--c-atefa) 0 50%, var(--c-nebe) 0 66.66%, var(--c-art) 0 83.33%, var(--c-namiru) 0);
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.1fr 1.2fr .8fr; } }
.footer-title { font-family: var(--font-head); color: #fff; font-size: 1.15rem; font-weight: 800; margin-bottom: .6em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 3px 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #ffd28a; }
.footer-eu { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 18px; }
.footer-eu a { text-decoration: none; }
.footer-eu a:hover span { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 16px; font-size: .88rem; color: #a9a2bf; }
.footer-bottom a { color: #d6d0e6; }

/* ---------- Pohyb ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s ease both; }
  .reveal-2 { animation-delay: .1s; }
  .reveal-3 { animation-delay: .2s; }
  .hub-tile { animation: rise .6s ease both; }
  .hub-tile:nth-child(2) { animation-delay: .06s; }
  .hub-tile:nth-child(3) { animation-delay: .12s; }
  .hub-tile:nth-child(4) { animation-delay: .18s; }
  .hub-tile:nth-child(5) { animation-delay: .24s; }
  .hub-tile:nth-child(6) { animation-delay: .30s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .subnav, .site-footer, .filters, .hero-actions { display: none; }
  body { background: #fff; color: #000; }
}
