/**
 * style-2026.css – nové styly doplňující Tailwind (od r. 2026).
 * Všechny nové styly, které doplňují Tailwind, patří sem (ne do hlavičky).
 * Cesta: catalog/view/theme/k6custom/assets/css/style-2026.css
 */

/* Tělo stránky: max šířka 2200px, vycentrované.
 * Tailwind CDN vnáší Preflight (body { margin: 0; line-height: inherit; }) přes injectovaný <style>,
 * proto přepisujeme margin !important, aby layout zůstal vycentrovaný. */
body {
	max-width: 2200px;
	margin: 0 auto !important;
	width: 100%;
	background-color: #f3f1e9;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #000000;
	font-family: "Geist", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

.container {
	margin: 0 auto;
}

p {
	padding-bottom: 15px;
}

/* Široký kontejner (header, full-width sekce): max 1770px */
.container-wide {
	max-width: 1770px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
/* Pozadí .site-wrapper – vlnky nahoru, 100 % šířky, bez opakování */
.site-wrapper {
	background-image: url('../img/vlnky.png');
	background-position: top center;
	background-size: 100% auto;
	background-repeat: no-repeat;
}

/* Obsah uvnitř .site-wrapper: užší kontejner na desktopu */
.site-wrapper .container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

/* Hlavní banner (Revolution slider): výška 900px */
.site-container .revolution-slider {
	height: 975px;
	max-height: 975px;
	min-height: 975px;
}
.site-container .revolution-slider .tp-banner-container,
.site-container .revolution-slider .tp-banner {
	height: 975px !important;
	max-height: 975px !important;
}

/* ========== Revolution slider – textový overlay (Figma 246-1213, HERO) ==========
 * Kontejner: sloupec, gap 40px, zarovnání vlevo (tlačítko se neroztahuje na celou šířku).
 * H1: Geist Medium 90px, tracking -2 %, stín; podnadpis: Geist SemiBold 25px, max 525px.
 * Tlačítko: 210×60px, radius 96px (viz .banner__special-text__link-text.btn-diente níže). */
.revolution-slider .banner__special-texts-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 40px;
	position: absolute;
	width: 100%;
	max-width: 1500px;
	height: auto;
	top: 0;
	left: 50%;
	bottom: 0;
	right: auto;
	overflow: hidden;
	transform: translateX(-50%);
	box-sizing: border-box;
	z-index: 2;
	padding: clamp(72px, 14vw, 200px) 15px 15px 15px;
}
.revolution-slider .banner__special-texts-container .tp-caption {
	position: relative !important;
	left: auto !important;
	top: auto !important;
}
.revolution-slider .banner__special-texts-container .banner__special-text__heading {
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 80%;
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(90px, 7vw, 90px) !important;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #000000;
	text-decoration: none;
}
.revolution-slider .banner__special-texts-container .banner__special-text__heading.banner__special-text__heading--smaller {
	font-size: clamp(26px, 4.5vw, 56px);
	letter-spacing: -0.02em;
}
.revolution-slider .banner__special-texts-container .banner__special-text__description {
	min-width: 0 !important;
	min-height: 0 !important;
	max-width: 525px;
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(16px, 2.2vw, 25px);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000000;
	text-decoration: none;
}
.revolution-slider .banner__special-texts-container .banner__special-text__description.banner__special-text__description--white {
	color: #ffffff !important;
}

/* ========== Breadcrumb / hero podstran (dle Figmy 555-267) ==========
 * Pozadí nastavuje JS (data-background → .has-bg). Zobrazuje se jen H1 nad fotkou; breadcrumbs zatím zapoznámkovány v šablonách. */
.site-container .breadcrumb {
	width: 100%;
	min-height: 400px;
	position: relative;
	margin: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
}
.site-container .breadcrumb.has-bg {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
}
.site-container .breadcrumb.breadcrumb-lg {
	min-height: 500px;
}
.site-container .breadcrumb .overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	z-index: 2;
	pointer-events: none;
}
.site-container .breadcrumb .content {
	position: relative;
	z-index: 3;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem 80px;
	box-sizing: border-box;
}
/* Breadcrumb obsah = šířka jako .site-wrapper .container (1170px + 15px padding) */
.site-container .breadcrumb .content.container {
	max-width: 1170px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 80px;
}
@media (max-width: 768px) {
	.site-container .breadcrumb .content.container {
		padding: 0 1rem 48px;
	}
}
.site-container .breadcrumb .content h1,
.site-container .breadcrumb .content .breadcrumb-hero__title {
	font-size: 90px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
	margin: 0;
}
@media (max-width: 1200px) {
	.site-container .breadcrumb .content h1,
	.site-container .breadcrumb .content .breadcrumb-hero__title {
		font-size: 56px;
	}
}
/* H1 v obsahových sekcích – skryto (vyplněno z adminu, zatím nezobrazovat) */
.custom-content h1,
.site-wrapper .custom-content h1 {
	display: none !important;
}

@media (max-width: 768px) {
	.site-container .breadcrumb { min-height: 280px; }
	.site-container .breadcrumb .content { padding: 0 1rem 48px; }
	.site-container .breadcrumb .content h1,
	.site-container .breadcrumb .content .breadcrumb-hero__title {
		font-size: 36px;
	}
}

/* Typografie – globálně: font Geist, line-height H1/H2 = 1, H3 = 1.5, ostatní text = 1.3.
 * Selektor body … zvyšuje specifičnost nad Tailwind Preflight (h1–h6 { font-size: inherit; font-weight: inherit }). */

body h1, body .h1 {
	font-size: 90px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
	color: #000000;
	margin-bottom: 40px;
	margin-top: 30px;
}
body h2, body .h2 {
	font-size: 44px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 30px;
	margin-top: 30px;
	color: #000000;

	&.h-p {
		font-size: 22px;
	}
}
body h3, body .h3 {
	font-size: 25px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 30px;
	color: #000000;
}
body h4, body .h4 {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: #000000;
}
body h5, body .h5 {
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #000000;
}
body h6, body .h6 {
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #000000;
}
body .lead {
	font-size: 25px;
	font-weight: 400;
	letter-spacing: 0;
	color: #000000;
}

/* Přepis Tailwind CDN: na 2xl (1536px+) – .container-wide zůstává 1770px */
@media (min-width: 1536px) {
	.container-wide {
		max-width: 1770px !important;
	}
}

