/* ==========================================================================
   HRÁDEK SPORT & FACILITIES — hlavní styl tématu
   --------------------------------------------------------------------------
   Obsah:
     1.  Design tokeny (proměnné)
     2.  Reset a základ
     3.  Typografie a pomocné třídy
     4.  Layout (kontejner, sekce)
     5.  Tlačítka, štítky (pills/chips)
     6.  Horní lišta (topbar)
     7.  Hlavička + navigace (+ overlay na úvodu, mobilní menu)
     8.  Hero (úvodní stránka)
     9.  Sekce Služby (carousel)
     10. Sekce Facilities (pronájem)
     11. Ceník (karty na úvodu + accordion na stránce ceníku)
     12. Aktuality
     13. Reference
     14. Partneři
     15. Galerie (filtr + masonry)
     16. Detail služby (sauna)
     17. CTA pruh
     18. Patička
     19. Záhlaví vnitřních stránek + obsah (page/single/404)
     20. Responsivita
   ========================================================================== */


/* 1. DESIGN TOKENY ======================================================== */
:root {
	/* Umožní animaci výšky z 0 na auto (rozbalování ceníku) v moderních prohlížečích. */
	interpolate-size: allow-keywords;
	/* Barvy */
	--accent: #D97757;          /* terakota — hlavní akcentní barva */
	--accent-rgb: 217, 119, 87; /* totéž v RGB (pro rgba(...) průhlednosti) */
	--ink: #0A0A0A;             /* skoro černá — text a tmavé sekce */
	--paper: #ffffff;           /* základní pozadí */
	--paper-soft: #FAFAF9;      /* jemně našedlé pozadí střídaných sekcí */
	--line: #F0F0EE;            /* vlasové oddělovače */
	--line-2: #ECECEA;          /* o stupínek tmavší linka */
	--text: #3a3a3a;            /* běžný text */
	--text-soft: #5a5a5a;       /* odlehčený text */
	--muted: #9a9a9a;           /* popisky, drobné texty */

	/* Typografie */
	--serif: 'Cormorant Garamond', Georgia, serif;  /* nadpisy */
	--sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif; /* text */
	--mono: 'Space Mono', ui-monospace, monospace;  /* štítky, čísla */

	/* Rozměry */
	--maxw: 1440px;             /* max šířka obsahu (širší pro velké desktopy) */
	--gutter: clamp(20px, 5vw, 44px); /* boční odsazení obsahu */
	--radius: 22px;             /* zaoblení karet */
	--radius-sm: 16px;
}


/* 2. RESET A ZÁKLAD ====================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* Skok na obsah pro klávesnici/čtečky. */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	background: var(--ink);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Viditelný focus pro přístupnost. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}


/* 3. TYPOGRAFIE A POMOCNÉ TŘÍDY ========================================== */
h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	color: var(--ink);
	letter-spacing: -0.01em;
	margin: 0;
}

p { margin: 0 0 1em; }

/* Kurzíva v akcentní barvě — opakující se „zvýraznění" v nadpisech. */
.accent-italic { font-style: italic; color: var(--accent); }

/* Malý nadpisek nad sekcí (UPPERCASE, prostrkané). */
.eyebrow {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}

/* Monospace štítek (např. „8 služeb", měsíc u aktualit). */
.mono-label {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}


/* 4. LAYOUT ============================================================== */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

/* Standardní vertikální „dech" sekcí. */
.section { padding: clamp(48px, 7vw, 78px) 0; }
.section--soft { background: var(--paper-soft); }
.section--bordered { border-top: 1px solid var(--line); }

.section__head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto clamp(32px, 5vw, 46px);
}
.section__head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; }


/* 5. TLAČÍTKA A ŠTÍTKY =================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 100px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { box-shadow: 0 12px 28px -12px rgba(var(--accent-rgb), 0.7); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { box-shadow: 0 12px 28px -12px rgba(0,0,0,0.6); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--sm { padding: 11px 22px; font-size: 13.5px; }

.btn--rezervace {
	padding: 15px 34px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .02em;
	box-shadow: 0 4px 18px -4px rgba(var(--accent-rgb), 0.55);
}
.btn--rezervace:hover {
	box-shadow: 0 10px 28px -6px rgba(var(--accent-rgb), 0.75);
	transform: translateY(-2px);
}

/* Odkaz „… →" pod sekcí. */
.link-more {
	display: inline-block;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
}
.link-more:hover { text-decoration: underline; }


