/* ============================================================
   SVĚTLÁ HORA — Moderní obecní web
   Paleta: heraldická modrá, zlatá, stříbrná (ze znaku obce)
   ============================================================ */

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

:root {
  /* === ZNAKOVÉ BARVY === */
  --blue:         #2e50a0;   /* modrý štít  */
  --blue-dark:    #1c3478;   /* tmavší modrá */
  --blue-light:   #4a6ec0;   /* světlejší modrá */
  --blue-pale:    #dde6f7;   /* velmi světlá modrá */
  --gold:         #e8aa00;   /* zlaté slunce */
  --gold-light:   #f5cc40;   /* světlejší zlatá */
  --gold-dark:    #b88200;   /* tmavší zlatá */
  --silver:       #b8c8dc;   /* stříbrný měsíc/hvězdy */
  --silver-light: #e8eef6;   /* velmi světlá stříbrná */

  /* === ALIASY === */
  --color-primary:      var(--blue);
  --color-primary-dark: var(--blue-dark);
  --color-primary-light:var(--blue-light);
  --color-accent:       var(--gold);

  --color-text:       #141e35;
  --color-text-muted: #4a5470;
  --color-text-light: #7a87a8;

  --color-bg:       #ffffff;
  --color-bg-alt:   #f3f5fb;
  --color-bg-dark:  #0d1835;
  --color-border:   #dde3f0;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(30,50,120,0.06), 0 2px 8px rgba(30,50,120,0.04);
  --shadow-md: 0 4px 16px rgba(30,50,120,0.1),  0 8px 32px rgba(30,50,120,0.07);
  --shadow-lg: 0 8px 32px rgba(30,50,120,0.13), 0 16px 64px rgba(30,50,120,0.09);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled,
.nav.nav--solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(46,80,160,0.1), var(--shadow-sm);
}

.nav.scrolled .nav__logo-title,
.nav.nav--solid .nav__logo-title { color: var(--color-text); }
.nav.scrolled .nav__logo-sub,
.nav.nav--solid .nav__logo-sub   { color: var(--color-text-muted); }
.nav.scrolled .nav__links li a,
.nav.nav--solid .nav__links li a { color: var(--color-text); }
.nav.scrolled .nav__burger span,
.nav.nav--solid .nav__burger span { background: var(--color-text); }
.nav.nav--solid .nav__social-link { color: var(--color-text-muted); border-color: var(--color-border); }
.nav.nav--solid .nav__social-link:hover { color: var(--blue); background: var(--color-bg-alt); border-color: var(--blue); }

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.85; }

.nav__logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}

.nav__logo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  transition: color var(--transition);
}

.nav__logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  transition: color var(--transition);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__links li a:hover {
  color: white;
  background: rgba(255,255,255,0.12);
}

.nav.scrolled .nav__links li a:hover {
  background: var(--color-bg-alt);
  color: var(--blue);
}

.nav__btn {
  background: var(--blue) !important;
  color: white !important;
  padding: 8px 18px !important;
}
.nav__btn:hover { background: var(--blue-dark) !important; }

.nav__fb-mobile { display: none; }

.nav__socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav__social-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  letter-spacing: 0.02em;
}

.nav__social-link:hover {
  color: white;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}

