@charset "UTF-8";
/*
Theme Name: tisina's Theme
Text Domain: tisina
Version: 0.0.1
Description: Sablona vytvorena pro webove stranky Campu Tisina
Author: Matej Subrt
*/
/* ==========================================================================
   PROMĚNNÉ PRO SCSS
   Barvy značky (--magenta, --blue, --green) a ostatní barvy jsou jako CSS
   proměnné v _base.scss. Tady jsou jen věci, které se hodí přímo v SCSS.
   ========================================================================== */
/* Logo JEKA pro použití v CSS (jako pozadí).
   Cesta je od style.css, stejně jako ostatní url(images/...) v šabloně.
   Logo, které je v HTML jako <img>, se načítá v PHP přes get_template_directory_uri(). */
/* Šířky obrazovky, kde se mění rozložení.
   Musí odpovídat číslům v JS (effects.js a home.js, nahoře v CONFIG). */
/* pod touto šířkou se menu změní na hamburger */
/* pod touto šířkou jsou sekce v jednom sloupci */
/* telefony */
/* malé telefony */
/* pod touto šířkou jsou aktivity (obsah + boční panel) pod sebou */
/* ==========================================================================
   MIXINY – opakující se vzhled prvků, které nejde označit třídou .btn atd.
   (např. tlačítka a formuláře uvnitř textu z editoru WordPressu)
   ========================================================================== */
/* Tmavé tlačítko ve tvaru pilulky; při najetí se zespodu vyplní barevným přechodem
   (stejný vzhled jako .btn v _components.scss) */
/* Světlá varianta tlačítka (bílé s rámečkem) */
/* Bílá karta se zaoblenými rohy a jemným stínem */
/* Pole formuláře (input, select, textarea) */
/* Prvek, který je na začátku schovaný a při doscrollování se objeví (třídu .show přidává observer.js) */
/* V editoru (editor-style.scss) je $reveal-enabled vypnuté – tam se nic neschovává. */
/* Prvek, který se objevovat nemá (přebije obecné schování) */
/* ==========================================================================
   BARVY, STÍNY A POHYB jako CSS proměnné
   Na webu jsou na :root (_base.scss), v editoru na .editor-styles-wrapper.
   ========================================================================== */
/* Písmo Montserrat (cesta je od style.css / editor-style.css v kořeni šablony) */
/* montserrat-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/montserrat-v31-latin_latin-ext-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/montserrat-v31-latin_latin-ext-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/montserrat-v31-latin_latin-ext-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ==========================================================================
   VARIANTY VZHLEDU BLOKŮ
   Zákazník je vybírá v editoru u bloku (pravý panel → Styly). Registrují se
   v functions.php (tisina_block_styles_list), WordPress pak bloku přidá třídu
   .is-style-NAZEV.

   Mixin block-styles se vkládá na konec mixinu content-styles (_content.scss),
   takže platí stejně na webu i v editoru.

   Proč !important: běžný vzhled obsahu má místy hodně silné selektory
   (např. obrázek ve sloupcích nebo v galerii, tlačítko v .wp-block-buttons).
   Vybraná varianta musí vyhrát vždy, ať je blok kdekoli.

   Nová varianta: přidej ji do pole v functions.php a sem dopiš její vzhled.
   ========================================================================== */
/* Skupiny s tmavým pozadím – uvnitř je světlý text */
/* ==========================================================================
   OBSAH Z EDITORU (text, seznamy a bloky WordPressu)
   Styly jsou v mixinech, aby šly použít dvakrát:
     - na webu v _page.scss (body:not(.home) main section.page / .single / .search),
     - v editoru v editor-style.scss (.editor-styles-wrapper),
   takže stránka v editoru vypadá stejně jako na webu.
   Co se změní tady, změní se na obou místech.
   ========================================================================== */
/* Nadpisy H2–H5 (na webu ve všech sekcích ostatních stránek) */
/* Text, odkazy, seznamy a bloky z editoru; na konci varianty vzhledu bloků */
/* ==========================================================================
   ANIMACE (@keyframes)
   Nahoře jsou animace pro úvodní stránku a hlavičku, dole ty, které
   používají ostatní stránky (_page.scss).
   ========================================================================== */
/* --- Úvodní stránka a hlavička --- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes float-rotate {
  50% {
    transform: translateY(-22px) rotate(25deg);
  }
}
@keyframes rise-in {
  to {
    transform: none;
  }
}
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes scroll-line {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
@keyframes gradient-shift {
  to {
    background-position: 200% 0;
  }
}
@keyframes dots-move {
  to {
    transform: translate(28px, 28px);
  }
}
/* --- Ostatní stránky --- */
@keyframes background-moving {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes slide-to-top {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-to-bottom {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes carousel-arrow-left {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%) rotate(90deg);
    opacity: 1;
  }
}
@keyframes carousel-arrow-right {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%) rotate(-90deg);
    opacity: 1;
  }
}
@keyframes show-image {
  from {
    scale: 0.5;
    opacity: 0;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}
/* ==========================================================================
   OMEZENÝ POHYB
   Kdo má v systému zapnuté „omezit pohyb“, nedostane žádné animace
   a všechny prvky jsou rovnou viditelné.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01s !important;
  }
  .reveal,
  .fade-in,
  .gallery-item,
  .offer-card,
  .hero-line > span,
  .expand-content {
    opacity: 1;
    transform: none;
    translate: none;
  }
  .cta-banner-word {
    opacity: 1;
  }
}
/* Písma jsou v _fonts.scss, barvy a stíny v mixinu theme-colors (_variables.scss) */
:root {
  /* Barvy značky jako RGB trojice (hodí se pro průhlednost: rgba(var(--magenta), .2)) */
  --magenta: 231, 23, 132; /* rgb */
  --blue: 14, 65, 148; /* rgb */
  --green: 101, 193, 190; /* rgb */
  --ink-rgb: 11, 21, 48; /* rgb */
  /* Barvy značky jako hotové barvy */
  --color-magenta: rgb(var(--magenta));
  --color-blue: rgb(var(--blue));
  --color-green: rgb(var(--green));
  /* Doplňkové barvy */
  --color-purple: #8a2be2; /* přechody a zvýraznění */
  --color-teal: #17a29d;
  --color-orange: #f08a00;
  --color-facebook: #1877f2;
  /* Neutrální barvy */
  --color-ink: #0b1530; /* tmavě modrá: nadpisy a tmavé plochy */
  --color-text: #58647c; /* běžný text na úvodní stránce */
  --color-soft: #f4f7fb; /* světlé pozadí karet a sekcí */
  --color-line: #e4e9f2; /* jemné čáry a okraje */
  /* Stíny a pohyb */
  --shadow: 0 2px 4px rgba(var(--ink-rgb), .04), 0 20px 50px rgba(var(--ink-rgb), .09);
  --shadow-soft: 0 1px 2px rgba(var(--ink-rgb), .04), 0 14px 32px -14px rgba(var(--ink-rgb), .14); /* jemnější stín pro karty v seznamech */
  --ease-out: cubic-bezier(.2, .8, .3, 1);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

a {
  text-decoration: none;
}

.underline {
  padding-bottom: 0.1rem;
}
.underline.green-underline {
  border-bottom: 3px solid rgb(var(--green));
}
.underline.magenta-underline {
  border-bottom: 3px solid rgb(var(--magenta));
}
.underline.blue-underline {
  border-bottom: 3px solid rgb(var(--blue));
}

.bold {
  font-weight: 600;
}

.transparent {
  color: rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

/* Text jen pro čtečky obrazovky (např. popisek vyhledávacího pole) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body {
  overflow-x: hidden;
  position: relative;
  /* Tlačítko „nahoru“: kulaté, šipka je přesně uprostřed (effects.js přidává .is-visible) */
}
body .scroll-up-button {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
  box-shadow: 0 12px 28px -8px rgba(var(--magenta), 0.6);
  color: #fff;
  cursor: pointer;
  /* schované: trochu níž a průhledné */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0.35s, box-shadow 0.3s, background 0.3s;
}
@media (width < 700px) {
  body .scroll-up-button {
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
  }
}
body .scroll-up-button svg {
  display: block;
  transition: transform 0.3s var(--ease-out);
}
body .scroll-up-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
body .scroll-up-button:hover {
  background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
  box-shadow: 0 16px 32px -8px rgba(var(--blue), 0.6);
  transform: translateY(-3px);
}
body .scroll-up-button:hover svg {
  transform: translateY(-2px);
}
body .scroll-up-button:active {
  transform: scale(0.94);
}
body .scroll-up-button:focus-visible {
  outline: 3px solid rgba(var(--blue), 0.4);
  outline-offset: 3px;
}

.meta-icon {
  display: inline-block;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

h2 {
  font-size: clamp(1.5rem, 1vw + 0.75rem, 3rem);
}

:where(figure) {
  margin: 0 !important;
}

.hp-wrapper {
  display: none !important;
  position: absolute;
  left: -9999px;
}

.img-portrait img {
  aspect-ratio: 3/4 !important;
}

/* ==========================================================================
   OPAKUJÍCÍ SE PRVKY
   Používají se v hlavičce, na úvodní stránce i jinde, proto jsou samostatně.
   OBSAH
    - .text-gradient   barevný text s pomalu tekoucím přechodem
    - .section-tag     malý popisek nad nadpisem sekce
    - .section-head    popisek + nadpis + krátký text
    - .btn             tlačítka (varianty: .btn-outline, .btn-white, .btn-small)
    - .button-row      řada tlačítek vedle sebe
    - .fade-in         prvek, který se po načtení stránky plynule objeví
    - .reveal          prvek, který se objeví, až se k němu doscrolluje
   ========================================================================== */
/* --- Barevný text s pomalu tekoucím přechodem (slova v nadpisech) --- */
.text-gradient {
  background: linear-gradient(95deg, var(--color-magenta), var(--color-purple), var(--color-blue), var(--color-purple), var(--color-magenta)) 0 0/200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 9s linear infinite;
}

/* --- Malý popisek nad nadpisem sekce (např. „CO NABÍZÍME“) --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
}
.section-tag::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--color-magenta);
  border-radius: 2px;
}

/* --- Hlavička sekce: popisek + nadpis + krátký text --- */
.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.08rem;
}
.section-head.section-head-center {
  margin-inline: auto;
  text-align: center;
}
.section-head.section-head-center .section-tag {
  justify-content: center;
}

/* --- Tlačítka ---
   Varianty: .btn (tmavé), .btn-outline (bílé s rámečkem), .btn-white (bílé), .btn-small (menší).
   Při najetí myší se zespodu „vyplní“ barevným přechodem. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border: 0;
  border-radius: 50px;
  background: var(--color-ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.75;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn > * {
  position: relative;
  z-index: 1;
}
.btn:hover {
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
}
.btn:hover::before {
  transform: none;
}
.btn:hover .btn-icon {
  transform: translateX(3px) rotate(-45deg);
}
.btn {
  /* Kulatá ikonka se šipkou uvnitř tlačítka */
}
.btn .btn-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}
.btn.btn-outline {
  background: #fff;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-line);
}
.btn.btn-outline:hover {
  color: #fff;
  box-shadow: none;
}
.btn.btn-white {
  background: #fff;
  color: var(--color-ink);
}
.btn.btn-white:hover {
  color: #fff;
}
.btn.btn-white .btn-icon {
  background: rgba(var(--ink-rgb), 0.1);
}
.btn.btn-small {
  padding: 0.65rem 1.3rem;
  font-size: 0.88rem;
}

/* Řada tlačítek vedle sebe */
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* --- Prvek, který se po načtení stránky plynule objeví (zpoždění se píše do HTML) --- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-in-up 0.9s forwards;
}

/* --- Prvek, který se objeví, až se k němu doscrolluje (třídu .show přidá observer.js) --- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.8s, transform 0.8s var(--ease-out);
}
.reveal.show {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   HLAVIČKA (header.php)
   Plovoucí lišta s logem, menu, tlačítkem Rezervovat a přepínačem jazyka.
   Je na všech stránkách. Hero sekce s nadpisem a fotkami je jen na úvodní
   stránce (front-page.php), její styly jsou v _hero.scss.
   Responzivní úpravy jsou vždy přímo pod částí, které se týkají.
   ========================================================================== */
/* Samotná <header> je jen obal lišty (lišta je position: fixed, takže nezabírá místo) */
header {
  color: var(--color-text);
  line-height: 1.75;
}

/* ==========================================================================
   1. LIŠTA S MENU
   ========================================================================== */
.nav-container {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 150;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 2rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  transition: top 0.4s;
  /* Skleněné „tělo“ lišty je zvlášť (::before), protože backdrop-filter přímo na liště
     by rozbil celoobrazovkové mobilní menu uvnitř ní. */
}
.nav-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(var(--ink-rgb), 0.07);
  transition: 0.4s;
}
.nav-container a .logo {
  display: block;
  width: 52px;
  height: 52px;
}
@media (width < 700px) {
  .nav-container .header-cta {
    display: none;
  }
}
.nav-container {
  /* Vpravo: tlačítko Rezervovat a přepínač jazyka */
}
.nav-container .nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-container {
  /* Na úvodní stránce se tlačítko schová, dokud je vidět velké tlačítko v hero sekci
     (třídu .cta-hidden přepíná effects.js). Místo zůstává rezervované, menu se nehýbe. */
}
.nav-container .header-cta {
  transition: opacity 0.35s, transform 0.35s var(--ease-out), visibility 0.35s, background 0.3s, box-shadow 0.3s, color 0.3s;
}
header.cta-hidden .header-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  pointer-events: none;
}

.nav-container {
  /* Menu (na mobilu hamburger) je přesně uprostřed lišty: tři sloupce logo | menu | akce */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.nav-container > nav {
  margin: 0;
  justify-self: center;
}
.nav-container > a:first-child {
  justify-self: start;
}
.nav-container .nav-actions {
  justify-self: end;
}

/* Po odscrollování (třídu přidává effects.js) se lišta posune výš a zesvětlí */
header.is-scrolled .nav-container {
  top: 0.5rem;
}
header.is-scrolled .nav-container::before {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 34px rgba(var(--ink-rgb), 0.12);
}

/* Přihlášený správce: nahoře je černá lišta WordPressu (admin bar). Plovoucí lišta se pod ni posune.
   Výšku admin baru (32 px, na mobilu 46 px) nastavuje sám WordPress v proměnné --wp-admin--admin-bar--height. */
body.admin-bar .nav-container {
  top: calc(var(--wp-admin--admin-bar--height, 32px) + 1rem);
}
body.admin-bar header.is-scrolled .nav-container {
  top: calc(var(--wp-admin--admin-bar--height, 32px) + 0.5rem);
}
body.admin-bar #scroll-progress {
  top: var(--wp-admin--admin-bar--height, 32px);
}
body.admin-bar {
  /* Na úzkých displejích (do 600 px) admin bar odscrolluje s stránkou, takže po odscrollování se lišta vrací nahoru */
}
@media (width <= 600px) {
  body.admin-bar header.is-scrolled .nav-container {
    top: 0.5rem;
  }
  body.admin-bar {
    /* V tomto rozsahu je admin bar position: absolute a <body> má position: relative,
       takže by bar začínal pod okrajem stránky (46 px od horního kraje). Posun ho vrátí nahoru. */
  }
  body.admin-bar #wpadminbar {
    top: calc(-1 * var(--wp-admin--admin-bar--height, 46px));
  }
}