/* 6. HORNÍ LIŠTA (TOPBAR) =============================================== */
.topbar {
	background: var(--ink);
	color: #c9c9c4;
	font-size: 14.5px;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 11px;
	padding-bottom: 11px;
	flex-wrap: wrap;
}
.topbar__group { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.topbar__item svg { stroke: var(--accent); }
.topbar a.topbar__item { color: #c9c9c4; text-decoration: none; transition: color .2s ease; }
.topbar a.topbar__item:hover { color: #fff; }
.topbar__sep { color: #4a4a48; }
.topbar__phone { color: #fff; }
.topbar__social { color: var(--accent); font-weight: 600; text-decoration: none; }
.topbar__social:hover { text-decoration: underline; }

/* Zelená „tečka otevřeno". */
.dot-live {
	width: 8px; height: 8px; border-radius: 50%;
	background: #27c06a; box-shadow: 0 0 8px #27c06a; flex: none;
}


/* 7. HLAVIČKA + NAVIGACE =============================================== */
.site-banner { position: relative; z-index: 30; }

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.site-logo { display: inline-flex; flex: none; }

/* Navigace */
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav .nav-menu {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 16.5px;
	font-weight: 500;
}
.main-nav a {
	color: #3a3a3a;
	text-decoration: none;
	transition: color .2s ease;
}
.main-nav a:hover { color: var(--ink); }
/* Aktivní položka */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .is-active > a {
	color: var(--accent);
	font-weight: 600;
}
/* Ikonka „domů" před menu */
.nav-home { display: inline-flex; color: var(--ink); }
.nav-home svg { display: block; }

/* --- Rozbalovací podmenu (např. Služby → Sauna…) --- */
.main-nav .menu-item-has-children { position: relative; }
/* Šipka u položky s podmenu (desktop). */
.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
	transition: transform .25s ease;
}
.main-nav .menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(0); }

.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -14px;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 24px 50px -24px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	gap: 2px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	z-index: 50;
}
/* Neviditelný „můstek", ať myš nepropadne mezi položkou a podmenu. */
.main-nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-nav .sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 9px;
	font-size: 14.5px;
	font-weight: 500;
	color: #3a3a3a;
	white-space: nowrap;
}
.main-nav .sub-menu a:hover { background: var(--paper-soft); color: var(--accent); }

/* Tlačítko pro rozbalení podmenu (vytváří JS) — jen na mobilu. */
.submenu-toggle { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }

/* Rezervační tlačítko uvnitř mobilního menu (na desktopu skryté). */
.nav-cta { display: none; }

/* Hamburger (mobil) */
.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	background: transparent;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	display: block;
	width: 20px; height: 2px;
	background: var(--ink);
	transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Overlay hlavičky přes hero (jen úvodní stránka) --- */
body.has-overlay-header .site-banner {
	position: absolute;
	top: 0; left: 0; right: 0;
}
body.has-overlay-header .site-header {
	background: transparent;
	border-bottom: none;
}
/* Na úvodní stránce je rezervační tlačítko přesunuté do hero (pod text),
   v hlavičce ho tedy schováme, ať se neopakuje. */
body.has-overlay-header .site-header__actions .btn--rezervace { display: none; }
/* S přihlášeným adminem překrývá WP admin bar (position: fixed) horní lištu.
   Absolutně umístěná hlavička ignoruje margin-top, který WP přidává na <html>,
   proto ji o výšku admin baru odsadíme ručně. */
body.admin-bar.has-overlay-header .site-banner { top: 32px; }
/* Celovýškové hero o stejnou výšku zkrátíme, ať admin bar nedělá scroll.
   (Návštěvníci bez přihlášení admin bar nemají – tam platí plných 100svh.) */
body.admin-bar .hero { min-height: calc(100svh - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar.has-overlay-header .site-banner { top: 46px; }
	body.admin-bar .hero { min-height: calc(100svh - 46px); }
}


/* 8. HERO =============================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background: #e7e5df;
	/* Hero se roztáhne na celou výšku obrazovky (svh kvůli liště prohlížeče
	   na mobilech). Obsah drží odsazení v .hero__inner, štítky a indikátor
	   sedí absolutně u spodního okraje. */
	min-height: 100svh;
	/* Odsazení od kraje obrazovky srovnané s obsahem v .container
	   (na širokých monitorech tedy víc než jen --gutter). Používají ho
	   absolutně umístěné prvky hero (štítky, aktuality, tlačítko). */
	--edge: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
}
.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.hero__bg.is-active { opacity: 1; }
/* Světlý přechod, aby byl text vlevo čitelný. */
.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.74) 36%, rgba(255,255,255,0.22) 64%, rgba(255,255,255,0) 100%);
}
.hero__inner {
	position: relative;
	z-index: 5;
	/* Horní odsazení uvolní místo pro overlay hlavičku (lišta + nav). */
	padding-top: clamp(160px, 17vw, 240px);
	padding-bottom: clamp(130px, 15vw, 200px);
	max-width: 680px;
}
.hero__title {
	font-size: clamp(42px, 6.4vw, 76px);
	line-height: 1.04;
	letter-spacing: -0.005em;
	margin: 0 0 22px;
}
/* Psací efekt – slovo s blikajícím kurzorem. */
#h-typeword {
	font-style: italic;
	color: var(--accent);
	border-right: 2px solid var(--accent);
	padding-right: 3px;
	animation: hCaretBlink .8s step-end infinite;
}
@keyframes hCaretBlink {
	0%, 100% { border-color: var(--accent); }
	50% { border-color: transparent; }
}
.hero__lead {
	font-size: 17px;
	line-height: 1.66;
	color: #4a4a4a;
	max-width: 440px;
	margin: 18px 0 32px;
}
.hero__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
/* Sekundární tlačítko „Více informací" se šipkou, která lehce poskakuje. */
.hero__more { display: inline-flex; align-items: center; gap: 8px; }
.hero__more svg { animation: heroMoreBounce 1.8s ease-in-out infinite; }
@keyframes heroMoreBounce {
	0%, 100% { transform: translateY(-2px); }
	50%      { transform: translateY(2px); }
}
@media (prefers-reduced-motion: reduce) {
	.hero__more svg { animation: none; }
}

/* Štítky služeb vlevo dole. */
.hero__chips {
	position: absolute;
	left: var(--edge);
	bottom: 30px;
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	max-width: 880px;
}
.hero-chip {
	background: rgba(255,255,255,0.7);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.6);
	color: #2a2a2a;
	padding: 3px 15px;
	border-radius: 100px;
	font-size: 13px;
	font-weight: 500;
	cursor: default;
	transition: background .6s ease, color .6s ease, border-color .6s ease;
}
.hero-chip.is-active {
	background: var(--accent);
	color: #fff;
	border-color: rgba(var(--accent-rgb), 0.9);
}

/* Tlačítko „Prohlídka centra" vpravo dole. */
.hero__play {
	position: absolute;
	right: var(--edge); bottom: 28px;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	background: rgba(10,10,10,0.32);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,0.18);
	padding: 9px 18px 9px 9px;
	border-radius: 100px;
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.hero__play span.play-ico {
	width: 46px; height: 46px;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	display: flex; align-items: center; justify-content: center;
	flex: none;
}

/* Aktuality – plovoucí karty u pravého kraje obrazovky (jen širší obrazovky).
   Lícují s krajem (right:0, hranaté pravé rohy), šířka podle obsahu a strop
   max-width, ať se nadpis i popisek vejdou a neořezávají se. */
.hero__news {
	position: absolute;
	top: clamp(150px, 16vw, 210px);
	right: 0;
	z-index: 8;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-end;
	max-width: min(360px, 42vw);
}
/* Pozn.: karty jsou <a>/<span>, proto jim explicitně dáváme display:block —
   jinak by na řádkových prvcích nefungovalo max-height/overflow a obsah by
   se „nesbalil" (jen by zneviditelnil, ale zabíral výšku). */
