/*
    Veřejný web spolku (MD-284). Barvy a písmo přicházejí jako CSS
    proměnné z palety motivu (ThemePalette) v hlavičce stránky; tenhle
    soubor drží rozložení a ozdoby podle `decor` motivu. Bez Vite,
    stejně jako landing.css — verze přes ?v=filemtime.
*/
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
    background: var(--bg); color: var(--ink);
    font-family: var(--font-body); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { width: min(72rem, 100% - 2.5rem); margin: 0 auto; }
.wrap.narrow { width: min(46rem, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--bg); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* Typografie ----------------------------------------------------- */
.eyebrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
h1, h2, .rep-title, .next-title, .title, .foot-name {
    font-family: var(--font-display); font-weight: var(--display-weight); line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); text-transform: var(--title-transform); letter-spacing: -.01em; margin: .35rem 0 .9rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.4rem; display: flex; align-items: center; gap: 1rem; color: var(--ink); }
h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36rem; }
.prose { color: var(--ink); font-size: 1.05rem; max-width: 42rem; }
.prose p + p { margin-top: 1em; }
.crumb { display: inline-block; font-size: .85rem; color: var(--muted); text-decoration: none; margin-bottom: 1.2rem; }
.crumb:hover { color: var(--accent); }

/* Horní lišta --------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.1rem; }
.brand img { width: 2.75rem; height: 2.75rem; object-fit: contain; border-radius: 10px; background: var(--card-bg); padding: 3px; }
.nav { display: flex; gap: .2rem .4rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .45rem .7rem; border-radius: 999px; opacity: .85; }
.nav a:hover { opacity: 1; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav a.is-primary { background: var(--accent); color: var(--bg); opacity: 1; }

/* Hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 5rem); isolation: isolate; }
.hero-backdrop { position: absolute; inset: 0; z-index: -1; }
.has-hero-image .hero-backdrop, .page-production .hero-backdrop {
    background-image: var(--hero-image); background-size: cover; background-position: center;
    filter: blur(42px) saturate(1.1); transform: scale(1.2); opacity: .28;
}
.has-hero-image .hero-backdrop::after, .page-production .hero-backdrop::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent), var(--bg) 92%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-poster img { width: 100%; max-width: 22rem; margin-inline: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.7), 0 0 0 1px var(--line); transform: rotate(var(--poster-tilt, 2deg)); }
.hero-mark img { width: min(16rem, 60%); margin-inline: auto; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; padding: .8rem 1.35rem; border-radius: 999px; border: 1px solid var(--accent); font-size: .95rem; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); filter: none; }

/* Fotka spolku v hero: ostrá, pomalu se přibližuje, do palety přechází
   gradientem — plakát a text leží nad ní. */
.has-hero-photo .hero { min-height: min(88vh, 46rem); display: flex; align-items: flex-end; padding-top: clamp(6rem, 18vw, 12rem); }
.has-hero-photo .hero-backdrop { background-image: var(--hero-image); background-size: cover; background-position: center; animation: hero-zoom 28s ease-in-out infinite alternate; }
.has-hero-photo .hero-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 35%, transparent) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 55%, var(--bg) 100%); }
.has-hero-photo .hero-text { text-shadow: 0 2px 24px color-mix(in srgb, var(--bg) 70%, transparent); }
.has-hero-photo .hero-poster img { max-width: 17rem; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.countdown { color: var(--card-ink); font-weight: 700; letter-spacing: 0; text-transform: none; font-size: .95rem; margin: 0 .15rem; }

/* Nejbližší představení ----------------------------------------- */
.next { margin-top: -1.5rem; position: relative; z-index: 2; }
.next-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; background: var(--card-bg); color: var(--card-ink); border-radius: 18px; padding: 1.1rem 1.4rem; text-decoration: none; box-shadow: 0 30px 60px -36px rgba(0,0,0,.55), 0 0 0 1px var(--line); transition: transform .15s ease; }
.next-card:hover { transform: translateY(-2px); }
.next-date { text-align: center; min-width: 4.5rem; padding-right: 1.2rem; border-right: 1px solid var(--line); }
.next-day { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--card-accent); }
.next-month { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; opacity: .75; }
.next-card .eyebrow { color: var(--card-accent); }
.next-title { font-size: 1.5rem; margin-top: .2rem; }
.next-meta { font-size: .9rem; opacity: .75; margin-top: .25rem; }
.next-more { font-weight: 600; color: var(--card-accent); white-space: nowrap; }