/* --- Hlavní menu (položky vytváří WordPress přes wp_nav_menu) --- */
.nav-container nav {
  margin: 0 auto;
  /* Hamburger se na počítači nezobrazuje */
}
.nav-container nav input, .nav-container nav label {
  display: none;
}
.nav-container nav .menu-menu-1-container > ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}
.nav-container nav .menu-menu-1-container > ul > li {
  position: relative;
}
.nav-container nav .menu-menu-1-container > ul > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 30px;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.25s;
}
.nav-container nav .menu-menu-1-container > ul > li > a:hover {
  background: rgba(var(--ink-rgb), 0.06);
}
.nav-container nav .menu-menu-1-container > ul > li > a {
  /* Aktuální stránka: malá barevná linka pod textem (jen v desktopovém menu) */
}
@media (width >= 1400px) {
  .nav-container nav .menu-menu-1-container > ul > li > a {
    position: relative;
  }
  .nav-container nav .menu-menu-1-container > ul > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.2rem;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgb(var(--blue)), rgb(var(--green)));
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out);
  }
}
.nav-container nav .menu-menu-1-container > ul > li.current-menu-item > a::after, .nav-container nav .menu-menu-1-container > ul > li.current-menu-ancestor > a::after, .nav-container nav .menu-menu-1-container > ul > li.current_page_item > a::after {
  width: 1.1rem;
}
.nav-container nav .menu-menu-1-container > ul > li {
  /* Položka s podmenu: malá šipka vedle textu */
}
.nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children > a {
  padding-right: 1.7rem;
}
.nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border: solid var(--color-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: 0.3s;
  pointer-events: none;
}
.nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children:hover::after {
  margin-top: -1px;
  transform: rotate(225deg);
}
.nav-container nav .menu-menu-1-container > ul > li {
  /* Rozbalovací podmenu */
}
.nav-container nav .menu-menu-1-container > ul > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(var(--ink-rgb), 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
}
.nav-container nav .menu-menu-1-container > ul > li > .sub-menu a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: var(--color-ink);
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-container nav .menu-menu-1-container > ul > li > .sub-menu a:hover {
  background: var(--color-soft);
}
.nav-container nav .menu-menu-1-container > ul > li:hover > .sub-menu, .nav-container nav .menu-menu-1-container > ul > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* --- Přepínač jazyka: pilulka s vlajkou a zkratkou, po najetí (nebo klepnutí) se rozbalí nabídka jazyků --- */
.language-picker {
  position: relative;
}
.language-picker .flag {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(var(--ink-rgb), 0.22);
}
.language-picker .language-current {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem 0.3rem 0.35rem;
  border: 1.5px solid var(--color-line);
  border-radius: 30px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.language-picker .language-current:hover, .language-picker .language-current:focus-visible {
  border-color: rgba(var(--ink-rgb), 0.3);
  box-shadow: 0 6px 16px -10px rgba(var(--ink-rgb), 0.5);
  outline: none;
}
@media (width < 600px) {
  .language-picker .language-current .language-code {
    display: none;
  }
}
.language-picker .language-chevron {
  transition: transform 0.3s;
}
.language-picker .language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  min-width: 170px;
  margin-top: 0.6rem;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(var(--ink-rgb), 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s;
  /* neviditelný most, aby nabídka nezmizela při přejezdu myší z tlačítka */
}
.language-picker .language-menu::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 0;
  right: 0;
  height: 0.7rem;
}
.language-picker .language-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 500;
  transition: 0.25s;
}
.language-picker .language-menu a:hover {
  background: var(--color-soft);
}
.language-picker .language-menu a.is-active {
  background: var(--color-soft);
  font-weight: 600;
}
.language-picker {
  /* Rozbaleno: klepnutím (třída .is-open dělá effects.js), na počítači s myší najetím,
     při ovládání klávesnicí (Tab) také. Samotné klepnutí/kliknutí nabídku nepřidržuje otevřenou. */
}
.language-picker.is-open .language-menu, .language-picker:has(:focus-visible) .language-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.language-picker.is-open .language-chevron, .language-picker:has(:focus-visible) .language-chevron {
  transform: rotate(180deg);
}
@media (hover: hover) {
  .language-picker:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .language-picker:hover .language-chevron {
    transform: rotate(180deg);
  }
}

/* --- Menu na menších obrazovkách: hamburger a celoobrazovkové menu --- */
@media (width < 1400px) {
  .nav-container nav label {
    display: block;
    position: relative;
    z-index: 300; /* hamburger je nad otevřeným menu */
    width: 28px;
    height: 20px;
    cursor: pointer;
  }
  .nav-container nav label::before, .nav-container nav label::after,
  .nav-container nav label #hamburger {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--color-ink);
    transition: 0.3s;
  }
  .nav-container nav label::before {
    top: 0;
  }
  .nav-container nav label::after {
    bottom: 0;
  }
  .nav-container nav label #hamburger {
    top: 8px;
  }
  .nav-container nav {
    /* Hamburger se po otevření změní na bílý křížek */
  }
  .nav-container nav input:checked ~ label::before {
    transform: translateY(8px) rotate(45deg);
    background: #fff;
  }
  .nav-container nav input:checked ~ label::after {
    transform: translateY(-9px) rotate(-45deg);
    background: #fff;
  }
  .nav-container nav input:checked ~ label #hamburger {
    opacity: 0;
  }
  .nav-container nav .menu-menu-1-container > ul {
    position: fixed;
    inset: 0;
    z-index: 250;
    flex-direction: column;
    align-items: center; /* položky menu jsou na středu */
    justify-content: center;
    gap: 0.4rem;
    padding: 5rem 1rem 2rem;
    overflow-y: auto;
    text-align: center;
    background: var(--color-ink);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  .nav-container nav .menu-menu-1-container > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .nav-container nav .menu-menu-1-container > ul > li > a {
    order: 0;
    padding: 0.5rem 0.85rem;
    color: #fff;
    font-size: 1.5rem;
  }
  .nav-container nav .menu-menu-1-container > ul > li > a:hover {
    background: none;
    color: var(--color-green);
  }
  .nav-container nav .menu-menu-1-container > ul > li {
    /* Položka s podmenu: kulatá šipka vedle textu (klepnutím se podmenu rozbalí) */
  }
  .nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children > a {
    padding-right: 0.85rem;
  }
  .nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children::after {
    position: static;
    order: 1;
    width: 36px;
    height: 36px;
    margin: 0 -36px 0 0.2rem; /* záporný okraj: šipka nezabírá místo, text zůstane přesně na středu */
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
    transform: none;
    pointer-events: auto;
    cursor: pointer;
  }
  .nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children:hover::after {
    margin-top: 0;
    transform: none;
  }
  .nav-container nav .menu-menu-1-container > ul > li.menu-item-has-children.is-open::after {
    transform: rotate(180deg);
  }
  .nav-container nav .menu-menu-1-container > ul > li {
    /* Podmenu je na mobilu zavřené a otevře se klepnutím na šipku */
  }
  .nav-container nav .menu-menu-1-container > ul > li > .sub-menu {
    position: static;
    order: 2;
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.4s;
  }
  .nav-container nav .menu-menu-1-container > ul > li > .sub-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
  }
  .nav-container nav .menu-menu-1-container > ul > li > .sub-menu a:hover {
    background: none;
    color: #fff;
  }
  .nav-container nav .menu-menu-1-container > ul > li.is-open > .sub-menu {
    max-height: 24rem;
    padding: 0.3rem 0 0.6rem;
  }
  .nav-container nav input:checked ~ .menu-menu-1-container > ul {
    opacity: 1;
    visibility: visible;
  }
  .nav-container nav {
    /* Přihlášený správce: celoobrazovkové menu začíná pod admin barem */
  }
  body.admin-bar .nav-container nav .menu-menu-1-container > ul {
    padding-top: calc(5rem + var(--wp-admin--admin-bar--height, 32px));
  }
}
/* ==========================================================================
   HERO SEKCE ÚVODNÍ STRÁNKY (úplně nahoře ve front-page.php)
   Skládá se ze dvou částí:
    1. .bg-fx           pozadí (tečky + kolečko a čtvereček)
    2. .hero-inner      nadpis vlevo, fotky jako karty vpravo
   Funkci karet (přepínání, tažení) řeší carousel.js.
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 7rem 0 3rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f6f8fc);
  color: var(--color-text);
  line-height: 1.75;
  /* Velmi jemné, pomalu se otáčející logo JEKA na pozadí */
}
.hero::before {
  content: "";
  position: absolute;
  left: -8rem;
  bottom: -9rem;
  width: 32rem;
  height: 32rem;
  background: url("images/Logo (CZ) Kemp Tisina - JEKA white border.webp") center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
  animation: spin 90s linear infinite;
}
.hero h1, .hero h2 {
  color: var(--color-ink);
  font-weight: 600;
}
@media (width < 1000px) {
  .hero {
    padding-top: 8.5rem;
  }
}

/* ==========================================================================
   1. POZADÍ HERO SEKCE
   Pomalu se posouvající tečky a dva vznášející se obrysové tvary.
   ========================================================================== */
.bg-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Pomalu se posouvající tečkovaný vzor */
.bg-fx-dots {
  position: absolute;
  inset: -30px;
  background-image: radial-gradient(rgba(var(--ink-rgb), 0.15) 1.2px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%);
  animation: dots-move 7s linear infinite;
}

/* Vznášející se obrysové tvary: kolečko a čtvereček */
.bg-fx-shape {
  position: absolute;
  border: 2px solid rgba(var(--blue), 0.2);
  border-radius: 50%;
  animation: float-rotate 14s ease-in-out infinite;
}
.bg-fx-shape.bg-fx-shape-circle {
  top: 22%;
  left: 7%;
  width: 90px;
  height: 90px;
  /* v jednom sloupci kolečko přesuneme doprava, aby nepřekáželo nadpisu */
}
@media (width < 1000px) {
  .bg-fx-shape.bg-fx-shape-circle {
    top: 18%;
    left: auto;
    right: 8%;
  }
}
.bg-fx-shape.bg-fx-shape-square {
  right: 11%;
  bottom: 16%;
  width: 56px;
  height: 56px;
  border-color: rgba(var(--magenta), 0.28);
  border-radius: 16px;
  animation-duration: 18s;
  animation-delay: -5s;
}

/* ==========================================================================
   2. HERO: nadpis vlevo, fotky jako karty vpravo
   ========================================================================== */
/* Dva sloupce: vlevo text, vpravo karty */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* minmax(0, 1fr) = sloupec se nikdy nerozšíří podle obsahu */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  /* Bez fotek v carouselu zůstane jen sloupec s textem */
}
.hero-inner:not(:has(.hero-visual)) {
  grid-template-columns: minmax(0, 1fr);
}
@media (width < 1000px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Levý sloupec --- */
.text-container .hero-title {
  margin-bottom: 1.4rem;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.text-container {
  /* Každý řádek nadpisu „vyjede“ zespoda (zpoždění řídí --delay v HTML) */
}
.text-container .hero-line {
  display: block;
  padding-bottom: 0.1em;
  overflow: hidden;
}
.text-container .hero-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise-in 1s cubic-bezier(0.2, 0.9, 0.2, 1) var(--delay, 0s) forwards;
}
.text-container .hero-line > .text-gradient {
  animation: rise-in 1s cubic-bezier(0.2, 0.9, 0.2, 1) var(--delay, 0s) forwards, gradient-shift 9s linear 1.2s infinite;
}
.text-container h2 {
  max-width: 26ch;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.text-container .hero-lead {
  max-width: 44ch;
  margin-bottom: 2rem;
}

/* --- Pravý sloupec: karty s ovládáním --- */
.hero-visual {
  position: relative;
}

/* Slider fotek: knihovna Swiper s efektem karet (nastavení posunu a natočení karet je v carousel.js).
   Tady je jen vzhled: velikost slideru a vzhled jedné karty (rámeček, zaoblení, stín). */
.hero-swiper {
  width: min(100%, 520px);
  max-height: 66vh;
  margin: 0 auto;
  aspect-ratio: 4/4.5;
}
@media (width < 1000px) {
  .hero-swiper {
    width: min(88%, 420px);
    max-height: none;
    aspect-ratio: 4/4.2;
  }
}
.hero-swiper .swiper-slide {
  border: 8px solid #fff;
  border-radius: 34px;
  background: var(--color-blue);
  box-shadow: 0 2px 4px rgba(var(--ink-rgb), 0.06), 0 30px 60px rgba(var(--ink-rgb), 0.25);
  overflow: hidden;
  backface-visibility: hidden;
}
.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}

/* Pod sliderem: číslování, ukazatel času, šipky */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 520px);
  margin: 1.8rem auto 0;
}
@media (width < 1000px) {
  .hero-controls {
    width: min(100%, 420px);
  }
}

.hero-count {
  min-width: 4.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-ink);
}

.hero-progress {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--color-line);
  overflow: hidden;
}