.akt-tab {
	display: block;
	width: max-content;
	max-width: 100%;
	background: var(--ink);
	color: #fff;
	border-radius: 18px 0 0 18px;
	box-shadow: 0 22px 48px -16px rgba(0,0,0,0.62);
	padding: 12px 26px;
	transition: box-shadow .35s ease;
	cursor: pointer;
	text-decoration: none;
}
.akt-tab:hover { box-shadow: 0 30px 64px -18px rgba(0,0,0,0.7); }
.akt-head { display: flex; align-items: center; gap: 13px; }
.akt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.akt-title { font-family: var(--sans); font-weight: 700; font-size: 17px; white-space: nowrap; }
.akt-body { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .42s ease, opacity .3s ease, margin-top .42s ease; }
.akt-tab:hover .akt-body { max-height: 160px; opacity: 1; margin-top: 11px; }
.akt-desc { display: block; font-size: 13px; line-height: 1.55; color: #c4c4c4; margin: 0 0 12px; white-space: normal; }
.akt-link { display: block; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* Spodní indikátor prodlevy přepínání fotek. */
.hero__progress {
	position: absolute;
	left: 0; bottom: 0;
	z-index: 7;
	width: 100%; height: 3px;
	background: rgba(10,10,10,0.08);
}
.hero__progress-bar { height: 100%; width: 0%; background: var(--accent); }


/* 9. SLUŽBY (CAROUSEL) ================================================== */
/* scroll-margin-top: 0 = kotva #sluzby dosedne úplně k hornímu okraji obrazovky. */
.services { padding: clamp(40px, 6vw, 50px) 0; overflow: hidden; scroll-margin-top: 0; }
/* Záložní pozadí karty služby bez náhledové fotky. */
.svc-card__noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #E7E5DF, #d6d4ce); }
.services__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}
.services__head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }
.services__head-left { position: relative; }
/* Jemná záře za nadpisem. */
.services__head-left::before {
	content: "";
	position: absolute;
	top: -60px; left: -30px;
	width: 360px; height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--accent-rgb),0.09), rgba(var(--accent-rgb),0) 68%);
	pointer-events: none;
}
.services__nav { display: flex; align-items: center; gap: 12px; flex: none; }
.services__nav-hint { font-size: 13.5px; color: var(--muted); margin-right: 8px; }
.svc-arrow {
	width: 48px; height: 48px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	font-size: 18px;
	user-select: none;
	border: 1px solid var(--line-2);
	color: var(--ink);
	background: transparent;
}
.svc-arrow--next { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Posuvná dráha s kartami.
   Levý okraj srovnáme s obsahem v .container (tj. s nadpisem sekce), ne s
   krajem obrazovky. Vzorec = okraj kontejneru: na širokých obrazovkách
   (50% = polovina šířky dráhy, bez problému se šířkou svislého posuvníku)
   odsadíme o polovinu prázdného místa vedle kontejneru + standardní --gutter. */
.h-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-top: 6px;
	padding-bottom: 30px;
	padding-left: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
	padding-right: var(--gutter);
	scroll-padding-left: max(var(--gutter), calc(50% - var(--maxw) / 2 + var(--gutter)));
	cursor: grab;
	scrollbar-width: none;
	-ms-overflow-style: none;
	/* Aby tažení myší přes karty posouvalo dráhu a neoznačovalo text. */
	user-select: none;
	-webkit-user-select: none;
}
.h-track::-webkit-scrollbar { display: none; }
/* Zákaz nativního „ghost" tažení obrázků uvnitř carouselu. */
.h-track img { -webkit-user-drag: none; user-select: none; }
.svc-card { -webkit-user-drag: none; }

.svc-card {
	flex: none;
	width: 320px;
	height: 382px;
	border-radius: 26px;
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	background: #E4E4E1;
	text-decoration: none;
	color: #fff;
	cursor: pointer;
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.52) 100%); }
.svc-card__go {
	position: absolute;
	top: 18px; right: 18px;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.18);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	display: flex; align-items: center; justify-content: center;
	font-size: 16px;
}
.svc-card__body { position: absolute; left: 0; bottom: 0; padding: 24px; }
.svc-card__title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1; margin-bottom: 8px; }
.svc-card__desc { font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.55; max-width: 280px; }

.services__bar-wrap { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.services__bar { flex: 1; height: 3px; background: #EDEDEA; border-radius: 100px; overflow: hidden; }
.services__bar > div { height: 100%; width: 38%; background: var(--ink); border-radius: 100px; transition: width .15s ease; }


/* 10. FACILITIES ======================================================= */
.facilities__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}
.facilities__media { position: relative; height: 430px; }
.facilities__media .fac-photo-top {
	position: absolute; top: 0; right: 0;
	width: 78%; height: 300px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 24px 50px -24px rgba(0,0,0,0.32);
}
.facilities__media .fac-photo-bottom {
	position: absolute; bottom: 0; left: 0;
	width: 60%; height: 240px;
	border-radius: 20px;
	overflow: hidden;
	border: 7px solid var(--paper-soft);
	box-shadow: 0 24px 50px -24px rgba(0,0,0,0.3);
}
.facilities__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fac-badge {
	position: absolute; left: 8px; top: 24px; z-index: 4;
	background: rgba(255,255,255,0.72);
	-webkit-backdrop-filter: blur(20px) saturate(170%);
	backdrop-filter: blur(20px) saturate(170%);
	border: 1px solid rgba(255,255,255,0.8);
	border-radius: var(--radius-sm);
	box-shadow: 0 18px 40px -18px rgba(0,0,0,0.4);
	padding: 14px 18px;
}
.fac-badge__num { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1; }
.fac-badge__lbl { font-size: 12px; color: #6b6b6b; margin-top: 3px; }
.facilities__body h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.04; margin: 0 0 22px; }
.facilities__body p { font-size: 16.5px; line-height: 1.66; color: var(--text-soft); max-width: 440px; margin: 0 0 28px; }
.facilities__list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.facilities__list-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.facilities__list-item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.facilities__cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }


