@charset "UTF-8";
/* ============================================================================
   CYKLO KRUŠNÉ HORY — designový systém
   ---------------------------------------------------------------------------
   Redesign 9. 9. 2026 stál na tmavé „břidlicové“ základně; web ale působil
   příliš černě. Verze z 14. 9. 2026 („hřebeny v mlze“) je světlá: papírový
   podklad, bledé nebe v hero, vrstvené zelené hřebeny a sytá zeleň
   Krušnohoří jen tam, kde má něco nést. Tmavě zelená zůstává jen v patičce,
   aby web měl pevné zakončení. Černá se nepoužívá nikde.

   Struktura:
     1. Tokeny            8.  Dlaždice rozcestníku
     2. Reset a základ    9.  Pruh etap
     3. Typografie        10. Vnitřní stránky (hlavička + obsah)
     4. Tlačítka          11. Karty, aktuality
     5. Hlavička a menu   12. Partneři
     6. Hero              13. Patička
     7. Sekce a pásy      14. Pohyb + responzivita
   ========================================================================= */

/* ---- 1. Tokeny ---------------------------------------------------------- */

:root {
  /* Zeleň — nese značku, nahrazuje dřívější skoro černou */
  --ck-forest:     #1E4D2B;   /* nejtmavší plocha webu (patička) */
  --ck-forest-2:   #26603A;
  --ck-green:      #2F8B2B;   /* brandová zeleň Krušnohoří */
  --ck-green-dark: #23691F;   /* zelený text na světlém (kontrast AA) */
  --ck-lime:       #A9DB1F;   /* akcent jen na tmavé zeleni */

  /* Světlé plochy */
  --ck-paper:      #FAFAF5;
  --ck-paper-2:    #F1F4EB;
  --ck-sage:       #E3ECDA;
  --ck-sage-2:     #D2E2C5;
  --ck-sky:        #E4EEF0;   /* bledé nebe nad hřebeny */

  /* Měď / ruda — druhý akcent */
  --ck-ore:        #B85C1A;
  --ck-ore-tint:   #F5E6D5;

  /* Text */
  --ck-text:       #1B2A21;
  --ck-text-soft:  #56655B;
  --ck-text-inv:   #F7F8F2;
  --ck-text-inv-soft: rgba(247, 248, 242, 0.76);

  /* Linky a stíny */
  --ck-line:       rgba(30, 77, 43, 0.14);
  --ck-line-inv:   rgba(247, 248, 242, 0.2);
  --ck-shadow:     0 22px 44px -18px rgba(30, 77, 43, 0.28);

  /* Rytmus */
  --ck-radius:     6px;
  --ck-radius-lg:  14px;
  --ck-gap:        clamp(16px, 2.2vw, 28px);
  --ck-pad-x:      clamp(18px, 5vw, 72px);
  --ck-section-y:  clamp(64px, 9vw, 140px);

  /* Písma */
  --ck-display: "Archivo", "Outfit", system-ui, sans-serif;
  --ck-body:    "Outfit", system-ui, -apple-system, sans-serif;
  --ck-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Grafika — vrstevnice v zelené (na světlém) a v limetce (na tmavém) */
  --ck-contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='420' viewBox='0 0 1200 420'%3E%3Cg fill='none' stroke='%232F8B2B' stroke-width='1.1' opacity='0.5'%3E%3Cpath d='M-20 300 C 160 250 250 330 420 288 C 610 240 700 320 880 276 C 1040 236 1120 300 1240 268'/%3E%3Cpath d='M-20 336 C 160 286 250 366 420 324 C 610 276 700 356 880 312 C 1040 272 1120 336 1240 304'/%3E%3Cpath d='M-20 372 C 160 322 250 402 420 360 C 610 312 700 392 880 348 C 1040 308 1120 372 1240 340'/%3E%3Cpath d='M-20 264 C 160 214 250 294 420 252 C 610 204 700 284 880 240 C 1040 200 1120 264 1240 232'/%3E%3Cpath d='M-20 228 C 160 178 250 258 420 216 C 610 168 700 248 880 204 C 1040 164 1120 228 1240 196'/%3E%3C/g%3E%3C/svg%3E");
  --ck-contour-inv: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='420' viewBox='0 0 1200 420'%3E%3Cg fill='none' stroke='%23A9DB1F' stroke-width='1.1' opacity='0.5'%3E%3Cpath d='M-20 300 C 160 250 250 330 420 288 C 610 240 700 320 880 276 C 1040 236 1120 300 1240 268'/%3E%3Cpath d='M-20 336 C 160 286 250 366 420 324 C 610 276 700 356 880 312 C 1040 272 1120 336 1240 304'/%3E%3Cpath d='M-20 372 C 160 322 250 402 420 360 C 610 312 700 392 880 348 C 1040 308 1120 372 1240 340'/%3E%3Cpath d='M-20 264 C 160 214 250 294 420 252 C 610 204 700 284 880 240 C 1040 200 1120 264 1240 232'/%3E%3Cpath d='M-20 228 C 160 178 250 258 420 216 C 610 168 700 248 880 204 C 1040 164 1120 228 1240 196'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- 2. Reset a základ -------------------------------------------------- */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ck-body) !important;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ck-text);
  background: var(--ck-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
footer { margin-top: auto; }

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

p, li, td, th, span, div, a, input, textarea, select, label, .paragraph {
  font-family: var(--ck-body) !important;
}

::selection { background: var(--ck-sage-2); color: var(--ck-forest); }

img { max-width: 100%; }

a { color: var(--ck-green-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ck-green); }

.container { width: 100%; max-width: 1320px; padding-left: var(--ck-pad-x); padding-right: var(--ck-pad-x); }

/* ---- 3. Typografie ------------------------------------------------------ */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6, .section-title {
  font-family: var(--ck-display) !important;
  color: var(--ck-text);   /* neutrální tmavá — žádné zelené titulky (Tomáš 24.9.2026) */
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.032em;
  line-height: 1.02;
  margin-top: 0;
}

h1, .h1 { font-size: clamp(38px, 6.4vw, 92px); font-weight: 900; }
h2, .h2, .section-title { font-size: clamp(21px, 3.1vw, 43px); }  /* zmenšeno na ~70 % (Tomáš 24.9.2026) */
h3, .h3 { font-size: clamp(24px, 2.6vw, 38px); }
h4, .h4 { font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.022em; }
h5, .h5 { font-size: clamp(17px, 1.4vw, 20px); letter-spacing: -0.015em; }
h6, .h6 { font-size: 15px; letter-spacing: 0; }

.font-secondary { font-family: var(--ck-body) !important; }

/* Monospace „kicker“ — nese celý systém popisků */
.ck-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ck-mono) !important;
  font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ck-text-soft);
  margin: 0 0 18px;
}
.ck-kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--ck-ore); display: block;
}
.ck-kicker--inv { color: var(--ck-green-dark); }