/* Výplň ukazatele: carousel.js mění proměnnou --p (0 až 1) podle zbývajícího času Swiperu */
.hero-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-purple));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.hero-arrows {
  display: flex;
  gap: 0.5rem;
}
.hero-arrows button {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
  color: var(--color-ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}
.hero-arrows button:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

/* Vznášející se logo JEKA (čtvereček v rohu karet) */
.hero-badge {
  position: absolute;
  top: -4%;
  right: -3%;
  z-index: 20;
  width: 100px;
  filter: drop-shadow(0 14px 24px rgba(var(--ink-rgb), 0.35));
  animation: float 5s ease-in-out infinite;
}
@media (width < 1000px) {
  .hero-badge {
    right: 2%;
    width: 80px;
  }
}

/* ==========================================================================
   ÚVODNÍ STRÁNKA (front-page.php)
   Všechno je uvnitř body.home, takže to nijak neovlivní ostatní stránky.
   Hero (nadpis + karty) je v _hero.scss, lišta s menu v _header.scss, patička v _footer.scss.

   OBSAH
    1. Základ úvodní stránky
    2. O nás – rozbalující se fotka
    3. Čtyři důvody
    4. Hlavní nabídka – skládající se karty
    5. Pro koho – záložky
    6. Rezervace – časová osa
    7. Galerie + lightbox
    8. Výzva k akci – banner
    9. Sociální sítě
   10. Ukazatel scrollu
   ========================================================================== */
body.home {
  background: #fff;
  color: var(--color-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.home :focus-visible {
  outline: 3px solid var(--color-green);
  outline-offset: 3px;
}
body.home main img {
  display: block;
  max-width: 100%;
}
body.home {
  /* ======================================================================
     1. ZÁKLAD ÚVODNÍ STRÁNKY
     ====================================================================== */
  /* Každá sekce má stejné svislé odsazení; jednotlivé sekce si ho níže přepisují */
}
body.home .home-section {
  position: relative;
  padding: 8rem 0;
}
@media (width < 600px) {
  body.home .home-section {
    padding: 5rem 0;
  }
}
body.home .home-section h2, body.home .home-section h3 {
  color: var(--color-ink);
  font-weight: 600;
}
body.home .home-section h2 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}
body.home {
  /* Vycentrovaný obsah o maximální šířce (jen v sekcích úvodní stránky; hlavička a patička mají vlastní) */
}
body.home .home-section .container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
body.home {
  /* Tučný text uvnitř odstavců */
}
body.home .bold {
  font-weight: 600;
  color: var(--color-ink);
}
body.home {
  /* ======================================================================
     2. O NÁS – ROZBALUJÍCÍ SE FOTKA
     Fotka je při scrollu „přilepená“ a postupně se roztáhne přes celou
     obrazovku. Velikost řídí home.js (funkce updateExpandImage).
     ====================================================================== */
}
body.home .expand {
  height: 260vh; /* délka scrollu, po kterou se fotka rozbaluje */
  padding: 0;
}
@media (width < 1000px) {
  body.home .expand {
    height: 220vh;
  }
}
body.home .expand-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100vh;
  overflow: hidden;
}
body.home .expand-image {
  position: relative;
  width: 44vw; /* počáteční velikost; dál ji mění home.js */
  height: 58vh;
  border-radius: 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
  will-change: width, height;
}
@media (width < 1000px) {
  body.home .expand-image {
    width: 84vw;
  }
}
body.home .expand-image {
  /* Ztmavení fotky (průhlednost --o mění home.js) */
}
body.home .expand-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--ink-rgb), var(--o, 0.35));
}
body.home .expand-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
body.home .expand-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 2rem;
  text-align: center;
  color: #fff;
}
body.home {
  /* Nápověda „O NÁS“ s animovanou čárkou (zmizí při rozbalování) */
}
body.home .expand-hint {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body.home .expand-hint span {
  width: 2px;
  height: 46px;
  background: #fff;
  transform-origin: top;
  animation: scroll-line 1.8s infinite;
}
body.home {
  /* Text, který se objeví, až je fotka rozbalená */
}
body.home .expand-content {
  max-width: 720px;
  opacity: 0;
}
body.home .expand-content h2 {
  margin-bottom: 1.2rem;
  color: #fff;
}
body.home .expand-content p {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}
body.home .expand-content .bold {
  color: #fff;
}
body.home .expand-logo {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 3;
  width: 70px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}
body.home {
  /* ======================================================================
     3. ČTYŘI DŮVODY
     ====================================================================== */
  /* Stejný odstup nahoře i dole (sekce před ní i za ní mají vlastní padding) */
}
body.home .why {
  padding: 4rem 0;
}
body.home .reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (width < 1000px) {
  body.home .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width < 600px) {
  body.home .reasons-grid {
    grid-template-columns: 1fr;
  }
}
body.home .reason-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: 28px;
  background: var(--color-soft);
  overflow: hidden;
  /* Přechody karty (objevení + najetí myší). Postupné zpoždění karet: viz níže. */
  transition: opacity 0.8s, transform 0.8s var(--ease-out), background 0.45s, box-shadow 0.45s;
}
body.home .reason-card:nth-child(2) {
  transition-delay: 0.1s;
}
body.home .reason-card:nth-child(3) {
  transition-delay: 0.2s;
}
body.home .reason-card:nth-child(4) {
  transition-delay: 0.3s;
}
body.home .reason-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
}
body.home .reason-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
body.home .reason-card p {
  font-size: 0.96rem;
}
body.home .reason-card {
  /* Číslo ve čtverečku (každá karta má jinou barvu) */
}
body.home .reason-card .reason-card-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  border-radius: 15px;
  background: var(--color-magenta);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.5s;
}
body.home .reason-card:nth-child(2) .reason-card-number {
  background: var(--color-blue);
}
body.home .reason-card:nth-child(3) .reason-card-number {
  background: var(--color-teal);
}
body.home .reason-card:nth-child(4) .reason-card-number {
  background: var(--color-orange);
}
body.home .reason-card:hover .reason-card-number {
  transform: rotate(-10deg) scale(1.1);
}
body.home {
  /* ======================================================================
     4. HLAVNÍ NABÍDKA – SKLÁDAJÍCÍ SE KARTY
     Karty se při scrollu „přilepí“ pod sebe (position: sticky) a starší
     se mírně zmenší a ztmavnou (home.js, funkce updateOfferStack).
     Na mobilu jsou karty pod sebou a plynule „přiletí“ zespoda.
     ====================================================================== */
}
body.home .offer {
  padding-bottom: 10rem;
  background: var(--color-soft);
}
body.home .offer-stack {
  position: relative;
}
body.home .offer-card {
  position: sticky;
  /* Každá další karta se přilepí o kousek níž; číslo karty je v HTML (--stack-index).
     Pokud tu hodnotu změníš, uprav i offerStack v CONFIG v home.js. */
  top: calc(6.5rem + var(--stack-index) * 1.1rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: min(60vh, 480px);
  margin-bottom: 2.5rem;
  padding: 1.2rem;
  border-radius: 40px;
  background: var(--card-bg, #fff);
  box-shadow: var(--shadow);
  transform-origin: center top;
  will-change: transform;
  /* Barva pozadí jednotlivých karet */
}
body.home .offer-card:nth-child(1) {
  --card-bg: #fff0f7;
}
body.home .offer-card:nth-child(2) {
  --card-bg: #e9f6f5;
}
body.home .offer-card:nth-child(3) {
  --card-bg: #eaf0ff;
}
body.home .offer-card:nth-child(4) {
  --card-bg: #fff4e2;
}
body.home .offer-card:hover .offer-card-image img {
  transform: scale(1.06);
}
body.home .offer-card h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  letter-spacing: -0.025em;
}
body.home .offer-card p {
  font-size: 1.05rem;
}
body.home .offer-card .btn {
  margin-top: 1.4rem;
}
@media (width < 1000px) {
  body.home .offer-card {
    position: static;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    transform: none !important;
    /* Karta při scrollu plynule „přiletí“ zespoda (třídu .show přidá observer.js).
       Používá se vlastnost translate, aby se nepletla s transform výše. */
    opacity: 0;
    translate: 0 44px;
    transition: opacity 0.8s, translate 0.8s var(--ease-out);
  }
  body.home .offer-card.show {
    opacity: 1;
    translate: none;
  }
}
body.home .offer-card-image {
  position: relative;
  order: 2; /* fotka je vpravo, text vlevo */
  height: min(52vh, 430px);
  border-radius: 30px;
  overflow: hidden;
}
body.home .offer-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1s;
}
body.home .offer-card-image {
  /* Malé logo JEKA v rohu každé fotky */
}
body.home .offer-card-image::after {
  content: "";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  background: url("images/Logo (CZ) Kemp Tisina - JEKA white border.webp") center/contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
@media (width < 1000px) {
  body.home .offer-card-image {
    order: 0;
    height: 260px;
  }
}
body.home .offer-card-text {
  padding: 1rem 1.5rem 1rem 2rem;
}
@media (width < 1000px) {
  body.home .offer-card-text {
    padding: 1rem;
  }
}
body.home .offer-card-number {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.6rem;
  color: rgba(var(--ink-rgb), 0.08);
  /* Číslo je čistě dekorativní – vykreslujeme ho přes ::before,
     aby ho kontrolor kontrastu (PageSpeed/axe) nepovažoval za text. */
}
body.home .offer-card-number::before {
  content: attr(data-number);
}
body.home {
  /* ======================================================================
     5. PRO KOHO (záložky Rodiny / Školy / Firmy)
     ====================================================================== */
}
body.home .tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-line);
}
@media (width < 600px) {
  body.home .tabs {
    gap: 1.2rem;
  }
}
body.home .tabs button {
  position: relative;
  padding: 0.9rem 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  /* Podtržení aktivní záložky */
}
body.home .tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--color-magenta);
  transform: scaleX(0);
  transition: 0.4s;
}
body.home .tabs button.is-active {
  color: var(--color-ink);
}
body.home .tabs button.is-active::after {
  transform: none;
}
body.home {
  /* Obsah záložky: zobrazený je jen ten s třídou .is-active */
}
body.home .tab-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  animation: fade-in-up 0.6s;
}
body.home .tab-panel.is-active {
  display: grid;
}
body.home .tab-panel h3 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
  letter-spacing: -0.025em;
}
body.home .tab-panel ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  list-style: none;
}
body.home .tab-panel li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-ink);
  font-weight: 500;
  /* Zaškrtávací kolečko před každou položkou */
}
body.home .tab-panel li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (width < 1000px) {
  body.home .tab-panel {
    gap: 2rem;
  }
  body.home .tab-panel.is-active {
    grid-template-columns: 1fr;
  }
}
body.home .tab-panel-image {
  border-radius: 32px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  overflow: hidden;
}
body.home .tab-panel-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
body.home {
  /* ======================================================================
     6. REZERVACE (tmavá sekce s časovou osou)
     ====================================================================== */
}
body.home .booking {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  /* Jemné logo JEKA v rohu */
}
body.home .booking::after {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: -6rem;
  width: 24rem;
  height: 24rem;
  background: url("images/Logo (CZ) Kemp Tisina - JEKA white border.webp") center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
body.home .booking h2, body.home .booking h3 {
  color: #fff;
}
body.home .booking .section-tag {
  color: #fff;
}
body.home .booking .button-row {
  justify-content: center;
  margin-top: 3.5rem;
}
body.home {
  /* Časová osa: tři kroky; vyplňující se čáru řídí home.js */
}
body.home .timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 4rem;
  /* Šedá čára (základ) */
}
body.home .timeline::before,
body.home .timeline .timeline-fill {
  content: "";
  position: absolute;
  top: 1.4rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
}
body.home .timeline {
  /* Barevná čára, která se při scrollu vyplňuje */
}
body.home .timeline .timeline-fill {
  width: 0;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-green));
}
body.home .timeline {
  /* Na mobilu je osa svislá */
}
@media (width < 1000px) {
  body.home .timeline {
    grid-template-columns: 1fr;
    padding: 0 0 0 4rem;
  }
  body.home .timeline::before,
  body.home .timeline .timeline-fill {
    top: 0;
    left: 22px;
    width: 2px;
    height: 100%;
  }
  body.home .timeline .timeline-fill {
    height: 0;
  }
}
body.home .timeline-step {
  position: relative;
}
body.home .timeline-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
body.home .timeline-step.is-active .timeline-dot {
  background: var(--color-magenta);
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 8px rgba(var(--magenta), 0.25);
}
body.home {
  /* Kolečko s číslem kroku */
}
body.home .timeline-dot {
  position: absolute;
  top: -4rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-weight: 600;
  transition: 0.5s;
}
@media (width < 1000px) {
  body.home .timeline-dot {
    top: 0;
    left: -4rem;
  }
}
body.home {
  /* ======================================================================
     7. GALERIE + LIGHTBOX
     Mřížka fotek (4 sloupce na počítači, 2 na mobilu). Kliknutím se fotka
     otevře ve zvětšeném okně (lightbox).
     ====================================================================== */
}
body.home .gallery {
  overflow: hidden;
}
body.home .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 230px);
  grid-auto-flow: dense;
  gap: 1rem;
}
@media (width < 700px) {
  body.home .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.7rem;
  }
}
body.home .gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: var(--color-soft);
  overflow: hidden;
  cursor: zoom-in;
  /* Před objevením jsou fotky schované (třídu .show přidá observer.js) */
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  transition: opacity 0.8s, transform 0.8s var(--ease-out);
}
body.home .gallery-item.show {
  opacity: 1;
  transform: none;
}
body.home .gallery-item {
  /* Postupné objevování fotek po čtveřicích */
}
body.home .gallery-item:nth-child(4n+2) {
  transition-delay: 0.08s;
}
body.home .gallery-item:nth-child(4n+3) {
  transition-delay: 0.16s;
}
body.home .gallery-item:nth-child(4n) {
  transition-delay: 0.24s;
}
body.home .gallery-item {
  /* Tvar mřížky: první fotka je velká (2×2), třetí je vysoká (1×2) */
}
body.home .gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
body.home .gallery-item:nth-child(3) {
  grid-row: span 2;
}
body.home .gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1s var(--ease-out);
}
body.home .gallery-item:hover img {
  transform: scale(1.08);
}
body.home .gallery-item {
  /* Kolečko s plusem při najetí myší */
}
body.home .gallery-item::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  font-size: 1.3rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: 0.35s;
}
body.home .gallery-item:hover::after, body.home .gallery-item:focus-visible::after {
  opacity: 1;
  transform: none;
}
@media (width < 700px) {
  body.home .gallery-item {
    border-radius: 20px;
  }
  body.home .gallery-item::after {
    display: none;
  }
}
body.home {
  /* --- Lightbox (zvětšená fotka přes celou obrazovku) --- */
}
body.home .lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000; /* nad lištou s menu */
  display: grid;
  place-items: center;
  background: rgba(8, 16, 38, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
body.home .lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
body.home .lightbox.is-open img {
  transform: none;
}
body.home .lightbox figure {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  margin: 0;
}
body.home .lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  -o-object-fit: contain;
     object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.45s var(--ease-out);
}
body.home .lightbox button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.3s;
}
body.home .lightbox button:hover {
  background: #fff;
  color: var(--color-ink);
}
body.home .lightbox .lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}
body.home .lightbox .lightbox-prev {
  top: 50%;
  left: 1.2rem;
  translate: 0 -50%;
}
body.home .lightbox .lightbox-next {
  top: 50%;
  right: 1.2rem;
  translate: 0 -50%;
}
body.home .lightbox .lightbox-count {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
body.home .lightbox {
  /* Na mobilu jsou šipky dole */
}
@media (width < 700px) {
  body.home .lightbox .lightbox-prev,
  body.home .lightbox .lightbox-next {
    top: auto;
    bottom: 1rem;
    translate: 0 0;
  }
  body.home .lightbox .lightbox-prev {
    left: 1.2rem;
  }
  body.home .lightbox .lightbox-next {
    right: 1.2rem;
  }
}
body.home {
  /* ======================================================================
     8. VÝZVA K AKCI (modrofialový banner)
     Slova nadpisu se při scrollu postupně rozsvěcují a logo se otáčí
     (home.js, funkce updateCtaBanner).
     ====================================================================== */
}
body.home .cta-section {
  padding: 2rem 0 8rem;
}
body.home .cta-banner {
  position: relative;
  padding: 5.5rem 4rem;
  border-radius: 44px;
  background: linear-gradient(135deg, var(--color-blue), #2457d6 55%, var(--color-purple));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
@media (width < 1000px) {
  body.home .cta-banner {
    padding: 3.5rem 1.6rem;
  }
}
body.home .cta-banner {
  /* Veškerý obsah banneru je nad logem na pozadí */
}
body.home .cta-banner > *:not(.cta-banner-logo) {
  position: relative;
  z-index: 2;
}
body.home .cta-banner h2 {
  max-width: 18ch;
  margin: 0 auto 1.2rem;
  color: #fff;
}
body.home .cta-banner p {
  margin-bottom: 2rem;
  font-size: 1.15rem;
  opacity: 0.9;
}
body.home {
  /* Slovo v nadpisu: zeslabené, po rozsvícení plné */
}
body.home .cta-banner-word {
  opacity: 0.3;
  transition: opacity 0.3s;
}
body.home .cta-banner-word.is-lit {
  opacity: 1;
}
body.home .cta-banner-logo {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 300px;
  opacity: 0.16;
  will-change: transform;
}
body.home {
  /* ======================================================================
     9. SOCIÁLNÍ SÍTĚ
     ====================================================================== */
}
body.home .social {
  padding: 0 0 6rem;
  text-align: center;
}
body.home .social p {
  margin-top: 1rem;
}
body.home .facebook-button {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  box-shadow: 0 12px 30px rgba(0, 114, 255, 0.3);
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}
body.home .facebook-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 114, 255, 0.42);
}
body.home .facebook-button img {
  width: 30px;
  filter: invert(1); /* černá ikona (facebook-black.png) je bílá */
}
body.home {
  /* ======================================================================
     10. UKAZATEL SCROLLU (tenký proužek úplně nahoře)
     ====================================================================== */
}
body.home #scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 0; /* šířku nastavuje home.js */
  background: linear-gradient(90deg, var(--color-magenta), var(--color-green));
}

/* ==========================================================================
   OSTATNÍ STRÁNKY (všechno kromě úvodní stránky)
   Běžné stránky, aktuality, článek, aktivity + filtr, kontakt, hledání, 404.
   Úvodní stránka má vlastní styly v _homepage.scss.

   OBSAH
    1. Základ: pozadí a sekce
    2. Nadpisy
    3. Text, odkazy a seznamy v obsahu
    4. Bloky z editoru WordPressu
    5. Aktuality (výpis)
    6. Článek
    7. Aktivity: detail a výpis cílové skupiny
    8. Hledání
    9. Stránka 404
   10. Kontakt a formulář
   10b. Aktivity: rozcestník Školy / JEKA
   11. Stránkování
   12. Ostatní (třídy pro editor)

   Prvky, které se mají při scrollu objevit, jsou na začátku schované a
   dostanou třídu .show (přidává ji observer.js) – to dělá mixin reveal,
   přebít ho umí mixin no-reveal (oba jsou v _variables.scss).
   ========================================================================== */