/* Topbar: úzký pruh, full width, čisté odkazy (ne tlačítka) */
/* Header: menu nad vším (slider, obsah) */
.site-container .header {
	position: relative;
	z-index: 1000;
}
.site-container .header .top-bar {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.site-container .header .top-bar .container-wide {
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}
.site-container .header .top-bar .top-bar__lang {
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	font-weight: normal;
	font-style: italic;
	color: #fff;
	margin: 0;
	white-space: nowrap;
	gap: 15px;
}
.site-container .header .top-bar .top-bar__lang img {
	vertical-align: middle;
}
/* Odkazy v topbaru: čisté jako text, bez paddingu a pozadí */
.site-container .header .top-bar .top-social ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 15px;
}
.site-container .header .top-bar .top-social li {
	float: none;
	margin: 0;
}
.site-container .header .top-bar .top-social li a {
	display: inline;
	width: auto;
	padding: 0;
	background: none !important;
	font-size: 12px;
	font-weight: normal;
	text-transform: none;
	color: #7fba2b;
	text-decoration: none;
	border: none !important;
	border-bottom: none !important;
}
.site-container .header .top-bar .top-social li a:hover {
	background: none !important;
	color: #fff;
	text-decoration: underline;
	border-bottom: none !important;
	padding-bottom: 0;
}
.site-container .header .top-bar .top-social li:first-child a.blog-bar {
	color: #c62f2f;
}
.site-container .header .top-bar .top-social li:first-child a.blog-bar:hover {
	color: #e05555;
}
/* Sociální ikony: jen odkaz, bez bloku */
.site-container .header .top-bar .top-social li a[class*="-bar"]:not(.blog-bar) {
	color: #fff;
	padding: 0 2px;
}
.site-container .header .top-bar .top-social li a.youtube-bar:hover { color: #cc181e; }
.site-container .header .top-bar .top-social li a.google-bar:hover { color: #f5b400; }
.site-container .header .top-bar .top-social li a.facebook-bar:hover { color: #3c5a99; }
/* Oddělovač mezi položkami – jen svislá čárka */
.site-container .header .top-bar .top-social li + li a {
	border-left: none;
	margin-left: 0;
	padding-left: 0;
}
.site-container .header .top-bar .top-social li + li::before {
	content: "·";
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0.35rem;
	font-weight: bold;
}
.site-container .header .top-bar .top-social li:first-child::before {
	display: none;
}
.site-container .header .top-bar .top-social li.top-menu:before {
	display: none;
}

/* Cookie 4G – z-index nad ostatními */
.cookie-4g .cookie-modal-container,
.cookie-4g .cookie-bar-container {
	z-index: 999999 !important;
}

/* Legacy: stará mřížka menu (pro případ zbytkových selektorů) */
@media (min-width: 992px) and (max-width: 1199px) {
	.site-container .header .bottom-bar .navbar .navbar-collapse .navbar-nav ul li a {
		font-size: 12px;
	}
}

/* Main menu (Tailwind) – desktop: force nav visible (overrides transition/opacity from .site-container) */
@media (min-width: 1024px) {
	.site-container .header .bottom-bar #navigation {
		display: flex !important;
		align-items: center;
		margin-left: auto;
		gap: 0.5rem;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		transition: none !important;
	}
	.site-container .header .bottom-bar #navigation a {
		font-size: 16px;
		font-weight: 400;
		letter-spacing: -0.01em;
		color: #343434;
		text-transform: none;
		text-decoration: none;
		padding: 28px 14px;
		white-space: nowrap;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		transition: color 0.2s ease !important;
	}
	.site-container .header .bottom-bar #navigation a:hover { color: #8cc739; }
	.site-container .header .bottom-bar #navigation a.text-\[\#8cc739\] { color: #8cc739; }
}
@media (min-width: 1280px) {
	.site-container .header .bottom-bar #navigation { gap: 0.75rem; }
	.site-container .header .bottom-bar #navigation a { padding: 28px 18px; }
}
.site-container .header .bottom-bar #navigation a:last-child {
	padding-right: 0;
}

.site-container .header .bottom-bar { background-color: rgba(255, 255, 255, 0.95); overflow: visible; }

/* Větší padding celého pruhu menu */
.site-container .header .bottom-bar .container-wide > div { padding-top: 0.5rem; padding-bottom: 0.5rem; }
@media (min-width: 1024px) {
	.site-container .header .bottom-bar .container-wide > div {
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
}

/* Logo větší s přesahem dolů mimo menu */
.site-container .header .bottom-bar .header-logo-wrap { overflow: visible; align-self: flex-end; }
.site-container .header .bottom-bar .header-logo-wrap img { display: block; }

/* Homepage: skryté sekce (pouze na titulní stránce) */
.site-container.homepage #about,
.site-container.homepage #hp-reservation-block,
.site-container.homepage #services { display: none !important; }
/* Sekce Digital Smile Design: skrýt celý obsah kromě bloku #pojistovny */
.site-container.homepage section:has(#pojistovny) > .container-wide.section-row { display: none !important; }

/* ========== Smluvní pojišťovny – dle Figmy 246-961 ========== */
.hp-pojistovny {
	min-height: 514px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 15px 80px 15px;
	box-sizing: border-box;
}
.hp-pojistovny__inner {
	width: 100%;
	max-width: 1770px;
	margin: 0 auto;
	text-align: center;
}
.hp-pojistovny__title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.88px;
	color: #000;
	margin: 0 0 80px;
}
.hp-pojistovny__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
}
.hp-pojistovny__logo {
	flex-shrink: 0;
	width: 172px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hp-pojistovny__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: brightness(0);
}
@media (max-width: 767px) {
	.hp-pojistovny__title { font-size: 32px; }
	.hp-pojistovny__logos { gap: 24px; }
	.hp-pojistovny__logo { width: 140px; height: 80px; }
}