/* Staré oddělovače nadpisů z původní šablony — nahrazeny kickerem */
.section-title-border, .section-title-border-white { display: none !important; }

/* ---- 4. Tlačítka -------------------------------------------------------- */

.btn, .btn-primary-outline, .btn-outline-secondary {
  font-family: var(--ck-mono) !important;
  font-size: 12px !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary-outline {
  background: var(--ck-green);
  color: #fff !important;
  border-color: var(--ck-green);
}
.btn-primary-outline:hover {
  background: var(--ck-green-dark);
  border-color: var(--ck-green-dark);
  color: #fff !important;
  box-shadow: var(--ck-shadow);
}
.btn-outline-secondary {
  background: transparent;
  color: var(--ck-forest) !important;
  border-color: var(--ck-line);
}
.btn-outline-secondary:hover {
  background: var(--ck-sage); color: var(--ck-forest) !important; border-color: var(--ck-sage-2);
}
/* Hlavní výzva (dřív limetková na tmavém) */
.ck-btn-lime {
  background: var(--ck-green); color: #fff !important; border-color: var(--ck-green);
}
.ck-btn-lime:hover { background: var(--ck-green-dark); border-color: var(--ck-green-dark); color: #fff !important; box-shadow: var(--ck-shadow); }
/* Vedlejší výzva (dřív průhledná na tmavém) */
.ck-btn-ghost {
  background: rgba(255, 255, 255, .6); color: var(--ck-forest) !important; border-color: var(--ck-line);
}
.ck-btn-ghost:hover { background: #fff; border-color: var(--ck-green); color: var(--ck-forest) !important; }

/* ---- 5. Hlavička a menu ------------------------------------------------- */
/*  Sdílená šablona posílá tři samostatné pruhy (jazyky / logo / menu).
    Flexem z nich skládáme jednu světlou lištu: logo | menu | jazyky.       */

header.ck-header {
  /* !important — sdílená šablona dává hlavičce inline position:relative */
  position: sticky !important; top: 0; z-index: 1000;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(10px, 2.4vw, 44px);
  /* Obsah lišty drží stejnou osu jako .container (max 1320 px) */
  padding-inline: max(var(--ck-pad-x), calc((100% - 1320px) / 2 + var(--ck-pad-x)));
  padding-block: 0;
  background: rgba(250, 250, 245, 0.9);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--ck-line);
  transition: padding .25s ease, background-color .25s ease, box-shadow .25s ease;
}
header.ck-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ck-green) 30%, var(--ck-ore) 70%, transparent);
  opacity: .35;
}
.ck-header .container { max-width: none; width: auto; padding: 0; margin: 0; }

.ck-header .navigation, .ck-header .navbar, .ck-header .navigation.bg-white {
  background: transparent !important;   /* bootstrapí bg-white ze šablony */
}
.ck-header .navigation { order: 1; flex: 0 0 auto; }
.ck-header .ck-navbar  { order: 2; flex: 1 1 auto; min-width: 0; }
.ck-header .top-header { order: 3; flex: 0 0 auto; background: transparent !important; padding: 0 !important; }
.ck-header .top-header .row { margin: 0; }
.ck-header .top-header .col-md-6:first-child { display: none; }   /* název webu nese logo */
.ck-header .top-header .col-md-6 { width: auto; padding: 0; }

.ck-header .navbar { padding: 0; }
.ck-header .navbar-brand { padding: 0; margin: 0; display: flex; align-items: center; }
.ck-header .navbar-brand img.brand {
  height: 46px; width: auto; display: block;
  transition: height .25s ease;
}
.ck-header.is-stuck { background: rgba(250, 250, 245, 0.97); box-shadow: 0 10px 30px -18px rgba(30, 77, 43, .35); }
/* Logo se při scrollu NEzmenšuje (Horáček 24. 9. 2026) — drží výchozí výšku. */

.ck-header .navbar-nav { gap: clamp(4px, 1.4vw, 22px); align-items: center; }
.ck-header .nav-link {
  font-family: var(--ck-mono) !important;
  font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ck-text-soft) !important;
  padding: 26px 2px !important;
  position: relative;
  white-space: nowrap;
}
.ck-header .nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px;
  background: var(--ck-green); border: 0 !important; transition: right .28s cubic-bezier(.2,.7,.3,1);
}
.ck-header .nav-link:hover, .ck-header .nav-link.active { color: var(--ck-forest) !important; }
.ck-header .nav-link:hover::after, .ck-header .nav-link.active::after { right: 0; }
.ck-header .nav-link.dropdown-toggle { padding-right: 16px !important; }
.ck-header .dropdown-toggle::before {
  content: "▾"; display: block; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 9px; opacity: .65; border: 0;
}

