/* ═══════════════════════════════════════════════════════
   Vysoké Veselí, které žije — design systém
   Rozložení 1:1 podle webu proJablonec (stejné sekce,
   mřížky, karty, rytmus). Jiné barvy (světlé, veselejší),
   jiné ikony (řemeslné / linorytové), jiné texty.
   ═══════════════════════════════════════════════════════ */

:root {
  /* barvy — světlé, veselejší, řemeslné */
  --green: #2E7D5B;
  --green-d: #1F5C42;
  --green-l: #58A97F;
  --green-soft: rgba(46, 125, 91, 0.12);
  --sun: #E8931C;
  --sun-l: #F2A63B;
  --sun-soft: rgba(232, 147, 28, 0.14);
  --berry: #C8553D;
  --sky: #4E86B8;

  --ink: #2A2A24;              /* řezová čerň — obrysy, text */
  --cream: #FFF9EF;            /* papír */
  --cream-2: #FCF1E1;          /* broskvový tón sekcí */
  --card: #FFFDF8;
  --line: rgba(42, 42, 36, 0.14);
  --line-strong: rgba(42, 42, 36, 0.26);
  --text: #2A2A24;
  --text-dim: #6E7264;
  --radius: 20px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
  --shadow: 6px 7px 0 rgba(42, 42, 36, 0.07);
  --shadow-hover: 9px 11px 0 rgba(42, 42, 36, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* jemná papírová textura — ne glass, jen papír */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(42, 42, 36, 0.030) 0.6px, transparent 0.6px),
    radial-gradient(rgba(42, 42, 36, 0.022) 0.6px, transparent 0.6px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 4px 5px;
}

::selection { background: var(--sun-soft); }

/* ── CESTA odstraněna na přání (dekorativní linka napříč webem) ── */

/* ── Karta (řemeslný „výtisk" — bílý papír, obrys, posun stínu) ── */
.karta {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: 18px 22px 16px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.karta::before {
  content: '';
  position: absolute;
  top: -46%; left: -18%;
  width: 66%; height: 88%;
  background: radial-gradient(closest-side, rgba(232, 147, 28, 0.07), transparent);
  transform: rotate(12deg);
  pointer-events: none;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: #FFFDF8;
  border-color: var(--green-d);
  box-shadow: 3px 4px 0 rgba(31, 92, 66, 0.28);
}
.btn-primary:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 rgba(31, 92, 66, 0.30); }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(42, 42, 36, 0.07);
}
.btn-outline:hover { transform: translate(-1px, -2px); background: #fff; box-shadow: 5px 7px 0 rgba(42, 42, 36, 0.10); }
.btn-sun {
  background: var(--sun);
  color: #FFFDF8;
  border-color: #C97A10;
  box-shadow: 3px 4px 0 rgba(201, 122, 16, 0.30);
}
.btn-sun:hover { transform: translate(-1px, -2px); box-shadow: 5px 7px 0 rgba(201, 122, 16, 0.32); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.86rem; }

/* ── Sekce + nadpisy ───────────────────────────────── */
main { position: relative; z-index: 1; }

section { padding: 104px 24px; position: relative; }

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
.section-sub { color: var(--text-dim); margin-top: 14px; font-size: 1.05rem; }
.grad { color: var(--green); font-style: italic; }
.section-cream { background: var(--cream-2); }
.section-green { background: var(--green-d); color: #F3F7F2; }
.section-green h2, .section-green h3 { color: #FFFDF8; }
.section-green .eyebrow { color: var(--sun-l); }
.section-green p { color: rgba(243, 247, 242, 0.86); }

/* ── ZALAMOVÁNÍ TEXTU — vhodné zlomy pro veškerý text webu ──
   Nadpisy a krátké úvodní věty: vyvážené řádky (balance),
   takže druhá řádka není osamocené slovo.
   Delší odstavce: bez vdov a sirotků (pretty) — žádné jedno
   slovo na konci odstavce ani na začátku nového.
   Dlouhá slova (e-maily, URL) se nikdy nevylijí z bloku. */
h1, h2, h3, h4, h5, h6, blockquote,
.hero-title, .hero-sub, .hero-eyebrow, .eyebrow,
.footer-brand p, .footer-legal p, .contact-card b {
  text-wrap: balance;
  overflow-wrap: break-word;
}
p, li, dd, dt, figcaption, .note, .section-sub, td, th {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* ── NAV ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 249, 239, 0.94);
  box-shadow: 0 8px 26px rgba(42, 42, 36, 0.10);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.05;
}
.nav-logo img { height: 46px; width: auto; flex-shrink: 0; display: block; }
.nav-logo .nav-napis { display: block; }
.nav-logo b { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
.nav-logo span span { display: block; font-family: var(--font-hand); font-size: 1.05rem; color: var(--sun); margin-top: -2px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--sun);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    /* jemná clona pro čitelnost textu — nechává prosvítat oblohu a vesnici */
    linear-gradient(180deg,
      rgba(255, 249, 239, 0.62) 0%,
      rgba(255, 249, 239, 0.70) 38%,
      rgba(255, 249, 239, 0.86) 64%,
      rgba(255, 249, 239, 0.99) 88%,
      var(--cream) 100%),
    url('../img/hero-vesnice.jpg') center 42% / cover no-repeat;
}
.hero-inner { max-width: 920px; margin: 0 auto; text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.hero-logo { width: auto; height: 116px; margin: 0 auto 20px; display: block; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.7rem, 7.6vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.3vw, 1.32rem);
  color: var(--text-dim);
  max-width: 660px;
  margin: 0 auto 34px;
}
.hero-sub b { color: var(--ink); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* (plaketa s počty kandidátů byla na přání odstraněna) */
.hero-cislo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 26px auto 16px;
}
.hero-pece {
  width: 152px; height: 152px;
  flex-shrink: 0;
  display: block;
}
.hero-cislo-text { display: block; text-align: left; }
.hero-vyzva-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.hero-vyzva-label b { color: var(--sun); }
.hero-vyzva-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--green-d);
}
/* (hero-scroll „projdi tématy“ odstraněn na přání) */