/* Bloky ----------------------------------------------------------- */
.block { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 3rem; align-items: start; }
.facts { display: grid; gap: 1rem; }
.facts div { border-left: 2px solid var(--accent); padding-left: 1rem; }
.facts dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--font-display); font-size: 1.5rem; }

/* Repertoár ----------------------------------------------------- */
.rep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.6rem; }
.rep-card { text-decoration: none; color: var(--ink); display: grid; gap: .8rem; transition: transform .15s ease; }
.rep-card:hover { transform: translateY(-3px); }
.rep-poster { aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: var(--card-bg); box-shadow: 0 24px 50px -30px rgba(0,0,0,.6), 0 0 0 1px var(--line); display: grid; place-items: center; }
.rep-poster img { width: 100%; height: 100%; object-fit: cover; }
.rep-initial { font-family: var(--font-display); font-size: 5.5rem; color: var(--card-accent); opacity: .85; }
.rep-card-text .rep-poster { background: linear-gradient(160deg, var(--card-bg), color-mix(in srgb, var(--card-accent) 18%, var(--card-bg))); }
.rep-title { font-size: 1.2rem; }
.rep-meta { font-size: .85rem; color: var(--muted); margin-top: .2rem; }

/* Program (karty termínů) --------------------------------------- */
.list { display: grid; gap: .9rem; margin-bottom: 2.5rem; }
.card { display: grid; grid-template-columns: 5.5rem 1fr; background: var(--card-bg); color: var(--card-ink); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 18px 40px -30px rgba(0,0,0,.45), 0 0 0 1px var(--line); transition: transform .15s ease; }
.card:hover { transform: translateY(-2px); }
.date { background: var(--card-accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .9rem .4rem; text-align: center; }
.date .day { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 700; }
.date .month { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }
.date .time { font-size: .85rem; margin-top: .4rem; opacity: .9; }
.body { padding: .95rem 1.15rem; min-width: 0; }
.title { font-size: 1.25rem; color: var(--card-ink); }
.sub { color: var(--card-accent); font-size: .9rem; margin-top: .15rem; }
.meta { font-size: .85rem; opacity: .72; margin-top: .3rem; }
.venue { font-size: .95rem; margin-top: .45rem; }
.foot-row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-top: .6rem; font-size: .85rem; }
.more { color: var(--card-accent); font-weight: 600; white-space: nowrap; }
.tag { background: var(--card-accent); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; }
.is-cancelled .title, .is-cancelled .venue { text-decoration: line-through; opacity: .6; }
.empty { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 36rem; }
.past { list-style: none; display: grid; gap: .45rem; color: var(--muted); }
.past li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.past strong { color: var(--ink); font-weight: 600; }

/* Soubor ------------------------------------------------------- */
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 2rem 1.6rem; }
.member { text-align: center; }
.member-photo { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line); }
.member-initials { display: grid; place-items: center; background: var(--card-bg); color: var(--card-accent); font-family: var(--font-display); font-size: 2rem; }
.member-name { font-weight: 600; font-size: 1.05rem; }
.member-role { font-size: .82rem; color: var(--accent); letter-spacing: .04em; margin-top: .15rem; }
.member-bio { font-size: .92rem; color: var(--muted); margin-top: .6rem; }