.ck-header .dropdown-menu {
  background: #fff;
  border: 1px solid var(--ck-line);
  border-radius: var(--ck-radius-lg);
  padding: 10px;
  margin-top: 0;
  box-shadow: 0 30px 60px -20px rgba(30, 77, 43, .3);
  min-width: 290px;
}
.ck-header .dropdown-item {
  color: var(--ck-text) !important;
  font-size: 14px; font-weight: 500;
  padding: 11px 14px; border-radius: var(--ck-radius);
  white-space: normal;
  transition: background-color .16s ease, color .16s ease, padding-left .16s ease;
}
.ck-header .dropdown-item:hover, .ck-header .dropdown-item.active {
  background: var(--ck-sage); color: var(--ck-forest) !important; padding-left: 20px;
}

/* Rozbalení menu už po najetí myší (Horáček 24. 9. 2026) — jen na desktopu;
   na mobilu (≤991) zůstává rozbalení klikem. Neruší klik z Bootstrapu. */
@media (min-width: 992px) {
  .ck-header .nav-item.dropdown:hover > .dropdown-menu { display: block; }
  .ck-header .nav-item.dropdown > .dropdown-menu { margin-top: 0; top: 100%; left: 0; }
  /* neviditelný můstek přes mezeru mezi odkazem a menu, ať se při přejezdu nezavře */
  .ck-header .nav-item.dropdown:hover::before {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px;
  }
  .ck-header .nav-item.dropdown { position: relative; }
}

/* jazykové vlaječky */
.ck-header .top-header .list-inline { margin: 0; display: flex; gap: 4px; align-items: center; }
.ck-header .top-header .list-inline-item { margin: 0; }
.ck-header .top-header img {
  /* SVG vlajek nemají poměr 3:2 → pevný rozměr + cover, jinak zůstane
     v rámečku prázdný pruh nahoře a dole */
  width: 26px !important; height: 18px !important; margin: 0 !important;
  object-fit: cover; display: block;
  border-radius: 3px; opacity: .7; transition: opacity .18s ease, transform .18s ease;
  box-shadow: 0 0 0 1px var(--ck-line);
}
.ck-header .top-header a:hover img { opacity: 1; transform: translateY(-1px); }

.ck-header .navbar-toggler {
  color: var(--ck-forest); padding: 8px 0 8px 14px; box-shadow: none !important;
}
.ck-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231E4D2B' stroke-width='2.2' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

@media (max-width: 991.98px) {
  header.ck-header { padding-top: 10px; padding-bottom: 10px; row-gap: 0; }
  .ck-header .navigation { order: 1; flex: 1 1 auto; }
  .ck-header .navigation .navbar { display: flex; justify-content: space-between; width: 100%; }
  .ck-header .top-header { order: 2; }
  .ck-header .ck-navbar { order: 3; flex: 0 0 100%; width: 100%; }
  .ck-header .navbar-nav { align-items: stretch; gap: 0; padding: 8px 0 18px; }
  .ck-header .nav-link { padding: 14px 0 !important; font-size: 13px; text-align: left; }
  .ck-header .nav-link::after { display: none; }
  .ck-header .navbar-collapse { text-align: left !important; }
  .ck-header .dropdown-menu { background: transparent; border: 0; box-shadow: none; padding: 0 0 0 14px; }
}

/* ---- 6. Hero ------------------------------------------------------------ */
/*  Bledé nebe nahoře, vrstvené hřebeny dole. Poslední hřeben má barvu
    papíru, takže hero plynule přejde do rozcestníku pod ním. Barvy vrstev
    hřebene jsou v index.php jako atributy fill — CSS je přebíjí.           */

.ck-hero {
  position: relative;
  background:
    radial-gradient(70% 60% at 82% 18%, rgba(255, 244, 214, .85) 0%, rgba(255, 244, 214, 0) 70%),
    linear-gradient(180deg, var(--ck-sky) 0%, #EEF3E6 58%, var(--ck-paper) 100%);
  color: var(--ck-text);
  overflow: hidden;
  isolation: isolate;
}
.ck-hero__photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .5; filter: saturate(.9);
  /* Fotka se k hřebenům a k textu rozplyne do mlhy */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 40%, #000 80%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 40%, #000 80%);
}
.ck-hero::before { content: none; }
.ck-hero__ridge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  height: min(58%, 460px); pointer-events: none;
}
.ck-hero__ridge svg { width: 100%; height: 100%; display: block; }
.ck-hero__ridge path:nth-child(1) { fill: #C9DCC0; }
.ck-hero__ridge path:nth-child(2) { fill: #9DC48E; opacity: .75; }
.ck-hero__ridge path:nth-child(3) { fill: var(--ck-paper); }
.ck-hero__contour {
  position: absolute; inset: auto 0 0 0; height: 70%; z-index: 1; pointer-events: none;
  background-image: var(--ck-contour);
  background-size: 1600px auto; background-repeat: repeat-x; background-position: center bottom;
  opacity: .1;
}
.ck-hero__inner {
  position: relative; z-index: 3;
  padding: clamp(64px, 10vw, 140px) var(--ck-pad-x) clamp(120px, 14vw, 200px);
  max-width: 1320px; margin: 0 auto;
}
.ck-hero .ck-kicker { color: var(--ck-green-dark); }
.ck-hero h1 {
  color: var(--ck-forest);
  font-size: clamp(44px, 8.6vw, 132px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  max-width: 16ch;
}
.ck-hero h1 em {
  font-style: normal;
  color: var(--ck-green);
}
.ck-hero h1 b { font-weight: 900; color: var(--ck-green); }
.ck-hero__lead {
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.6;
  color: var(--ck-text-soft);
  max-width: 58ch;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
}
.ck-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(40px, 6vw, 78px); }

.ck-hero__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 0; max-width: 820px;
}
.ck-hero__fact {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--ck-line);
  border-radius: var(--ck-radius-lg);
  padding: 18px 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ck-hero__fact dt {
  font-family: var(--ck-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--ck-ore);
  margin-bottom: 8px;
}
.ck-hero__fact dd {
  margin: 0; font-family: var(--ck-display); font-weight: 800;
  font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.03em; color: var(--ck-forest);
  line-height: 1.1;
}

.ck-hero__scroll {
  position: absolute; z-index: 3; bottom: 26px;
  left: max(var(--ck-pad-x), calc((100% - 1320px) / 2 + var(--ck-pad-x)));
  font-family: var(--ck-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ck-text-soft) !important; display: inline-flex; align-items: center; gap: 10px;
}
.ck-hero__scroll span {
  width: 30px; height: 30px; border: 1px solid var(--ck-line); border-radius: 50%; background: #fff;
  display: grid; place-items: center; animation: ck-bob 2.4s ease-in-out infinite;
}
@keyframes ck-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---- 7. Sekce a pásy ---------------------------------------------------- */

.section { padding: var(--ck-section-y) 0; }
section.pt-1 { padding-top: clamp(20px, 2.5vw, 36px) !important; }  /* dřív 48–96 px + py-4 = díra pod titulkem (Horáček 25. 9. 2026) */

.bg-white { background: var(--ck-paper) !important; }
.bg-gray  { background: var(--ck-paper-2) !important; }

/* „bg-secondary“ ze sdílené šablony: výchozí je tmavě zelený pás
   (Instagram, patička). Pás etap má níže vlastní světlou variantu. */
.bg-secondary {
  background: var(--ck-forest) !important;
  color: var(--ck-text-inv);
  position: relative;
  overflow: hidden;
}
.bg-secondary::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--ck-contour-inv);
  background-size: 1400px auto; background-repeat: repeat-x; background-position: center 120%;
  opacity: .12;
}
.bg-secondary > * { position: relative; z-index: 1; }
.bg-secondary .section-title, .bg-secondary h2, .bg-secondary h4, .bg-secondary .text-white { color: var(--ck-text-inv) !important; }
.bg-secondary .text-light { color: var(--ck-text-inv-soft) !important; }
.text-primary { color: var(--ck-green) !important; }