body:not(.home) main {
  position: relative;
  /* Světle šedomodrá nahoře (pod lištou s menu) plynule přechází do bílé */
  background: linear-gradient(180deg, #f6f8fc, #fff 420px);
  color: var(--color-text);
  line-height: 1.8;
  /* Jemné tečky v pozadí nahoře, směrem dolů se ztrácí */
}
body:not(.home) main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  background: radial-gradient(rgba(var(--ink-rgb), 0.12) 1.5px, transparent 1.5px) 0 0/26px 26px;
  -webkit-mask-image: linear-gradient(#000 20%, transparent);
  mask-image: linear-gradient(#000 20%, transparent);
  pointer-events: none;
}
body:not(.home) main {
  /* ======================================================================
     1. ZÁKLAD
     ====================================================================== */
}
body:not(.home) main section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  /* nahoře je místo pro plovoucí lištu s menu */
  padding: 8.5rem 1.5rem 7rem;
}
@media (width < 700px) {
  body:not(.home) main section {
    padding: 7.5rem 1.25rem 5rem;
  }
}
body:not(.home) main section {
  /* Obrázky se při scrollu objeví (třídu .show přidává observer.js) */
}
body:not(.home) main section img {
  opacity: 0;
}
body:not(.home) main section img.show {
  animation: show-image 1s forwards !important;
}
body:not(.home) main {
  /* ======================================================================
     2. NADPISY (vzhled je v mixinu content-headings v _content.scss)
     ====================================================================== */
}
body:not(.home) main section h2 {
  opacity: 0;
}
body:not(.home) main section h2.show {
  animation: slide-to-bottom 1s forwards;
}
body:not(.home) main section h2 {
  position: relative;
  padding-bottom: 1.2rem;
  color: var(--color-ink);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-align: center;
  /* Krátká barevná čárka pod nadpisem */
}
body:not(.home) main section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-purple));
  transform: translateX(-50%);
}
body:not(.home) main section h3, body:not(.home) main section h4, body:not(.home) main section h5 {
  opacity: 0;
}
body:not(.home) main section h3.show, body:not(.home) main section h4.show, body:not(.home) main section h5.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section h3, body:not(.home) main section h4, body:not(.home) main section h5 {
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
body:not(.home) main {
  /* ======================================================================
     3. + 4. TEXT A BLOKY Z EDITORU
     Platí pro běžné stránky (.page), článek (.single) a hledání (.search).
     Vzhled textu a bloků je v mixinu content-styles v _content.scss
     (stejný mixin používá i editor), tady je jen rozvržení: obsah
     z editoru je v úzkém sloupci, široké bloky mají větší šířku.
     ====================================================================== */
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  gap: 2.5rem !important;
}
body:not(.home) main section.page > *, body:not(.home) main section.single > *, body:not(.home) main section.search > * {
  width: 100%;
  max-width: 860px;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Široké bloky jsou širší než text */
}
body:not(.home) main section.page > .wp-block-table, body:not(.home) main section.page > .wp-block-columns, body:not(.home) main section.page > .wp-block-gallery,
body:not(.home) main section.page > .wp-block-media-text, body:not(.home) main section.page > .wp-block-group, body:not(.home) main section.page > .alignwide, body:not(.home) main section.single > .wp-block-table, body:not(.home) main section.single > .wp-block-columns, body:not(.home) main section.single > .wp-block-gallery,
body:not(.home) main section.single > .wp-block-media-text, body:not(.home) main section.single > .wp-block-group, body:not(.home) main section.single > .alignwide, body:not(.home) main section.search > .wp-block-table, body:not(.home) main section.search > .wp-block-columns, body:not(.home) main section.search > .wp-block-gallery,
body:not(.home) main section.search > .wp-block-media-text, body:not(.home) main section.search > .wp-block-group, body:not(.home) main section.search > .alignwide {
  max-width: 1100px;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* --- Text, odkazy a seznamy --- */
}
body:not(.home) main section.page h2, body:not(.home) main section.single h2, body:not(.home) main section.search h2 {
  margin-top: 1rem;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Mezititulky v textu: barevná svislá čárka vlevo */
}
body:not(.home) main section.page h3, body:not(.home) main section.single h3, body:not(.home) main section.search h3 {
  position: relative;
  padding-left: 1.1rem;
}
body:not(.home) main section.page h3::before, body:not(.home) main section.single h3::before, body:not(.home) main section.search h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--color-magenta), var(--color-purple));
}
body:not(.home) main section.page p, body:not(.home) main section.single p, body:not(.home) main section.search p {
  opacity: 0;
}
body:not(.home) main section.page p.show, body:not(.home) main section.single p.show, body:not(.home) main section.search p.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page p, body:not(.home) main section.single p, body:not(.home) main section.search p {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 860px;
}
body:not(.home) main section.page a, body:not(.home) main section.single a, body:not(.home) main section.search a {
  opacity: 0;
}
body:not(.home) main section.page a.show, body:not(.home) main section.single a.show, body:not(.home) main section.search a.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page a, body:not(.home) main section.single a, body:not(.home) main section.search a {
  color: rgb(var(--magenta));
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
body:not(.home) main section.page a:hover, body:not(.home) main section.single a:hover, body:not(.home) main section.search a:hover {
  color: rgb(var(--blue));
}
body:not(.home) main section.page ul, body:not(.home) main section.single ul, body:not(.home) main section.search ul {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
  list-style: none;
}
body:not(.home) main section.page ul li, body:not(.home) main section.single ul li, body:not(.home) main section.search ul li {
  opacity: 0;
}
body:not(.home) main section.page ul li.show, body:not(.home) main section.single ul li.show, body:not(.home) main section.search ul li.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page ul li, body:not(.home) main section.single ul li, body:not(.home) main section.search ul li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.7;
  color: rgba(var(--ink-rgb), 0.78);
}
body:not(.home) main section.page ul li::before, body:not(.home) main section.single ul li::before, body:not(.home) main section.search ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 20px;
  height: 20px;
  background: url("images/icons/magenta-check.svg") center/contain no-repeat;
}
body:not(.home) main section.page ol, body:not(.home) main section.single ol, body:not(.home) main section.search ol {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
  padding-left: 1.6rem;
}
body:not(.home) main section.page ol li, body:not(.home) main section.single ol li, body:not(.home) main section.search ol li {
  opacity: 0;
}
body:not(.home) main section.page ol li.show, body:not(.home) main section.single ol li.show, body:not(.home) main section.search ol li.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page ol li, body:not(.home) main section.single ol li, body:not(.home) main section.search ol li {
  line-height: 1.7;
  color: rgba(var(--ink-rgb), 0.78);
}
body:not(.home) main section.page ol li::marker, body:not(.home) main section.single ol li::marker, body:not(.home) main section.search ol li::marker {
  color: rgb(var(--magenta));
  font-weight: 600;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Obrázek vložený přímo do textu (bez bloku obrázku) */
}
body:not(.home) main section.page img, body:not(.home) main section.single img, body:not(.home) main section.search img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* --- Bloky z editoru WordPressu --- */
}
body:not(.home) main section.page .wp-block-table, body:not(.home) main section.single .wp-block-table, body:not(.home) main section.search .wp-block-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-table table, body:not(.home) main section.single .wp-block-table table, body:not(.home) main section.search .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}
body:not(.home) main section.page .wp-block-table table thead, body:not(.home) main section.single .wp-block-table table thead, body:not(.home) main section.search .wp-block-table table thead {
  border-bottom: none;
}
body:not(.home) main section.page .wp-block-table table td, body:not(.home) main section.page .wp-block-table table th, body:not(.home) main section.single .wp-block-table table td, body:not(.home) main section.single .wp-block-table table th, body:not(.home) main section.search .wp-block-table table td, body:not(.home) main section.search .wp-block-table table th {
  padding: 1.2rem 1.5rem;
  border: unset;
  text-align: left;
  color: rgba(var(--ink-rgb), 0.8);
}
body:not(.home) main section.page .wp-block-table table th, body:not(.home) main section.single .wp-block-table table th, body:not(.home) main section.search .wp-block-table table th {
  background-color: var(--color-ink);
  color: #fff;
  font-weight: 600;
}
body:not(.home) main section.page .wp-block-table table tr, body:not(.home) main section.single .wp-block-table table tr, body:not(.home) main section.search .wp-block-table table tr {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-table table tr.show, body:not(.home) main section.single .wp-block-table table tr.show, body:not(.home) main section.search .wp-block-table table tr.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-table table tr:nth-child(even), body:not(.home) main section.single .wp-block-table table tr:nth-child(even), body:not(.home) main section.search .wp-block-table table tr:nth-child(even) {
  background-color: var(--color-soft);
}
body:not(.home) main section.page .wp-block-table table tr:hover td, body:not(.home) main section.single .wp-block-table table tr:hover td, body:not(.home) main section.search .wp-block-table table tr:hover td {
  background-color: rgba(var(--magenta), 0.05);
}
body:not(.home) main section.page .wp-block-buttons, body:not(.home) main section.single .wp-block-buttons, body:not(.home) main section.search .wp-block-buttons {
  gap: 1rem;
}
body:not(.home) main section.page .wp-block-buttons .wp-block-button__link, body:not(.home) main section.single .wp-block-buttons .wp-block-button__link, body:not(.home) main section.search .wp-block-buttons .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main section.page .wp-block-buttons .wp-block-button__link:hover, body:not(.home) main section.single .wp-block-buttons .wp-block-button__link:hover, body:not(.home) main section.search .wp-block-buttons .wp-block-button__link:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main section.page .wp-block-buttons .wp-block-button__link:disabled, body:not(.home) main section.single .wp-block-buttons .wp-block-button__link:disabled, body:not(.home) main section.search .wp-block-buttons .wp-block-button__link:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main section.page .wp-block-buttons .wp-block-button__link, body:not(.home) main section.single .wp-block-buttons .wp-block-button__link, body:not(.home) main section.search .wp-block-buttons .wp-block-button__link {
  padding: 0.9rem 2rem;
}
body:not(.home) main section.page .wp-block-columns, body:not(.home) main section.single .wp-block-columns, body:not(.home) main section.search .wp-block-columns {
  gap: 3rem;
}
@media (width < 700px) {
  body:not(.home) main section.page .wp-block-columns, body:not(.home) main section.single .wp-block-columns, body:not(.home) main section.search .wp-block-columns {
    gap: 2rem;
  }
}
body:not(.home) main section.page .wp-block-columns .wp-block-column, body:not(.home) main section.single .wp-block-columns .wp-block-column, body:not(.home) main section.search .wp-block-columns .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body:not(.home) main section.page .wp-block-columns .wp-block-column .wp-block-image img, body:not(.home) main section.single .wp-block-columns .wp-block-column .wp-block-image img, body:not(.home) main section.search .wp-block-columns .wp-block-column .wp-block-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
body:not(.home) main section.page .wp-block-image img, body:not(.home) main section.single .wp-block-image img, body:not(.home) main section.search .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-file, body:not(.home) main section.single .wp-block-file, body:not(.home) main section.search .wp-block-file {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-file.show, body:not(.home) main section.single .wp-block-file.show, body:not(.home) main section.search .wp-block-file.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-file, body:not(.home) main section.single .wp-block-file, body:not(.home) main section.search .wp-block-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-file a:not(.wp-block-file__button), body:not(.home) main section.single .wp-block-file a:not(.wp-block-file__button), body:not(.home) main section.search .wp-block-file a:not(.wp-block-file__button) {
  opacity: 1;
  animation: none;
  color: var(--color-ink);
  font-size: 1.05rem;
}
body:not(.home) main section.page .wp-block-file a:not(.wp-block-file__button):hover, body:not(.home) main section.single .wp-block-file a:not(.wp-block-file__button):hover, body:not(.home) main section.search .wp-block-file a:not(.wp-block-file__button):hover {
  color: rgb(var(--magenta));
}
body:not(.home) main section.page .wp-block-file .wp-block-file__button, body:not(.home) main section.single .wp-block-file .wp-block-file__button, body:not(.home) main section.search .wp-block-file .wp-block-file__button {
  opacity: 1;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main section.page .wp-block-file .wp-block-file__button:hover, body:not(.home) main section.single .wp-block-file .wp-block-file__button:hover, body:not(.home) main section.search .wp-block-file .wp-block-file__button:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main section.page .wp-block-file .wp-block-file__button:disabled, body:not(.home) main section.single .wp-block-file .wp-block-file__button:disabled, body:not(.home) main section.search .wp-block-file .wp-block-file__button:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main section.page .wp-block-file .wp-block-file__button, body:not(.home) main section.single .wp-block-file .wp-block-file__button, body:not(.home) main section.search .wp-block-file .wp-block-file__button {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  color: #fff;
}
body:not(.home) main section.page .wp-block-file .wp-block-file__button:hover, body:not(.home) main section.single .wp-block-file .wp-block-file__button:hover, body:not(.home) main section.search .wp-block-file .wp-block-file__button:hover {
  color: #fff;
}
body:not(.home) main section.page .wp-block-quote, body:not(.home) main section.page .wp-block-pullquote, body:not(.home) main section.single .wp-block-quote, body:not(.home) main section.single .wp-block-pullquote, body:not(.home) main section.search .wp-block-quote, body:not(.home) main section.search .wp-block-pullquote {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-quote.show, body:not(.home) main section.page .wp-block-pullquote.show, body:not(.home) main section.single .wp-block-quote.show, body:not(.home) main section.single .wp-block-pullquote.show, body:not(.home) main section.search .wp-block-quote.show, body:not(.home) main section.search .wp-block-pullquote.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-quote, body:not(.home) main section.page .wp-block-pullquote, body:not(.home) main section.single .wp-block-quote, body:not(.home) main section.single .wp-block-pullquote, body:not(.home) main section.search .wp-block-quote, body:not(.home) main section.search .wp-block-pullquote {
  padding: 1.75rem 2rem;
  border-left: 4px solid rgb(var(--magenta));
  border-radius: 0 20px 20px 0;
  background-color: rgba(var(--magenta), 0.05);
}
body:not(.home) main section.page .wp-block-quote p, body:not(.home) main section.page .wp-block-pullquote p, body:not(.home) main section.single .wp-block-quote p, body:not(.home) main section.single .wp-block-pullquote p, body:not(.home) main section.search .wp-block-quote p, body:not(.home) main section.search .wp-block-pullquote p {
  opacity: 1;
  animation: none;
  max-width: 100%;
  margin-bottom: 0;
  color: var(--color-ink);
  font-size: 1.2rem;
  font-style: italic;
}
body:not(.home) main section.page .wp-block-quote cite, body:not(.home) main section.page .wp-block-pullquote cite, body:not(.home) main section.single .wp-block-quote cite, body:not(.home) main section.single .wp-block-pullquote cite, body:not(.home) main section.search .wp-block-quote cite, body:not(.home) main section.search .wp-block-pullquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}
body:not(.home) main section.page .wp-block-video, body:not(.home) main section.page .wp-block-embed, body:not(.home) main section.single .wp-block-video, body:not(.home) main section.single .wp-block-embed, body:not(.home) main section.search .wp-block-video, body:not(.home) main section.search .wp-block-embed {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-video.show, body:not(.home) main section.page .wp-block-embed.show, body:not(.home) main section.single .wp-block-video.show, body:not(.home) main section.single .wp-block-embed.show, body:not(.home) main section.search .wp-block-video.show, body:not(.home) main section.search .wp-block-embed.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-video video, body:not(.home) main section.page .wp-block-video iframe, body:not(.home) main section.page .wp-block-embed video, body:not(.home) main section.page .wp-block-embed iframe, body:not(.home) main section.single .wp-block-video video, body:not(.home) main section.single .wp-block-video iframe, body:not(.home) main section.single .wp-block-embed video, body:not(.home) main section.single .wp-block-embed iframe, body:not(.home) main section.search .wp-block-video video, body:not(.home) main section.search .wp-block-video iframe, body:not(.home) main section.search .wp-block-embed video, body:not(.home) main section.search .wp-block-embed iframe {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-video figcaption, body:not(.home) main section.page .wp-block-embed figcaption, body:not(.home) main section.single .wp-block-video figcaption, body:not(.home) main section.single .wp-block-embed figcaption, body:not(.home) main section.search .wp-block-video figcaption, body:not(.home) main section.search .wp-block-embed figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}
body:not(.home) main section.page .wp-block-media-text, body:not(.home) main section.single .wp-block-media-text, body:not(.home) main section.search .wp-block-media-text {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-media-text.show, body:not(.home) main section.single .wp-block-media-text.show, body:not(.home) main section.search .wp-block-media-text.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-media-text, body:not(.home) main section.single .wp-block-media-text, body:not(.home) main section.search .wp-block-media-text {
  gap: 3rem;
  align-items: center;
}
@media (width < 700px) {
  body:not(.home) main section.page .wp-block-media-text, body:not(.home) main section.single .wp-block-media-text, body:not(.home) main section.search .wp-block-media-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}
body:not(.home) main section.page .wp-block-media-text .wp-block-media-text__media img, body:not(.home) main section.page .wp-block-media-text .wp-block-media-text__media video, body:not(.home) main section.single .wp-block-media-text .wp-block-media-text__media img, body:not(.home) main section.single .wp-block-media-text .wp-block-media-text__media video, body:not(.home) main section.search .wp-block-media-text .wp-block-media-text__media img, body:not(.home) main section.search .wp-block-media-text .wp-block-media-text__media video {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-media-text .wp-block-media-text__content, body:not(.home) main section.single .wp-block-media-text .wp-block-media-text__content, body:not(.home) main section.search .wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}
body:not(.home) main section.page .wp-block-gallery, body:not(.home) main section.single .wp-block-gallery, body:not(.home) main section.search .wp-block-gallery {
  gap: 1rem;
}
body:not(.home) main section.page .wp-block-gallery .wp-block-image img, body:not(.home) main section.single .wp-block-gallery .wp-block-image img, body:not(.home) main section.search .wp-block-gallery .wp-block-image img {
  border-radius: 18px; /* menší fotky mají menší zaoblení */
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-gallery figcaption, body:not(.home) main section.single .wp-block-gallery figcaption, body:not(.home) main section.search .wp-block-gallery figcaption {
  padding-top: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
}
body:not(.home) main section.page hr.wp-block-separator, body:not(.home) main section.single hr.wp-block-separator, body:not(.home) main section.search hr.wp-block-separator {
  display: block !important;
  width: 100%;
  max-width: 200px;
  height: 0 !important;
  margin: 2.5rem auto !important;
  overflow: visible !important;
  border: none !important;
  border-top: 2px solid var(--color-line) !important;
  opacity: 1 !important;
}
body:not(.home) main section.page hr.wp-block-separator.is-style-wide, body:not(.home) main section.single hr.wp-block-separator.is-style-wide, body:not(.home) main section.search hr.wp-block-separator.is-style-wide {
  max-width: 860px;
}
body:not(.home) main section.page hr.wp-block-separator.is-style-dots, body:not(.home) main section.single hr.wp-block-separator.is-style-dots, body:not(.home) main section.search hr.wp-block-separator.is-style-dots {
  border-top: none !important;
  background: transparent !important;
  text-align: center;
}
body:not(.home) main section.page hr.wp-block-separator.is-style-dots::before, body:not(.home) main section.single hr.wp-block-separator.is-style-dots::before, body:not(.home) main section.search hr.wp-block-separator.is-style-dots::before {
  content: "···";
  display: block;
  padding-left: 1rem;
  color: rgb(var(--magenta));
  font-size: 2rem;
  line-height: 0;
  letter-spacing: 1rem;
}
body:not(.home) main section.page .wp-block-audio, body:not(.home) main section.single .wp-block-audio, body:not(.home) main section.search .wp-block-audio {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-audio.show, body:not(.home) main section.single .wp-block-audio.show, body:not(.home) main section.search .wp-block-audio.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-audio audio, body:not(.home) main section.single .wp-block-audio audio, body:not(.home) main section.search .wp-block-audio audio {
  width: 100%;
  border-radius: 50px;
}
body:not(.home) main section.page .wp-block-audio figcaption, body:not(.home) main section.single .wp-block-audio figcaption, body:not(.home) main section.search .wp-block-audio figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}
body:not(.home) main section.page .wp-block-details, body:not(.home) main section.single .wp-block-details, body:not(.home) main section.search .wp-block-details {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-details.show, body:not(.home) main section.single .wp-block-details.show, body:not(.home) main section.search .wp-block-details.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-details, body:not(.home) main section.single .wp-block-details, body:not(.home) main section.search .wp-block-details {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
body:not(.home) main section.page .wp-block-details[open], body:not(.home) main section.single .wp-block-details[open], body:not(.home) main section.search .wp-block-details[open] {
  gap: 1.5rem;
}
body:not(.home) main section.page .wp-block-details summary, body:not(.home) main section.single .wp-block-details summary, body:not(.home) main section.search .wp-block-details summary {
  color: var(--color-ink);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: color 0.3s;
}
body:not(.home) main section.page .wp-block-details summary:hover, body:not(.home) main section.single .wp-block-details summary:hover, body:not(.home) main section.search .wp-block-details summary:hover {
  color: rgb(var(--magenta));
}
body:not(.home) main section.page .wp-block-details .wp-block-details__content, body:not(.home) main section.single .wp-block-details .wp-block-details__content, body:not(.home) main section.search .wp-block-details .wp-block-details__content {
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
}
body:not(.home) main section.page .wp-block-details .wp-block-details__content p:last-child, body:not(.home) main section.single .wp-block-details .wp-block-details__content p:last-child, body:not(.home) main section.search .wp-block-details .wp-block-details__content p:last-child {
  margin-bottom: 0;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Vyhledávací pole (blok z editoru i šablona hledání) */
}
body:not(.home) main section.page .wp-block-search, body:not(.home) main section.page .searchform, body:not(.home) main section.single .wp-block-search, body:not(.home) main section.single .searchform, body:not(.home) main section.search .wp-block-search, body:not(.home) main section.search .searchform {
  opacity: 0;
}
body:not(.home) main section.page .wp-block-search.show, body:not(.home) main section.page .searchform.show, body:not(.home) main section.single .wp-block-search.show, body:not(.home) main section.single .searchform.show, body:not(.home) main section.search .wp-block-search.show, body:not(.home) main section.search .searchform.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main section.page .wp-block-search, body:not(.home) main section.page .searchform, body:not(.home) main section.single .wp-block-search, body:not(.home) main section.single .searchform, body:not(.home) main section.search .wp-block-search, body:not(.home) main section.search .searchform {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 600px;
  /* WordPress vypisuje formulář jako <div> s popiskem, polem a tlačítkem */
}
body:not(.home) main section.page .wp-block-search > div, body:not(.home) main section.page .searchform > div, body:not(.home) main section.single .wp-block-search > div, body:not(.home) main section.single .searchform > div, body:not(.home) main section.search .wp-block-search > div, body:not(.home) main section.search .searchform > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
}
body:not(.home) main section.page .wp-block-search label, body:not(.home) main section.page .searchform label, body:not(.home) main section.single .wp-block-search label, body:not(.home) main section.single .searchform label, body:not(.home) main section.search .wp-block-search label, body:not(.home) main section.search .searchform label {
  color: var(--color-text);
}
body:not(.home) main section.page .wp-block-search .wp-block-search__input, body:not(.home) main section.page .wp-block-search input[type=text], body:not(.home) main section.page .wp-block-search input[type=search], body:not(.home) main section.page .searchform .wp-block-search__input, body:not(.home) main section.page .searchform input[type=text], body:not(.home) main section.page .searchform input[type=search], body:not(.home) main section.single .wp-block-search .wp-block-search__input, body:not(.home) main section.single .wp-block-search input[type=text], body:not(.home) main section.single .wp-block-search input[type=search], body:not(.home) main section.single .searchform .wp-block-search__input, body:not(.home) main section.single .searchform input[type=text], body:not(.home) main section.single .searchform input[type=search], body:not(.home) main section.search .wp-block-search .wp-block-search__input, body:not(.home) main section.search .wp-block-search input[type=text], body:not(.home) main section.search .wp-block-search input[type=search], body:not(.home) main section.search .searchform .wp-block-search__input, body:not(.home) main section.search .searchform input[type=text], body:not(.home) main section.search .searchform input[type=search] {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-line);
  border-radius: 14px;
  background-color: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
body:not(.home) main section.page .wp-block-search .wp-block-search__input:focus, body:not(.home) main section.page .wp-block-search input[type=text]:focus, body:not(.home) main section.page .wp-block-search input[type=search]:focus, body:not(.home) main section.page .searchform .wp-block-search__input:focus, body:not(.home) main section.page .searchform input[type=text]:focus, body:not(.home) main section.page .searchform input[type=search]:focus, body:not(.home) main section.single .wp-block-search .wp-block-search__input:focus, body:not(.home) main section.single .wp-block-search input[type=text]:focus, body:not(.home) main section.single .wp-block-search input[type=search]:focus, body:not(.home) main section.single .searchform .wp-block-search__input:focus, body:not(.home) main section.single .searchform input[type=text]:focus, body:not(.home) main section.single .searchform input[type=search]:focus, body:not(.home) main section.search .wp-block-search .wp-block-search__input:focus, body:not(.home) main section.search .wp-block-search input[type=text]:focus, body:not(.home) main section.search .wp-block-search input[type=search]:focus, body:not(.home) main section.search .searchform .wp-block-search__input:focus, body:not(.home) main section.search .searchform input[type=text]:focus, body:not(.home) main section.search .searchform input[type=search]:focus {
  outline: none;
  border-color: rgba(var(--blue), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--blue), 0.12);
}
body:not(.home) main section.page .wp-block-search .wp-block-search__input, body:not(.home) main section.page .wp-block-search input[type=text], body:not(.home) main section.page .wp-block-search input[type=search], body:not(.home) main section.page .searchform .wp-block-search__input, body:not(.home) main section.page .searchform input[type=text], body:not(.home) main section.page .searchform input[type=search], body:not(.home) main section.single .wp-block-search .wp-block-search__input, body:not(.home) main section.single .wp-block-search input[type=text], body:not(.home) main section.single .wp-block-search input[type=search], body:not(.home) main section.single .searchform .wp-block-search__input, body:not(.home) main section.single .searchform input[type=text], body:not(.home) main section.single .searchform input[type=search], body:not(.home) main section.search .wp-block-search .wp-block-search__input, body:not(.home) main section.search .wp-block-search input[type=text], body:not(.home) main section.search .wp-block-search input[type=search], body:not(.home) main section.search .searchform .wp-block-search__input, body:not(.home) main section.search .searchform input[type=text], body:not(.home) main section.search .searchform input[type=search] {
  flex: 1;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
}
body:not(.home) main section.page .wp-block-search .wp-block-search__button, body:not(.home) main section.page .wp-block-search input[type=submit], body:not(.home) main section.page .searchform .wp-block-search__button, body:not(.home) main section.page .searchform input[type=submit], body:not(.home) main section.single .wp-block-search .wp-block-search__button, body:not(.home) main section.single .wp-block-search input[type=submit], body:not(.home) main section.single .searchform .wp-block-search__button, body:not(.home) main section.single .searchform input[type=submit], body:not(.home) main section.search .wp-block-search .wp-block-search__button, body:not(.home) main section.search .wp-block-search input[type=submit], body:not(.home) main section.search .searchform .wp-block-search__button, body:not(.home) main section.search .searchform input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main section.page .wp-block-search .wp-block-search__button:hover, body:not(.home) main section.page .wp-block-search input[type=submit]:hover, body:not(.home) main section.page .searchform .wp-block-search__button:hover, body:not(.home) main section.page .searchform input[type=submit]:hover, body:not(.home) main section.single .wp-block-search .wp-block-search__button:hover, body:not(.home) main section.single .wp-block-search input[type=submit]:hover, body:not(.home) main section.single .searchform .wp-block-search__button:hover, body:not(.home) main section.single .searchform input[type=submit]:hover, body:not(.home) main section.search .wp-block-search .wp-block-search__button:hover, body:not(.home) main section.search .wp-block-search input[type=submit]:hover, body:not(.home) main section.search .searchform .wp-block-search__button:hover, body:not(.home) main section.search .searchform input[type=submit]:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main section.page .wp-block-search .wp-block-search__button:disabled, body:not(.home) main section.page .wp-block-search input[type=submit]:disabled, body:not(.home) main section.page .searchform .wp-block-search__button:disabled, body:not(.home) main section.page .searchform input[type=submit]:disabled, body:not(.home) main section.single .wp-block-search .wp-block-search__button:disabled, body:not(.home) main section.single .wp-block-search input[type=submit]:disabled, body:not(.home) main section.single .searchform .wp-block-search__button:disabled, body:not(.home) main section.single .searchform input[type=submit]:disabled, body:not(.home) main section.search .wp-block-search .wp-block-search__button:disabled, body:not(.home) main section.search .wp-block-search input[type=submit]:disabled, body:not(.home) main section.search .searchform .wp-block-search__button:disabled, body:not(.home) main section.search .searchform input[type=submit]:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main section.page .wp-block-search .wp-block-search__button, body:not(.home) main section.page .wp-block-search input[type=submit], body:not(.home) main section.page .searchform .wp-block-search__button, body:not(.home) main section.page .searchform input[type=submit], body:not(.home) main section.single .wp-block-search .wp-block-search__button, body:not(.home) main section.single .wp-block-search input[type=submit], body:not(.home) main section.single .searchform .wp-block-search__button, body:not(.home) main section.single .searchform input[type=submit], body:not(.home) main section.search .wp-block-search .wp-block-search__button, body:not(.home) main section.search .wp-block-search input[type=submit], body:not(.home) main section.search .searchform .wp-block-search__button, body:not(.home) main section.search .searchform input[type=submit] {
  padding: 0.8rem 1.6rem;
}
body:not(.home) main section.page .wp-block-latest-posts, body:not(.home) main section.single .wp-block-latest-posts, body:not(.home) main section.search .wp-block-latest-posts {
  padding-left: 0;
}
body:not(.home) main section.page .wp-block-latest-posts li, body:not(.home) main section.single .wp-block-latest-posts li, body:not(.home) main section.search .wp-block-latest-posts li {
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--color-line);
}
body:not(.home) main section.page .wp-block-latest-posts li::before, body:not(.home) main section.single .wp-block-latest-posts li::before, body:not(.home) main section.search .wp-block-latest-posts li::before {
  display: none;
}
body:not(.home) main section.page .wp-block-latest-posts li a, body:not(.home) main section.single .wp-block-latest-posts li a, body:not(.home) main section.search .wp-block-latest-posts li a {
  opacity: 1;
  animation: none;
  display: block;
  color: var(--color-ink);
  font-size: 1.15rem;
  transition: color 0.3s, padding-left 0.3s;
}
body:not(.home) main section.page .wp-block-latest-posts li a:hover, body:not(.home) main section.single .wp-block-latest-posts li a:hover, body:not(.home) main section.search .wp-block-latest-posts li a:hover {
  padding-left: 0.5rem;
  color: rgb(var(--magenta));
}
body:not(.home) main section.page .wp-block-latest-posts li .wp-block-latest-posts__post-date, body:not(.home) main section.single .wp-block-latest-posts li .wp-block-latest-posts__post-date, body:not(.home) main section.search .wp-block-latest-posts li .wp-block-latest-posts__post-date {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* --- Varianty vzhledu bloků (vybírají se v editoru), viz _block-styles.scss.
     Musí být až na konci, aby přebily běžný vzhled. --- */
  /* ======================================================================
     SKUPINA – barevné boxy
     Klasická šablona obaluje obsah skupiny do .wp-block-group__inner-container,
     proto se rozestupy nastavují i na něm.
     ====================================================================== */
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  padding: 2.25rem 2.5rem !important;
  border-radius: 28px !important;
}
@media (width < 700px) {
  body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) {
    padding: 1.75rem 1.5rem !important;
    border-radius: 22px !important;
  }
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) > .wp-block-group__inner-container, body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) > .wp-block-group__inner-container, body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) :is(h2, h3, h4), body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) :is(h2, h3, h4), body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) :is(h2, h3, h4) {
  margin-top: 0 !important;
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) {
  /* H2 v boxu je zarovnaný vlevo a bez čárky pod ním (jako .page-info-box) */
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2, body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2, body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2 {
  padding-bottom: 0 !important;
  text-align: left;
}
body:not(.home) main section.page .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2::after, body:not(.home) main section.single .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2::after, body:not(.home) main section.search .wp-block-group:is(.is-style-svetly-box, .is-style-karta, .is-style-zeleny-box, .is-style-fialovy-gradient, .is-style-tmavy-box) h2::after {
  content: none !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Světlý box: jemně šedomodré pozadí */
}
body:not(.home) main section.page .is-style-svetly-box, body:not(.home) main section.single .is-style-svetly-box, body:not(.home) main section.search .is-style-svetly-box {
  border: 1px solid var(--color-line) !important;
  background: var(--color-soft) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Karta se stínem: bílá karta, která vystupuje z pozadí */
}
body:not(.home) main section.page .is-style-karta, body:not(.home) main section.single .is-style-karta, body:not(.home) main section.search .is-style-karta {
  border: 1px solid var(--color-line) !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Zelený box: stejný jako zelený box u aktivit */
}
body:not(.home) main section.page .is-style-zeleny-box, body:not(.home) main section.single .is-style-zeleny-box, body:not(.home) main section.search .is-style-zeleny-box {
  border: 1px solid rgba(var(--green), 0.7) !important;
  background: rgba(var(--green), 0.08) !important;
}
body:not(.home) main section.page .is-style-zeleny-box :is(h2, h3, h4), body:not(.home) main section.single .is-style-zeleny-box :is(h2, h3, h4), body:not(.home) main section.search .is-style-zeleny-box :is(h2, h3, h4) {
  color: var(--color-teal) !important;
}
body:not(.home) main section.page .is-style-zeleny-box h3::before, body:not(.home) main section.single .is-style-zeleny-box h3::before, body:not(.home) main section.search .is-style-zeleny-box h3::before {
  background: var(--color-teal) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Fialový gradient a tmavý box */
}
body:not(.home) main section.page .is-style-fialovy-gradient, body:not(.home) main section.single .is-style-fialovy-gradient, body:not(.home) main section.search .is-style-fialovy-gradient {
  border: none !important;
  background: linear-gradient(120deg, var(--color-magenta), var(--color-purple)) !important;
  box-shadow: 0 24px 50px -20px rgba(var(--magenta), 0.55) !important;
}
body:not(.home) main section.page .is-style-tmavy-box, body:not(.home) main section.single .is-style-tmavy-box, body:not(.home) main section.search .is-style-tmavy-box {
  border: none !important;
  background: var(--color-ink) !important;
  box-shadow: var(--shadow) !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) {
  color: rgba(255, 255, 255, 0.88) !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(h1, h2, h3, h4, h5, h6, strong, cite, th, td, summary), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(h1, h2, h3, h4, h5, h6, strong, cite, th, td, summary), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(h1, h2, h3, h4, h5, h6, strong, cite, th, td, summary) {
  color: #fff !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(p, li), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(p, li), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) :is(p, li) {
  color: rgba(255, 255, 255, 0.88) !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) h3::before, body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) h3::before, body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) h3::before {
  background: #fff !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) a:not(.wp-block-button__link), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) a:not(.wp-block-button__link), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) a:not(.wp-block-button__link) {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) {
  /* Fajfky v seznamu jsou bílé */
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) ul li::before, body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) ul li::before, body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) ul li::before {
  filter: brightness(0) invert(1);
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box), body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) {
  /* Výchozí tlačítko je bílé, aby nesplynulo s pozadím */
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link, body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link, body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link {
  background-color: #fff !important;
  color: var(--color-ink) !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link:hover, body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link:hover, body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .wp-block-button:not(.is-style-obrys, .is-style-fialove) .wp-block-button__link:hover {
  color: #fff !important;
}
body:not(.home) main section.page :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .is-style-obrys .wp-block-button__link, body:not(.home) main section.single :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .is-style-obrys .wp-block-button__link, body:not(.home) main section.search :is(.is-style-fialovy-gradient, .is-style-tmavy-box) .is-style-obrys .wp-block-button__link {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8) !important;
  color: #fff !important;
}
body:not(.home) main section.page .is-style-tmavy-box a:not(.wp-block-button__link):hover, body:not(.home) main section.single .is-style-tmavy-box a:not(.wp-block-button__link):hover, body:not(.home) main section.search .is-style-tmavy-box a:not(.wp-block-button__link):hover {
  color: rgb(var(--green)) !important;
}
body:not(.home) main section.page .is-style-fialovy-gradient a:not(.wp-block-button__link):hover, body:not(.home) main section.single .is-style-fialovy-gradient a:not(.wp-block-button__link):hover, body:not(.home) main section.search .is-style-fialovy-gradient a:not(.wp-block-button__link):hover {
  color: var(--color-ink) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     NADPIS
     Výchozí: H2 je na střed s čárkou pod sebou, H3 má čárku vlevo.
     ====================================================================== */
  /* Fialový */
}
body:not(.home) main section.page .wp-block-heading.is-style-fialovy, body:not(.home) main section.single .wp-block-heading.is-style-fialovy, body:not(.home) main section.search .wp-block-heading.is-style-fialovy {
  color: rgb(var(--magenta)) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Barevný přechod v písmu */
}
body:not(.home) main section.page .wp-block-heading.is-style-gradient, body:not(.home) main section.single .wp-block-heading.is-style-gradient, body:not(.home) main section.search .wp-block-heading.is-style-gradient {
  width: -moz-fit-content;
  width: fit-content;
  background: linear-gradient(110deg, var(--color-magenta), var(--color-purple)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
body:not(.home) main section.page h2.wp-block-heading.is-style-gradient, body:not(.home) main section.single h2.wp-block-heading.is-style-gradient, body:not(.home) main section.search h2.wp-block-heading.is-style-gradient {
  margin-left: auto;
  margin-right: auto;
}
body:not(.home) main section.page h2.wp-block-heading.is-style-gradient.has-text-align-left, body:not(.home) main section.single h2.wp-block-heading.is-style-gradient.has-text-align-left, body:not(.home) main section.search h2.wp-block-heading.is-style-gradient.has-text-align-left {
  margin-left: 0;
}
body:not(.home) main section.page h2.wp-block-heading.is-style-gradient.has-text-align-right, body:not(.home) main section.single h2.wp-block-heading.is-style-gradient.has-text-align-right, body:not(.home) main section.search h2.wp-block-heading.is-style-gradient.has-text-align-right {
  margin-right: 0;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Bez čárky (ani pod H2, ani vlevo u H3) */
}
body:not(.home) main section.page .wp-block-heading.is-style-bez-carky, body:not(.home) main section.single .wp-block-heading.is-style-bez-carky, body:not(.home) main section.search .wp-block-heading.is-style-bez-carky {
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}
body:not(.home) main section.page .wp-block-heading.is-style-bez-carky::before, body:not(.home) main section.page .wp-block-heading.is-style-bez-carky::after, body:not(.home) main section.single .wp-block-heading.is-style-bez-carky::before, body:not(.home) main section.single .wp-block-heading.is-style-bez-carky::after, body:not(.home) main section.search .wp-block-heading.is-style-bez-carky::before, body:not(.home) main section.search .wp-block-heading.is-style-bez-carky::after {
  content: none !important;
  display: none !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Na střed s čárkou pod nadpisem (jako výchozí H2, i pro H3–H5) */
}
body:not(.home) main section.page .wp-block-heading.is-style-na-stred, body:not(.home) main section.single .wp-block-heading.is-style-na-stred, body:not(.home) main section.search .wp-block-heading.is-style-na-stred {
  position: relative;
  padding-left: 0 !important;
  padding-bottom: 1rem !important;
  text-align: center !important;
}
body:not(.home) main section.page .wp-block-heading.is-style-na-stred::before, body:not(.home) main section.single .wp-block-heading.is-style-na-stred::before, body:not(.home) main section.search .wp-block-heading.is-style-na-stred::before {
  content: none !important;
  display: none !important;
}
body:not(.home) main section.page .wp-block-heading.is-style-na-stred::after, body:not(.home) main section.single .wp-block-heading.is-style-na-stred::after, body:not(.home) main section.search .wp-block-heading.is-style-na-stred::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 56px !important;
  height: 4px !important;
  border-radius: 4px !important;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-purple)) !important;
  transform: translateX(-50%) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     ODSTAVEC
     ====================================================================== */
  /* Úvodní text (perex): větší a tmavší */
}
body:not(.home) main section.page p.is-style-perex, body:not(.home) main section.single p.is-style-perex, body:not(.home) main section.search p.is-style-perex {
  color: var(--color-ink) !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
}
@media (width < 700px) {
  body:not(.home) main section.page p.is-style-perex, body:not(.home) main section.single p.is-style-perex, body:not(.home) main section.search p.is-style-perex {
    font-size: 1.15rem !important;
  }
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Upozornění: fialová čárka vlevo */
}
body:not(.home) main section.page p.is-style-upozorneni, body:not(.home) main section.single p.is-style-upozorneni, body:not(.home) main section.search p.is-style-upozorneni {
  padding: 1.25rem 1.5rem !important;
  border-left: 4px solid rgb(var(--magenta)) !important;
  border-radius: 0 18px 18px 0 !important;
  background: rgba(var(--magenta), 0.06) !important;
  color: var(--color-ink) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Tip: zelená čárka vlevo */
}
body:not(.home) main section.page p.is-style-tip, body:not(.home) main section.single p.is-style-tip, body:not(.home) main section.search p.is-style-tip {
  padding: 1.25rem 1.5rem !important;
  border-left: 4px solid var(--color-teal) !important;
  border-radius: 0 18px 18px 0 !important;
  background: rgba(var(--green), 0.1) !important;
  color: var(--color-ink) !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     TLAČÍTKO
     Výchozí: tmavé, při najetí se zespodu vyplní fialovým přechodem.
     ====================================================================== */
  /* Fialové: přechod je vidět hned */
}
body:not(.home) main section.page .wp-block-button.is-style-fialove .wp-block-button__link, body:not(.home) main section.single .wp-block-button.is-style-fialove .wp-block-button__link, body:not(.home) main section.search .wp-block-button.is-style-fialove .wp-block-button__link {
  background-color: var(--color-magenta) !important;
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple)) !important;
  background-size: 100% 100% !important;
  color: #fff !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}