/* ========== CTA pod Smluvními pojišťovnami – Figma 561-768 ========== */
.hp-cta {
	position: relative;
	width: 100%;
	min-height: 880px;
	background-color: #52ac45;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.hp-cta__bg {
	position: absolute;
	inset: 0;
	background: url('../../image/hp-cta/hp-cta-waves.png') center / cover no-repeat;
	mix-blend-mode: multiply;
	pointer-events: none;
}
.hp-cta__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1460px;
	margin: 0 auto;
	padding: 80px 15px;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 40px 60px;
}
.hp-cta__left {
	flex: 1 1 400px;
	max-width: 616px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.hp-cta__right {
	flex: 1 1 400px;
	max-width: 520px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.hp-cta__title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.88px;
	color: #fff;
	margin: 0;
}
.hp-cta__title-line {
	display: block;
}
.hp-cta__text {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.36px;
	color: #fff;
	margin: 0;
	max-width: 532px;
}
.hp-cta__social {
	display: flex;
	align-items: center;
	gap: 24px;
}
.hp-cta__social-link {
	color: #fff;
	text-decoration: none;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}
.hp-cta__social-link svg {
	display: block;
}
.hp-cta__social-link:hover {
	opacity: 0.7;
	color: #fff;
}
.hp-cta__phone {
	margin: 0;
	font-size: 90px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -1.8px;
	color: #fff;
}
.hp-cta__phone a {
	color: inherit;
	text-decoration: none;
}
.hp-cta__phone a:hover {
	text-decoration: underline;
}
.hp-cta__email {
	margin: 0;
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.88px;
	color: #fff;
}
.hp-cta__email a {
	color: inherit;
	text-decoration: underline;
}
.hp-cta__email a:hover {
	text-decoration: none;
}


/* ========== HP statický banner „O klinice“ (pod sliderem) ==========
 * Přesně dle Figma 246-1267: výška 930px, texty left 225px (≈ 15px padding + offset),
 * obsah max 720px, H3 SemiBold 25px, mezery 84px / 55px / 41px. */
.hp-static-banner {
	position: relative;
	width: 100%;
	min-height: 930px;
	background-color: #f3f1e9;
	overflow: hidden;
}
.hp-static-banner__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hp-static-banner__container {
	width: 100%;
	max-width: 1500px; /* 1470px obsah + 15px padding z každé strany */
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
	position: relative;
	z-index: 1;
	box-sizing: border-box;
}
.hp-static-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	min-height: 930px;
	padding: 0;
	position: relative;
}
/* Textový blok: max 720px (Figma 719.625), nesmí se zmenšovat */
.hp-static-banner__content {
	flex: 0 0 auto;
	width: 100%;
	max-width: 719px;
}
/* Tag „O klinice“ – Figma: px 24, py 12, rounded 128px, Geist Bold 14px, leading 1.6, tracking -0.28px */
.hp-static-banner__tag {
	display: inline-block;
	background: #fff;
	border: none;
	border-radius: 128px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.28px;
	color: #000;
	margin-bottom: 84px; /* Figma: text block top 84px pod tagem */
}
/* Texty v bannerech (ne nadpisy, ne tlačítka) – základní font jako body */
.hp-static-banner__text {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0 0 55px; /* Figma: jméno doktora cca 225px od začátku textu → mezera ~55px */
	max-width: 540px;

	&.lead {
		max-width: 700px;
	}
}
.hp-static-banner__doctor {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0 0 41px; /* Figma: tlačítka 41px pod blokem jména */
}
.hp-static-banner__doctor strong {
	font-weight: 700;
}
.hp-static-banner__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 24px; /* Figma: O klinice 130px, Napište nám 159px, mezera mezi nimi */
}
/* Globální styl tlačítka (průhledné pozadí) – použití: .btn-diente nebo .hp-static-banner__btn */
.btn-diente,
.hp-static-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 32px;
	border: 1px solid #000;
	border-radius: 128px;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.32px;
	color: #000;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-diente:hover,
.hp-static-banner__btn:hover {
	background: #000;
	color: #fff;
}
/* Slider: CTA v overlay – Figma 246-1213 (BTN 210×60px, radius 96px); mezera od textu řeší gap na kontejneru */
.revolution-slider .banner__special-text__link-text.btn-diente {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 210px;
	min-height: 60px;
	padding: 16px 20px !important;
	margin: 0 !important;
	border-radius: 96px;
	text-decoration: none !important;
	font-family: "Geist", system-ui, sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.32px !important;
	flex-shrink: 0;
}
.revolution-slider .banner__special-text__link-text.btn-diente.banner__special-text__link-text--white {
	border-color: #fff;
	color: #fff;
}
.revolution-slider .banner__special-text__link-text.btn-diente.banner__special-text__link-text--white:hover {
	background: #fff;
	color: #000;
}
@media (max-width: 575px) {
	.revolution-slider .banner__special-texts-container {
		gap: 24px;
		padding-left: 16px;
		padding-right: 16px;
	}
	.revolution-slider .banner__special-text__link-text.btn-diente {
		width: 100%;
		max-width: 210px;
	}
}
/* Obrázek doktora – Figma 246-1267: 937×1091 v 1920×930 banneru.
 * Absolutně vpravo, přes celou výšku; obrázek cover od hlavy dolů. */
.hp-static-banner__image-wrap {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 48.8%; /* 937 / 1920 */
	overflow: hidden;
	pointer-events: none;
}
.hp-static-banner__doctor-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top center;
}
/* Spodní fade – Figma 246-1434 (prechody): gradient + backdrop-blur na spodních ~175px banneru.
 * Zajišťuje plynulý přechod doktora do barvy pozadí #f3f1e9. Jen pro banner s obrázkem doktora. */
#hp-banner-o-klinice::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 175px;
	background: linear-gradient(to bottom, rgba(243,241,233,0) 10%, rgba(243,241,233,0.8) 50%, rgba(243,241,233,1) 100%);
	z-index: 2;
	pointer-events: none;
}
@media (max-width: 1023px) {
	.hp-static-banner {
		min-height: 0;
	}
	.hp-static-banner__inner {
		flex-direction: column;
		text-align: center;
		min-height: 0;
		padding: 3rem 0;
	}
	.hp-static-banner__content { max-width: none; }
	.hp-static-banner__tag { margin-bottom: 2rem; }
	.hp-static-banner__text { margin-bottom: 1.5rem; }
	.hp-static-banner__doctor { margin-bottom: 1.5rem; }
	.hp-static-banner__image-wrap {
		position: relative;
		right: auto;
		top: auto;
		bottom: auto;
		width: 100%;
		height: 400px;
		order: -1;
	}
	.hp-static-banner__doctor-img {
		object-position: top center;
	}
	#hp-banner-o-klinice::after {
		height: 80px;
	}
}