/* Nadpisy sekcí zarovnané doleva */
.bg-secondary .col-12.text-center,
.section .col-12.text-center { text-align: left !important; }
.section-title { max-width: 20ch; }
.ck-druhy .section-title { max-width: none; }
.bg-secondary .section-title { margin-bottom: 0; }

/* Přesah bílé sekce přes pás */
.section-bottom-lg { padding-bottom: clamp(120px, 16vw, 230px) !important; }
.service-wrapper { transform: translateY(clamp(-190px, -13vw, -90px)); margin-bottom: clamp(-170px, -12vw, -80px); }

/* ---- 8. Dlaždice rozcestníku (titulka) ---------------------------------- */
/*  Světlé tónované karty. S fotkou: obrázek nahoře, přechod do tónu karty
    pod textem. Bez fotky: čistá tónovaná plocha s jemnými vrstevnicemi.   */

.ck-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--ck-gap);
}
/* Dlaždice = čistá karta (přepracováno 24. 9. 2026): fotka nahoře, pod ní bílé
   tělo s popiskem, nadpisem, perexem a odkazem. Žádný barevný nádech přes fotku. */
/* Dlaždice = moderní immerzivní karta (24. 9. 2026): celá fotka, neutrální tmavý
   gradient (ne zelený) a bílý text dole; perex se rozbalí na hover. */
.ck-tile {
  grid-column: span 2;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: clamp(22px, 2vw, 30px);
  border-radius: 20px; overflow: hidden;
  background: var(--ck-sage);
  color: #fff !important; text-decoration: none;
  box-shadow: 0 18px 40px -24px rgba(12, 16, 14, .6);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.ck-tile--wide { grid-column: span 2; }
.ck-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(12, 16, 14, .7); }

.ck-tile__art { position: absolute; inset: 0; z-index: 0; }
.ck-tile__art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.ck-tile:hover .ck-tile__art img { transform: scale(1.07); }
/* neutrální tmavý gradient pro čitelnost textu — žádná zelená */
.ck-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 15, 13, .90) 0%, rgba(11, 15, 13, .55) 34%, rgba(11, 15, 13, .10) 62%, rgba(11, 15, 13, 0) 82%);
}
.ck-tile > * { position: relative; z-index: 2; }
.ck-tile > .ck-tile__art { position: absolute; z-index: 0; }