.nav.scrolled .nav__social-link {
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.nav.scrolled .nav__social-link:hover {
  color: var(--blue);
  background: var(--color-bg-alt);
  border-color: var(--blue-pale);
}

/* Prezentační tlačítko — skrytí mlhy v hero */
.nav__fog-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.75);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  font-family: inherit;
  flex-shrink: 0;
}
.nav__fog-toggle:hover {
  color: white;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
}
.nav.scrolled .nav__fog-toggle {
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.nav.scrolled .nav__fog-toggle:hover {
  color: var(--blue);
  background: var(--color-bg-alt);
  border-color: var(--blue-pale);
}

/* Aktivní stav — fog je skrytý */
.nav__fog-toggle.is-active {
  color: var(--gold);
  border-color: rgba(232,170,0,0.5);
  background: rgba(232,170,0,0.08);
}
.nav.scrolled .nav__fog-toggle.is-active {
  color: var(--gold-dark);
  border-color: rgba(232,170,0,0.4);
  background: rgba(232,170,0,0.06);
}

/* Skrytí overlay při prezentačním režimu */
.hero__overlay--hidden {
  opacity: 0 !important;
  transition: opacity 0.6s ease;
}
.hero__overlay {
  transition: opacity 0.6s ease;
}

/* Přepínač jazyků — dropdown */
.nav__lang {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.06em;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__lang-toggle:hover,
.nav__lang-toggle.active { background: rgba(255,255,255,0.18); color: #fff; border-color: rgba(255,255,255,0.5); }

.nav.scrolled .nav__lang-toggle,
.nav.nav--solid .nav__lang-toggle {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
.nav.scrolled .nav__lang-toggle:hover,
.nav.nav--solid .nav__lang-toggle:hover,
.nav.scrolled .nav__lang-toggle.active,
.nav.nav--solid .nav__lang-toggle.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(46,80,160,0.06);
}

.nav__lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  min-width: 150px;
  overflow: hidden;
  z-index: 2000;
}
.nav__lang-menu.open { display: block; }

.nav__lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.85rem;
  transition: background var(--transition);
}
.nav__lang-option:hover { background: var(--color-bg-alt); }
.nav__lang-option--active { background: rgba(46,80,160,0.06); font-weight: 600; }

.nav__lang-code {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--blue);
  min-width: 24px;
  letter-spacing: 0.05em;
}
.nav__lang-name { color: var(--color-text-muted); font-size: 0.8rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

/* Dropdown submenu */
.nav__dropdown { position: relative; }

.nav__dropdown-label {
  display: block;
  padding: 8px 6px 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  line-height: 1.4;
}
.nav__dropdown-label:hover { color: white; background: rgba(255,255,255,0.12); }
.nav.scrolled .nav__dropdown-label,
.nav.nav--solid .nav__dropdown-label { color: var(--color-text); }
.nav.scrolled .nav__dropdown-label:hover,
.nav.nav--solid .nav__dropdown-label:hover { background: var(--color-bg-alt); color: var(--blue); }


.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px; /* mezera mezi headem a panelem */
  background: transparent;
  z-index: 2000;
  list-style: none;
  min-width: 210px;
}

/* Viditelný panel uvnitř */
.nav__dropdown-menu::after {
  content: '';
  display: block;
  position: absolute;
  inset: 8px 0 0 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  z-index: -1;
}

/* Neviditelný "most" přes mezeru — zabraňuje zavření při přejíždění myší */
.nav__dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__dropdown--open .nav__dropdown-menu,
.nav__dropdown:hover .nav__dropdown-menu { display: block; }

.nav__dropdown-menu li { position: relative; z-index: 1; }

.nav__dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--color-text) !important;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav__dropdown-menu li:first-child a { border-radius: 10px 10px 0 0; }
.nav__dropdown-menu li:last-child  a { border-radius: 0 0 10px 10px; }
.nav__dropdown-menu li:only-child  a { border-radius: 10px; }
.nav__dropdown-menu li a:hover {
  background: var(--color-bg-alt);
  color: var(--blue) !important;
}

/* ============================================================
   HERO VIDEO
   ============================================================ */

/* ============================================================
   EMERGENCY BAR
   ============================================================ */

.emergency {
  position: absolute;
  bottom: 88px; /* nad hero__scroll šipkou */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: min(720px, calc(100vw - 48px));
  width: max-content;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  animation: emergenceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes emergenceIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.emergency--warning {
  background: rgba(180, 83, 9, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fef3c7;
}
.emergency--danger {
  background: rgba(153, 27, 27, 0.88);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fee2e2;
}
.emergency--info {
  background: rgba(30, 58, 138, 0.88);
  border: 1px solid rgba(147, 197, 253, 0.4);
  color: #dbeafe;
}

.emergency__icon { flex-shrink: 0; opacity: 0.9; }

.emergency__msg {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.emergency__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: inherit;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 7px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.emergency__link:hover { background: rgba(255,255,255,0.28); color: inherit; }

@media (max-width: 600px) {
  .emergency {
    flex-wrap: wrap;
    bottom: 72px;
    text-align: left;
  }
  .emergency__link { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO VIDEO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-bg-dark);
}

.hero__video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13,24,53,0.55) 0%,
    rgba(13,24,53,0.25) 45%,
    rgba(13,24,53,0.7)  100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 24px;
  max-width: 820px;
  animation: heroFadeUp 1s ease both;
  animation-delay: 0.3s;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__znak {
  width: 76px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.55));
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  padding: 6px 20px;
  border: 1px solid rgba(232,170,0,0.45);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  background: rgba(46,80,160,0.35);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: white;
  text-shadow: 0 2px 28px rgba(13,24,53,0.5);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  background: rgba(13,24,53,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero__scroll:hover { color: white; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--blue-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,170,0,0.45);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,80,160,0.3);
}

/* ============================================================
   SECTIONS SHARED
   ============================================================ */