/* HP statické bannery – vstup obsahu při průchodu středem viewportu (hp-static-banner-reveal.js) */
.hp-static-banner__reveal {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition: opacity 0.45s ease, transform 0.45s ease;
}
.hp-static-banner--revealed .hp-static-banner__reveal {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(1) { transition-delay: 0ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(2) { transition-delay: 100ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(3) { transition-delay: 200ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(4) { transition-delay: 300ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(5) { transition-delay: 400ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(6) { transition-delay: 500ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(7) { transition-delay: 600ms; }
.hp-static-banner--revealed .hp-static-banner__reveal:nth-child(8) { transition-delay: 700ms; }
.hp-static-banner__reveal--html {
	width: 100%;
}
/* Tlačítko vpravo u banneru 3 – obal po reveal musí být flex řádek */
#hp-banner-3 .hp-banner-3__content > .hp-static-banner__reveal:last-child {
	display: flex;
	/* justify-content: flex-end; */
	width: 100%;
}
@media (prefers-reduced-motion: reduce) {
	.hp-static-banner__reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Druhý statický banner (pod službami) – Figma 246-1533, bez fotky vpravo.
 * Bez štítku nad nadpisem. Desktop: min. výška 930px, obsah vertikálně uprostřed (viz i první banner). */
.hp-static-banner--no-image {
	min-height: 930px;
	padding-top: 0;
	padding-bottom: 0;
	box-sizing: border-box;
}
.hp-static-banner--no-image .hp-static-banner__inner {
	justify-content: flex-start;
	align-items: center;
	min-height: 930px;
	padding-top: 0;
	padding-bottom: 0;
}

@media (max-width: 991px) {

	.hp-banner-3 .hp-static-banner__inner {
		justify-content: flex-start !important;
	}

	.hp-static-banner--no-image {
		min-height: 0;
	}
	.hp-static-banner--no-image .hp-static-banner__inner {
		min-height: 0;
		
		.hp-banner-2__heading, .hp-banner-3__heading {
			max-width: 100%;
		}
		.hp-banner-2__intro, .hp-banner-3__intro {
			margin-bottom: 20px;
		}
		.hp-banner-2__tags, .hp-banner-3__tags {
			margin-bottom: 20px;
		}
		.hp-banner-2__btn, .hp-banner-3__btn {
			margin-bottom: 20px;
		}

		.hp-banner-2__tags {
			justify-content: center;
		}
	}
}

.hp-static-banner--no-image .hp-static-banner__content {
	max-width: 720px;
}
/* Nadpisy v bannerech – margin-bottom 40px */
.hp-banner-2__heading,
.hp-banner-3__heading {
	letter-spacing: 0;
	color: #000;
	margin: 0 0 40px;
	max-width: 350px;
}
.hp-banner-2__intro {
	margin: 0 0 41px;
}
.hp-banner-2__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 10px;
}
.hp-banner-2__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	background: #fff;
	border: none;
	border-radius: 128px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.28px;
	color: #000;
	text-decoration: none;
}
a.hp-banner-2__tag:hover {
	background: #000;
	color: #fff;
}
@media (max-width: 1023px) {
	.hp-static-banner--no-image {
		min-height: 0;
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

/* Třetí statický banner – Dětský program, Figma 246-1499. Text vpravo, zarovnaný doleva; bez štítku. */
.hp-banner-3 .hp-static-banner__inner {
	justify-content: flex-end;
	align-items: center;
}
.hp-banner-3__content {
	text-align: left;
	max-width: 720px;
}
#hp-banner-3 .hp-static-banner__tag {
	display: none;
}
.hp-banner-3__content .hp-static-banner__tag {
	margin-bottom: 84px;
}
.hp-banner-3__intro {
	margin: 0 0 41px;
}
.hp-banner-3__content .hp-static-banner__buttons,
.hp-banner-3__content .hp-static-banner__btn {
	/* margin-left: auto; */
}
/* Banner 5: blok vpravo, text zarovnaný vlevo */
#hp-banner-5 .hp-banner-3__content {
	text-align: left;

	ul {
		padding-left: 30px;
		margin-bottom: 40px;
		li {
			list-style: disc;
			line-height: 1.6;
		}
	}
}
#hp-banner-5 .hp-banner-3__content .hp-static-banner__btn {
	margin-left: 0;
}
@media (max-width: 1023px) {
	#hp-banner-3 .hp-banner-3__content > .hp-static-banner__reveal:last-child {
		justify-content: center;
	}
	.hp-banner-3__content {
		text-align: center;
	}
	.hp-banner-3__content .hp-static-banner__btn {
		margin-left: auto;
		margin-right: auto;
	}
	#hp-banner-5 .hp-banner-3__content {
		text-align: center;
	}
	#hp-banner-5 .hp-banner-3__content .hp-static-banner__btn {
		margin-left: auto;
		margin-right: auto;
	}
}

/* Čtvrtý statický banner – prostředí, Figma 246-1436. Text vlevo (výchozí). */
.hp-banner-4 .hp-static-banner__content {
	max-width: 720px;
}
.hp-banner-4 .hp-banner-2__heading {
	margin: 0 0 40px;
}
.hp-banner-4 .hp-banner-2__intro {
	margin: 0 0 41px;
}

/* ========== HP výpis služeb / výhody (pod bannerem) – Figma 246-1401 ==========
 * Šířka obsahu stejná jako menu: 1770px. Pozadí #f3f1e9, karty 435×300px, gap 10px.
 * Container 1800px + padding 15px → vnitřní 1770px → 4 karty × 435px + 3× 10px gap. */
.hp-services {
	width: 100%;
	background-color: #f3f1e9;
	padding: 60px 0 80px;
}
.hp-services__container {
	width: 100%;
	max-width: 1800px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}
.hp-services__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}
.hp-services__card {
	flex: 0 0 auto;
	width: calc((100% - 30px) / 4); /* 4 karty + 3 mezery 10px */
	height: 330px;
	margin: 0;
	padding: 0;
}
.hp-services__card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	padding: 18% 14.4% 40px 14.4%; /* Figma inset poměry */
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
}
.hp-services__icon {
	position: absolute;
	left: 14.4%;
	right: 14.4%;
	top: 18%;
	bottom: 61.61%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.hp-services__icon img {
	display: block;
	width: auto;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}
.hp-services__title {
	font-size: 25px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000;
	margin: 0;
	padding-top: 0ů
}
@media (max-width: 1200px) {
	.hp-services__card {
		width: calc((100% - 10px) / 2); /* 2 sloupce, gap 10px */
	}
}
@media (max-width: 600px) {
	.hp-services__card {
		width: 100%;
		height: 280px;
	}
}

/* ==========================================================================
   HP Recenze – podle Figmy 242-577 (node 242-577), slider v obrazovce
   Karta: #f7f5f0, 500px výška, 420px šířka, radius 10px, typografie Geist
   ========================================================================== */
.hp-recenze {
	padding-top: 150px;
	padding-bottom: 120px;
}
.hp-recenze .container-wide.new-reviews {
	overflow: hidden;
	max-width: 1770px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}
.hp-recenze__title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.88px;
	color: #000;
	text-align: center;
	margin: 0 0 80px;
}
.new-reviews #hp-reviews-swiper {
	width: 100%;
	overflow: hidden;
	margin-left: -15px;
	margin-right: -15px;
	padding-left: 15px;
	padding-right: 15px;
}
.new-reviews #hp-reviews-swiper .swiper-wrapper {
	width: 100%;
}
.new-reviews #hp-reviews-swiper .swiper-slide {
	box-sizing: border-box;
}
/* Karta recenze – Figma: bg #f7f5f0, 500×420px, rounded 10px, padding 45px */
.hp-recenze-card {
	background: #f7f5f0;
	border-radius: 10px;
	height: 500px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 45px;
	cursor: grab;
	box-sizing: border-box;
}
.hp-recenze-card__text {
	display: flex;
	flex-direction: column;
	gap: 30px;
	flex: 1 1 auto;
	min-height: 0;
}
.hp-recenze-card__quote {
	flex-shrink: 0;
	width: 67px;
	height: 50px;
	line-height: 0;
}
.hp-recenze-card__quote svg {
	width: 100%;
	height: 100%;
	display: block;
}
.hp-recenze-card__review {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.36px;
	color: #000;
	margin: 0;
	flex: 1 1 auto;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
}
.hp-recenze-card__review a {
	color: inherit;
	text-decoration: none;
}
.hp-recenze-card__review a:hover {
	text-decoration: underline;
}
.hp-recenze-card__patient {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.16px;
	color: #000;
	margin: 0;
	flex-shrink: 0;
}
.hp-recenze-card__doctor {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 20px;
}
.hp-recenze-card__doctor-photo {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: #e0e0e0;
}
.hp-recenze-card__doctor-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hp-recenze-card__doctor-info {
	min-width: 0;
}
.hp-recenze-card__doctor-role {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.16px;
	color: #000;
	margin: 0 0 2px;
}
.hp-recenze-card__doctor-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.16px;
	color: #000;
	margin: 0;
}
.hp-recenze-card__doctor-name a {
	color: inherit;
	text-decoration: underline;
}
.hp-recenze-card__doctor-name a:hover {
	text-decoration: none;
}
.hp-recenze__more {
	margin-top: 2rem;
	text-align: center;
}
@media (max-width: 767px) {
	.hp-recenze-card {
		height: auto;
		min-height: 420px;
	}
	.hp-recenze__title {
		font-size: 32px;
	}
}