.ck-tile__num {
  position: absolute; top: clamp(16px, 1.6vw, 24px); left: clamp(20px, 2vw, 28px); z-index: 2;
  font-family: var(--ck-display) !important; font-weight: 900;
  font-size: clamp(40px, 4vw, 60px); line-height: 1; font-variant-numeric: tabular-nums;
  color: #fff; opacity: .92; text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

.ck-tile__meta {
  font-family: var(--ck-mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em; color: rgba(255, 255, 255, .82);
  margin-bottom: 10px; display: block;
}
.ck-tile h3, .ck-tile h4 {
  color: #fff !important;
  font-size: clamp(21px, 2vw, 30px); margin: 0; letter-spacing: -0.03em; line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
/* perex — vždy 2 řádky s výpustkou (bez rozbalení na hover, aby se u pevné
   výšky karty neořízl nadpis nahoře); celý text je na cílové stránce. */
.ck-tile p {
  color: rgba(255, 255, 255, .9); margin: 12px 0 0; font-size: 14px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ck-tile__cta {
  font-family: var(--ck-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; color: #fff;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px;
}
.ck-tile__cta i {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: grid; place-items: center; font-style: normal;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ck-tile:hover .ck-tile__cta i {
  background: #fff; border-color: #fff; color: var(--ck-forest); transform: translateX(4px);
}
.ck-tile--ext .ck-tile__meta::after { content: " ↗"; }

@media (max-width: 991.98px) { .ck-tiles { grid-template-columns: repeat(4, 1fr); } .ck-tile--wide { grid-column: span 4; } }
@media (max-width: 700px)    { .ck-tiles { grid-template-columns: 1fr; } .ck-tile, .ck-tile--wide { grid-column: span 1; min-height: 280px; } }

/* Dlaždice zarovnané na střed jako karty na Ohři (Horáček 25. 9. 2026):
   neúplný poslední řádek (2 z 3) se vycentruje. Flex místo gridu. */
.ck-tiles { display: flex; flex-wrap: wrap; justify-content: center; }
.ck-tile, .ck-tile--wide { flex: 0 0 calc((100% - 2 * var(--ck-gap)) / 3); max-width: calc((100% - 2 * var(--ck-gap)) / 3); }
@media (max-width: 991.98px) { .ck-tile, .ck-tile--wide { flex-basis: calc((100% - var(--ck-gap)) / 2); max-width: calc((100% - var(--ck-gap)) / 2); } }
@media (max-width: 700px)    { .ck-tile, .ck-tile--wide { flex-basis: 100%; max-width: 100%; } }

/* Mezera mezi dlaždicemi a Partnery projektu — dvě bílé sekce za sebou
   sčítaly spodní i horní odsazení (~250 px). */
.ck-druhy { padding-bottom: clamp(40px, 4.5vw, 70px) !important; }
.ck-druhy + .section.bg-white { padding-top: clamp(24px, 3vw, 48px) !important; }

/* ---- 9. Etapy jako číslovaný rail --------------------------------------- */
/*  Pás s nadpisem je světle šalvějový (ne tmavý), seznam etap pod ním na
    papíře. Řádek se při najetí podbarví šalvějí a číslo zezelená.         */

.ck-etapy .section-bottom-lg { padding-bottom: var(--ck-section-y) !important; }
.ck-etapy .service-wrapper { transform: none; margin: 0; padding: clamp(40px, 5vw, 76px) 0 var(--ck-section-y); }
.ck-etapy .section.bg-secondary {
  padding: clamp(48px, 6vw, 92px) 0 !important;
  background: linear-gradient(180deg, var(--ck-sage) 0%, var(--ck-paper) 100%) !important;
  color: var(--ck-text);
}
.ck-etapy .bg-secondary::before { background-image: var(--ck-contour); opacity: .12; }
.ck-etapy .bg-secondary .section-title,
.ck-etapy .bg-secondary h2,
.ck-etapy .bg-secondary .text-white { color: var(--ck-forest) !important; }

.kat-card__media--empty {
  background: linear-gradient(160deg, var(--ck-sage) 0%, var(--ck-sage-2) 100%);
}

.ck-stages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ck-line); }
.ck-stage { position: relative; }
.ck-stage > a {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  padding: clamp(20px, 2.4vw, 30px) clamp(12px, 1.6vw, 22px);
  border-bottom: 1px solid var(--ck-line);
  color: var(--ck-text) !important;
  text-decoration: none;
}
.ck-stage > a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ck-sage); border-radius: var(--ck-radius-lg);
  transform: scaleY(.12); transform-origin: bottom; opacity: 0;
  transition: transform .38s cubic-bezier(.2,.7,.3,1), opacity .28s ease;
}
.ck-stage > a:hover::before { transform: scaleY(1); opacity: 1; }

.ck-stage__num {
  font-family: var(--ck-display) !important;
  font-weight: 800; font-size: clamp(36px, 4.8vw, 72px);
  line-height: .9; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: rgba(30, 77, 43, .2);
  transition: color .3s ease;
  min-width: 2.1em;
}
.ck-stage > a:hover .ck-stage__num { color: var(--ck-green); }

.ck-stage__body { display: block; min-width: 0; }
.ck-stage__label {
  display: block; font-family: var(--ck-mono) !important; font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .22em; color: var(--ck-ore); margin-bottom: 8px;
}
.ck-stage__title {
  display: block; font-family: var(--ck-display) !important; font-weight: 800;
  font-size: clamp(21px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.06;
  color: var(--ck-text);
}
.ck-stage__text {
  display: block; margin-top: 8px; color: var(--ck-text-soft); font-size: 15.5px; max-width: 58ch;
}

.ck-stage__art {
  width: clamp(120px, 15vw, 210px); height: clamp(76px, 9vw, 118px);
  border-radius: var(--ck-radius); overflow: hidden; display: block; position: relative;
  background: linear-gradient(160deg, var(--ck-sage) 0%, var(--ck-sage-2) 100%);
}
.ck-stage__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ck-stage__go {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ck-line); background: #fff;
  display: grid; place-items: center; font-size: 15px; color: var(--ck-forest);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.ck-stage > a:hover .ck-stage__go {
  background: var(--ck-green); border-color: var(--ck-green); color: #fff; transform: translateX(4px);
}

@media (max-width: 760px) {
  .ck-stage > a { grid-template-columns: auto 1fr; row-gap: 14px; }
  .ck-stage__art { grid-column: 1 / -1; width: 100%; height: 140px; }
  .ck-stage__go { display: none; }
}

/* ---- 10. Vnitřní stránky ------------------------------------------------ */

section.overlay {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(255, 244, 214, .7) 0%, rgba(255, 244, 214, 0) 70%),
    linear-gradient(180deg, var(--ck-sky) 0%, var(--ck-sage) 100%);
  color: var(--ck-text);
  padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--ck-line);
}
section.overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--ck-contour);
  background-size: 1500px auto; background-repeat: repeat-x; background-position: right bottom;
  opacity: .14;
}
section.overlay .container { position: relative; z-index: 1; }
section.overlay h2,
section.overlay h2.text-white {
  color: var(--ck-text) !important;
  font-size: clamp(34px, 5.6vw, 78px);
  letter-spacing: -0.04em; line-height: .98;
  /* širší nadpis — dřív 18ch dělalo vlevo úzký sloupec (Horáček 25. 9. 2026) */
  max-width: 30ch; margin-bottom: 18px !important;
}
section.overlay .breadcrumb { margin: 0; }
.breadcrumb { font-family: var(--ck-mono) !important; font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; }
.breadcrumb a, .breadcrumb .text-white { color: var(--ck-text-soft) !important; }
.breadcrumb a:hover { color: var(--ck-green) !important; }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: rgba(30, 77, 43, .35); }
.breadcrumb-item.active { color: var(--ck-ore) !important; }