.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section__footer {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text .section__eyebrow { margin-bottom: 10px; }
.about__text .section__title   { margin-bottom: 20px; }

.about__lead {
  font-size: 1.08rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about__body {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.about__feature-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(46,80,160,0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__visual { position: relative; }

.about__img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 180px;
  gap: 12px;
}

.about__img-card--large { grid-column: 1 / -1; }

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  display: block;
}

.about__img-placeholder {
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
  position: relative;
}

.about__img-placeholder span {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  background: rgba(13,24,53,0.5);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

/* Krajinné placeholdery — modré tóny */
.about__img-placeholder--1 {
  background: linear-gradient(155deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
}
.about__img-placeholder--1::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240'%3E%3Ccircle cx='320' cy='50' r='30' fill='rgba(232,170,0,0.25)'/%3E%3Cpath d='M0 160 Q100 120 200 145 Q300 168 400 135 L400 240 L0 240Z' fill='rgba(28,52,120,0.45)'/%3E%3Cpath d='M40 175 L80 105 L120 175Z' fill='rgba(46,80,160,0.7)'/%3E%3Cpath d='M110 180 L165 95 L220 180Z' fill='rgba(74,110,192,0.8)'/%3E%3Cpath d='M200 185 L260 100 L320 185Z' fill='rgba(46,80,160,0.7)'/%3E%3Cpath d='M300 178 L340 120 L380 178Z' fill='rgba(74,110,192,0.65)'/%3E%3C/svg%3E") center/cover;
}

.about__img-placeholder--2 {
  background: linear-gradient(155deg, #0d1835 0%, var(--blue-dark) 100%);
}
.about__img-placeholder--2::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 180'%3E%3Ccircle cx='60' cy='50' r='28' fill='rgba(232,170,0,0.2)'/%3E%3Cpath d='M0 120 Q75 85 150 110 Q225 135 300 100 L300 180 L0 180Z' fill='rgba(13,24,53,0.55)'/%3E%3Cpath d='M50 120 L85 65 L120 120Z' fill='rgba(74,110,192,0.9)'/%3E%3Cpath d='M140 128 L180 60 L220 128Z' fill='rgba(46,80,160,0.9)'/%3E%3C/svg%3E") center/cover;
}

.about__img-placeholder--3 {
  background: linear-gradient(155deg, var(--blue) 0%, var(--blue-light) 100%);
}
.about__img-placeholder--3::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 180'%3E%3Crect x='60' y='70' width='180' height='110' rx='4' fill='rgba(255,255,255,0.12)'/%3E%3Crect x='80' y='52' width='140' height='40' rx='2' fill='rgba(255,255,255,0.1)'/%3E%3Crect x='120' y='120' width='60' height='60' fill='rgba(255,255,255,0.18)'/%3E%3Crect x='80' y='82' width='38' height='28' rx='2' fill='rgba(255,255,255,0.18)'/%3E%3Crect x='182' y='82' width='38' height='28' rx='2' fill='rgba(255,255,255,0.18)'/%3E%3C/svg%3E") center/cover;
}

/* ============================================================
   AKTUALITY
   ============================================================ */

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Velká featured karta */
.news-card--featured {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-card--featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card__header {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.news-card__header--event {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
}

.news-card__header--img {
  padding: 0;
}

.news-card__header-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Zlatý dekorativní svit v headeru */
.news-card__header--event::before {
  content: '';
  position: absolute;
  top: -30px; right: -20px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,170,0,0.3) 0%, transparent 70%);
}

.news-card__header-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
}

.news-card__header-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
}

.news-card__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Pravý sloupec — 3 menší karty */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card--side {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.news-card--side:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.news-card__side-accent {
  width: 4px;
  flex-shrink: 0;
}
.news-card__side-accent--green  { background: var(--blue); }
.news-card__side-accent--amber  { background: var(--gold); }
.news-card__side-accent--blue   { background: var(--blue-light); }

.news-card__side-icon {
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  background: rgba(46,80,160,0.06);
}
.news-card__side-icon--amber { color: var(--gold-dark); background: rgba(232,170,0,0.07); }
.news-card__side-icon--blue  { color: var(--blue-light); background: rgba(74,110,192,0.07); }

.news-card__side-body {
  padding: 18px 20px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Sdílené prvky */
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.news-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid;
}

.news-card__tag--white  { background: rgba(255,255,255,0.18); color: white;           border-color: rgba(255,255,255,0.32); }
.news-card__tag--green  { background: rgba(46,80,160,0.08);   color: var(--blue);     border-color: rgba(46,80,160,0.22); }
.news-card__tag--amber  { background: rgba(232,170,0,0.1);    color: var(--gold-dark);border-color: rgba(232,170,0,0.3); }
.news-card__tag--blue   { background: rgba(74,110,192,0.09);  color: var(--blue-light);border-color: rgba(74,110,192,0.25); }

.news-card__date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.news-card--featured .news-card__date { color: rgba(255,255,255,0.6); }

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-card--side .news-card__title {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.news-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.news-card--side .news-card__excerpt {
  font-size: 0.82rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}
.news-card__link:hover { gap: 10px; color: var(--blue-dark); }

.news-card__link--light { color: var(--gold-light); }
.news-card__link--light:hover { color: white; }

/* ============================================================
   ČÁSTI OBCE
   ============================================================ */

.parts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.part-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.part-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.part-card__img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.8;
  border-radius: 0;
}

.part-card__num,
.part-card__badge {
  position: relative;
  z-index: 2;
}

.part-card__visual {
  height: 140px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  overflow: hidden;
}

/* Zlatý odlesk (slunce) ve vizuálech */
.part-card__visual::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,170,0,0.35) 0%, transparent 70%);
  z-index: 0;
}