.hp-cta__btn {
	margin-top: 44px;
	border-radius: 96px;
	border-color: #fff;
	color: #fff;
}
.hp-cta__btn:hover {
	background: #fff;
	color: #52ac45;
}
@media (max-width: 1200px) {
	.hp-cta__phone { font-size: 64px; }
	.hp-cta__email { font-size: 32px; }
}
@media (max-width: 767px) {
	.hp-cta { min-height: 0; }
	.hp-cta__inner { flex-direction: column; align-items: flex-start; padding: 60px 15px; }
	.hp-cta__title { font-size: 32px; }
	.hp-cta__phone { font-size: 40px; letter-spacing: -1px; }
	.hp-cta__email { font-size: 24px; letter-spacing: -0.48px; }
	.hp-cta__btn { margin-top: 24px; }
}

/* ========== Diente – kontaktní typografie (Figma: label 18 Bold, hodnota 25 SemiBold) ==========
 * Použití: štítky / hodnoty u telefonu, e-mailu, nadpis „Ordinační hodiny“ v panelu lékaře apod. */
.diente-text-contact-label {
	font-family: "Geist", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0;
	padding: 0;
}

.diente-text-contact-value {
	font-family: "Geist", sans-serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000;
	margin: 0;
}

a.diente-text-contact-value {
	text-decoration: none;
}

a.diente-text-contact-value:hover,
a.diente-text-contact-value:focus {
	text-decoration: underline;
}

/* ========== Tabulky v obsahu (WYSIWYG) – Figma 555-672 (CENIK) ==========
 * Struktura: vodorovné oddělovače 1px, bez svislých čar, mezery 40px.
 * Typografie: Geist 25px / line-height 1.5 (H3 Diente); první sloupec Regular, poslední SemiBold. */
.site-container .site-wrapper .custom-content table {
	width: 100%;
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 70px;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
	box-sizing: border-box;
}
.site-container .site-wrapper .custom-content table th,
.site-container .site-wrapper .custom-content table td {
	border-left: 0;
	border-right: 0;
	border-top: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	padding: 0 0 40px 0;
	vertical-align: top;
	box-sizing: border-box;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000000;
}

.site-container .site-wrapper .custom-content table tbody td:first-child,
.site-container .site-wrapper .custom-content table tbody th:first-child {
	font-weight: 400;
}
/* 40px mezera pod oddělovačem před dalším řádkem */
.site-container .site-wrapper .custom-content table tbody > tr + tr > th,
.site-container .site-wrapper .custom-content table tbody > tr + tr > td {
	padding-top: 40px;
}
.site-container .site-wrapper .custom-content table thead + tbody > tr:first-child > th,
.site-container .site-wrapper .custom-content table thead + tbody > tr:first-child > td {
	padding-top: 40px;
}
.site-container .site-wrapper .custom-content table > tbody > tr:first-child > th,
.site-container .site-wrapper .custom-content table > tbody > tr:first-child > td {
	padding-top: 0;
}
/* Bootstrap .table-striped: zrušit zelené pruhy v obsahu (Figma = bez výplně řádků) */
.site-container .site-wrapper .custom-content .table-striped > tbody > tr:nth-child(odd) > td,
.site-container .site-wrapper .custom-content .table-striped > tbody > tr:nth-child(odd) > th {
	background-color: transparent !important;
}
@media (max-width: 767px) {
	.site-container .site-wrapper .custom-content table th,
	.site-container .site-wrapper .custom-content table td {
		padding-bottom: 24px;
		font-size: 18px;
	}
	.site-container .site-wrapper .custom-content table tbody > tr + tr > th,
	.site-container .site-wrapper .custom-content table tbody > tr + tr > td {
		padding-top: 24px;
	}
	.site-container .site-wrapper .custom-content table thead + tbody > tr:first-child > th,
	.site-container .site-wrapper .custom-content table thead + tbody > tr:first-child > td {
		padding-top: 24px;
	}
}