/* 11. CENÍK ============================================================ */
/* a) Karty na úvodní stránce */
.pricing__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 18px;
	align-items: stretch;
}
.price-card {
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	padding: 30px 28px;
	display: flex;
	flex-direction: column;
}
.price-card--featured {
	background: var(--ink);
	color: #fff;
	border-color: var(--ink);
	position: relative;
	box-shadow: 0 28px 60px -26px rgba(0,0,0,0.6);
}
.price-card__tag {
	position: absolute; top: 22px; right: 24px;
	background: var(--accent); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 5px 11px; border-radius: 100px;
}
.price-card__kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-card--featured .price-card__kicker { color: #a0a0a0; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-card__price .num { font-family: var(--serif); font-weight: 600; font-size: 48px; color: inherit; line-height: 1; white-space: nowrap; }
.price-card__price .per { font-size: 15px; color: #6b6b6b; }
.price-card--featured .price-card__price .per { color: #a0a0a0; }
.price-card__note { font-size: 14px; color: #6b6b6b; margin-bottom: 24px; }
.price-card--featured .price-card__note { color: #bdbdbd; }
.price-card__features { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--text); margin-bottom: 28px; }
.price-card--featured .price-card__features { color: #e8e8e8; }
.price-card__features li { display: flex; gap: 10px; list-style: none; }
.price-card__features { padding: 0; margin: 0 0 28px; }
.price-card__features li::before { content: "✓"; color: var(--accent); }
.price-card .btn { margin-top: auto; justify-content: center; }

/* b) Accordion na stránce Ceník */
.ck-wrap { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: #fff; }
.ck-acc { border-bottom: 1px solid #ECEAE5; scroll-margin-top: 0; }
.ck-acc:last-child { border-bottom: none; }
.ck-sum {
	list-style: none;
	cursor: pointer;
	display: flex; align-items: center; gap: 20px;
	padding: 24px 28px;
	user-select: none;
	transition: background .2s ease;
}
.ck-sum::-webkit-details-marker { display: none; }
.ck-sum:hover { background: #FBFAF8; }
.ck-idx { font-family: var(--mono); font-size: 13px; color: var(--accent); flex: none; width: 26px; }
.ck-title { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; line-height: 1; flex: 1; }
.ck-from { font-size: 13px; color: #9a9590; font-weight: 500; white-space: nowrap; }
.ck-chev { flex: none; transition: transform .3s ease; color: var(--ink); display: flex; }
details[open] > .ck-sum .ck-chev { transform: rotate(180deg); }
details[open] > .ck-sum { background: #FBFAF8; }
/* Plynulé rozbalování/sbalování položek ceníku.
   Moderní prohlížeče (Chrome/Safari) animují přes ::details-content
   + interpolate-size; ostatní jen přepnou bez animace (graceful fallback). */
.ck-acc::details-content {
	overflow: hidden;
	block-size: 0;
	opacity: 0;
	transition: block-size .35s cubic-bezier(.4,0,.2,1), opacity .3s ease, content-visibility .35s allow-discrete;
}
.ck-acc[open]::details-content {
	block-size: auto;
	opacity: 1;
}
.ck-body { padding: 22px 28px 28px 74px; }
.ck-tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #ECEAE5; border-radius: 12px; overflow: hidden; font-family: var(--sans); font-size: 14.5px; }
.ck-tbl th { text-align: left; padding: 10px 14px; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); background: rgba(var(--accent-rgb),0.09); }
.ck-tbl th.r, .ck-tbl td.r { text-align: right; }
.ck-tbl td { padding: 11px 14px; border-bottom: 1px solid #F1F0EC; color: var(--text-soft); vertical-align: top; }
.ck-tbl tr:last-child td { border-bottom: none; }
.ck-tbl td.p { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ck-tbl td.lbl { font-weight: 600; color: var(--ink); }
.ck-note { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: #8a857c; }
.ck-note svg { flex: none; margin-top: 1px; stroke: var(--accent); }
.ck-sec { margin-top: 24px; }
.ck-sec:first-child { margin-top: 0; }
.ck-seclbl { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 13px; }
.pk-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pk-card { border: 1px solid #ECEAE5; border-radius: 14px; padding: 16px 18px; background: #FBFAF8; }
.pk-lbl { font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 9px; }
.pk-price { font-family: var(--serif); font-weight: 600; font-size: 29px; color: var(--ink); line-height: 1; letter-spacing: -0.01em; }
.pk-sub { font-size: 11.5px; color: #9a9590; margin-top: 7px; }

/* Storno box (tmavý) */
.storno-box { margin-top: 34px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 48px); }
.storno-box h2 { font-size: clamp(28px, 3.4vw, 34px); margin: 0 0 28px; color: #fff; }
.storno-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 48px; }
.storno-item { display: flex; gap: 14px; align-items: flex-start; }
.storno-item__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--accent-rgb),0.16); display: flex; align-items: center; justify-content: center; }
.storno-item__ico svg { stroke: var(--accent); }
.storno-item h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; margin: 0 0 6px; color: #fff; }
.storno-item p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #b8b8b4; }
.storno-item p b { color: #fff; }
.storno-legal { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; line-height: 1.6; color: #8a8a86; font-style: italic; }


/* 12. AKTUALITY ======================================================== */
.news { position: relative; overflow: hidden; }
.news::before {
	content: "";
	position: absolute; bottom: -160px; left: -120px;
	width: 560px; height: 560px; border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--accent-rgb),0.09), rgba(var(--accent-rgb),0) 68%);
	pointer-events: none;
}
.news__head {
	position: relative;
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; margin-bottom: 38px;
}
.news__head h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.02; }
.news__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.news-card { text-decoration: none; display: block; }
.news-card__media {
	position: relative; height: 200px;
	border-radius: 18px; overflow: hidden; margin-bottom: 16px;
	background: repeating-linear-gradient(135deg,#E7E7E4,#E7E7E4 12px,#DDDDD9 12px,#DDDDD9 24px);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: #A6A6A1; }
.news-card__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 8px; }
.news-card__title { font-family: var(--serif); font-weight: 600; font-size: 23px; color: var(--ink); line-height: 1.2; }


/* 13. REFERENCE ======================================================== */
.reviews__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 54px; align-items: center; }
.reviews__quote-mark { font-family: var(--serif); font-style: italic; font-size: 110px; line-height: 0.5; color: var(--accent); margin-bottom: 10px; height: 46px; }
.reviews__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--ink); margin: 0 0 28px; }
.reviews__author { display: flex; align-items: center; gap: 15px; }
.reviews__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.reviews__name { font-size: 16px; font-weight: 700; color: var(--ink); }
.reviews__src { font-size: 13.5px; color: #8a8a8a; }
.rating-card { background: var(--ink); border-radius: var(--radius); padding: 32px 30px; color: #fff; }
.rating-card__score { display: flex; align-items: baseline; gap: 9px; margin-bottom: 7px; }
.rating-card__score .big { font-family: var(--serif); font-weight: 600; font-size: 52px; line-height: 1; color: #fff; }
.rating-card__score .max { font-size: 15px; color: #a0a0a0; }
.rating-card__stars { display: flex; gap: 3px; color: var(--accent); font-size: 17px; margin-bottom: 16px; }
.rating-card p { font-size: 13.5px; line-height: 1.55; color: #bdbdbd; margin: 0 0 22px; }
.rating-card__people { display: flex; align-items: center; gap: 11px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.rating-card__avatars { display: flex; }
.rating-card__avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.rating-card__avatars span + span { margin-left: -11px; }
.rating-card__people-note { font-size: 13px; color: #bdbdbd; }


/* 14. PARTNEŘI ========================================================= */
.partners__row { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.partners__row span { color: var(--muted); white-space: nowrap; }


/* 15. GALERIE ========================================================== */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gl-chip {
	font-size: 13.5px; font-weight: 600;
	padding: 9px 20px; border-radius: 100px;
	border: 1px solid #E2E0DB; color: var(--text-soft);
	background: #fff; cursor: pointer;
	transition: all .2s ease;
}
.gl-chip:hover { border-color: var(--accent); color: var(--accent); }
.gl-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Masonry přes CSS columns. */
.gl-grid { columns: 3; column-gap: 18px; }
.gl-card {
	break-inside: avoid;
	margin-bottom: 18px;
	display: block;
	position: relative;
	border-radius: var(--radius-sm);
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	text-decoration: none;
}
.gl-card img { width: 100%; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.gl-card:hover img { transform: scale(1.05); }
.gl-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 38%, rgba(10,10,10,0.72) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px; }
.gl-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(var(--accent-rgb),0.92); padding: 4px 11px; border-radius: 100px; align-self: flex-start; margin-bottom: auto; }
.gl-title { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.08; color: #fff; letter-spacing: -0.01em; margin: 0; }
.gl-meta { display: flex; align-items: center; gap: 10px; margin-top: 9px; font-size: 12.5px; color: rgba(255,255,255,0.82); font-weight: 500; }
.gl-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.gl-card.is-hidden { display: none; }
.gl-empty { font-size: 16px; line-height: 1.7; color: var(--text-soft); }

/* --- Detail alba (single-galerie.php) --- */
.album-cat { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(var(--accent-rgb),0.95); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.album-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); }
.album-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #cfcfcc; }
.album-lead { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--text-soft); margin: 0 0 34px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 16px; }
.album-photo { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-soft); cursor: zoom-in; }
.album-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.album-photo:hover img { transform: scale(1.05); }
.album-empty { max-width: 680px; font-size: 16px; line-height: 1.7; color: var(--text-soft); padding: 26px 28px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--paper-soft); }

/* Lightbox (JS – initAlbumLightbox) */
.lightbox { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; background: rgba(10,10,10,0.93); padding: 2vh 2vw; }
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox__img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; display: block; border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); }
.lightbox__cap { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 100px; transition: background .2s ease, transform .2s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 20px; right: 22px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 30px; line-height: 1; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }


/* 16. DETAIL SLUŽBY (SAUNA) ============================================ */
.service-detail__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: start; }
/* Horní sekce služeb (sauna, fitness…) má stejný horní odstup jako .page-hero,
   aby drobečková navigace začínala na všech podstránkách na stejné výšce
   (a neposkakovala podle délky textu — proto i align-items: start výše). */
.section:has(> .container > .service-detail__grid) { padding-top: clamp(32px, 4vw, 40px); }
.service-detail__body h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; margin: 0 0 24px; }
.service-detail__body p { font-size: 17px; line-height: 1.72; color: #4a4a4a; max-width: 480px; }
.service-detail__media { position: relative; height: 432px; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 48px -28px rgba(0,0,0,0.34); }
.service-detail__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-detail__media-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0) 58%, rgba(10,10,10,0.6) 100%); }
.service-badge { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink); background: #fff; box-shadow: 0 8px 22px -10px rgba(0,0,0,0.4); padding: 8px 15px; border-radius: 100px; }
.service-stats { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.service-stats__num { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1; }
.service-stats__lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 5px; }
.service-stats__sep { width: 1px; height: 38px; background: rgba(255,255,255,0.28); }
.service-gallery-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; height: 260px; }
.service-gallery-3 > div { border-radius: var(--radius-sm); overflow: hidden; }
.service-gallery-3 img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Znovupoužitelná fotogalerie (komponenta gallery-grid.php).
   3 sloupce na desktopu, zalamuje se do více řádků; proklik otevře lightbox. */
.hgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Počet sloupců dle počtu fotek (třídu dává gallery-grid.php). */
.hgrid--cols-1 { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
.hgrid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.hgrid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.hgrid__item {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--paper-soft);
	cursor: zoom-in;
}
.hgrid__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hgrid__item:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .hgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hgrid { grid-template-columns: 1fr; } }


/* 17. CTA PRUH ========================================================= */
.cta-band {
	position: relative; overflow: hidden;
	border-radius: 24px;
	background: var(--ink); color: #fff;
	padding: clamp(36px, 5vw, 54px) clamp(28px, 4vw, 52px);
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	flex-wrap: wrap;
}
.cta-band::before {
	content: "";
	position: absolute; top: -60px; right: -40px;
	width: 300px; height: 300px; border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--accent-rgb),0.45), rgba(var(--accent-rgb),0) 70%);
	pointer-events: none;
}
.cta-band__text { position: relative; }
.cta-band__text h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; color: #fff; }
.cta-band__actions { position: relative; flex: none; }