body:not(.home) main section.page .wp-block-button.is-style-fialove .wp-block-button__link:hover, body:not(.home) main section.single .wp-block-button.is-style-fialove .wp-block-button__link:hover, body:not(.home) main section.search .wp-block-button.is-style-fialove .wp-block-button__link:hover {
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6) !important;
  transform: translateY(-2px);
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Obrysové: průhledné s rámečkem, při najetí se vyplní */
}
body:not(.home) main section.page .wp-block-button.is-style-obrys .wp-block-button__link, body:not(.home) main section.single .wp-block-button.is-style-obrys .wp-block-button__link, body:not(.home) main section.search .wp-block-button.is-style-obrys .wp-block-button__link {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 2px var(--color-ink) !important;
  color: var(--color-ink) !important;
}
body:not(.home) main section.page .wp-block-button.is-style-obrys .wp-block-button__link:hover, body:not(.home) main section.single .wp-block-button.is-style-obrys .wp-block-button__link:hover, body:not(.home) main section.search .wp-block-button.is-style-obrys .wp-block-button__link:hover {
  background-size: 100% 100% !important;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6) !important;
  color: #fff !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     OBRÁZEK
     Výchozí: zaoblené rohy a jemný stín.
     ====================================================================== */
  /* Fotka v bílém rámečku, mírně natočená */
}
body:not(.home) main section.page .wp-block-image.is-style-polaroid img, body:not(.home) main section.single .wp-block-image.is-style-polaroid img, body:not(.home) main section.search .wp-block-image.is-style-polaroid img {
  padding: 10px 10px 34px !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: var(--shadow) !important;
  transform: rotate(-2deg);
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Bez zaoblení a bez stínu */
}
body:not(.home) main section.page .wp-block-image.is-style-ostre img, body:not(.home) main section.single .wp-block-image.is-style-ostre img, body:not(.home) main section.search .wp-block-image.is-style-ostre img {
  border-radius: 0 !important;
  box-shadow: none !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Styl „Zaoblený“ od WordPressu (kulatý obrázek) */
}
body:not(.home) main section.page .wp-block-image.is-style-rounded img, body:not(.home) main section.single .wp-block-image.is-style-rounded img, body:not(.home) main section.search .wp-block-image.is-style-rounded img {
  border-radius: 9999px !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     SEZNAM
     Výchozí: fialové fajfky.
     ====================================================================== */
  /* V kartičkách: každá položka je v bílém rámečku */
}
body:not(.home) main section.page ul.is-style-karticky, body:not(.home) main section.single ul.is-style-karticky, body:not(.home) main section.search ul.is-style-karticky {
  gap: 0.75rem !important;
  padding-left: 0 !important;
}
body:not(.home) main section.page ul.is-style-karticky li, body:not(.home) main section.single ul.is-style-karticky li, body:not(.home) main section.search ul.is-style-karticky li {
  position: relative;
  padding: 0.9rem 1.2rem 0.9rem 3.2rem !important;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  list-style: none;
}
body:not(.home) main section.page ul.is-style-karticky li::before, body:not(.home) main section.single ul.is-style-karticky li::before, body:not(.home) main section.search ul.is-style-karticky li::before {
  left: 1.1rem !important;
  top: 1.15rem !important;
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Ve dvou sloupcích (na telefonu v jednom) */
}
body:not(.home) main section.page ul.is-style-dva-sloupce, body:not(.home) main section.single ul.is-style-dva-sloupce, body:not(.home) main section.search ul.is-style-dva-sloupce {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2.5rem !important;
}
@media (width < 700px) {
  body:not(.home) main section.page ul.is-style-dva-sloupce, body:not(.home) main section.single ul.is-style-dva-sloupce, body:not(.home) main section.search ul.is-style-dva-sloupce {
    grid-template-columns: 1fr;
  }
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* ======================================================================
     CITACE
     Výchozí: fialová čárka vlevo a světle růžové pozadí.
     ====================================================================== */
  /* Velká na střed, bez rámečku */
}
body:not(.home) main section.page .wp-block-quote.is-style-velka, body:not(.home) main section.single .wp-block-quote.is-style-velka, body:not(.home) main section.search .wp-block-quote.is-style-velka {
  padding: 1rem 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  text-align: center !important;
}
body:not(.home) main section.page .wp-block-quote.is-style-velka p, body:not(.home) main section.single .wp-block-quote.is-style-velka p, body:not(.home) main section.search .wp-block-quote.is-style-velka p {
  color: var(--color-ink) !important;
  font-size: 1.6rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}