/* Krajinná silueta dole */
.part-card__visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55px;
  z-index: 0;
}

/* Každá část – jiný odstín modré (+ zlatý nádech) */
.part-card__visual--svetla {
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 100%);
}
.part-card__visual--svetla::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 55'%3E%3Cpath d='M0 38 L30 20 L60 33 L100 12 L140 28 L180 8 L220 24 L260 14 L300 32 L340 18 L400 28 L400 55 L0 55Z' fill='rgba(28,52,120,0.6)'/%3E%3Cpath d='M0 48 L50 34 L100 44 L160 26 L200 40 L250 28 L300 42 L350 30 L400 38 L400 55 L0 55Z' fill='rgba(13,24,53,0.5)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.part-card__visual--podlesi {
  background: linear-gradient(150deg, #112060 0%, #1e3a88 100%);
}
.part-card__visual--podlesi::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 55'%3E%3Cpath d='M0 30 L40 12 L80 24 L120 6 L160 20 L200 10 L240 22 L280 8 L320 26 L360 14 L400 22 L400 55 L0 55Z' fill='rgba(17,32,96,0.65)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.part-card__visual--sucha {
  background: linear-gradient(150deg, #1e3070 0%, #2e50a0 60%, #4a6ec0 100%);
}
.part-card__visual--sucha::before {
  background: radial-gradient(circle, rgba(232,170,0,0.4) 0%, transparent 70%);
}
.part-card__visual--sucha::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 55'%3E%3Cpath d='M0 35 L60 20 L120 30 L180 15 L240 28 L300 18 L360 30 L400 22 L400 55 L0 55Z' fill='rgba(30,48,112,0.55)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.part-card__visual--stara {
  background: linear-gradient(150deg, #0d1835 0%, #1c3478 60%, #2e50a0 100%);
}
.part-card__visual--stara::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 55'%3E%3Cpath d='M0 35 Q50 15 100 28 Q150 40 200 20 Q250 5 300 25 Q350 40 400 28 L400 55 L0 55Z' fill='rgba(13,24,53,0.6)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.part-card__visual--detr {
  background: linear-gradient(150deg, #162a6a 0%, #2642a0 60%, #3a5cc0 100%);
}
.part-card__visual--detr::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 55'%3E%3Cpath d='M0 30 L80 14 L160 26 L240 10 L320 22 L400 14 L400 55 L0 55Z' fill='rgba(22,42,106,0.6)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

.part-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.part-card__badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(232,170,0,0.25);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  border: 1px solid rgba(232,170,0,0.4);
  position: relative;
  z-index: 1;
  width: fit-content;
  align-self: flex-end;
}

.part-card__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.part-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.part-card__desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.part-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  margin-top: 12px;
  transition: gap var(--transition);
}
.part-card:hover .part-card__more { gap: 8px; }

/* ============================================================
   SLUŽBY — světlý design
   ============================================================ */

.section--services { background: var(--color-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Ikony: modrá / zlatá / stříbrná-modrá variace */
.service-card__icon--blue    { background: rgba(46,80,160,0.1);   color: var(--blue); }
.service-card__icon--gold    { background: rgba(232,170,0,0.12);  color: var(--gold-dark); }
.service-card__icon--silver  { background: rgba(184,200,220,0.25);color: #4a6494; }
.service-card__icon--navy    { background: rgba(28,52,120,0.1);   color: var(--blue-dark); }
.service-card__icon--sky     { background: rgba(74,110,192,0.1);  color: var(--blue-light); }
.service-card__icon--golden  { background: rgba(245,204,64,0.15); color: #9a7000; }

.service-card:hover .service-card__icon--blue   { background: rgba(46,80,160,0.18); }
.service-card:hover .service-card__icon--gold   { background: rgba(232,170,0,0.2); }
.service-card:hover .service-card__icon--silver { background: rgba(184,200,220,0.4); }
.service-card:hover .service-card__icon--navy   { background: rgba(28,52,120,0.18); }
.service-card:hover .service-card__icon--sky    { background: rgba(74,110,192,0.18); }
.service-card:hover .service-card__icon--golden { background: rgba(245,204,64,0.25); }

.service-card__content { flex: 1; min-width: 0; }

.service-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
  line-height: 1.2;
}

.service-card__desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.service-card__arrow {
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.service-card:hover .service-card__arrow {
  transform: translateX(4px);
  color: var(--blue);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-block__icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(46,80,160,0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-block h4 {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}
.contact-block p    { font-size: 0.93rem; color: var(--color-text); line-height: 1.6; }
.contact-block a    { font-size: 0.93rem; color: var(--blue); font-weight: 500; transition: color var(--transition); }
.contact-block a:hover { color: var(--blue-dark); }

.contact-ids {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-id:last-child { border-bottom: none; }
.contact-id__label { color: var(--color-text-light); font-weight: 500; }
.contact-id__val   { color: var(--color-text); font-weight: 600; font-variant-numeric: tabular-nums; }

.contact-map {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--blue);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

/* Zlatý proužek nahoře jako dekorace */
.footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  margin-bottom: 64px;
  opacity: 0.6;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer__logo-img {
  height: 52px;
  width: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 1;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col ul li a,
.footer__col address a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.footer__col ul li a:hover,
.footer__col address a:hover { color: var(--gold-light); }

.footer__col address { font-size: 0.875rem; line-height: 2; color: rgba(255,255,255,0.85); }

.footer__twin-towns {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.footer__twin-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__twin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
}

.footer__twin:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

.footer__twin-flag {
  font-size: 1.4rem;
  line-height: 1;
}

.footer__twin-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer__twin:hover .footer__twin-name { color: white; }

.footer__twin-country {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  margin-left: -4px;
}

.footer__partners {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.footer__partners-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer__partners-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer__partner {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.footer__partner:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.footer__credit { font-style: italic; }

.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__social a:hover { color: var(--gold-light); }

/* ============================================================
   EASTER EGG
   ============================================================ */

.egg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 24, 53, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.egg.egg--visible {
  opacity: 1;
  pointer-events: all;
}

.egg__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.egg__box {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 48px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  max-width: 420px;
  animation: eggPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes eggPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.egg__znak {
  height: 90px;
  width: auto;
  margin: 0 auto 20px;
  animation: eggSpin 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes eggSpin {
  from { transform: rotate(-180deg) scale(0); }
  to   { transform: rotate(0deg) scale(1); }
}

.egg__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.egg__msg {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

.egg__sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.egg__close {
  background: var(--gold);
  color: var(--color-bg-dark);
  border: none;
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.egg__close:hover {
  background: var(--gold-light);
  transform: scale(1.04);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .parts-grid    { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__img-grid { grid-template-rows: 200px 160px; }
  .about__img-card--large { grid-column: 1 / -1; }

  .news-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-map    { height: 360px; }

  .parts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .section         { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }

  .nav__burger { display: flex; z-index: 10; }
  .nav__socials { display: none; }
  .nav__lang { display: none; }
  .nav__fb-mobile { display: list-item; border-top: none; }
  .nav__fb-mobile:first-of-type { border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 8px; }
  .nav__fb-mobile a { color: var(--color-text-muted) !important; }
  .nav__fb-mobile a:hover { color: var(--blue) !important; background: var(--color-bg-alt); }

  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(46,80,160,0.15);
    z-index: 9;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links li   { width: 100%; }
  .nav__links li a {
    color: var(--color-text);
    font-size: 1rem;
    padding: 12px 14px;
    width: 100%;
  }
  .nav__links li a:hover { background: var(--color-bg-alt); color: var(--blue); }
  .nav__btn { margin-top: 8px; width: 100%; text-align: center; justify-content: center; }

  /* Dropdown — mobilní verze */
  .nav__dropdown:hover .nav__dropdown-menu { display: none; }
  .nav__dropdown-label {
    display: block;
    width: 100%;
    color: var(--color-text) !important;
    font-size: 1rem;
    padding: 12px 14px;
  }
  .nav__dropdown-label:hover { background: var(--color-bg-alt); color: var(--blue) !important; }
  .nav__dropdown-menu {
    display: block; /* vždy viditelné na mobilu */
    position: static;
    padding-top: 0;
    min-width: 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
  }
  .nav__dropdown-menu::before,
  .nav__dropdown-menu::after { display: none; }
  .nav__dropdown-menu li { z-index: auto; }
  .nav__dropdown-menu li a {
    padding: 10px 28px;
    font-size: 0.9rem;
    color: var(--color-text-muted) !important;
    border-radius: 0 !important;
  }
  .nav__dropdown-menu li a:hover { color: var(--blue) !important; background: rgba(46,80,160,0.06); }

  .hero__stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    width: min(100%, 420px);
    border-radius: var(--radius-md);
    overflow: hidden;
    justify-content: stretch;
  }
  .hero__stat-divider { display: none; }
  .hero__stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 6px;
    border-right: 1px solid rgba(255,255,255,0.1);
    background: rgba(13,24,53,0.5);
  }
  .hero__stat:last-child { border-right: none; }
  .hero__stat-num   { font-size: 1.3rem; }
  .hero__stat-label { font-size: 0.58rem; letter-spacing: 0.07em; }

  .services-grid { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; gap: 28px; }
  .about__features { grid-template-columns: 1fr; }

  .news-list-grid { grid-template-columns: 1fr; gap: 20px; }
  .news-detail__hero { height: 260px; }
}

@media (max-width: 480px) {
  .container   { padding: 0 16px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__stats { width: 100%; border-radius: var(--radius-sm); }
  .hero__stat-num   { font-size: 1.15rem; }
  .hero__stat-label { font-size: 0.57rem; }
  .parts-grid    { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   NAV — AKTIVNÍ ODKAZ
   ============================================================ */

.nav__link--active,
.nav.scrolled .nav__links li a.nav__link--active {
  color: var(--gold-light) !important;
  background: rgba(232,170,0,0.1);
  border-radius: var(--radius-sm);
}

/* ============================================================
   NEWS LIST PAGE
   ============================================================ */

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.news-list-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.news-list-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-list-card__img-wrap {
  display: block;
  height: 200px;
  overflow: hidden;
}

.news-list-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-list-card:hover .news-list-card__img {
  transform: scale(1.04);
}

.news-list-card__body {
  padding: 20px;
}

.news-list-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 8px 0;
  line-height: 1.4;
}

.news-list-card__title a {
  color: var(--color-text);
  transition: color var(--transition);
}
.news-list-card__title a:hover { color: var(--blue); }

.news-list-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   NEWS DETAIL PAGE
   ============================================================ */

.news-detail__hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin-top: 0;
}

.news-detail__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,24,53,0.6) 100%);
}

.news-detail {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.news-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.news-detail__back:hover { color: var(--blue); }

.news-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.news-detail__excerpt {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin: 20px 0 32px;
}

.news-detail__content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  margin-bottom: 40px;
}

.news-detail__content p { margin-bottom: 1.2em; }

.news-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.news-detail__gallery-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.news-detail__gallery-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.news-detail__gallery-img:hover { opacity: 0.88; }

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  cursor: default;
}
.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.lb-close:hover { opacity: 1; }

.news-detail__gallery-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.news-detail__external {
  margin: 32px 0;
}

.news-detail__nav {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  margin-top: 16px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


/* ============================================================
   ČÁST OBCE — detail
   ============================================================ */

.part-detail-page { min-height: 100vh; background: var(--color-bg); }

.part-detail__hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.part-detail__hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.part-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,50,0.75) 0%, rgba(10,20,50,0.2) 60%, transparent 100%);
}

.part-detail__hero-content {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  padding: 0 40px;
  color: #fff;
}

.part-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.part-detail__back:hover { color: #fff; }

.part-detail__num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.part-detail__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.part-detail__badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* Layout */
.part-detail__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  padding: 56px 0 80px;
  align-items: start;
}

.part-detail__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  font-style: italic;
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}

.part-detail__content { line-height: 1.8; color: var(--color-text); }
.part-detail__content p { margin-bottom: 1.2em; }

/* Galerie */
.part-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.part-detail__gallery-item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.part-detail__gallery-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.2s, transform 0.3s;
}
.part-detail__gallery-img:hover { opacity: 0.9; transform: scale(1.02); }

.part-detail__gallery-caption {
  padding: 8px 12px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Sidebar */
.part-detail__sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.part-detail__sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.part-detail__parts-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.part-detail__parts-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid transparent;
  transition: all var(--transition);
  font-size: 0.9rem;
}
.part-detail__parts-link:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}
.part-detail__parts-link--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 600;
}
.part-detail__parts-link--active:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.part-detail__parts-num {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.6;
  min-width: 24px;
}
.part-detail__parts-link--active .part-detail__parts-num { opacity: 0.8; color: #fff; }

.part-detail__parts-name { flex: 1; }

.part-detail__parts-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(46,80,160,0.1);
  color: var(--blue);
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
}
.part-detail__parts-link--active .part-detail__parts-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

@media (max-width: 768px) {
  .part-detail__hero { height: 300px; }
  .part-detail__hero-content { padding: 0 20px; bottom: 24px; }
  .part-detail__layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 60px; }
  .part-detail__sidebar { position: static; }
  .part-detail__parts-nav { flex-direction: row; flex-wrap: wrap; }
  .part-detail__parts-link { flex: 0 0 auto; }
}


/* ============================================================
   KONTAKTY — stránka pracovníků
   ============================================================ */

.contacts-page { min-height: 100vh; background: var(--color-bg); }

/* Obecný kontaktní bar nahoře */
.contacts-office-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 56px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.contacts-office-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contacts-office-item a { color: var(--color-text-muted); text-decoration: none; }
.contacts-office-item a:hover { color: var(--blue); }

/* Skupina */
.contacts-group { margin-bottom: 56px; }
.contacts-group__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contacts-group__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--blue);
  border-radius: 2px;
}

/* Grid karet */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

/* Karta pracovníka */
.staff-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.staff-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(46,80,160,0.2);
}

.staff-card__photo-wrap { flex-shrink: 0; }

.staff-card__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  display: block;
}

.staff-card__photo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8edf8, #d0d8ef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  border: 2px solid var(--color-border);
}