/* Mozaika fotografií -------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 11rem; grid-auto-flow: dense; gap: .6rem; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.mosaic a.is-wide { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .6rem; font-size: .78rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .25s ease; }
.mosaic a:hover .mosaic-caption { opacity: 1; }

/* Historie a čísla ----------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; margin-bottom: 2.75rem; }
.stats div { border-left: 2px solid var(--accent); padding-left: 1rem; }
.stat-value { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats dt { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.timeline { list-style: none; position: relative; padding-left: 1.4rem; display: grid; gap: 1rem; }
.timeline::before { content: ''; position: absolute; left: .3rem; top: .4rem; bottom: .4rem; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: baseline; }
.timeline li::before { content: ''; position: absolute; left: -1.4rem; top: .45rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.timeline-year { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.timeline-titles { color: var(--muted); }

/* Partneři ---------------------------------------------------- */
.partner-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: center; }
.partner-strip li { background: var(--card-bg); border-radius: 12px; padding: .9rem 1.2rem; box-shadow: 0 0 0 1px var(--line); }
.partner-strip img { height: 3rem; width: auto; max-width: 12rem; object-fit: contain; }
.member-roles { list-style: none; margin-top: .6rem; display: grid; gap: .15rem; font-size: .82rem; color: var(--muted); }
.member-roles li::before { content: '✦ '; color: var(--accent); }