.feature-4 > i.dev {
    float: left;
    margin-right: 19px;
    font-size: 34px;
    color: #8CC739;
}

.feature-4 p {
    margin-left: 18px;
    padding-left: 36px;
    border-left: 1px solid #eceff7;
    color: #000;
}

.services-all {
	margin-top: 30px;
}

.services-all > div {
    min-height: 280px;
	margin-top: 50px;
}

/* ========== Detail lékaře / člena týmu (Figma 566-309, pravý blok 582-827) ==========
 * Levý sloupec: text, objednávání, hodiny, obsah z administrace ($description …).
 * Pravý sloupec: fotka + sociální sítě, sticky uvnitř viewportu.
 * green.css: .site-container { overflow:hidden } ruší position:sticky vůči oknu – oprava přes .site-container--product (header.php). */
.site-container.site-container--product {
	overflow: visible !important;
}

.site-container:has(.doctor-page) {
	overflow: visible !important;
}

.doctor-page__section {
	overflow: visible;
}

.doctor-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) min(100%, 420px);
	gap: 48px 64px;
	align-items: start;
	margin-top: 0;
	width: 100%;
	max-width: 100%;
	@media (max-width: 991px) {
		overflow-x: clip;
	}
}

/* Sticky na celém aside – spolehlivější než vnořený wrapper */
.doctor-page__aside {
	position: sticky;
	top: 150px;
	align-self: start;
	justify-self: end;
	width: 100%;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}

.doctor-page__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #fff;
	border: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: #000;
	margin-bottom: 32px;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.doctor-page__back-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 9px;
	height: 9px;
	flex-shrink: 0;
}

.doctor-page__back-icon svg {
	display: block;
	width: 9px;
	height: 9px;
}

.doctor-page__back-text {
	display: inline-block;
}

.doctor-page__back:hover,
.doctor-page__back:focus {
	background: #000;
	color: #fff;
	border-color: #000;
}

.doctor-page__hero {
	margin-bottom: 8px;
}

.doctor-page__name {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0 0 16px;
}

.doctor-page__name-prefix {
	display: block;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #000;
}

.doctor-page__name-rest {
	display: block;
	font-size: clamp(48px, 9vw, 120px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #000;
}

.doctor-page__name--single {
	margin: 0 0 16px;
	font-size: clamp(36px, 7vw, 90px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #000;
}

.doctor-page__profession {
	font-size: clamp(18px, 2vw, 25px);
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 24px;
	color: #000;
}

.doctor-page__intro {
	font-size: clamp(16px, 2vw, 25px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000;
}

.doctor-page__intro p:last-child {
	padding-bottom: 0;
}

/* Panel Objednejte se + kontakty / ordinační hodiny – Figma 582-899 */
.doctor-page__cta-panel {
	margin-top: 100px;
	margin-bottom: 50px;
}

.doctor-page__cta-head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 0;
}

/* H2 Diente 44 Medium – přepis body h2 (90px) jen v tomto panelu */
.site-container .site-wrapper .doctor-page .doctor-page__cta-title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0;
	flex-shrink: 0;
	color: #000;
}

.doctor-page__cta-title-line {
	flex: 1;
	height: 1px;
	min-width: 32px;
	background: rgba(0, 0, 0, 0.25);
	align-self: center;
}

.doctor-page__cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	margin-top: 32px;
	align-items: start;
	margin-bottom: 30px;
}

/* Min. šířka levého sloupce, aby číslo v jedné řádce (viz Figma 582-899) */
.doctor-page__cta-grid--two-cols {
	grid-template-columns: minmax(300px, 720px) minmax(260px, 435px);
	gap: 48px 64px;
}

.doctor-page__cta-col--contact {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 720px;
	min-width: 0;
}