.staff-card__body { flex: 1; min-width: 0; }

.staff-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staff-card__role {
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.35;
}

.staff-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}

.staff-card__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.staff-card__contact-link:hover { color: var(--blue); }
.staff-card__contact-link--email { margin-top: 2px; }

/* Tlačítko "Všechny kontakty" uvnitř contact-info */
.contact-staff-teaser__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 600px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-office-bar { flex-direction: column; gap: 10px; }
}


/* ============================================================
   ZPRAVODAJ — seznam
   ============================================================ */

.zpravodaj-page { min-height: 100vh; background: var(--color-bg); }

.zpravodaj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  padding-bottom: 80px;
}

.zpravodaj-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.zpravodaj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.zpravodaj-card__cover {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.zpravodaj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.zpravodaj-card:hover .zpravodaj-card__img { transform: scale(1.03); }

.zpravodaj-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text-light);
  background: linear-gradient(145deg, #f0f4ff, #e8edf8);
}
.zpravodaj-card__placeholder svg { opacity: 0.5; }
.zpravodaj-card__placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.zpravodaj-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.zpravodaj-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.zpravodaj-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin: 0;
}
.zpravodaj-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.35;
}
.zpravodaj-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: auto;
}

.zpravodaj-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 64px 0;
}


/* ============================================================
   ZPRAVODAJ — PDF čtečka
   ============================================================ */