body:not(.home) main section.page .wp-block-quote.is-style-velka p:first-child::before, body:not(.home) main section.single .wp-block-quote.is-style-velka p:first-child::before, body:not(.home) main section.search .wp-block-quote.is-style-velka p:first-child::before {
  content: "„";
  color: rgb(var(--magenta));
}
body:not(.home) main section.page .wp-block-quote.is-style-velka p:last-of-type::after, body:not(.home) main section.single .wp-block-quote.is-style-velka p:last-of-type::after, body:not(.home) main section.search .wp-block-quote.is-style-velka p:last-of-type::after {
  content: "“";
  color: rgb(var(--magenta));
}
body:not(.home) main section.page, body:not(.home) main section.single, body:not(.home) main section.search {
  /* Styl „Prostý“ od WordPressu: citace bez rámečku a pozadí */
}
body:not(.home) main section.page .wp-block-quote.is-style-plain, body:not(.home) main section.single .wp-block-quote.is-style-plain, body:not(.home) main section.search .wp-block-quote.is-style-plain {
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
}
body:not(.home) main {
  /* ======================================================================
     5. AKTUALITY (výpis článků)
     ====================================================================== */
}
body:not(.home) main .page-hero {
  max-width: 760px;
  text-align: center;
}
body:not(.home) main .page-hero h2 {
  margin: 0 auto 1.5rem;
}
body:not(.home) main .page-hero p {
  opacity: 0;
}
body:not(.home) main .page-hero p.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .page-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
}
body:not(.home) main .news-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
body:not(.home) main .news-container .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}
body:not(.home) main .news-container .news-card {
  opacity: 0;
}
body:not(.home) main .news-container .news-card.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .news-container .news-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
body:not(.home) main .news-container .news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
body:not(.home) main .news-container .news-card:hover .news-card-image img {
  transform: scale(1.06);
}
body:not(.home) main .news-container .news-card:hover .news-title {
  color: rgb(var(--magenta));
}
body:not(.home) main .news-container {
  /* Tenká barevná linka na horním okraji karty */
}
body:not(.home) main .news-container .news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-purple), var(--color-blue));
}
body:not(.home) main .news-container .news-card-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  color: inherit;
}
body:not(.home) main .news-container .news-card-image {
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
}
body:not(.home) main .news-container .news-card-image img, body:not(.home) main .news-container .news-card-image .image-placeholder {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
body:not(.home) main .news-container .news-card-image .image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-soft);
  color: var(--color-text);
  font-weight: 500;
}
body:not(.home) main .news-container .news-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.75rem 2rem 2rem;
}
body:not(.home) main .news-container .news-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.35;
  transition: color 0.3s;
}
body:not(.home) main .news-container .news-title::after {
  content: none;
}
body:not(.home) main .news-container .news-excerpt {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
body:not(.home) main .news-container .news-excerpt p {
  opacity: 1;
  animation: none;
  margin: 0;
}
body:not(.home) main .news-container .btn-read-more {
  opacity: 1;
  animation: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: rgb(var(--magenta));
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}
body:not(.home) main .news-container .btn-read-more .arrow-icon {
  width: 18px;
  height: 18px;
  background-color: rgb(var(--magenta));
  -webkit-mask-image: url("images/icons/arrow-right.png");
  mask-image: url("images/icons/arrow-right.png");
  transition: background-color 0.3s;
}
body:not(.home) main .news-container .news-card:hover .btn-read-more {
  color: rgb(var(--blue));
  transform: translateX(5px);
}
body:not(.home) main .news-container .news-card:hover .btn-read-more .arrow-icon {
  background-color: rgb(var(--blue));
}
body:not(.home) main .news-container {
  /* Datum u článku (karta i detail) */
}
body:not(.home) main .news-container .news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
}
body:not(.home) main .news-container .no-results {
  padding: 4rem 2rem;
  border: 1.5px dashed var(--color-line);
  border-radius: 28px;
  background-color: var(--color-soft);
  text-align: center;
}
body:not(.home) main .news-container .no-results h2 {
  margin-bottom: 1rem;
  color: var(--color-text);
}
body:not(.home) main .news-container .no-results h2::after {
  content: none;
}
body:not(.home) main {
  /* Ikonka kalendáře u data (karta aktuality i detail článku) */
}
body:not(.home) main .calendar-icon {
  width: 16px;
  height: 16px;
  background-color: var(--color-text);
  -webkit-mask-image: url("images/icons/calendar-icon.svg");
  mask-image: url("images/icons/calendar-icon.svg");
}
body:not(.home) main {
  /* ======================================================================
     6. ČLÁNEK (single.php)
     ====================================================================== */
}
body:not(.home) main .single-post-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
body:not(.home) main .single-post-wrapper .post-header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
body:not(.home) main .single-post-wrapper .post-header-wrapper .news-meta {
  opacity: 0;
}
body:not(.home) main .single-post-wrapper .post-header-wrapper .news-meta.show {
  animation: slide-to-bottom 1s forwards;
}
body:not(.home) main .single-post-wrapper .post-header-wrapper .news-meta {
  justify-content: center;
  margin: 0;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
}
body:not(.home) main .single-post-wrapper .post-header-wrapper .post-title {
  margin: 0;
}
body:not(.home) main .single-post-wrapper {
  /* Fotka článku má za sebou posunutý barevný rámeček */
}
body:not(.home) main .single-post-wrapper .post-thumbnail-wrapper {
  position: relative;
  isolation: isolate;
}
body:not(.home) main .single-post-wrapper .post-thumbnail-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--color-magenta), var(--color-purple) 55%, var(--color-blue));
  transform: translate(14px, 14px);
}
@media (width < 700px) {
  body:not(.home) main .single-post-wrapper .post-thumbnail-wrapper::before {
    transform: translate(8px, 8px);
  }
}
body:not(.home) main .single-post-wrapper .post-thumbnail-wrapper img {
  width: 100%;
  height: auto;
  max-height: 520px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
body:not(.home) main .single-post-wrapper .post-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
body:not(.home) main .single-post-wrapper .post-content h2, body:not(.home) main .single-post-wrapper .post-content h3, body:not(.home) main .single-post-wrapper .post-content h4, body:not(.home) main .single-post-wrapper .post-content h5 {
  margin-top: 1rem;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper {
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back {
  background-color: #fff;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-line);
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back:hover {
  color: #fff;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back {
  opacity: 0;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back {
  gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  color: var(--color-ink);
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back:hover {
  color: #fff;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back .arrow-back-icon {
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-image: url("images/icons/arrow-right.png");
  mask-image: url("images/icons/arrow-right.png");
  transform: scaleX(-1);
  transition: transform 0.3s;
}
body:not(.home) main .single-post-wrapper .post-footer-wrapper .btn-back:hover .arrow-back-icon {
  transform: scaleX(-1) translateX(5px);
}
body:not(.home) main {
  /* ======================================================================
     7. AKTIVITY
     Detail aktivity (single-aktivita.php) a výpis cílové skupiny
     (taxonomy-cilovka.php): vlevo obsah, vpravo panel s informacemi / filtrem.
     ====================================================================== */
}
body:not(.home) main .activity-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  width: 100%;
  max-width: 1280px;
}
@media (width < 1200px) {
  body:not(.home) main .activity-container {
    flex-direction: column;
    gap: 2rem;
  }
}
body:not(.home) main .left-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 60%;
  max-width: 1000px;
}
@media (width < 1200px) {
  body:not(.home) main .left-side {
    width: 100%;
  }
}
body:not(.home) main .left-side > p {
  opacity: 0;
}
body:not(.home) main .left-side > p.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .left-side > p {
  font-size: 1.05rem;
  line-height: 1.85;
}
body:not(.home) main .left-side > ul, body:not(.home) main .left-side > ol {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 1.5rem;
}
body:not(.home) main .left-side > ul li, body:not(.home) main .left-side > ol li {
  line-height: 1.7;
}
body:not(.home) main .left-side h3 {
  color: var(--color-ink);
}
body:not(.home) main {
  /* Nadpisy "Co s sebou?" a "Mapa" v detailu aktivity dostanou barevnou čárku */
}
body:not(.home) main .left-side .what-bring h3, body:not(.home) main .left-side .map h3 {
  position: relative;
  padding-bottom: 1rem;
}
body:not(.home) main .left-side .what-bring h3::after, body:not(.home) main .left-side .map h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-magenta), var(--color-purple));
}
body:not(.home) main .left-side .what-bring {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 28px;
  background-color: var(--color-soft);
}
body:not(.home) main .left-side .what-bring ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
}
@media (width < 700px) {
  body:not(.home) main .left-side .what-bring ul {
    grid-template-columns: 1fr;
  }
}
body:not(.home) main .left-side .what-bring ul li {
  opacity: 0;
}
body:not(.home) main .left-side .what-bring ul li.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .left-side .what-bring ul li {
  position: relative;
  padding-left: 2rem;
  color: var(--color-ink);
}
body:not(.home) main .left-side .what-bring ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  background: url(images/icons/magenta-check.svg) center/cover no-repeat;
  transform: translateY(-50%);
}
body:not(.home) main .left-side .map {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 640px;
}
body:not(.home) main .left-side .map iframe {
  width: 100% !important;
  height: 400px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
@media (width < 700px) {
  body:not(.home) main .left-side .map iframe {
    height: 300px;
  }
}
body:not(.home) main .left-side .links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
body:not(.home) main .left-side .links-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .left-side .links-container a:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .left-side .links-container a:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .left-side .links-container a {
  background-color: #fff;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-line);
}
body:not(.home) main .left-side .links-container a:hover {
  color: #fff;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
}
body:not(.home) main .left-side .links-container a {
  padding: 0.85rem 1.8rem;
}
body:not(.home) main {
  /* --- Carousel fotek (single-aktivita.js) --- */
}
body:not(.home) main .left-side .carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}
@media (width < 700px) {
  body:not(.home) main .left-side .carousel-container {
    border-radius: 24px;
  }
}
body:not(.home) main .left-side .carousel-container .carousel-images-container {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}
body:not(.home) main .left-side .carousel-container .carousel-images-container img {
  flex: 0 0 auto;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1;
  animation: unset !important;
}
@media (width < 700px) {
  body:not(.home) main .left-side .carousel-container .carousel-images-container img {
    height: 350px;
  }
}
body:not(.home) main .left-side .carousel-container .carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1.2rem;
  transform: translateY(-50%);
  pointer-events: none;
}
body:not(.home) main .left-side .carousel-container .carousel-arrows .arrow {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background-color: rgba(var(--ink-rgb), 0.42);
  backdrop-filter: blur(8px);
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.3s;
}
body:not(.home) main .left-side .carousel-container .carousel-arrows .arrow.show.left {
  animation: carousel-arrow-left 1s forwards;
}
body:not(.home) main .left-side .carousel-container .carousel-arrows .arrow.show.right {
  animation: carousel-arrow-right 1s forwards;
}
body:not(.home) main .left-side .carousel-container .carousel-arrows .arrow:hover {
  background-color: rgba(var(--magenta), 0.85);
}
body:not(.home) main .left-side .carousel-container .carousel-arrows .arrow img {
  opacity: 1 !important;
  animation: unset !important;
  scale: 0.6;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
body:not(.home) main {
  /* --- Karty aktivit ve výpisu (template-parts/activity-card.php) --- */
}
body:not(.home) main .activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
body:not(.home) main .activities-grid > p {
  grid-column: 1/-1;
  align-self: center;
}
body:not(.home) main .activities-grid .activity-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
body:not(.home) main .activities-grid .activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
body:not(.home) main .activities-grid .activity-card:hover .card-image img {
  transform: scale(1.06);
}
body:not(.home) main .activities-grid .activity-card:hover h3 {
  color: rgb(var(--magenta));
}
body:not(.home) main .activities-grid .activity-card img {
  opacity: 1;
}
body:not(.home) main .activities-grid .activity-card img.show {
  animation: unset !important;
}
body:not(.home) main .activities-grid .activity-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
body:not(.home) main .activities-grid .activity-card .card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
body:not(.home) main .activities-grid .activity-card .card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem 1.75rem 1.75rem;
}
body:not(.home) main .activities-grid .activity-card .card-content h3 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  line-height: 1.3;
  opacity: 1;
  transition: color 0.3s;
}
body:not(.home) main .activities-grid .activity-card .card-content h3.show {
  animation: unset;
}
body:not(.home) main .activities-grid .activity-card .card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--color-line);
}
body:not(.home) main .activities-grid .activity-card .card-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}
body:not(.home) main .activities-grid .activity-card .card-meta .meta-item img {
  width: 18px;
  height: 18px;
}
body:not(.home) main {
  /* --- Pravý panel: informace o aktivitě / filtr --- */
}
body:not(.home) main .right-side {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: flex-start;
  width: 40%;
}
@media (width < 1200px) {
  body:not(.home) main .right-side {
    position: static;
    align-self: stretch;
    width: 100%;
  }
}
body:not(.home) main .dynamic-info-box {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
body:not(.home) main .dynamic-info-box h3 {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-line);
}
body:not(.home) main .dynamic-info-box .info-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
}
body:not(.home) main .dynamic-info-box .info {
  opacity: 0;
}
body:not(.home) main .dynamic-info-box .info.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .dynamic-info-box .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
body:not(.home) main .dynamic-info-box .info .label {
  font-weight: 400;
}
body:not(.home) main .dynamic-info-box .info .value {
  color: var(--color-ink);
  font-weight: 600;
  text-align: right;
}
body:not(.home) main .dynamic-info-box {
  /* Varianty vzhledu boxu (hodnoty z ACF pole "styl_boxu") */
}
body:not(.home) main .dynamic-info-box.fialovy-text h3 {
  color: rgb(var(--magenta));
}
body:not(.home) main .dynamic-info-box.fialovy-gradient {
  border: none;
  background: linear-gradient(120deg, var(--color-magenta), var(--color-purple));
  color: #fff;
}
body:not(.home) main .dynamic-info-box.fialovy-gradient h3 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}
body:not(.home) main .dynamic-info-box.fialovy-gradient .info .label {
  color: rgba(255, 255, 255, 0.8);
}
body:not(.home) main .dynamic-info-box.fialovy-gradient .info .value {
  color: #fff;
}
body:not(.home) main .dynamic-info-box.zeleny-box {
  border-color: rgba(var(--green), 0.7);
  background-color: rgba(var(--green), 0.08);
}
body:not(.home) main .dynamic-info-box.zeleny-box h3 {
  color: var(--color-teal);
}
body:not(.home) main .dynamic-info-box {
  /* --- Filtr aktivit --- */
}
body:not(.home) main .dynamic-info-box #activity-filter-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 1.25rem;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group {
  opacity: 0;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group .label {
  color: var(--color-ink);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input, body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-line);
  border-radius: 14px;
  background-color: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input:focus, body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select:focus {
  outline: none;
  border-color: rgba(var(--blue), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--blue), 0.12);
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input, body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select {
  background-color: var(--color-soft);
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input:focus, body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select:focus {
  background-color: #fff;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group select::-ms-expand {
  display: none;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input[type=number]::-webkit-inner-spin-button,
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-group input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit {
  opacity: 0;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .dynamic-info-box #activity-filter-form .filter-submit {
  width: 100%;
  padding: 1.05rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body:not(.home) main {
  /* ======================================================================
     8. HLEDÁNÍ (search.php)
     ====================================================================== */
}
body:not(.home) main .ms-search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
body:not(.home) main .ms-search-wrapper p {
  opacity: 0;
}
body:not(.home) main .ms-search-wrapper p.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .ms-search-wrapper a {
  opacity: 1;
  animation: none;
}
body:not(.home) main .ms-search-wrapper .ms-search-header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--color-line);
}
body:not(.home) main .ms-search-wrapper .ms-search-header h2 {
  margin-top: 0;
  padding-bottom: 0;
  text-align: left;
}
body:not(.home) main .ms-search-wrapper .ms-search-header h2::after {
  content: none;
}
body:not(.home) main .ms-search-wrapper .ms-search-header .ms-search-query {
  color: rgb(var(--magenta));
}
body:not(.home) main .ms-search-wrapper .ms-search-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
body:not(.home) main .ms-search-wrapper .ms-search-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem 2rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
body:not(.home) main .ms-search-wrapper .ms-search-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-meta {
  opacity: 0;
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-meta.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-meta {
  color: rgb(var(--magenta));
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-title {
  margin: 0;
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-title a {
  color: var(--color-ink);
  font-size: 1.5rem;
}
body:not(.home) main .ms-search-wrapper .ms-search-item .ms-search-title a:hover {
  color: rgb(var(--magenta));
}
body:not(.home) main .ms-search-wrapper .ms-search-empty {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 3rem 2rem;
  border: 1.5px dashed var(--color-line);
  border-radius: 28px;
  background-color: var(--color-soft);
  text-align: center;
  align-items: center;
}
body:not(.home) main {
  /* ======================================================================
     9. STRÁNKA 404
     ====================================================================== */
}
body:not(.home) main .ms-404-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 620px;
  margin: auto;
  padding: 0 1.5rem;
  text-align: center;
}
body:not(.home) main .ms-404-wrapper .error-code {
  margin: 0;
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  /* Barevné číslo s pomalu tekoucím přechodem (stejně jako .text-gradient) */
  background: linear-gradient(95deg, var(--color-magenta), var(--color-purple), var(--color-blue), var(--color-purple), var(--color-magenta)) 0 0/200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 9s linear infinite;
}
body:not(.home) main .ms-404-wrapper .error-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
body:not(.home) main .ms-404-wrapper .error-text {
  margin: 0;
  font-size: 1.15rem;
}
body:not(.home) main .ms-404-wrapper .error-actions .btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .ms-404-wrapper .error-actions .btn-home:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .ms-404-wrapper .error-actions .btn-home:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .ms-404-wrapper .error-actions .btn-home {
  padding: 1rem 2.4rem;
}
body:not(.home) main .ms-404-wrapper .error-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
body:not(.home) main .ms-404-wrapper .error-search .searchform {
  align-items: center;
  width: 100%;
}
body:not(.home) main .ms-404-wrapper .error-search .searchform > div {
  justify-content: center;
}
body:not(.home) main {
  /* ======================================================================
     10. KONTAKT A FORMULÁŘ (template-kontakt.php + plugin tisina-formular)
     ====================================================================== */
}
body:not(.home) main .contact-page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
body:not(.home) main .contact-page .page-hero h2 {
  margin: 0 auto;
}
body:not(.home) main .contact-page .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
  max-width: 1100px;
}
@media (width < 1000px) {
  body:not(.home) main .contact-page .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
body:not(.home) main .contact-page .contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
body:not(.home) main .contact-page .contact-info h3 {
  margin-top: 1rem;
}
body:not(.home) main .contact-page {
  /* Formulář je v bílé kartě */
}
body:not(.home) main .contact-page .contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  box-shadow: var(--shadow);
}
@media (width < 700px) {
  body:not(.home) main .contact-page .contact-form-container {
    padding: 1.75rem 1.4rem;
  }
}
body:not(.home) main .contact-page .contact-form-container h3 {
  margin: 0;
}
body:not(.home) main .contact-page .custom-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
body:not(.home) main .contact-page .custom-form .form-row {
  display: flex;
  gap: 1.4rem;
}
@media (width < 600px) {
  body:not(.home) main .contact-page .custom-form .form-row {
    flex-direction: column;
  }
}
body:not(.home) main .contact-page .custom-form .form-group {
  opacity: 0;
}
body:not(.home) main .contact-page .custom-form .form-group.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .contact-page .custom-form .form-group {
  display: flex;
  flex: 1;
  min-width: 0; /* aby pole nikdy nepřetáhlo přes okraj karty (iOS) */
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}
body:not(.home) main .contact-page .custom-form label {
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 600;
}
body:not(.home) main .contact-page .custom-form input, body:not(.home) main .contact-page .custom-form select, body:not(.home) main .contact-page .custom-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-line);
  border-radius: 14px;
  background-color: #fff;
  color: var(--color-ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
body:not(.home) main .contact-page .custom-form input:focus, body:not(.home) main .contact-page .custom-form select:focus, body:not(.home) main .contact-page .custom-form textarea:focus {
  outline: none;
  border-color: rgba(var(--blue), 0.55);
  box-shadow: 0 0 0 4px rgba(var(--blue), 0.12);
}
body:not(.home) main .contact-page .custom-form input, body:not(.home) main .contact-page .custom-form select, body:not(.home) main .contact-page .custom-form textarea {
  min-width: 0;
  max-width: 100%;
  background-color: var(--color-soft);
}
body:not(.home) main .contact-page .custom-form input:focus, body:not(.home) main .contact-page .custom-form select:focus, body:not(.home) main .contact-page .custom-form textarea:focus {
  background-color: #fff;
}
body:not(.home) main .contact-page .custom-form {
  /* Pole pro datum a čas: iPhone (Safari) je jinak vykreslí širší než formulář */
}
body:not(.home) main .contact-page .custom-form input[type=datetime-local],
body:not(.home) main .contact-page .custom-form input[type=date],
body:not(.home) main .contact-page .custom-form input[type=time] {
  display: block;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  min-height: 3.2rem;
  text-align: left;
}
body:not(.home) main .contact-page .custom-form input[type=datetime-local]::-webkit-date-and-time-value,
body:not(.home) main .contact-page .custom-form input[type=date]::-webkit-date-and-time-value,
body:not(.home) main .contact-page .custom-form input[type=time]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
body:not(.home) main .contact-page .custom-form input[type=datetime-local]::-webkit-datetime-edit,
body:not(.home) main .contact-page .custom-form input[type=date]::-webkit-datetime-edit,
body:not(.home) main .contact-page .custom-form input[type=time]::-webkit-datetime-edit {
  padding: 0;
}
body:not(.home) main .contact-page .custom-form select {
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
body:not(.home) main .contact-page .custom-form select::-ms-expand {
  display: none;
}
body:not(.home) main .contact-page .custom-form textarea {
  resize: vertical;
}
body:not(.home) main .contact-page .custom-form .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .contact-page .custom-form .btn-submit:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .contact-page .custom-form .btn-submit:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .contact-page .custom-form .btn-submit {
  opacity: 0;
}
body:not(.home) main .contact-page .custom-form .btn-submit.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .contact-page .custom-form .btn-submit {
  align-self: flex-start;
  padding: 0.9rem 2.6rem;
}
body:not(.home) main .contact-page {
  /* Zpráva po odeslání formuláře */
}
body:not(.home) main .contact-page .form-message {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-weight: 600;
}
body:not(.home) main .contact-page .form-message.hidden {
  display: none;
}
body:not(.home) main .contact-page .form-message.success {
  border: 1px solid rgba(var(--green), 0.6);
  background-color: rgba(var(--green), 0.12);
  color: #0f6b67;
}
body:not(.home) main .contact-page .form-message.error {
  border: 1px solid rgba(var(--magenta), 0.35);
  background-color: rgba(var(--magenta), 0.08);
  color: #a10f5b;
}
body:not(.home) main {
  /* ======================================================================
     10b. AKTIVITY – ROZCESTNÍK (template-aktivity.php)
     ====================================================================== */
}
body:not(.home) main .activities-page .page-hero .post-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.1rem;
}
body:not(.home) main .activities-page .activity-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}
@media (width < 1000px) {
  body:not(.home) main .activities-page .activity-choice {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
body:not(.home) main .activities-page .activity-choice-card {
  opacity: 0;
}
body:not(.home) main .activities-page .activity-choice-card.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .activities-page .activity-choice-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--color-text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
body:not(.home) main .activities-page .activity-choice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
body:not(.home) main .activities-page .activity-choice-card:hover .btn::before {
  transform: none;
}
body:not(.home) main .activities-page .activity-choice-card:hover .btn-icon {
  transform: translateX(3px) rotate(-45deg);
}
body:not(.home) main .activities-page .activity-choice-card:hover .activity-choice-banner img {
  transform: rotate(8deg) scale(1.08);
}
body:not(.home) main .activities-page .activity-choice-card {
  /* Barva karty: školy magenta/fialová, JEKA modrá/tyrkysová */
}
body:not(.home) main .activities-page .activity-choice-card.is-schools {
  --card-from: var(--color-magenta);
  --card-to: var(--color-purple);
}
body:not(.home) main .activities-page .activity-choice-card.is-jeka {
  --card-from: var(--color-blue);
  --card-to: var(--color-teal);
}
body:not(.home) main .activities-page .activity-choice-banner {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-from), var(--card-to));
  /* Dva průhledné kruhy jako dekorace */
}
body:not(.home) main .activities-page .activity-choice-banner::before, body:not(.home) main .activities-page .activity-choice-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
body:not(.home) main .activities-page .activity-choice-banner::before {
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
}
body:not(.home) main .activities-page .activity-choice-banner::after {
  bottom: -70px;
  left: -30px;
  width: 160px;
  height: 160px;
}
body:not(.home) main .activities-page .activity-choice-banner img {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.6s var(--ease-out);
}
body:not(.home) main .activities-page .activity-choice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 2rem 2rem 2.2rem;
}
@media (width < 700px) {
  body:not(.home) main .activities-page .activity-choice-body {
    padding: 1.6rem 1.4rem 1.8rem;
  }
}
body:not(.home) main .activities-page .activity-choice-body h3 {
  margin: 0;
  font-size: 1.7rem;
}
body:not(.home) main .activities-page .activity-choice-count {
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
  background: var(--color-soft);
  color: var(--color-ink);
  font-size: 0.82rem;
  font-weight: 600;
}
body:not(.home) main .activities-page .activity-choice-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.7;
}
body:not(.home) main .activities-page {
  /* „Tlačítko“ v kartě je jen span (celá karta je odkaz) */
}
body:not(.home) main .activities-page .activity-choice-body .btn {
  margin-top: 0.6rem;
}
body:not(.home) main .activities-page {
  /* --- Rozcestník „Co nabízíme“ (template-nabidka.php): karty z podstránek, 3 vedle sebe,
         poslední řádek vycentrovaný --- */
}
body:not(.home) main .activities-page .activity-choice.is-offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1160px;
}
body:not(.home) main .activities-page .activity-choice.is-offers .activity-choice-card {
  width: calc((100% - 4rem) / 3);
}
@media (width < 1000px) {
  body:not(.home) main .activities-page .activity-choice.is-offers .activity-choice-card {
    width: calc((100% - 2rem) / 2);
  }
}
@media (width < 700px) {
  body:not(.home) main .activities-page .activity-choice.is-offers .activity-choice-card {
    width: 100%;
    max-width: 560px;
  }
}
body:not(.home) main .activities-page .activity-choice.is-offers .activity-choice-banner {
  height: 170px;
}
body:not(.home) main .activities-page .activity-choice.is-offers .activity-choice-body h3 {
  font-size: 1.45rem;
}
body:not(.home) main .activities-page .activity-choice-card.is-accent-1 {
  --card-from: var(--color-magenta);
  --card-to: var(--color-purple);
}
body:not(.home) main .activities-page .activity-choice-card.is-accent-2 {
  --card-from: var(--color-blue);
  --card-to: var(--color-teal);
}
body:not(.home) main .activities-page .activity-choice-card.is-accent-3 {
  --card-from: var(--color-teal);
  --card-to: var(--color-green);
}
body:not(.home) main .activities-page {
  /* Číslo na kartě bez fotky (jen dekorace, text přes ::before) */
}
body:not(.home) main .activities-page .activity-choice-number::before {
  content: attr(data-number);
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 4.2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
body:not(.home) main .activities-page {
  /* Karta s fotkou: fotka vyplní banner, barevné kruhy se skryjí */
}
body:not(.home) main .activities-page .activity-choice-banner.has-photo::before, body:not(.home) main .activities-page .activity-choice-banner.has-photo::after {
  display: none;
}
body:not(.home) main .activities-page .activity-choice-banner.has-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: none;
}
body:not(.home) main .activities-page .activity-choice-card:hover .activity-choice-banner.has-photo img {
  transform: scale(1.06);
}
body:not(.home) main .activities-page .activity-choice-note {
  opacity: 0;
}
body:not(.home) main .activities-page .activity-choice-note.show {
  animation: slide-to-top 1s forwards;
}
body:not(.home) main .activities-page .activity-choice-note {
  font-size: 1rem;
  text-align: center;
}
body:not(.home) main .activities-page .activity-choice-note a {
  color: rgb(var(--magenta));
  font-weight: 600;
  text-decoration: none;
}
body:not(.home) main .activities-page .activity-choice-note a:hover {
  color: rgb(var(--blue));
}
body:not(.home) main {
  /* ======================================================================
     11. STRÁNKOVÁNÍ
     ====================================================================== */
}
body:not(.home) main .pagination-wrapper .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
body:not(.home) main .pagination-wrapper .nav-links .page-numbers {
  opacity: 1;
  animation: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background-color: #fff;
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
body:not(.home) main .pagination-wrapper .nav-links .page-numbers:hover {
  border-color: rgba(var(--magenta), 0.4);
  background-color: rgba(var(--magenta), 0.06);
  color: rgb(var(--magenta));
}
body:not(.home) main .pagination-wrapper .nav-links .page-numbers.current {
  border-color: var(--color-ink);
  background-color: var(--color-ink);
  color: #fff;
}
body:not(.home) main .pagination-wrapper .nav-links .page-numbers.prev, body:not(.home) main .pagination-wrapper .nav-links .page-numbers.next {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 50px;
}
body:not(.home) main {
  /* ======================================================================
     12. OSTATNÍ (třídy, které se dají přidat v editoru)
     ====================================================================== */
  /* Skupina bloků jako bílá karta: v editoru u bloku přidat třídu "page-info-box" */
}
body:not(.home) main .page-info-box {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  max-width: 860px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
@media (width < 700px) {
  body:not(.home) main .page-info-box {
    padding: 1.75rem 1.4rem;
  }
}
body:not(.home) main .page-info-box .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body:not(.home) main .page-info-box h2 {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 0 !important;
  text-align: left;
}
body:not(.home) main .page-info-box h2::after {
  content: none !important;
}
body:not(.home) main .page-info-box h3 {
  margin-top: 0;
}
body:not(.home) main {
  /* Seznam odkazů jako barevná tlačítka (třída "sub-menu-children") */
}
body:not(.home) main .sub-menu-children {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  list-style: none;
}
body:not(.home) main .sub-menu-children li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.8rem;
  border: 0;
  border-radius: 50px;
  background-color: var(--color-ink);
  background-image: linear-gradient(110deg, var(--color-magenta), var(--color-purple));
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 0;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-size 0.45s var(--ease-out), box-shadow 0.3s, color 0.3s;
}
body:not(.home) main .sub-menu-children li a:hover {
  background-size: 100% 100%;
  box-shadow: 0 16px 30px -10px rgba(var(--magenta), 0.6);
  color: #fff;
}
body:not(.home) main .sub-menu-children li a:disabled {
  background-image: none;
  background-color: #c5cbd8;
  box-shadow: none;
  cursor: not-allowed;
}
body:not(.home) main .sub-menu-children li a {
  font-size: clamp(1rem, 0.5vw + 0.5rem, 1.15rem);
}

/* Výpis cílové skupiny: víc místa pro karty, menší panel s filtrem (a pod $bp-wide filtr nad kartami) */
@media (width >= 1200px) {
  body.archive.tax-cilovka main .activity-container .left-side {
    width: 70%;
  }
  body.archive.tax-cilovka main .activity-container .right-side {
    width: 30%;
  }
}
@media (width < 1200px) {
  body.archive.tax-cilovka main .activity-container {
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   PATIČKA (footer.php)
   Tři řady: značka + odkazy, mapa + kontakty, Facebook + copyright + logo.
   ========================================================================== */
footer {
  display: flex;
  flex-direction: column;
  padding: 5rem 0 0;
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}
footer a {
  color: inherit;
}
footer .container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
footer .transparent {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
footer {
  /* --- Horní řada: logo + název vlevo, rychlé odkazy vpravo --- */
}
footer .footer-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
footer .footer-brand img {
  width: 64px;
  height: auto;
}
footer .footer-brand small {
  display: block;
  font-size: 0.86rem;
  font-weight: 400;
  opacity: 0.65;
}
footer .footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .footer-links a {
  display: block;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: 0.3s;
}
footer .footer-links a:hover {
  background: #fff;
  color: var(--color-ink);
}
footer {
  /* --- Prostřední řada: mapa vlevo, kontakty vpravo --- */
}
footer #top-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
@media (width < 1000px) {
  footer #top-footer {
    grid-template-columns: 1fr;
  }
}
footer #top-footer iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 28px;
}
footer #top-footer {
  /* Jeden kontaktní údaj: kolečko s ikonou + popisek a hodnota */
}
footer #top-footer .data {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
  /* Bílé kolečko 48 px; ikona uvnitř má pevnou velikost, takže se nikdy neořízne */
}
footer #top-footer .data .data-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  transition: background 0.3s, transform 0.3s;
}
footer #top-footer .data .data-icon img {
  display: block;
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: filter 0.3s;
}
footer #top-footer .data {
  /* Po najetí se kolečko vybarví do přechodu a ikona zbělá */
}
footer #top-footer .data:hover .data-icon {
  background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
  transform: scale(1.06);
}
footer #top-footer .data:hover .data-icon img {
  filter: brightness(0) invert(1);
}
footer #top-footer .data a:hover {
  color: #fff;
  text-decoration: underline;
}
footer {
  /* --- Spodní řada: Facebook, copyright, logo --- */
}
footer #bottom-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* uprostřed copyright, po stranách ikonky */
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1180px;
  margin: 4rem auto 0;
  padding: 1.4rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