.doctor-page__cta-block {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.doctor-page__cta-lines {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.doctor-page__cta-lines .doctor-page__cta-value-wrap {
	margin: 0;
}

/* Telefon na jednom řádku (Figma); na úzkém displeji znovu zalamovat */
.doctor-page__cta-value-wrap--nowrap {
	white-space: nowrap;
}

.doctor-page__cta-value-wrap--nowrap a.diente-text-contact-value {
	white-space: nowrap;
}

.doctor-page__cta-value-wrap--email {
	overflow-wrap: anywhere;
	word-break: break-word;
}

@media (max-width: 380px) {
	.doctor-page__cta-value-wrap--nowrap,
	.doctor-page__cta-value-wrap--nowrap a.diente-text-contact-value {
		white-space: normal;
	}
}

.doctor-page__cta-rule {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.2);
	margin: 0;
	width: 100%;
	height: 0;
	flex-shrink: 0;
}

.doctor-page__cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.doctor-page__btn-online,
.doctor-page__btn-form {
	min-height: 52px;
}

button.doctor-page__btn-form {
	cursor: pointer;
}

.doctor-page__cta-col--hours {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.doctor-page__hours-label {
	margin: 0;
}

.doctor-page__hours-table-wrap {
	margin: 0;
}

/* Ordinační hodiny – jen tabulka u lékaře (Figma 582-899), odděleně od WYSIWYG .custom-content
 * Dva sloupce: dny 122px, mezera ~29px, časy – table-layout:fixed pro stabilní zarovnání */
.site-container .site-wrapper .doctor-page .doctor-page__hours-table {
	width: 100%;
	max-width: 435px;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	border: 0;
	box-sizing: border-box;
	table-layout: fixed;
}

.site-container .site-wrapper .doctor-page .doctor-page__hours-table th,
.site-container .site-wrapper .doctor-page .doctor-page__hours-table td {
	border: 0;
	margin: 0;
	vertical-align: top;
	box-sizing: border-box;
	font-family: "Geist", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	text-align: left;
	padding: 0;
}

/* Dny: pevná šířka sloupce dle Figmy; časy: druhý sloupec */
.site-container .site-wrapper .doctor-page .doctor-page__hours-table td:first-child,
.site-container .site-wrapper .doctor-page .doctor-page__hours-table th:first-child {
	width: 122px;
	max-width: 122px;
	min-width: 122px;
	padding-right: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-container .site-wrapper .doctor-page .doctor-page__hours-table td:nth-child(2),
.site-container .site-wrapper .doctor-page .doctor-page__hours-table th:nth-child(2) {
	width: auto;
	padding-left: 29px;
	padding-right: 0;
}

/* Jednobuněčné řádky (colspan) – nerozbíjet layout */
.site-container .site-wrapper .doctor-page .doctor-page__hours-table td:only-child {
	width: 100%;
	max-width: none;
	min-width: 0;
	padding-left: 0;
	white-space: normal;
}

.site-container .site-wrapper .doctor-page .doctor-page__hours-table tbody tr + tr td,
.site-container .site-wrapper .doctor-page .doctor-page__hours-table tbody tr + tr th {
	padding-top: 0;
}

.site-container .site-wrapper .doctor-page .doctor-page__hours-table thead + tbody tr:first-child th,
.site-container .site-wrapper .doctor-page .doctor-page__hours-table thead + tbody tr:first-child td {
	padding-top: 0;
}

.site-container .site-wrapper .doctor-page .doctor-page__hours-table thead th {
	font-weight: 700;
	font-size: 18px;
}

.doctor-page__main {
	padding-top: 100px;
	min-width: 0;
	max-width: 100%;
}

.doctor-page__main h2.doctor-page__cta-title,
.doctor-page__main h3.doctor-page__block-title,
.doctor-page__main h3.doctor-page__form-heading {
	margin: 0;
}

.doctor-page__cta-panel .doctor-page__cta-lines p {
	padding-bottom: 0;
}

/* Figma 582-827: rámeček 420×568, radius 10px; fotka mírně „nahoře“ přes cover */
.doctor-page__photo-frame {
	position: relative;
	width: 100%;
	max-width: 420px;
	height: 568px;
	border-radius: 10px;
	overflow: hidden;
	background: #e8e6e0;
	margin: 0 0 24px;
}

.doctor-page__photo-frame .notification-label {
	z-index: 2;
}

.doctor-page__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 0;
	position: absolute;
	inset: 0;
}

.doctor-page__social {
	margin-top: 0;
	justify-content: center;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 420px;
}

.doctor-page .hp-cta__social-link {
	color: #000;
}

.doctor-page .hp-cta__social-link:hover,
.doctor-page .hp-cta__social-link:focus {
	color: #000;
	opacity: 0.65;
}

.doctor-page__long {
	margin-top: 16px;
}

.doctor-page__procedures {
	margin-top: 100px;
	margin-bottom: 56px;
}

.site-container .site-wrapper .doctor-page .doctor-page__procedures-title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 32px;
	color: #000;
}

.doctor-page__procedures-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 315px));
	gap: 0 29px;
	align-items: start;
}

.doctor-page__procedures-col {
	display: flex;
	flex-direction: column;
}

.doctor-page__procedure-item {
	padding: 0 0 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	margin-bottom: 15px;
}

.doctor-page__procedures-col .doctor-page__procedure-item:last-child {
	margin-bottom: 0;
}

.doctor-page__procedure-name {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0;

}

.doctor-page__articles {
	margin-top: 100px;
	margin-bottom: 56px;
}

.site-container .site-wrapper .doctor-page .doctor-page__articles-title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 30px;
	color: #000;
}

.doctor-page__articles-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.doctor-page__article-card {
	position: relative;
	width: 100%;
	max-width: 750px;
	min-height: 318px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 58px 54px 58px 30px;
	display: grid;
	grid-template-columns: 120px minmax(0, 445px);
	column-gap: 61px;
	align-items: start;
	box-sizing: border-box;
}

.doctor-page__article-media img {
	display: block;
	width: 120px;
	aspect-ratio: 1;
	border-radius: 5px;
	object-fit: cover;
}

.doctor-page__article-content {
	display: flex;
	flex-direction: column;
}

.doctor-page__article-date {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0;
	margin-bottom: 10px;
}

.site-container .site-wrapper .doctor-page .doctor-page__article-title {
	font-size: 25px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
	color: #000;
	margin: 0;
}

.doctor-page__article-title a {
	color: inherit;
	text-decoration: none;
}

.doctor-page__article-title a:hover,
.doctor-page__article-title a:focus {
	text-decoration: underline;
}

.doctor-page__article-excerpt {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0;
}

.doctor-page__article-arrow {
	position: absolute;
	right: -16px;
	top: 50%;
	transform: translateY(-50%);
	width: 33px;
	height: 33px;
	border-radius: 128px;
	background: #c2c1ba;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.doctor-page__article-arrow:hover,
.doctor-page__article-arrow:focus {
	background: #000;
	color: #fff;
}

.doctor-page__reviews {
	margin-top: 100px;
	margin-bottom: 56px;
}

.site-container .site-wrapper .doctor-page .doctor-page__reviews-title {
	font-size: 44px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0 0 30px;
	color: #000;
}

.doctor-page__reviews-slider-wrap {
	position: relative;
	width: 100%;
	max-width: 783px;
	@media (max-width: 991px) {
		overflow: hidden;
	}
}

.doctor-page__reviews-swiper {
	width: 100%;
	max-width: 100%;
	@media (max-width: 991px) {
		overflow: hidden;
		padding-top: 20px;
	}
}

.doctor-page__review-card {
	position: relative;
	width: 100%;
	max-width: 750px;
	min-height: 318px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 78px 60px 54px 210px;
	box-sizing: border-box;
}

.doctor-page__review-quote {
	position: absolute;
	left: 47px;
	top: 78px;
	width: 120px;
	height: 90px;
	line-height: 0;
}

.doctor-page__review-quote svg {
	display: block;
	width: 100%;
	height: 100%;
}

.doctor-page__review-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 415px;
}

.doctor-page__review-text {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: #000;
	margin: 0;
}