/* Obsah článku / sekce */
section.pt-1 .container p,
section.pt-1 .container li { font-size: 17.5px; line-height: 1.68; color: var(--ck-text); }
/* Perex (Horáček 25. 9. 2026): menší písmo a přes celou šířku — dřív velký
   displejový text v úzkém sloupci vlevo, pravá půlka prázdná a nebylo vidět,
   že text pokračuje. */
.anotace {
  font-family: var(--ck-body, "Outfit", sans-serif) !important;
  font-size: clamp(17.5px, 1.35vw, 20px) !important;
  font-weight: 500; line-height: 1.55; letter-spacing: 0;
  color: var(--ck-text) !important; max-width: none;
  border-left: 3px solid var(--ck-ore); padding-left: 20px; margin-bottom: 18px;
}
section.pt-1 h2, section.pt-1 h3 { margin-top: 1.4em; margin-bottom: .5em; }
section.pt-1 ul { padding-left: 1.1em; }
section.pt-1 ul li::marker { color: var(--ck-green); }
section.pt-1 img.img-fluid { border-radius: var(--ck-radius-lg) !important; }
hr { border-color: var(--ck-line); opacity: 1; }

/* ---- 11. Karty a aktuality ---------------------------------------------- */

.card {
  border-radius: var(--ck-radius-lg) !important;
  border: 1px solid var(--ck-line);
  background: #fff;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
}
.box-shadow { box-shadow: none !important; }

/* Karty cílů na etapě: fotka na šířku (3:2, ořez na střed), svisle na středu
   vedle textu; vede do článku, ne na detail fotky */
.card .col-md-4:has(> .ck-card-photo) { display: flex; align-items: center; padding: .5rem !important; }
@media (min-width: 768px) {
  .card .row > .col-md-4:has(> .ck-card-photo) { flex: 0 0 45%; max-width: 45%; }
  .card .row:has(> .col-md-4 > .ck-card-photo) > .col-md-8 { flex: 0 0 55%; max-width: 55%; }
}
.card .ck-card-photo { display: block; width: 100%; overflow: hidden; border-radius: var(--ck-radius-lg); }
.card .ck-card-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; object-position: center; border-radius: 0 !important;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover .ck-card-photo img { transform: scale(1.08); }

/* Etapy magistrály v pravém sloupci detailu etapy (jen PC ≥992 px);
   spodní pruh „Další etapy" se na PC schová, na mobilu zůstává */
.ck-side-sticky { position: sticky; top: 110px; }
.ck-side-stages {
  background: #fff; border: 1px solid var(--ck-line);
  border-radius: var(--ck-radius-lg); padding: 22px 18px 14px; margin-bottom: 24px;
}
.ck-side-stages__label {
  display: block; font-family: var(--ck-mono, 'JetBrains Mono', monospace);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ck-text-soft); padding: 0 6px 12px;
}
.ck-side-stages ol { list-style: none; margin: 0; padding: 0; }
.ck-side-stages li + li { border-top: 1px solid var(--ck-line); }
.ck-side-stages a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 6px; color: var(--ck-text) !important; text-decoration: none;
  border-radius: 10px; transition: background-color .25s ease;
}
.ck-side-stages a:hover { background: rgba(30, 77, 43, .06); }
.ck-side-stages__num {
  flex: 0 0 auto; font-family: var(--ck-display, 'Archivo', sans-serif);
  font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: -.03em;
  color: var(--ck-green); min-width: 30px;
}
.ck-side-stages__title { flex: 1 1 auto; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ck-side-stages__img {
  flex: 0 0 64px; height: 46px; border-radius: 8px; overflow: hidden;
}
.ck-side-stages__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-side-stages li.is-current a { background: rgba(169, 219, 31, .16); }
@media (min-width: 992px) {
  body:has(.ck-side-stages) .ck-etapy { display: none; }
}
.card:hover { transform: translateY(-5px); box-shadow: var(--ck-shadow) !important; border-color: rgba(30, 77, 43, .28); }
.card h4 { color: var(--ck-text) !important; }
.card .card-text { color: var(--ck-text-soft); }
.hover-bg-dark-2:hover { background: #fff !important; }

/* ---- 12. Partneři ------------------------------------------------------- */

.ck-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-top: 46px; }
.ck-partner {
  display: grid; place-items: center; height: 132px; padding: 22px;
  background: #fff; border: 1px solid var(--ck-line); border-radius: var(--ck-radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ck-partner { overflow: hidden; }
.ck-partner img {
  /* Loga barevně (Horáček 24. 9. 2026) — dřív grayscale, barevná jen na hover. */
  max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain;
  opacity: 1; transition: transform .3s ease;
}
.ck-partner:hover { transform: translateY(-4px); border-color: rgba(30, 77, 43, .28); box-shadow: var(--ck-shadow); }
.ck-partner:hover img { transform: scale(1.03); }

/* ---- 13. Patička -------------------------------------------------------- */
/*  Jediná tmavá plocha webu — hluboká lesní zeleň, ne černá.               */

footer .section.bg-secondary { padding: clamp(56px, 7vw, 104px) 0 clamp(36px, 4vw, 56px); }
footer .bg-secondary::before { background-position: center 130%; opacity: .1; }
footer img { height: 62px !important; }
footer h4 {
  font-family: var(--ck-mono) !important; font-size: 11px !important; font-weight: 500 !important;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ck-lime) !important;
  margin-bottom: 22px !important;
}
footer .list-styled, footer .list-unstyled { list-style: none; padding: 0; margin: 0; }
footer .list-styled a, footer .text-light a { color: var(--ck-text-inv-soft) !important; font-size: 15.5px; }
footer .list-styled a:hover { color: var(--ck-lime) !important; }
footer .social-icon-alt { display: flex; gap: 10px; padding: 0; }
footer .social-icon-alt a.hover-ripple {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ck-line-inv);
  display: grid; place-items: center; color: var(--ck-text-inv) !important;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
footer .social-icon-alt a.hover-ripple:hover {
  background: var(--ck-lime); border-color: var(--ck-lime); color: var(--ck-forest) !important; transform: translateY(-3px);
}
footer .cc-link { color: var(--ck-text-inv-soft) !important; text-decoration: underline; text-underline-offset: 4px; }

/* ---- 14. Pohyb + responzivita ------------------------------------------- */

.ck-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.ck-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .ck-reveal { opacity: 1 !important; transform: none !important; }
  .ck-hero__scroll span { animation: none !important; }
  .btn:hover, .card:hover, .ck-tile:hover, .ck-etapy .card:hover, .ck-partner:hover { transform: none !important; }
  /* jemný zoom fotky v kartě necháváme plynulý i tady (Tomáš 29. 9. 2026) */
  .card .ck-card-photo img { transition-duration: .5s !important; }
}