.pdf-reader-page {
  min-height: 100vh;
  background: #1a1a2e;
  display: flex;
  flex-direction: column;
}

/* Toolbar */
.pdf-toolbar {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: #16213e;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  gap: 16px;
  flex-wrap: wrap;
}

.pdf-toolbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pdf-toolbar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: color var(--transition);
}
.pdf-toolbar__back:hover { color: #fff; }

.pdf-toolbar__divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.pdf-toolbar__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.pdf-toolbar__badge {
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pdf-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-body);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.pdf-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.pdf-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pdf-btn--download {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  padding: 6px 14px;
}
.pdf-btn--download:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.pdf-zoom-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  min-width: 44px;
  text-align: center;
}

.pdf-page-info {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  padding: 0 6px;
}

/* Canvas area */
.pdf-viewer-wrap {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 48px;
  overflow-x: auto;
}

.pdf-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  min-height: 300px;
  font-size: 0.9rem;
}

.pdf-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pdf-canvas-wrap {
  display: none;
  justify-content: center;
}

.pdf-canvas-wrap canvas {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.pdf-error {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  padding: 48px;
  text-align: center;
}

/* Mobile nav bottom */
.pdf-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #16213e;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 16px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

@media (max-width: 640px) {
  .pdf-toolbar { height: auto; padding: 10px 14px; gap: 8px; }
  .pdf-toolbar__title { max-width: 160px; font-size: 0.82rem; }
  .pdf-toolbar__controls { display: none; }
  .pdf-btn__label { display: none; }
  .pdf-mobile-nav { display: flex; }
  .pdf-viewer-wrap { padding: 16px 8px 80px; }
  .zpravodaj-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
}

/* ── PAGE HERO (záhlaví podstránek) ──────────────────────────────────────── */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: white;
}
.page-hero--green { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); }
.page-hero__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.5rem;
}
.page-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.page-hero__sub {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 600px;
}