.doctor-page__review-author {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #000;
	margin: 0;
}

.doctor-page__reviews-arrow {
	position: absolute;
	top: 143px;
	width: 33px;
	height: 33px;
	border-radius: 128px;
	border: 1px solid #c2c1ba;
	background: #f3f1e9;
	color: #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	z-index: 2;
}

.doctor-page__reviews-arrow--prev {
	left: 0;
	transform: translateX(-50%);
}

.doctor-page__reviews-arrow--next {
	right: 0;
	transform: translateX(50%);
	background: #c2c1ba;
	color: #fff;
	border-color: #c2c1ba;
}

.doctor-page__reviews-arrow:hover,
.doctor-page__reviews-arrow:focus {
	background: #000;
	border-color: #000;
	color: #fff;
}

.doctor-page__reviews-count {
	position: absolute;
    left: 50%;
    top: -13px;
    transform: translateX(-50%);
    padding: 0 20px;
    background: #f3f1e9;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: #000;
    text-align: center;
    z-index: 99;

	@media (max-width: 991px) {
		top: 5px;
	}
}

.doctor-page__reviews-count-current {
	font-weight: 700;
}

.doctor-page__reviews .swiper-container {
	overflow: hidden;
}

.doctor-page__block {
	margin-top: 100px;
	margin-bottom: 48px;
}

.doctor-page__block:last-child {
	margin-bottom: 0;
}

.doctor-page__block-title {
	margin-top: 0;
}

.doctor-page__block-head {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 24px;
}

.doctor-page__block-head .doctor-page__cta-title {
	margin: 0;
}

/* Zámek scrollu: JS dává body position:fixed. Na html jen overflow — bez height:100%, to by zploštilo strom na výšku okna a „ořezalo“ obsah. */
html.doctor-order-drawer--open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.doctor-order-drawer--open {
	overscroll-behavior: none;
	touch-action: none;
}

/* Nad .header / mobilní menu (z-index ~99999 v green.css + header.tpl); mimo .site-wrapper (999), jinak by zůstal pod hlavičkou */
.doctor-order-drawer {
	position: fixed;
	inset: 0;
	z-index: 100100;
	visibility: hidden;
	pointer-events: none;
	box-sizing: border-box;
}

.doctor-order-drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

/* Celá plocha: při animaci panelu nebyla jen levá 1/2 zatmavená (pravá zůstávala světlá = rozbitý dojem). Panel je nad overlayem (vyšší z-index). */
.doctor-order-drawer__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.35s ease;
	cursor: pointer;
}

.doctor-order-drawer.is-open .doctor-order-drawer__overlay {
	opacity: 1;
}

.doctor-order-drawer__panel {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
	width: 50%;
	max-width: 50vw;
	height: 100%;
	background: #fff;
	display: flex;
	flex-direction: column;
	box-shadow: -6px 0 32px rgba(0, 0, 0, 0.12);
	transform: translateX(100%);
	transition: transform 0.35s ease;
	box-sizing: border-box;
}

.doctor-order-drawer.is-open .doctor-order-drawer__panel {
	transform: translateX(0);
}

.doctor-order-drawer__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 32px;
	line-height: 1;
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.doctor-order-drawer__close:hover,
.doctor-order-drawer__close:focus {
	background: rgba(0, 0, 0, 0.06);
	color: #000;
}

.doctor-order-drawer__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 56px 20px 32px 24px;
	box-sizing: border-box;
}

.doctor-order-drawer .doctor-page__form-heading {
	margin-top: 0;
	margin-bottom: 16px;
	padding-right: 40px;
}

.doctor-order-drawer .doctor-page__form-lead {
	font-size: 18px;
	line-height: 1.5;
	margin: 0 0 24px;
	max-width: none;
}

@media (max-width: 767px) {
	.doctor-order-drawer__overlay {
		display: none;
	}

	.doctor-order-drawer__panel {
		width: 100%;
		max-width: none;
	}

	.doctor-order-drawer__scroll {
		padding: 52px 16px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.doctor-order-drawer__overlay,
	.doctor-order-drawer__panel {
		transition: none;
	}
}

@media (max-width: 991px) {
	.doctor-page__reviews-slider-wrap {
		max-width: 100%;
	}

	.doctor-page__review-card {
		max-width: 100%;
		min-height: 0;
		padding: 80px 24px 32px;
	}

	.doctor-page__review-quote {
		position: static;
		width: 86px;
		height: 64px;
		margin-bottom: 12px;
	}

	.doctor-page__review-content {
		max-width: 100%;
		gap: 20px;
	}

	.doctor-page__reviews-arrow--prev {
		left: 27px;
	}

	.doctor-page__reviews-arrow--next {
		right: 27px;
	}

	.doctor-page__reviews-arrow {
		transform: none;
		top: 46px;
	}


	.doctor-page__article-card {
		max-width: 100%;
		min-height: 0;
		grid-template-columns: 1fr;
		row-gap: 24px;
		padding: 24px;
	}

	.doctor-page__article-content {
		gap: 16px;
	}

	.doctor-page__article-arrow {
		position: static;
		transform: none;
		margin-top: 8px;
	}

	.doctor-page__procedures-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.doctor-page__cta-grid--two-cols {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.doctor-page__grid {
		grid-template-columns: 1fr;
		gap: 40px;
		width: 100%;
		max-width: 100%;
		@media (max-width: 991px) {
			overflow-x: hidden;
		}
	}

	.doctor-page__aside {
		order: -1;
		position: static;
		width: min(100%, 420px);
		max-width: 420px;
		justify-self: center;
		align-items: center;
		margin-left: auto;
		margin-right: auto;
	}

	.doctor-page__photo-frame {
		width: 100%;
		max-width: 420px;
		height: auto;
		aspect-ratio: 420 / 568;
		min-height: 0;
		margin-left: auto;
		margin-right: auto;
	}

	.doctor-page__photo {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
	}
}

.site-container .site-wrapper.site-homepage {
	background-image: url('../img/pozadi_vlnky.jpg');
}

.site-container .site-wrapper .custom-content ul {
	list-style: initial;
	padding-left: 20px;

	li {
		padding-left: 5px;
	}
}

.gallery {
	h2 {
		color: #fff !important;
	}
}

.form-control {
	width: 100%;
	margin-bottom: 15px;
}