footer #bottom-footer img {
  display: block;
  width: 50px;
  height: auto;
}
footer #bottom-footer > a:first-child {
  justify-self: start;
}
footer #bottom-footer > a:last-child {
  justify-self: end;
}
footer #bottom-footer .facebook-icon {
  width: 28px;
  filter: invert(1); /* černá ikona se změní na bílou */
}
footer #bottom-footer .copyright {
  margin: 0;
  text-align: center;
}
footer #bottom-footer {
  /* Podpis autora pod copyrightem */
}
footer #bottom-footer .credit {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
footer #bottom-footer .credit a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: 0.3s;
}
footer #bottom-footer .credit a:hover {
  border-color: #fff;
}
@media (width < 600px) {
  footer #bottom-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  footer #bottom-footer > a:first-child, footer #bottom-footer > a:last-child {
    justify-self: center;
  }
}

/* Karta místo mapy: mapa se načte až po kliknutí (viz mapConsent v effects.js) */
.map-consent {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: radial-gradient(rgba(255, 255, 255, 0.09) 1.5px, transparent 1.5px) 0 0/22px 22px, linear-gradient(135deg, rgba(var(--magenta), 0.22), rgba(var(--blue), 0.45));
  text-align: center;
}

.map-consent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 420px;
}
.map-consent-inner h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
}
.map-consent-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
}
.map-consent-inner p a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-consent-inner p a:hover {
  color: #fff;
}