/* ── Citát s atribucí (lead band) ──────────────────── */
.lead-band {
  padding: 72px 24px;
  background: var(--cream-2);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}
.lead-band-in {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.lead-band-text { text-align: left; }
.lead-band-text .btn { margin-top: 26px; }
.lead-band-foto {
  margin: 0;
  border-radius: 26px 26px 22px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sun-soft), var(--cream));
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.lead-band-foto img { display: block; width: 100%; height: auto; }
.lead-band-in {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.lead-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 34ch;
}
.lead-quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── PROČ MY ───────────────────────────────────────── */
.proc-my { background: linear-gradient(180deg, var(--cream), #FFFCF5); }
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.proc-card { padding: 32px 28px; }
.proc-quote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; }
.proc-meta { color: var(--text-dim); margin-top: 14px; font-size: 0.86rem; }
.proc-numbers {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.num { padding: 22px 28px; text-align: center; min-width: 158px; }
.num b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
}
.num span { color: var(--text-dim); font-size: 0.86rem; }

/* ── PROGRAM ───────────────────────────────────────── */
.program-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pilir {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 30px;
}
.pilir:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-hover); }
.pilir-icon {
  width: 78px; height: 78px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pilir-icon img { width: 100%; height: 100%; display: block; }
.pilir-icon svg { width: 42px; height: 42px; display: block; }.pilir-cislo {
  position: absolute;
  top: 12px; right: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--sun-soft);
}
.pilir h3 { font-size: 1.34rem; margin-bottom: 6px; }
.pilir .pilir-heslo {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green);
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.pilir p { color: var(--text-dim); font-size: 0.97rem; }
.pilir-body { min-width: 0; }
/* karta čísel / hesel */
.pilir-karta { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 2px; }
.karta-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--sun-soft);
  border: 1.5px solid var(--line);
}
.karta-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--green);
}
.karta-item span { display: block; color: var(--text-dim); font-size: 0.8rem; margin-top: 4px; line-height: 1.35; }