/* 18. PATIČKA ========================================================== */
.site-footer { padding-top: 30px; padding-bottom: 44px; }
.site-footer__cols {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 48px 0 40px;
	border-top: 1px solid #EDEDEA;
	border-bottom: 1px solid #EDEDEA;
}
.site-footer__about p { font-size: 14px; line-height: 1.7; margin: 0 0 18px; color: #6b6b6b; max-width: 250px; }
.site-footer__about .site-logo { margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
	width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid #E4E4E0;
	display: flex; align-items: center; justify-content: center;
	color: var(--ink); font-size: 13px; font-weight: 700;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col__title { font-size: 11px; letter-spacing: 0.14em; color: var(--ink); text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--text-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-col .muted { color: var(--muted); }
.site-footer__bottom {
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 22px; font-size: 12.5px; color: var(--muted);
	flex-wrap: wrap; gap: 12px;
}
.site-footer__bottom-links { display: flex; gap: 24px; }
.site-footer__bottom a { text-decoration: none; color: var(--muted); }
.site-footer__bottom a:hover { color: var(--accent); }


/* 19. VNITŘNÍ STRÁNKY (page/single/404) ================================ */
.page-hero { padding: clamp(32px, 4vw, 40px) 0 28px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #cfcfca; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }
.page-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.page-hero__lead { font-size: 15px; line-height: 1.65; color: #6a6a6a; margin: 0 0 6px; max-width: 430px; }

/* Archiv aktualit – designový řádkový seznam (v duchu rozklikávacích záložek
   ceníku): výrazné datum vlevo, velký nadpis aktuality, šipka vpravo. */
.akt-archive { padding: 8px 0 clamp(48px, 7vw, 78px); }
.akt-list { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: #fff; }
.akt-row {
	display: flex; align-items: center; gap: 28px;
	padding: 26px 30px;
	text-decoration: none;
	border-bottom: 1px solid #ECEAE5;
	transition: background .2s ease;
}
.akt-row:last-child { border-bottom: none; }
.akt-row:hover { background: #FBFAF8; }
.akt-row__date {
	flex: none; width: 92px;
	display: flex; flex-direction: column; gap: 3px;
	font-family: var(--mono);
}
.akt-row__day { font-size: 22px; font-weight: 600; color: var(--accent); line-height: 1; letter-spacing: -0.01em; }
.akt-row__year { font-size: 12px; color: #9a9590; letter-spacing: 0.06em; }
.akt-row__title {
	flex: 1;
	font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.5vw, 29px);
	color: var(--ink); letter-spacing: -0.01em; line-height: 1.12;
	transition: color .2s ease;
}
.akt-row:hover .akt-row__title { color: var(--accent); }
.akt-row__arrow { flex: none; color: var(--ink); display: flex; transition: transform .25s ease, color .2s ease; }
.akt-row:hover .akt-row__arrow { transform: translateX(4px); color: var(--accent); }
.akt-empty { font-size: 16px; color: var(--muted); margin: 0; }

/* Detail příspěvku (aktuality apod.): aktuality bývají krátké, proto je celý
   článek vycentrovaný na střed stránky – nadpis, drobečková navigace, datum
   i obsah. Text odstavců zůstává zarovnaný vlevo kvůli čitelnosti. */
.single .page-hero { text-align: center; }
.single .page-hero .breadcrumb { justify-content: center; }
.single article.section { padding-top: 8px; }
.single .entry-content { margin-left: auto; margin-right: auto; }
/* První prvek obsahu (často obrázek) nemá přidávat vlastní horní mezeru. */
.single .entry-content > *:first-child { margin-top: 0; }
/* Běžný text aktuality je o něco větší kvůli čitelnosti. */
.single-aktuality .entry-content { font-size: 19px; line-height: 1.8; }
/* Obrázky uvnitř krátké aktuality vypadají líp vycentrované. */
.single .entry-content .wp-block-image { text-align: center; }
.single .entry-content .wp-block-image img { margin-left: auto; margin-right: auto; }

/* Obsah článku/stránky (WYSIWYG). */
.entry-content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.entry-content > * { margin-bottom: 1.1em; }
.entry-content h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 1.6em 0 .5em; }
.entry-content h3 { font-size: clamp(22px, 2.4vw, 27px); margin: 1.4em 0 .4em; }
.entry-content a { color: var(--accent); }
.entry-content img { border-radius: var(--radius-sm); max-width: 100%; height: auto; display: block; }
.entry-content blockquote {
	margin: 1.5em 0; padding: 4px 0 4px 24px;
	border-left: 3px solid var(--accent);
	font-family: var(--serif); font-size: 1.4em; font-style: italic; color: var(--ink);
}

/* Gutenberg bloky v entry-content */
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .4em; }

.entry-content .wp-block-image { margin: 1.5em 0; }
.entry-content .wp-block-image img { border-radius: var(--radius-sm); max-width: 100%; height: auto; }
.entry-content .wp-block-image figcaption { font-size: 13px; color: #888; text-align: center; margin-top: 6px; }
.entry-content .wp-block-image.aligncenter,
.entry-content .wp-block-image.aligncenter figure { text-align: center; }
.entry-content .wp-block-image.alignleft { float: left; margin: 0 24px 16px 0; max-width: 50%; }
.entry-content .wp-block-image.alignright { float: right; margin: 0 0 16px 24px; max-width: 50%; }

.entry-content .wp-block-separator { border: none; border-top: 1px solid var(--line-2); margin: 2em 0; }

.entry-content .wp-block-quote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 1.2em; font-style: italic; color: var(--ink); }
.entry-content .wp-block-quote cite { display: block; font-size: .8em; font-style: normal; color: #888; margin-top: 8px; }

.entry-content .wp-block-columns { display: flex; gap: 32px; flex-wrap: wrap; margin: 1.5em 0; }
.entry-content .wp-block-column { flex: 1 1 200px; }

.entry-content .wp-block-button { margin: 1em 0; }
.entry-content .wp-block-button__link { display: inline-block; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 40px; text-decoration: none; font-weight: 600; font-size: 15px; }
.entry-content .wp-block-button__link:hover { opacity: .85; }

.entry-content .wp-block-code,
.entry-content pre { background: #f4f4f2; border-radius: 8px; padding: 16px; font-size: 14px; overflow-x: auto; }

.entry-content::after { content: ''; display: table; clear: both; }

/* Stránkování výpisů. */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid var(--line-2); border-radius: 12px;
	text-decoration: none; color: var(--ink); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* 404 */
.error-404 { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.error-404 .code { font-family: var(--serif); font-size: clamp(80px, 16vw, 180px); line-height: 0.9; color: var(--accent); font-style: italic; }
.error-404 h1 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 16px; }
.error-404 p { color: var(--text-soft); max-width: 460px; margin: 0 auto 30px; }


/* 20. RESPONSIVITA ===================================================== */

/* Velké tablety / menší notebooky */
@media (max-width: 1100px) {
	/* Plovoucí aktuality v hero by se na užším překrývaly s textem → skryjeme. */
	.hero__news { display: none; }
	.gl-grid { columns: 2; }
	.reviews__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Tablety */
@media (max-width: 900px) {
	/* Mobilní navigace */
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(82vw, 360px);
		background: var(--paper);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 96px 28px 40px;
		box-shadow: -24px 0 60px -30px rgba(0,0,0,0.5);
		transform: translateX(100%);
		transition: transform .3s ease;
		overflow-y: auto;
		z-index: 40;
	}
	.main-nav.is-open { transform: translateX(0); }
	.main-nav .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; font-size: 18px; }
	.main-nav .nav-menu a { display: block; padding: 12px 0; width: 100%; }
	.main-nav .menu-item { position: relative; width: 100%; }
	.nav-home { position: absolute; top: 28px; left: 28px; }

	/* Podmenu na mobilu = accordion (rozbaluje tlačítko se šipkou). */
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		box-shadow: none;
		background: transparent;
		padding: 0 0 6px 14px;
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.main-nav .menu-item-has-children.is-open > .sub-menu { max-height: 520px; }
	.main-nav .sub-menu a { font-size: 16px; padding: 10px 0; }

	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 4px;
		right: 0;
		width: 44px;
		height: 44px;
		background: transparent;
		border: 0;
		cursor: pointer;
		color: var(--ink);
	}
	.submenu-toggle::before {
		content: "";
		width: 9px; height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform .25s ease;
	}
	.menu-item-has-children.is-open > .submenu-toggle::before { transform: rotate(225deg) translateY(2px); }
	/* Tmavý překryv při otevřeném menu */
	.nav-backdrop {
		position: fixed; inset: 0; background: rgba(10,10,10,0.4);
		opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 35;
	}
	.nav-backdrop.is-open { opacity: 1; visibility: visible; }
	/* Akční tlačítko z hlavičky přesuneme do vysunutého menu */
	.site-header__actions .btn { display: none; }
	.main-nav .nav-cta { display: inline-flex; margin-top: 20px; }

	.facilities__grid { grid-template-columns: 1fr; gap: 36px; }
	.facilities__media { height: 360px; }
	.pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
	.news__grid { grid-template-columns: 1fr 1fr; }
	.service-detail__grid { grid-template-columns: 1fr; gap: 32px; }
	.storno-grid { grid-template-columns: 1fr; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
	.cta-band { flex-direction: column; align-items: flex-start; }
}

/* Telefony */
@media (max-width: 600px) {
	.topbar { font-size: 13px; }
	/* V liště necháme jen to nejdůležitější. */
	.topbar__group--secondary { display: none; }
	.hero__inner { max-width: 100%; }
	.hero__chips { position: static; padding: 24px var(--gutter) 0; max-width: 100%; }
	.hero__play { display: none; }
	/* Na telefonech štítky odsazujeme do toku, takže celovýškové hero
	   nedává smysl – necháme výšku narůst podle obsahu. */
	.hero { padding-bottom: 8px; min-height: 0; }
	.services__head { flex-direction: column; align-items: flex-start; }
	.gl-grid { columns: 1; }
	.album-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lightbox__nav { width: 44px; height: 44px; font-size: 24px; }
	.lightbox__prev { left: 8px; }
	.lightbox__next { right: 8px; }
	.lightbox__close { top: 12px; right: 12px; }
	.news__grid { grid-template-columns: 1fr; }
	.ck-body { padding: 18px 16px 22px; }
	.ck-sum { padding: 18px 16px; gap: 12px; }
	.ck-title { font-size: 21px; }
	.akt-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 18px; }
	.akt-row__date { width: auto; flex-direction: row; align-items: baseline; gap: 6px; }
	.akt-row__day { font-size: 15px; }
	.akt-row__year { font-size: 12px; }
	.akt-row__title { font-size: 19px; line-height: 1.2; }
	.akt-row__arrow { display: none; }
	.pk-row { grid-template-columns: 1fr; }
	.service-gallery-3 { grid-template-columns: 1fr; height: auto; }
	.service-gallery-3 > div { height: 200px; }
	.site-footer__cols { grid-template-columns: 1fr; }
	.partners__row { justify-content: center; gap: 28px; }
}

/* Ohleduplnost k uživatelům s omezením pohybu. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.hero__bg { transition: none; }
}


/* 20. SQUASHOVÁ LIGA ==================================================== */

/* Úvodní pruh: obsah (kotvy) vlevo + výzva do sekce pro hráče vpravo. */
.liga-intro {
	display: grid;
	grid-template-columns: 1fr 0.85fr;
	gap: 24px;
	align-items: stretch;
	margin-top: 6px;
}
.liga-toc {
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: #fff;
	padding: clamp(22px, 3vw, 32px);
}
.liga-toc__label {
	font-family: var(--mono);
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	color: #9a958c; margin: 0 0 18px;
}
.liga-toc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.liga-toc__list li { border-top: 1px solid #F1F0EC; }
.liga-toc__list li:first-child { border-top: none; }
.liga-toc__list a {
	display: flex; align-items: center; gap: 14px;
	padding: 14px 2px;
	font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2vw, 22px);
	color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
	transition: color .2s ease, padding-left .2s ease;
}
.liga-toc__list a:hover { color: var(--accent); padding-left: 8px; }
.liga-toc__num { font-family: var(--mono); font-size: 12px; color: var(--accent); flex: none; width: 22px; }

/* Karta s výzvou do zabezpečené sekce — tmavá, ať vyniká. */
.liga-cta-card {
	position: relative; overflow: hidden;
	border-radius: var(--radius);
	background: var(--ink); color: #fff;
	padding: clamp(26px, 3.4vw, 40px);
	display: flex; flex-direction: column;
}
.liga-cta-card::before {
	content: ""; position: absolute; right: -60px; top: -60px; width: 230px; height: 230px;
	background: radial-gradient(circle, rgba(var(--accent-rgb),0.30), rgba(var(--accent-rgb),0) 70%);
	pointer-events: none;
}
.liga-cta-card .eyebrow { color: rgba(255,255,255,0.55); }
.liga-cta-card h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02; margin: 6px 0 12px; color: #fff; }
.liga-cta-card p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 26px; max-width: 360px; }
.liga-cta-card .btn { margin-top: auto; align-self: flex-start; gap: 9px; }
.liga-cta-card .btn svg { transition: transform .2s ease; }
.liga-cta-card .btn:hover svg { transform: translateX(3px); }

/* Doplňkový podtitul pod nadpisem sekce. */
.section__sub { font-size: 16px; line-height: 1.6; color: var(--text-soft); max-width: 620px; margin: 14px 0 0; }

/* Pravidla na celou šířku kontejneru. */
.liga-rules { max-width: none; }
.liga-rules p { font-size: 16px; line-height: 1.72; color: var(--text); margin: 0 0 16px; }
.liga-rules p:last-child { margin-bottom: 0; }
.liga-rules strong { color: var(--ink); }

/* Bodový systém: dvě tabulky vedle sebe + vysvětlivky kódů. */
.liga-points { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 6px auto 0; }
.liga-points .ck-tbl { font-size: 15px; }
.liga-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 22px auto 0; }
.liga-code {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--paper-soft); border: 1px solid var(--line-2);
	border-radius: var(--radius-sm); padding: 18px 20px;
}
.liga-code__tag {
	flex: none; font-family: var(--mono); font-weight: 700; font-size: 14px;
	color: #fff; background: var(--accent);
	padding: 7px 11px; border-radius: 9px; letter-spacing: 0.02em;
}
.liga-code p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }
.liga-code strong { color: var(--ink); }

/* Proč hrát: dlaždice výhod. */
.liga-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.liga-why__item {
	position: relative;
	background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
	padding: 22px 22px 22px 50px;
	font-size: 15px; line-height: 1.55; color: var(--text);
	transition: border-color .2s ease, transform .2s ease;
}
.liga-why__item:hover { border-color: rgba(var(--accent-rgb),0.5); transform: translateY(-2px); }
.liga-why__item::before {
	content: ""; position: absolute; left: 20px; top: 25px;
	width: 16px; height: 16px; border-radius: 50%;
	background: rgba(var(--accent-rgb),0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23D97757' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.liga-gdpr { margin: 22px auto 0; max-width: 760px; font-size: 12.5px; line-height: 1.6; color: #9a958c; text-align: center; }

/* --- Sekce pro hráče: formulář hesla + TablePress tabulky --- */

/* Karta s formulářem pro heslo (zamčená sekce). */
.liga-lock {
	max-width: 520px; margin: 12px auto 40px; text-align: center;
	background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
	padding: clamp(30px, 5vw, 48px) clamp(24px, 5vw, 44px);
	box-shadow: 0 24px 60px -40px rgba(0,0,0,0.35);
}
.liga-lock__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; border-radius: 50%;
	background: rgba(var(--accent-rgb),0.10); color: var(--accent);
	margin-bottom: 20px;
}
.liga-lock h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.05; margin: 0 0 12px; }
.liga-lock p { font-size: 15px; line-height: 1.62; color: var(--text-soft); margin: 0 auto 26px; max-width: 380px; }
.liga-lock__form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.liga-lock__form input[type="password"] {
	flex: 1 1 220px; min-width: 0;
	font-family: var(--sans); font-size: 15px;
	padding: 13px 18px; border: 1px solid #DDD9D2; border-radius: 100px;
	background: var(--paper-soft); color: var(--ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.liga-lock__form input[type="password"]:focus {
	outline: none; border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.16);
}
.liga-lock__form .btn { flex: none; }

/* Obal tabulky s vodorovným posuvníkem na úzkých displejích. Funguje pro
   jakoukoli tabulku v sekci pro hráče — FlexTable i prosté <table>. */
.liga-table-scroll,
.liga-hraci .wpdt-c,
.liga-hraci .wpDataTablesWrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 30px; border-radius: 14px; }
.liga-table-scroll:last-child { margin-bottom: 0; }

/* Sjednocení vzhledu tabulek (FlexTable / Google Sheets sync) se zbytkem webu —
   styl odvozený z .ck-tbl. Cíleno na JAKOUKOLI tabulku uvnitř .liga-hraci, ať
   to sedí bez ohledu na třídu, kterou plugin vygeneruje. */
.liga-hraci table {
	width: 100%; margin: 0 0 30px; border-collapse: separate; border-spacing: 0;
	border: 1px solid #ECEAE5; border-radius: 14px; overflow: hidden;
	font-family: var(--sans); font-size: 14.5px; background: #fff;
}
.liga-hraci .liga-table-scroll table,
.liga-hraci .wpdt-c table,
.liga-hraci .wpDataTablesWrapper table { margin-bottom: 0; }
.liga-hraci th,
.liga-hraci thead td {
	text-align: left; padding: 13px 16px; border: none;
	font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--ink); background: rgba(var(--accent-rgb),0.09);
}
.liga-hraci td {
	padding: 12px 16px; border: none; border-top: 1px solid #F1F0EC;
	color: var(--text-soft); vertical-align: middle;
}
.liga-hraci tr:first-child td { border-top: none; }
.liga-hraci tbody tr:nth-of-type(even) td { background: #FBFAF8; }
.liga-hraci tbody tr:hover td { background: rgba(var(--accent-rgb),0.06); }
.liga-hraci td:first-child { font-weight: 600; color: var(--ink); }
/* Zvýraznění řádků skupin/koeficientů v matici „Aktuální kolo" — třídu row-koef
   přidá drobný JS řádkům, jejichž první buňka obsahuje „Koef." (viz main.js). */
.liga-hraci tr.row-koef td {
	background: rgba(var(--accent-rgb),0.14) !important;
	font-weight: 700; color: var(--ink); text-transform: none;
}
/* Šedá diagonála (hráč sám proti sobě) — třídu doplní tentýž JS. */
.liga-hraci td.cell-diag { background: #F2F2F2 !important; }
/* Nadpisy uvnitř sekce pro hráče (mezi tabulkami). */
.liga-hraci h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; margin: 40px 0 18px; }
.liga-hraci h2:first-child { margin-top: 0; }
.liga-hraci h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); margin: 30px 0 14px; }

/* Responzivita ligy. */
@media (max-width: 880px) {
	.liga-intro { grid-template-columns: 1fr; }
	.liga-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.liga-points { grid-template-columns: 1fr; }
	.liga-codes { grid-template-columns: 1fr; }
	.liga-why { grid-template-columns: 1fr; }
	.liga-lock__form .btn { flex: 1 1 100%; justify-content: center; }
}