/* ---- 15. Cookie lišta --------------------------------------------------- */
/*  vanilla-cookieconsent v3 se barví přes vlastní proměnné.                */

#cc-main {
  --cc-font-family: "Outfit", system-ui, sans-serif;
  --cc-bg: #FFFFFF;
  --cc-primary-color: #1E4D2B;
  --cc-secondary-color: #56655B;
  --cc-btn-primary-bg: #2F8B2B;
  --cc-btn-primary-color: #FFFFFF;
  --cc-btn-primary-border-color: #2F8B2B;
  --cc-btn-primary-hover-bg: #23691F;
  --cc-btn-primary-hover-color: #FFFFFF;
  --cc-btn-primary-hover-border-color: #23691F;
  --cc-btn-secondary-bg: #E3ECDA;
  --cc-btn-secondary-color: #1E4D2B;
  --cc-btn-secondary-border-color: #E3ECDA;
  --cc-btn-secondary-hover-bg: #D2E2C5;
  --cc-btn-secondary-hover-color: #1E4D2B;
  --cc-btn-secondary-hover-border-color: #D2E2C5;
  --cc-separator-border-color: rgba(30, 77, 43, 0.14);
  --cc-link-color: #23691F;
  --cc-modal-border-radius: 14px;
  --cc-btn-border-radius: 999px;
  --cc-toggle-on-bg: #2F8B2B;
  --cc-toggle-off-bg: #C5D3BF;
  --cc-toggle-on-knob-bg: #FFFFFF;
  --cc-toggle-readonly-bg: #D2E2C5;
  --cc-overlay-bg: rgba(30, 77, 43, .35);
}
#cc-main .cm__title, #cc-main .pm__title { font-family: var(--ck-display); letter-spacing: -0.02em; }
#cc-main .cm__btn, #cc-main .pm__btn {
  font-family: var(--ck-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em;
}

/* ---- Popisek slidu carouselu (1. 10. 2026: místo obyčejného centrovaného textu) ----
   Markup generuje ck_carousel_caption() v index.php: číslo slidu (02 / 06),
   titulek, volitelně podtitulek (text za pomlčkou v titulku fotky) a linka,
   která se po dobu zobrazení slidu plní (autoplay 3 s). Zarovnáno vlevo na osu
   .container, gradient jen zespodu zleva, aby fotka zůstala co nejvíc vidět. */