/* rozbalení podrobností */
.pilir-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.pilir-toggle:hover { background: var(--cream-2); transform: translateY(-1px); }
.pilir-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.pilir.open .pilir-ico { transform: rotate(45deg); background: var(--sun); color: #FFFDF8; border-color: var(--sun); }
.pilir-detail { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.pilir-detail ul { list-style: none; margin: 14px 0 0; padding: 0; }
.pilir-detail li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.58;
}
.pilir-detail li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50% 40% 55% 45%;
  background: var(--sun);
}
.pilir.open .pilir-detail { max-height: 1200px; padding-bottom: 6px; }

/* ── TÉMATA (program stránka) ──────────────────────── */
.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 900px;
  margin: 34px auto 0;
  justify-content: center;
}
.topic-nav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  transition: transform 0.18s ease, background 0.18s ease;
}
.topic-nav a:hover { transform: translateY(-2px); background: var(--cream-2); }
.topic-nav a b { font-family: var(--font-display); color: var(--sun); }

/* ── KANDIDÁTI ─────────────────────────────────────── */
.kandidati { background: linear-gradient(180deg, var(--cream-2), #FFFCF5); }
.kandidati-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.kandidat {
  position: relative;
  padding: 32px 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.kandidat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sun) 30%, var(--green) 70%, transparent);
  opacity: 0.6;
}
.kandidat:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.kandidat-avatar {
  position: relative;
  width: 108px; height: 108px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 5px;
  background: var(--cream-2);
  border: 1.5px dashed var(--green);
  transition: transform 0.24s ease;
}
.kandidat:hover .kandidat-avatar { transform: scale(1.04); }
.kandidat-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(160deg, #FFFFFF, var(--cream-2));
}
.kandidat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kandidat-inicialy {
  color: var(--green-d);
  font-size: 1.7rem;
  letter-spacing: 1px;
  font-family: var(--font-display);
  font-weight: 700;
}
.kandidat-lidr { border-color: var(--sun); box-shadow: 5px 6px 0 var(--sun-soft); }
.kandidat-lidr::before { opacity: 1; }
.kandidat-cislo {
  position: absolute;
  bottom: -8px; left: -8px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFDF8;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  display: grid;
  place-items: center;
  z-index: 6;
  border: 2px solid var(--card);
}
.kandidat h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; line-height: 1.28; }
.kandidat .kand-profese { color: var(--text-dim); font-size: 0.85rem; margin-top: 8px; line-height: 1.45; }
.kandidat .kand-bydliste {
  color: var(--text-dim);
  font-size: 0.79rem;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kandidat .kand-bydliste::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sun);
}
.kandidat-lhota .kand-bydliste { color: var(--green-d); font-weight: 600; }
.kandidat-lhota .kand-bydliste::before { background: var(--green); }

/* ── FAQ ───────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--sun); color: #FFFDF8; border-color: var(--sun); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 26px;
  color: var(--text-dim);
  font-size: 0.96rem;
}
.faq-item.open .faq-a { max-height: 520px; padding-bottom: 22px; }

/* ── CTA ───────────────────────────────────────────── */
.cta { position: relative; text-align: center; overflow: hidden; background: var(--green-d); }
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/obec/6240-zapad.jpg') center / cover no-repeat;
  opacity: 0.30;
}
.cta-inner { max-width: 740px; margin: 0 auto; padding: 24px; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 16px; color: #FFFDF8; }
.cta-sub { color: rgba(243, 247, 242, 0.88); font-size: 1.12rem; margin-bottom: 28px; }
/* na tmavě zeleném pásu musí být i světlé tlačítko čitelné */
.cta .btn-outline, .section-green .btn-outline {
  background: #FFFDF8;
  border-color: #FFFDF8;
  color: var(--ink);
}
.cta .btn-outline:hover, .section-green .btn-outline:hover { background: #FFFFFF; }
.cta-sub b { color: #FFFDF8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── KONTAKT ───────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
}
.kontakt-card { padding: 30px 28px; text-align: center; }
.kontakt-card h3 { font-size: 1.02rem; margin-bottom: 10px; color: var(--green-d); }
.kontakt-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 8px; }
.kontakt-card a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
.kontakt-card a:hover { color: var(--sun); }
.contact-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  padding: 38px 30px;
  text-align: center;
  text-decoration: none;
  display: block;
}
.contact-card small {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 10px;
  font-weight: 700;
}
.contact-card b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink);
  line-height: 1.25;
  word-break: break-word;
}
.contact-card span { display: block; margin-top: 10px; color: var(--text-dim); font-size: 0.9rem; }
.contact-card:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-hover); }