/* ── KALENDÁŘ AKCÍ ───────────────────────────────────────────────────────── */
.events-page__wrap { padding: 3rem 0 5rem; }

.events-section { margin-bottom: 4rem; }
.events-section__heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--silver-light);
}
.events-section--past .events-section__heading { color: var(--color-text-muted); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.events-grid--past { opacity: 0.75; }

.event-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 1px solid var(--silver-light);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.event-card--past { filter: grayscale(30%); }

.event-card__img-wrap {
  width: 110px;
  flex-shrink: 0;
  background: var(--silver-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-card__img-wrap--placeholder { background: #f0f0f0; }
.event-card__img { width: 100%; height: 100%; object-fit: cover; }

.event-card__body {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  flex: 1;
}

.event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 44px;
  flex-shrink: 0;
}
.event-card__day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}
.event-card__month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.event-card__info { flex: 1; min-width: 0; }
.event-card__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.event-card__location,
.event-card__time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.2rem;
}

.events-empty {
  text-align: center;
  padding: 3rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--silver-light);
  border-radius: 16px;
}

/* ── EVENT DETAIL ─────────────────────────────────────────────────────────── */
.event-detail__hero {
  position: relative;
  height: clamp(280px, 40vw, 480px);
  overflow: hidden;
}
.event-detail__hero--plain {
  height: auto;
  padding: 7rem 0 3rem;
}
.event-detail__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.event-detail__hero-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-bottom: 2.5rem;
  color: white;
}
.event-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.event-detail__back:hover { color: white; }
.event-detail__back--light { color: rgba(255,255,255,0.75); }
.event-detail__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
}