/* Nábor ------------------------------------------------------- */
.join-card { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: var(--card-bg); color: var(--card-ink); border-radius: 22px; padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: 0 30px 60px -40px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.join-card h2 { color: var(--card-ink); margin-bottom: .6rem; }
.join-card h2::after { display: none; }
.join-card .btn { background: var(--card-accent); border-color: var(--card-accent); color: #fff; }
.join-text { color: var(--card-ink); opacity: .8; white-space: pre-line; max-width: 40rem; }
.recruit-text { white-space: pre-line; }
.form { display: grid; gap: 1.1rem; background: var(--card-bg); color: var(--card-ink); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 0 0 1px var(--line); }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.field input, .field textarea { width: 100%; font: inherit; color: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: color-mix(in srgb, var(--card-bg) 70%, #fff 30%); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--card-accent); outline-offset: 1px; }
.form .btn { background: var(--card-accent); border-color: var(--card-accent); color: #fff; justify-self: start; }
.form-note { font-size: .8rem; opacity: .7; }
.hp { position: absolute; left: -9999px; }
.error { color: #A32D2D; font-size: .8rem; margin-top: .25rem; }
.notice { background: var(--card-bg); color: var(--card-ink); border-left: 4px solid var(--card-accent); border-radius: 12px; padding: 1.2rem 1.5rem; }

/* Lidé a galerie na stránce inscenace -------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 3rem; }
.people { display: grid; gap: .5rem; }
.people div { display: grid; grid-template-columns: minmax(7rem, .4fr) 1fr; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.people dt { color: var(--muted); font-size: .9rem; }
.people dd { font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .8rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* Patička ----------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.foot-name { color: var(--ink); font-size: 1.3rem; margin: .4rem 0 .3rem; }
.foot-line { margin-top: .15rem; }
.foot-links { list-style: none; margin-top: .5rem; display: grid; gap: .3rem; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.foot-by { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .8rem; opacity: .85; }

/* Ozdoby podle motivu ------------------------------------------- */
.decor-spotlight .hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; background: radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.decor-velvet .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(90deg, transparent 0 56px, color-mix(in srgb, var(--accent) 8%, transparent) 56px 64px); opacity: .6; }
.decor-arches .hero::before { content: ''; position: absolute; inset: auto 0 0; height: 55%; z-index: -2; background: radial-gradient(circle at 50% 100%, transparent 58%, var(--line) 58.5%, transparent 60%), radial-gradient(circle at 50% 100%, transparent 70%, var(--line) 70.5%, transparent 72%); opacity: .7; }
.decor-rule h2::after { height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); opacity: .35; }
.decor-rule .hero { border-bottom: 3px double var(--line); }
.decor-sun .hero::before { content: ''; position: absolute; right: -8rem; top: -8rem; width: 26rem; height: 26rem; border-radius: 50%; z-index: -2; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.decor-sun .rep-poster, .decor-sun .card, .decor-sun .next-card, .decor-sun .join-card { border-radius: 26px; }
.decor-marquee .hero { border-bottom: 10px solid; border-image: repeating-linear-gradient(90deg, var(--accent) 0 28px, var(--card-bg) 28px 56px) 10; }
.decor-marquee .eyebrow { letter-spacing: .3em; }
.decor-nouveau h2::after { height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.decor-nouveau .hero-poster img { border-radius: 160px 160px 14px 14px; }
.decor-nouveau .rep-poster { border-radius: 90px 90px 10px 10px; }
.decor-glow .hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 50% 60% at 80% 20%, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 90%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); }
.decor-glow h1 { text-shadow: 0 0 28px color-mix(in srgb, var(--accent) 55%, transparent); }
.decor-glow .btn { box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent); }
.decor-none .hero-poster img { transform: none; border-radius: 6px; }
.decor-none .rep-poster { border-radius: 4px; }

/* Responzivita --------------------------------------------------- */
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 9rem; }
    .timeline li { grid-template-columns: 1fr; gap: .1rem; }
    .hero-poster { order: -1; }
    .hero-poster img { max-width: 15rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .facts { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
    .next-card { grid-template-columns: auto 1fr; }
    .next-more { grid-column: 2; }
    .join-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .top-row { flex-direction: column; align-items: flex-start; padding: .7rem 0; }
    .nav { justify-content: flex-start; }
    .card { grid-template-columns: 4.6rem 1fr; }
    .date .day { font-size: 1.6rem; }
    /* Plakát na celou šířku telefonu by byl billboard — dva sloupce drží
       poměr stránky a repertoár se dá přehlédnout. */
    .rep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .rep-initial { font-size: 3.5rem; }
    .rep-title { font-size: 1.05rem; }
    .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
    .member-photo { width: 5.5rem; height: 5.5rem; }
    .past li { grid-template-columns: 1fr; gap: .1rem; }
    .hero-poster img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .has-hero-photo .hero-backdrop { animation: none; }
    .card, .next-card, .rep-card, .gallery img { transition: none; }
}

/* ======================================================================
   Motivy webu (MD-289, etapa 2). Klasik = vše výše. Prémiové motivy mění
   rozložení, barvy a písmo dál dává paleta.
   ====================================================================== */

/* --- Plakát: obraz přes obrazovku, obří titulky, pás plakátů ---------- */
.theme-plakat h1 { text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(3rem, 11vw, 9rem); line-height: .92; }
.theme-plakat h2 { text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.theme-plakat .hero-wall { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 clamp(2.5rem, 6vw, 5rem); }
.theme-plakat .hero-wall.has-image .hero-backdrop { background-image: var(--hero-image); background-size: cover; background-position: center 30%; filter: none; opacity: 1; transform: none; animation: hero-zoom 30s ease-in-out infinite alternate; }
.theme-plakat .hero-wall.has-image .hero-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 10%, transparent) 30%, color-mix(in srgb, var(--bg) 85%, transparent) 75%, var(--bg) 100%); }
.theme-plakat .hero-wall.no-image { min-height: 70vh; background: repeating-linear-gradient(-45deg, transparent 0 40px, color-mix(in srgb, var(--accent) 6%, transparent) 40px 41px); }
.theme-plakat .hero-wall-copy { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.theme-plakat .hero-fullname { font-size: 1.05rem; color: var(--muted); margin-top: .3rem; }
.theme-plakat .lead { max-width: 44rem; }
.theme-plakat .next { margin-top: 2rem; }
.theme-plakat .rep-grid { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.theme-plakat .rep-card { flex: 0 0 clamp(14rem, 22vw, 18rem); scroll-snap-align: start; }
.theme-plakat .rep-poster { border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.theme-plakat .rep-card:hover .rep-poster { transform: rotate(-1.5deg); }
.theme-plakat .rep-poster { transition: transform .2s ease; }
.theme-plakat .stat-value { font-size: clamp(3rem, 7vw, 5.5rem); }
.theme-plakat .block { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.theme-plakat .top { background: transparent; border-bottom: 0; backdrop-filter: none; }
.theme-plakat .top.is-stuck, .theme-plakat.page-production .top, .theme-plakat.page-recruitment .top { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.theme-plakat .eyebrow { letter-spacing: .32em; }

/* --- Editorial: časopis, číslované kapitoly, obsah čísla ------------- */
.theme-editorial { counter-reset: chapter; }
.theme-editorial .hero-editorial { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 3px double var(--line); }
.theme-editorial .masthead { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.theme-editorial h1 { font-size: clamp(2.8rem, 9vw, 7.5rem); letter-spacing: -.025em; line-height: .98; margin: 1.2rem 0 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.theme-editorial .editorial-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .9fr); gap: 2.5rem; align-items: start; }
.theme-editorial .editorial-lead .lead { font-size: 1.15rem; color: var(--ink); }
.theme-editorial .editorial-lead .lead::first-letter { font-family: var(--font-display); font-size: 3.2em; float: left; line-height: .8; padding: .1em .12em 0 0; color: var(--accent); }
.theme-editorial .editorial-next { display: grid; gap: .25rem; text-decoration: none; color: var(--ink); border-left: 1px solid var(--line); padding-left: 1.5rem; }
.theme-editorial .editorial-next-date { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.theme-editorial .editorial-next-title { font-weight: 600; font-size: 1.1rem; }
.theme-editorial .editorial-next-venue { color: var(--muted); font-size: .9rem; }
.theme-editorial .editorial-figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: saturate(.9); }
.theme-editorial .next { display: none; }
.theme-editorial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); gap: 1.2rem; }
.theme-editorial .block h2 span::before { counter-increment: chapter; content: counter(chapter, decimal-leading-zero) ' — '; font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; color: var(--accent); vertical-align: middle; margin-right: .3rem; }
.theme-editorial .band { background: transparent; border-top: 1px solid var(--line); border-bottom: 0; }
.theme-editorial .block { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.theme-editorial .rep-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.theme-editorial .rep-card { grid-template-columns: 5rem 1fr auto; align-items: center; gap: 1.4rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.theme-editorial .rep-card:hover { transform: none; }
.theme-editorial .rep-card:hover .rep-title { color: var(--accent); }
.theme-editorial .rep-poster { aspect-ratio: 2 / 3; width: 5rem; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.theme-editorial .rep-initial { font-size: 2.2rem; }
.theme-editorial .rep-title { font-size: 1.5rem; }
.theme-editorial .rep-body::after { content: '→'; display: none; }
.theme-editorial .card { border-radius: 0; box-shadow: none; border: 1px solid var(--line); }
.theme-editorial .date { background: transparent; color: var(--card-ink); border-right: 1px solid var(--line); }
.theme-editorial .date .day { color: var(--card-accent); }
.theme-editorial .mosaic a, .theme-editorial .rep-poster, .theme-editorial .next-card, .theme-editorial .join-card, .theme-editorial .form { border-radius: 0; }
.theme-editorial .member-photo { border-radius: 2px; width: 100%; height: auto; aspect-ratio: 4 / 5; box-shadow: none; }
.theme-editorial .member { text-align: left; }
.theme-editorial .timeline-year { font-style: italic; }
.theme-editorial .foot { border-top: 3px double var(--line); }

/* --- Galerie: fotografie vedou ---------------------------------------- */
.theme-galerie .hero-tiles { position: relative; min-height: 86vh; display: flex; align-items: flex-end; padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.theme-galerie .tiles { position: absolute; inset: 0; display: grid; gap: .4rem; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); }
.theme-galerie .tiles div { background-size: cover; background-position: center; animation: hero-zoom 40s ease-in-out infinite alternate; }
.theme-galerie .tiles-1 .tiles { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.theme-galerie .tiles-2 .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.theme-galerie .tiles-3 .tiles div:first-child { grid-column: span 4; grid-row: span 2; }
.theme-galerie .tiles-3 .tiles div:not(:first-child) { grid-column: span 2; }
.theme-galerie .tiles-4 .tiles div:first-child { grid-column: span 3; grid-row: span 2; }
.theme-galerie .tiles-4 .tiles div:nth-child(2) { grid-column: span 3; }
.theme-galerie .tiles-4 .tiles div:nth-child(n+3) { grid-column: span 3; }
.theme-galerie .tiles-4 .tiles div:nth-child(3) { grid-column: 4 / span 1; }
.theme-galerie .tiles-4 .tiles div:nth-child(4) { grid-column: 5 / span 2; }
.theme-galerie .tiles-5 .tiles div:first-child { grid-column: span 3; grid-row: span 2; }
.theme-galerie .tiles-5 .tiles div:nth-child(2) { grid-column: span 2; }
.theme-galerie .tiles-5 .tiles div:nth-child(3) { grid-column: span 1; }
.theme-galerie .tiles-5 .tiles div:nth-child(4) { grid-column: span 1; }
.theme-galerie .tiles-5 .tiles div:nth-child(5) { grid-column: span 2; }
.theme-galerie .hero-tiles::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 15%, transparent), color-mix(in srgb, var(--bg) 55%, transparent) 60%, var(--bg) 100%); }
.theme-galerie .hero-tiles-copy { position: relative; z-index: 1; text-shadow: 0 2px 20px color-mix(in srgb, var(--bg) 80%, transparent); }
.theme-galerie .next { margin-top: 1.5rem; }
.theme-galerie .rep-grid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.theme-galerie .rep-card { position: relative; }
.theme-galerie .rep-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); border-radius: 0 0 12px 12px; }
.theme-galerie .rep-title, .theme-galerie .rep-meta { color: #fff; }
.theme-galerie .rep-meta { opacity: .8; }
.theme-galerie .rep-card-text .rep-body { color: var(--card-ink); background: none; }
.theme-galerie .rep-card-text .rep-title, .theme-galerie .rep-card-text .rep-meta { color: var(--card-ink); }
.theme-galerie .mosaic { grid-auto-rows: 14rem; }
.theme-galerie .member-photo { width: 9rem; height: 9rem; }
.theme-galerie .block { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.theme-galerie .about-grid .prose { font-size: 1.15rem; }

@media (max-width: 820px) {
    .theme-editorial .editorial-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .theme-editorial .editorial-next { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
    .theme-editorial .editorial-figure { display: none; }
    .theme-plakat .rep-card { flex-basis: 11rem; }
    .theme-galerie .tiles { grid-template-columns: repeat(2, 1fr) !important; grid-template-rows: repeat(3, 1fr) !important; }
    .theme-galerie .tiles div { grid-column: auto !important; grid-row: auto !important; }
    .theme-galerie .tiles div:nth-child(n+5) { display: none; }
    .theme-galerie .hero-tiles { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-plakat .hero-backdrop, .theme-galerie .tiles div { animation: none; }
}

/* --- Opona: vše na střed, závěsy po stranách, plakát v rámu ----------- */
.theme-opona { text-align: center; }
.theme-opona .hero-curtain { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.theme-opona .hero-curtain::before, .theme-opona .hero-curtain::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: clamp(4rem, 12vw, 14rem); z-index: 0; pointer-events: none;
    background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, var(--bg)) 0 18px, color-mix(in srgb, var(--accent) 8%, var(--bg)) 18px 36px);
    mask-image: linear-gradient(90deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent);
}
.theme-opona .hero-curtain::before { left: 0; }
.theme-opona .hero-curtain::after { right: 0; transform: scaleX(-1); }
.theme-opona .hero-curtain-copy { position: relative; z-index: 1; width: min(48rem, 100% - 2.5rem); }
.theme-opona .ornament { color: var(--accent); font-size: 1.4rem; margin-bottom: 1rem; letter-spacing: .6em; }
.theme-opona .lead, .theme-opona .prose { margin-inline: auto; }
.theme-opona .hero-actions { justify-content: center; }
.theme-opona .hero-frame { margin: 2.5rem auto 0; width: min(18rem, 70%); padding: .7rem; background: var(--card-bg); border-radius: 6px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.75), 0 0 0 1px var(--line); }
.theme-opona .hero-frame img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; }
.theme-opona h2 { justify-content: center; }
.theme-opona h2::after { display: none; }
.theme-opona h2 span::before, .theme-opona h2 span::after { content: ' ✦ '; color: var(--accent); font-size: .6em; vertical-align: middle; }
.theme-opona .about-grid { grid-template-columns: 1fr; justify-items: center; }
.theme-opona .facts { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); width: min(40rem, 100%); }
.theme-opona .facts div { border-left: 0; border-top: 2px solid var(--accent); padding: .6rem 0 0; }
.theme-opona .rep-grid { justify-content: center; grid-template-columns: repeat(auto-fit, minmax(12rem, 14rem)); }
.theme-opona .rep-poster { border-radius: 4px; padding: .5rem; background: var(--card-bg); }
.theme-opona .rep-poster img { border-radius: 2px; }
.theme-opona .list { width: min(44rem, 100%); margin-inline: auto; }
.theme-opona .card, .theme-opona .next-card, .theme-opona .join-card { text-align: left; }
.theme-opona .next-card { width: min(44rem, 100%); margin-inline: auto; }
.theme-opona .join-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.theme-opona .past li { grid-template-columns: 1fr; gap: .1rem; }
.theme-opona .stats { justify-items: center; }
.theme-opona .stats div { border-left: 0; padding-left: 0; }
.theme-opona .timeline { text-align: left; width: min(40rem, 100%); margin-inline: auto; }
.theme-opona .mosaic { grid-template-columns: repeat(3, 1fr); }
.theme-opona .foot { text-align: left; }
.theme-opona .block + .block::before { content: '✦'; display: block; color: var(--accent); opacity: .6; margin: -1.5rem auto 2rem; font-size: .9rem; }
.theme-opona .band { background: transparent; border: 0; }

/* --- Program: postranní lišta, termíny hned pod záhlavím --------------- */
@media (min-width: 981px) {
    .theme-program .top { position: fixed; top: 0; left: 0; bottom: 0; width: 17rem; border-bottom: 0; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 4%, var(--bg)); backdrop-filter: none; overflow-y: auto; }
    .theme-program .top-row { flex-direction: column; align-items: stretch; justify-content: flex-start; width: auto; padding: 2rem 1.5rem; gap: 2rem; min-height: 0; }
    .theme-program .brand { flex-direction: column; align-items: flex-start; gap: 1rem; font-size: 1.3rem; line-height: 1.15; }
    .theme-program .brand img { width: 4rem; height: 4rem; }
    .theme-program .nav { flex-direction: column; align-items: stretch; gap: .15rem; }
    .theme-program .nav a { padding: .5rem .6rem; border-radius: 8px; font-size: .95rem; }
    .theme-program .nav a.is-primary { margin-top: .75rem; text-align: center; }
    .theme-program main, .theme-program .foot { margin-left: 17rem; }
    .theme-program .wrap { width: min(64rem, 100% - 3.5rem); }
}
.theme-program main { display: flex; flex-direction: column; }
.theme-program .hero-playbill { order: -3; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.theme-program .next { order: -2; margin-top: 0; }
.theme-program #program { order: -1; padding-top: 2rem; }
.theme-program h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.theme-program .hero-backdrop { opacity: .18; }
.theme-program .card { grid-template-columns: 7rem 1fr; border-radius: 10px; }
.theme-program .date .day { font-size: 2.6rem; }
.theme-program .date .month { font-size: .85rem; }
.theme-program .list { gap: .6rem; }
.theme-program .rep-grid { grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1.2rem; }
.theme-program .rep-title { font-size: 1.05rem; }
.theme-program .block { padding: clamp(2.2rem, 4vw, 3.5rem) 0; }
.theme-program .band { background: transparent; border-bottom: 0; }
.theme-program .empty { font-size: 1rem; }

/* --- Čistý: typografie, linky místo karet, vzduch -------------------- */
.theme-cisty .top { background: var(--bg); backdrop-filter: none; }
.theme-cisty .hero-clean { padding: clamp(4rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.theme-cisty .hero-clean-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 3rem; align-items: end; }
.theme-cisty h1 { font-weight: var(--display-weight); font-size: clamp(2.2rem, 5.5vw, 4.4rem); letter-spacing: -.02em; }
.theme-cisty .hero-clean-figure img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; max-width: 12rem; margin-left: auto; filter: grayscale(.25); }
.theme-cisty .eyebrow { font-weight: 500; letter-spacing: .22em; color: var(--muted); }
.theme-cisty .btn { border-radius: 0; padding: .7rem 1.2rem; font-weight: 500; }
.theme-cisty .btn-ghost { border-color: var(--ink); }
.theme-cisty h2 { font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--muted); }
.theme-cisty h2::after { background: var(--line); }
.theme-cisty .block { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.theme-cisty .band { background: transparent; border-top: 0; border-bottom: 0; }
.theme-cisty .next { margin-top: 0; }
.theme-cisty .next-card, .theme-cisty .card, .theme-cisty .join-card, .theme-cisty .form, .theme-cisty .notice, .theme-cisty .partner-strip li { border-radius: 0; box-shadow: none; background: transparent; color: var(--ink); border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-cisty .next-card .eyebrow, .theme-cisty .next-more, .theme-cisty .more, .theme-cisty .sub { color: var(--accent); }
.theme-cisty .next-day { color: var(--ink); }
.theme-cisty .list { gap: 0; }
.theme-cisty .card { border-bottom: 0; }
.theme-cisty .list .card:last-child { border-bottom: 1px solid var(--line); }
.theme-cisty .card:hover, .theme-cisty .next-card:hover, .theme-cisty .rep-card:hover { transform: none; }
.theme-cisty .date { background: transparent; color: var(--ink); border-right: 1px solid var(--line); }
.theme-cisty .date .day { font-weight: var(--display-weight); }
.theme-cisty .title { color: var(--ink); }
.theme-cisty .tag { background: var(--ink); color: var(--bg); }
.theme-cisty .rep-grid { grid-template-columns: 1fr; gap: 0; }
.theme-cisty .rep-card { grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); }
.theme-cisty .rep-card:last-child { border-bottom: 1px solid var(--line); }
.theme-cisty .rep-poster { display: none; }
.theme-cisty .rep-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.theme-cisty .rep-meta { font-size: .9rem; margin: 0; }
.theme-cisty .rep-card:hover .rep-title { color: var(--accent); }
.theme-cisty .facts div { border-left: 1px solid var(--line); }
.theme-cisty .facts dd { font-size: 1.2rem; }
.theme-cisty .stats div { border-left: 1px solid var(--line); }
.theme-cisty .stat-value { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); }
.theme-cisty .mosaic { gap: .25rem; }
.theme-cisty .mosaic a, .theme-cisty .gallery a { border-radius: 0; box-shadow: none; }
.theme-cisty .member-photo { border-radius: 0; box-shadow: none; width: 100%; height: auto; aspect-ratio: 1; filter: grayscale(.4); }
.theme-cisty .member { text-align: left; }
.theme-cisty .member-roles li::before { content: '— '; color: var(--muted); }
.theme-cisty .join-card { padding-inline: 0; }
.theme-cisty .join-card .btn, .theme-cisty .form .btn { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.theme-cisty .field input, .theme-cisty .field textarea { border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding-inline: 0; }
.theme-cisty .hero-poster img, .theme-cisty .rep-poster, .theme-cisty .hero-frame { transform: none; }
.theme-cisty .timeline::before { background: var(--ink); opacity: .3; }
.theme-cisty .timeline li::before { background: var(--ink); }

@media (max-width: 820px) {
    .theme-cisty .hero-clean-grid { grid-template-columns: 1fr; }
    .theme-cisty .hero-clean-figure { display: none; }
    .theme-opona .mosaic { grid-template-columns: repeat(2, 1fr); }
    .theme-program .card { grid-template-columns: 5rem 1fr; }
}