/* ── BAND (fotka + textový blok) ───────────────────── */
.band { position: relative; padding: 0; overflow: hidden; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,92,66,.86) 0%, rgba(31,92,66,.66) 55%, rgba(31,92,66,.30) 100%); z-index: 1; }
.band-in { position: relative; z-index: 2; padding: 92px 24px; }
.band-box { max-width: 640px; }
.band-box h2 { color: #FFFDF8; margin-bottom: 14px; }
.band-box .eyebrow { color: var(--sun-l); }
.band-box p { color: rgba(243,247,242,.9); font-size: 1.02rem; }
.band-note {
  position: relative;
  z-index: 2;
  background: var(--sun);
  color: #2A2A24;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  text-align: center;
  padding: 10px 24px;
}

/* ── ROOTS (dvě fotky + text) ──────────────────────── */
.roots {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.roots-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.roots-photos img {
  width: 100%; height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-radius: 16px 20px 14px 18px;
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.roots-photos img:first-child { grid-row: span 2; min-height: 340px; }
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 12px 20px;
  border: 2px dashed var(--green);
  border-radius: 14px;
  transform: rotate(-1.5deg);
}
.stamp span { font-size: 0.84rem; color: var(--text-dim); line-height: 1.35; }
.stamp b { font-family: var(--font-display); font-size: 1.9rem; color: var(--green); }

/* ── seznamy, poznámky ─────────────────────────────── */
.dash { list-style: none; display: grid; gap: 10px; }
.dash li { position: relative; padding-left: 22px; color: var(--text-dim); font-size: 0.96rem; }
.dash li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 3px;
  border-radius: 2px;
  background: var(--sun);
}
.dash li b { color: var(--ink); }
.note { color: var(--text-dim); font-size: 0.88rem; }
.script { font-family: var(--font-hand); font-size: 1.7rem; color: var(--green-d); line-height: 1.2; }
.sig-line { display: block; margin-top: 18px; font-size: 0.88rem; letter-spacing: 0.05em; color: var(--sun); text-transform: uppercase; }
.motto {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--sun);
  margin-bottom: 8px;
}
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; max-width: 1120px; margin: 0 auto; }
.intro img { width: 100%; height: auto; border-radius: 18px 22px 16px 20px; border: 1.5px solid var(--line-strong); box-shadow: var(--shadow); display: block; }
.head { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; max-width: 1120px; margin: 0 auto; }
.lead { color: var(--text-dim); font-size: 1.04rem; }
.lead b, .lead strong { color: var(--ink); }

/* ── pose strip (proložení pózami) ─────────────────── */
.pose-strip { padding: 46px 24px; }
.pose-strip-head { max-width: 1120px; margin: 0 auto 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.pose-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto; }
.pose-strip figure { margin: 0; text-align: center; }
.pose-strip img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--cream-2);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
}
.pose-strip figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--text-dim); }