.event-detail__wrap { padding: 3rem 0 5rem; max-width: 820px; }

.event-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.event-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-text);
  padding: 1.1rem 1.5rem 1.1rem 0;
  font-size: 0.95rem;
}
.event-detail__meta-item + .event-detail__meta-item {
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-border);
}
.event-detail__meta-item svg { color: var(--color-primary); flex-shrink: 0; }
.event-detail__meta-item strong { font-weight: 600; }
@media (max-width: 640px) {
  .event-detail__meta { flex-direction: column; padding: 0 1.25rem; border-left-width: 4px; }
  .event-detail__meta-item { padding: 0.85rem 0; width: 100%; }
  .event-detail__meta-item + .event-detail__meta-item { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; }
  .event-detail__meta .btn { margin: 0.75rem 0 1rem; width: 100%; justify-content: center; }
}

.event-detail__body { margin-bottom: 3rem; }
.event-detail__backbtn { margin-top: 1rem; }

.event-detail__photo-section { margin: 2.5rem 0 3rem; }
.event-detail__photo-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.event-detail__photo-btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.event-detail__photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.event-detail__photo-btn:hover .event-detail__photo { transform: scale(1.02); }
.event-detail__photo-zoom {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.55);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.event-detail__photo-btn:hover .event-detail__photo-zoom { opacity: 1; }

/* Rich text výstup z CKEditor */
.rich-text h2, .rich-text h3 { margin: 1.5rem 0 0.75rem; font-family: 'Playfair Display', serif; }
.rich-text p { margin-bottom: 1rem; line-height: 1.75; }
.rich-text ul, .rich-text ol { margin: 0.75rem 0 1rem 1.5rem; }
.rich-text li { margin-bottom: 0.35rem; line-height: 1.65; }
.rich-text a { color: var(--color-primary); }
.rich-text strong { font-weight: 600; }

@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card__img-wrap { width: 80px; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 10px 0;
  margin-bottom: 8px;
}
.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.breadcrumbs__item { display: flex; align-items: center; gap: 4px; }
.breadcrumbs__item + .breadcrumbs__item::before {
  content: '/';
  color: var(--color-border);
  font-size: 0.75rem;
}
.breadcrumbs__link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumbs__link:hover { color: var(--color-primary); }
.breadcrumbs__current { color: var(--color-text); font-weight: 500; }

/* Světlá varianta (na tmavém hero pozadí) */
.breadcrumbs--light .breadcrumbs__list { color: rgba(255,255,255,0.7); }
.breadcrumbs--light .breadcrumbs__link { color: rgba(255,255,255,0.7); }
.breadcrumbs--light .breadcrumbs__link:hover { color: #fff; }
.breadcrumbs--light .breadcrumbs__current { color: #fff; }
.breadcrumbs--light .breadcrumbs__item + .breadcrumbs__item::before { color: rgba(255,255,255,0.35); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--color-primary-dark); }
@media (max-width: 640px) {
  .scroll-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}