.swiper .swiper-caption.ck-cap {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  display: block; width: 100%;
  padding: 120px 0 56px;
  background:
    radial-gradient(120% 140% at 0% 100%, rgba(12, 24, 17, .72) 0%, rgba(12, 24, 17, .38) 38%, transparent 68%),
    linear-gradient(to top, rgba(12, 24, 17, .45), transparent 55%);
  color: #fff; text-align: left;
  pointer-events: none;
}
.ck-cap__in {
  max-width: 1320px; margin: 0 auto;
  padding-left: var(--ck-pad-x, 24px); padding-right: var(--ck-pad-x, 24px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.ck-cap__num {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-family: var(--ck-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; color: var(--ck-lime);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.ck-cap__num::before {
  content: ""; width: 34px; height: 2px; background: var(--ck-lime); border-radius: 2px;
}
.ck-cap__num i { font-style: normal; color: rgba(255, 255, 255, .62); }
.ck-cap__title {
  max-width: 17em;
  font-family: var(--ck-display); font-weight: 800;
  font-size: clamp(26px, 3.8vw, 58px); line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}
.ck-cap__sub {
  margin-top: 10px; max-width: 34em;
  font-family: var(--ck-body); font-weight: 400;
  font-size: clamp(15px, 1.35vw, 20px); line-height: 1.35;
  color: rgba(255, 255, 255, .86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}
.ck-cap__sub::first-letter { text-transform: uppercase; }
.ck-cap__bar {
  position: relative; display: block; overflow: hidden;
  width: 120px; height: 3px; margin-top: 22px;
  background: rgba(255, 255, 255, .28); border-radius: 3px;
}
.ck-cap__bar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--ck-lime); border-radius: inherit;
  transform-origin: left center; transform: scaleX(0);
}
.swiper-slide-active .ck-cap__bar::after { animation: ck-cap-fill 3s linear forwards; }
@keyframes ck-cap-fill { to { transform: scaleX(1); } }

/* Nástup textu aktivního slidu */
.ck-cap__num, .ck-cap__title, .ck-cap__sub { opacity: 0; transform: translateY(14px); }
.swiper-slide-active .ck-cap__num,
.swiper-slide-active .ck-cap__title,
.swiper-slide-active .ck-cap__sub {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.swiper-slide-active .ck-cap__title { transition-delay: .08s; }
.swiper-slide-active .ck-cap__sub   { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .ck-cap__num, .ck-cap__title, .ck-cap__sub { opacity: 1; transform: none; transition: none !important; }
  .swiper-slide-active .ck-cap__bar::after { animation: none; transform: scaleX(1); }
}

/* Šipky a tečky carouselu v barvách webu (jinak modrý default Swiperu) */
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  width: 48px; height: 48px; margin-top: -24px;
  border-radius: 50%; color: #fff;
  background: rgba(12, 24, 17, .32);
  border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after { font-size: 16px; font-weight: 700; }
.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover { background: var(--ck-lime); border-color: var(--ck-lime); color: var(--ck-text); }
.swiper .swiper-button-prev { left: 20px; }
.swiper .swiper-button-next { right: 20px; }
.swiper > .swiper-pagination.swiper-pagination-bullets {
  left: auto; right: 0; bottom: 56px; width: auto;
  padding-right: max(var(--ck-pad-x, 24px), calc((100vw - 1320px) / 2 + var(--ck-pad-x, 24px)));
}
.swiper .swiper-pagination-bullet {
  width: 8px; height: 8px; margin: 0 4px !important;
  background: #fff; opacity: .7;
  box-shadow: 0 0 0 1px rgba(12, 24, 17, .18), 0 1px 6px rgba(0, 0, 0, .35);
  transition: width .3s ease, opacity .3s ease, background-color .3s ease;
}
.swiper .swiper-pagination-bullet-active { width: 26px; border-radius: 4px; opacity: 1; background: var(--ck-lime); }

@media (max-width: 991px) {
  .swiper .swiper-caption.ck-cap { padding: 80px 0 40px; }
  .swiper > .swiper-pagination.swiper-pagination-bullets { bottom: 40px; }
  .swiper .swiper-button-next, .swiper .swiper-button-prev { display: none; }
}
@media (max-width: 575px) {
  .swiper .swiper-caption.ck-cap { display: block !important; padding: 56px 0 22px; }
  .ck-cap__num { margin-bottom: 8px; font-size: 10.5px; }
  .ck-cap__num::before { width: 22px; }
  .ck-cap__title { font-size: clamp(21px, 6.4vw, 28px); }
  .ck-cap__sub { margin-top: 6px; font-size: 14px; }
  .ck-cap__bar { display: none; }
  .swiper > .swiper-pagination.swiper-pagination-bullets { top: 12px; bottom: auto; }
}

/* ---- Výškový profil etap (Horáček 24. 9. 2026: barvy do webu) --------------
   leaflet-elevation je jinak modrý (steelblue). Přebarvíme do zelené; platí na všech etapách. */
.leaflet-control-elevation,
.elevation-control.elevation,
.elevation-control.steelblue-theme {
  --ele-area:   #6FB03A;
  --ele-stroke: var(--ck-green-dark);
  --ele-axis:   var(--ck-text-soft);
  --ele-grid:   rgba(30, 77, 43, 0.10);
}
.elevation-control .area {
  fill: #6FB03A !important; fill-opacity: .5;
  stroke: var(--ck-green-dark) !important;
}

/* Skrytý nadpis jen pro čtečky/SEO (24. 9. 2026) */
.ck-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Obrázky vložené do textu z editoru (25. 9. 2026) — nikdy nepřetečou šířku. */
section.pt-1 p img, section.pt-1 figure img { max-width: 100%; height: auto !important; }
section.pt-1 p img { border-radius: 8px; margin: 6px 0; }

/* Instagram na titulce: na PC 6 sloupců → 12 příspěvků = přesně 2 řádky */
@media (min-width: 992px) {
  .ig-grid { grid-template-columns: repeat(6, 1fr) !important; }
}


/* ── Foto z fotobanky v textu (13. 10. 2026) ─────────────────────────────
   Vkládá admin (CKEditor tlačítka „Foto z fotobanky“ a „Pruh fotek“).
   .fbf = jedna fotka, šířka v % z adminu (30/50/75/100), .fbf-left/right
   obtékaná textem, .fbf-center na střed. .fbg = vodorovný posuvný pruh.
   Tablet: malé fotky aspoň polovina; mobil: vždy celá šířka bez obtékání. */
:where(div, section, article):has(> .fbf-left, > .fbf-right) { display: flow-root; }
.fbf { margin: .35rem 0 1.1rem; max-width: 100%; min-width: min(100%, 240px); }
.fbf a, .fbf img { display: block; }
.fbf img { width: 100% !important; max-width: 100%; height: auto !important; border-radius: 6px; margin: 0; }
.fbf a { cursor: zoom-in; }
.fbf figcaption { font-size: .875em; opacity: .75; margin-top: .4rem; line-height: 1.4; }
.fbf-left { float: left; margin-right: 1.5rem; }
.fbf-right { float: right; margin-left: 1.5rem; }
.fbf-center { clear: both; margin-left: auto; margin-right: auto; }
.fbg { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 1.5rem; padding-bottom: 8px; clear: both; scrollbar-width: thin; }
.fbg a { flex: 0 0 auto; display: block; scroll-snap-align: start; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.fbg img { display: block; width: auto !important; height: 240px; max-width: none; margin: 0; border-radius: 6px; transition: transform .25s, opacity .25s; }
.fbg a:hover img { transform: scale(1.03); opacity: .92; }
.fbg-s img { height: 160px; }
.fbg-l img { height: 320px; }
@media (max-width: 992px) {
  .fbf { min-width: min(100%, 50%); }
}
@media (max-width: 576px) {
  .fbf { float: none; width: 100% !important; margin-left: 0; margin-right: 0; }
  .fbg { gap: 8px; }
  .fbg img { height: 180px; }
  .fbg-s img { height: 140px; }
  .fbg-l img { height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .fbg img { transition: none; }
  .fbg a:hover img { transform: none; }
}