/* ── Časová osa ────────────────────────────────────── */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 8px, transparent 8px 14px);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -30px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50% 45% 55% 50%;
  background: var(--sun);
  border: 2px solid var(--card);
}
.tl-year { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.tl-text { color: var(--text-dim); font-size: 0.97rem; }
.tl-text b { color: var(--ink); }

/* ── Tabulka ───────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th, .data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { font-weight: 600; color: var(--text-dim); font-family: var(--font-body); font-size: 0.84rem; }
.data-table td { font-family: var(--font-display); font-size: 1.05rem; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .is-now { color: var(--green); font-weight: 700; }

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1.5px solid var(--line-strong);
  background: var(--cream-2);
  padding: 50px 24px 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: 34px;
  align-items: start;
}
.footer-logo { display: block; color: var(--ink); text-decoration: none; margin-bottom: 16px; }
.footer-logo img { height: 96px; width: auto; display: block; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; }
.footer-direct { margin-top: 14px; display: grid; gap: 6px; }
.footer-direct a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--green-d);
  text-decoration: none;
  font-weight: 700;
}
.footer-direct a:hover { color: var(--sun); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-d); }
.footer-legal p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.6; margin-bottom: 6px; }
.footer-legal a { color: var(--green-d); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 940px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--line-strong);
    box-shadow: 0 20px 40px rgba(42,42,36,.14);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .lead-band-in { grid-template-columns: 1fr; gap: 32px; }
  .lead-band-foto { max-width: 330px; margin: 0 auto; }
  .pilir { grid-template-columns: 1fr; gap: 14px; }
  .pilir-icon { width: 62px; height: 62px; }
  .intro, .head, .roots { grid-template-columns: 1fr; }
  .roots-photos img:first-child { grid-row: auto; min-height: 220px; }
}
@media (max-width: 560px) {
  section { padding: 74px 20px; }
  .hero { padding-top: 116px; }
  .hero-cislo { flex-direction: column; gap: 10px; }
  .hero-cislo-text { text-align: center; }
}

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

/* Obsah je viditelný VŽDY — žádná reveal animace, která skrývá sekce.
   .reveal je jen nosič pro budoucí jemné efekty, bez skrývání. */
.reveal { opacity: 1; transform: none; }


/* ══════════ VÍCEPODSTRÁNKOVÝ WEB — nové prvky (15. 9. 2026) ══════════ */

/* Badge v hlavičce: volby + číslo kandidátky */
.nav-volby {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  flex-shrink: 0;
  text-align: center;
}
.nav-volby b { font-size: 0.82rem; font-weight: 700; }
.nav-volby span { font-size: 0.78rem; color: var(--sun); font-weight: 600; }

/* Mřížka témat na homepage a v Našich tématech */
.temata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.tema {
  padding: 26px 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.tema h3 { font-size: 1.15rem; line-height: 1.25; }
.tema p { color: var(--text-dim); font-size: 0.95rem; }
.tema span { margin-top: auto; padding-top: 8px; color: var(--green-d); font-weight: 600; font-size: 0.9rem; }
.tema:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-hover); }

/* Blok Soužití: kandidát vedle textu */
.souziti-kandidat {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: center;
  padding: 20px 26px;
}
.souziti-kandidat img { width: 100%; display: block; border-radius: 16px; }
.souziti-kandidat h3 { font-size: 1.2rem; margin-bottom: 6px; }
.souziti-kandidat p { color: var(--text-dim); font-size: 0.95rem; }

/* Menu má osm položek + badge → dřívější zalamování do burgeru */
@media (max-width: 1400px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 0.88rem; }
}
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--line-strong);
    box-shadow: 0 20px 40px rgba(42, 42, 36, .14);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-volby { display: none; }
}
@media (max-width: 640px) {
  .souziti-kandidat { grid-template-columns: 1fr; text-align: center; }
  .souziti-kandidat img { max-width: 220px; margin: 0 auto; }
}


/* Stránky, které začínají pásem s fotkou: obsah nesmí podjet fixní hlavičku */
main > :first-child { padding-top: 132px; }