.map-consent-pin {
  width: 44px;
  height: 44px;
  padding: 0.65rem;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  margin-top: 0.5rem;
}

.map-consent-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-consent-link:hover {
  color: #fff;
}

/* Světlá varianta (detail aktivity na bílém pozadí) */
.map-consent.is-light {
  border-color: var(--color-line);
  background: radial-gradient(rgba(var(--ink-rgb), 0.07) 1.5px, transparent 1.5px) 0 0/22px 22px, linear-gradient(135deg, rgba(var(--magenta), 0.07), rgba(var(--blue), 0.12));
}
.map-consent.is-light .map-consent-inner h3 {
  padding-bottom: 0;
  color: var(--color-ink);
}
.map-consent.is-light .map-consent-inner h3::after {
  display: none; /* barevná čárka pod nadpisem tu nepatří */
}
.map-consent.is-light .map-consent-inner p {
  color: var(--color-text);
}
.map-consent.is-light .map-consent-inner p a {
  color: var(--color-ink);
}
.map-consent.is-light .map-consent-inner p a:hover {
  color: var(--color-magenta);
}
.map-consent.is-light .map-consent-pin {
  background: rgba(var(--magenta), 0.1);
  color: var(--color-magenta);
}
.map-consent.is-light .map-consent-link {
  color: var(--color-ink);
}
.map-consent.is-light .map-consent-link:hover {
  color: var(--color-magenta);
}/*# sourceMappingURL=style.css.map */