/* ══════════ SLIDER FOTEK KANDIDÁTŮ — kolečka ══════════ */
.foto-slider {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--cream-2) url('../img/obec/6213-panorama.jpg') center / cover no-repeat;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 16px 14px 10px;
  overflow: hidden;
}
.foto-slider::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 249, 239, .84) 0%, rgba(255, 249, 239, .93) 60%, rgba(255, 249, 239, .97) 100%);
  z-index: 0;
}
.foto-slider > * { position: relative; z-index: 1; }
.fs-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.fs-track::-webkit-scrollbar { height: 8px; }
.fs-track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.fs-item {
  flex: 0 0 auto;
  width: 128px;
  margin: 0;
  padding: 10px 8px 10px;
  scroll-snap-align: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fs-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.fs-foto {
  display: block;
  width: 78px; height: 78px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  border: 3px solid var(--card);
  box-shadow: 0 4px 14px rgba(42, 42, 36, .14);
}
.fs-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.fs-foto .fs-inicialy {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--green-d); background: var(--cream-2);
}
.fs-item figcaption { margin-top: 9px; font-size: 0.8rem; line-height: 1.25; }
.fs-item figcaption b { display: block; font-size: 0.82rem; margin-top: 3px; }
.fs-item figcaption span { color: var(--text-dim); font-size: 0.74rem; display: block; }
.fs-item .fs-cislo {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sun); color: #2A2A24;
  font-weight: 700; font-size: 0.76rem;
}
.fs-arrow {
  position: absolute; top: 42%; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--card); color: var(--ink);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  transition: transform .18s ease, opacity .18s ease;
}
.fs-arrow:hover { transform: translateY(-2px); }
.fs-arrow[disabled] { opacity: 0.35; cursor: default; }
.fs-prev { left: -12px; }
.fs-next { right: -12px; }
@media (max-width: 700px) {
  .foto-slider { padding: 16px 12px 8px; border-radius: 20px; }
  .fs-item { width: 112px; }
  .fs-foto { width: 68px; height: 68px; }
  .fs-arrow { display: none; }
}
/* ══════════ VIDEO SLOT (připraveno na video s Evou) ══════════ */
.video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px 22px 16px 20px;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--green-d);
}
.video-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: saturate(.92) brightness(.86);
}
.video-slot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 92, 66, .12), rgba(31, 92, 66, .55));
}
.video-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--sun);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.video-play::before {
  content: '';
  width: 0; height: 0;
  margin-left: 7px;
  border-left: 24px solid #2A2A24;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.video-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(255, 253, 248, .94);
  color: var(--ink);
  font-size: 0.8rem; font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.video-blok { max-width: 940px; margin: 0 auto; }
/* skutečný přehrávač, až bude video nahrané */
.video-slot video { width: 100%; height: 100%; display: block; object-fit: cover; }


/* ══════════ STRÁNKA KANDIDÁTŮ — velké karty ══════════ */
.kk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
  grid-auto-flow: dense;
}
.kk {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.kk-foto {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream-2);
}
.kk-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
  transition: transform .45s ease;
}
.kk:hover .kk-foto img { transform: scale(1.045); }
.kk-inicialy {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700;
  color: var(--green-d);
  background: var(--cream-2);
}
.kk-cislo {
  position: absolute; left: 12px; bottom: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--sun);
  color: #2A2A24;
  font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.kk-tag {
  position: absolute; right: 12px; top: 12px;
  background: var(--green-d); color: #FFFDF8;
  font-size: 0.72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.kk-telo { padding: 15px 17px 19px; }
.kk-telo h3 { font-size: 1.05rem; line-height: 1.25; }
.kk-profese { color: var(--text-dim); font-size: 0.88rem; margin-top: 5px; }
.kk-bydliste { color: var(--green-d); font-size: 0.82rem; font-weight: 600; margin-top: 7px; }

/* lídr kandidátky je větší — drží 2×2 blok */
.kk-grid .kk:first-child { grid-column: span 2; grid-row: span 2; }
.kk-grid .kk:first-child .kk-foto { aspect-ratio: auto; height: 100%; min-height: 420px; }
.kk-grid .kk:first-child .kk-telo { padding: 20px 24px 24px; }
.kk-grid .kk:first-child .kk-telo h3 { font-size: 1.6rem; }
.kk-grid .kk:first-child .kk-profese { font-size: 1rem; }
.kk-lidr { border-color: var(--sun); }

@media (max-width: 900px) {
  .kk-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .kk-grid .kk:first-child .kk-foto { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 560px) {
  .kk-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kk-telo { padding: 11px 12px 14px; }
  .kk-telo h3 { font-size: 0.92rem; }
  .kk-profese { font-size: 0.78rem; }
  .kk-bydliste { font-size: 0.74rem; }
  .kk-cislo { width: 28px; height: 28px; font-size: 0.78rem; left: 8px; bottom: 8px; }
  .kk-tag { display: none; }
}


/* ══════════ SEKCE S FOTKOU V POZADÍ (Naše město) ══════════ */
.sekce-foto {
  position: relative;
  background: url('../img/obec/6144-rybnik.jpg') center / cover no-repeat;
  overflow: hidden;
}
.sekce-foto::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 249, 239, .93) 0%, rgba(255, 249, 239, .78) 45%, rgba(255, 249, 239, .95) 100%);
  z-index: 0;
}
.sekce-foto > * { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .sekce-foto { background-position: center 30%; }
}


/* ══════════ ZELENÝ BANER S FOTKOU (Naše město — Budoucnost) ══════════ */
.sekce-green-foto {
  background-image:
    linear-gradient(rgba(31, 92, 66, .84), rgba(31, 92, 66, .90)),
    url('../img/obec/6217-louka.jpg');
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  .sekce-green-foto { background-position: center 35%; }
}


/* ══════════ PÁS S FOTKOU — tmavší horní část (čitelná hlavička) ══════════ */
.band::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 240px;
  background: linear-gradient(180deg, rgba(18, 52, 38, .80) 0%, rgba(18, 52, 38, .46) 45%, rgba(18, 52, 38, 0) 100%);
  z-index: 1;
  pointer-events: none;
}


/* ══════════ BANER TÉMATU V PROGRAMU ══════════ */
.tema-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 10px auto 0;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(115deg, #FFFDF8 0%, #F1F7EF 55%, #EAF3E7 100%);
  border: 1.5px solid var(--green-d);
  box-shadow: 0 10px 26px rgba(42, 42, 36, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.tema-banner:hover { transform: translate(-2px, -3px); box-shadow: 0 18px 38px rgba(42, 42, 36, 0.16); }
.tema-banner-ikona {
  display: grid; place-items: center;
  padding: 20px 6px 20px 22px;
}
.tema-banner-ikona img { width: 92px; height: 92px; object-fit: contain; display: block; }
.tema-banner-telo { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 22px 18px; }
.tema-banner-telo .eyebrow { color: var(--sun); font-size: 0.72rem; margin: 0; }
.tema-banner-telo strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 700;
}
.tema-banner-popis { color: var(--text-dim); font-size: 0.93rem; line-height: 1.45; }
.tema-banner-akce { padding: 0 26px; }
.tema-banner-cta {
  display: inline-block;
  background: var(--green-d);
  color: #FFFDF8;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.tema-banner:hover .tema-banner-cta { background: var(--sun); color: #2A2A24; }
@media (max-width: 720px) {
  .tema-banner { grid-template-columns: auto 1fr; }
  .tema-banner-ikona { padding: 16px 4px 16px 16px; }
  .tema-banner-ikona img { width: 66px; height: 66px; }
  .tema-banner-telo { padding: 18px 18px 6px 14px; }
  .tema-banner-telo strong { font-size: 1.1rem; }
  .tema-banner-akce { grid-column: 2; padding: 0 18px 18px 14px; }
}


/* ══════════ H1 NA PODSTRÁNKÁCH (stejná velikost jako h2) ══════════ */
main h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -0.01em; }
main h1 em { font-style: italic; }


/* ══════════ KOTVY TÉMAT (nesmí je zakrýt pevná hlavička) ══════════ */
.pilir, .tema-banner { scroll-margin-top: 96px; }
.pilir-zvyrazneny { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(232, 163, 61, .22); }
