/**
 * Dlhé obsahové stránky (výpravy, Growing Circle, Kreativita, Rasťo) v dizajne v2.
 * Obsah je v editore a používa triedy tv-*. Tokeny sú v style.css.
 */

.tv-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(40px, 7vw, 110px) var(--pad) clamp(70px, 10vw, 140px);
	overflow-wrap: break-word;
}

.tv-page > * + * {
	margin-top: 1.5rem;
}

/* Nadpisy */
.tv-display {
	font-size: clamp(3.2rem, 12.5vw, 10.5rem);
	font-weight: 700;
	letter-spacing: var(--tight);
	line-height: .86;
}

/* Dlhší úvodný nadpis (celá veta) je menší, aby sa zmestil */
.tv-display--long {
	font-size: clamp(2.6rem, 8.4vw, 7.4rem);
	line-height: .92;
}

h2.tv-display {
	margin-top: clamp(70px, 10vw, 140px);
}

.tv-accent {
	color: var(--magenta);
}

.tv-page h2:not(.tv-display) {
	margin-top: clamp(60px, 9vw, 120px);
	font-size: clamp(2rem, 5.2vw, 4.2rem);
	font-weight: 700;
	letter-spacing: -.05em;
	line-height: 1;
}

.tv-page h1 + h2:not(.tv-display) {
	margin-top: 1.2rem;
	font-weight: 300;
}

.tv-page h3 {
	margin-top: clamp(40px, 5vw, 64px);
	font-size: clamp(1.45rem, 2.7vw, 2.3rem);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.12;
}

/* Zvýraznené slovo v nadpise ako rámček z tvorsi.com */
.tv-page :is(h2, h3) strong {
	background: var(--white);
	color: var(--black);
	padding: 0 .18em .04em;
}

/* Text */
.tv-page p {
	max-width: 46em;
	font-size: clamp(1.05rem, 1.35vw, 1.22rem);
	line-height: 1.6;
	color: var(--on-bg-soft);
}

.tv-page p strong {
	color: var(--white);
	font-weight: 700;
}

.tv-page p a:not(.btn),
.tv-page li a {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.tv-page p a:not(.btn):hover,
.tv-page li a:hover {
	color: var(--cyan);
}

.tv-page .tv-lead {
	max-width: 30em;
	font-size: clamp(1.4rem, 2.7vw, 2.3rem);
	font-weight: 300;
	letter-spacing: -.025em;
	line-height: 1.22;
	color: var(--white);
}

/* Termíny vypísané v texte */
.tv-page .tv-term {
	max-width: none;
	margin-top: 0;
	padding: 14px 0;
	border-top: 1px solid var(--on-bg-line);
	font-size: clamp(1.05rem, 2vw, 1.55rem);
	font-weight: 300;
	letter-spacing: -.02em;
	line-height: 1.25;
	color: var(--white);
}

.tv-page .tv-term a[href="#terminy"] {
	display: inline-block;
	margin-left: .4em;
	padding: 0 .4em;
	background: var(--cyan);
	color: var(--black);
	font-weight: 700;
	text-decoration: none;
}

.tv-page .tv-term a[href="#terminy"]:hover {
	background: var(--white);
	color: var(--black);
}

/* Zoznam „pre koho“ */
.tv-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(24px, 4vw, 60px);
	list-style: none;
}

.tv-list li {
	position: relative;
	padding: 14px 0 14px 1.7em;
	border-top: 1px solid var(--on-bg-line);
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
	line-height: 1.35;
}

.tv-list li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--cyan);
}

/* Citát: tyrkysový pás cez celú šírku */
.tv-quote {
	margin: clamp(50px, 7vw, 100px) calc(50% - 50vw) 0;
	padding: clamp(44px, 7vw, 100px) max(var(--pad), calc(50vw - 590px + var(--pad)));
	background: var(--cyan);
	color: var(--black);
}

.tv-page .tv-quote p {
	max-width: 24em;
	font-size: clamp(1.7rem, 4.4vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1.04;
	color: var(--black);
}

.tv-quote footer {
	margin-top: 22px;
	font-size: 1rem;
	line-height: 1.4;
}

.tv-quote footer b,
.tv-quote footer span {
	display: block;
}

.tv-quote + * {
	margin-top: clamp(50px, 7vw, 100px);
}

/* Obrázky */
.tv-figure img {
	width: 100%;
	height: auto;
}

.tv-figure--small {
	display: inline-block;
	width: clamp(96px, 14vw, 170px);
	margin-right: 14px;
	vertical-align: top;
}

.tv-figure--small + .tv-figure--small {
	margin-top: 1.5rem;
}

/* Galéria: vodorovný pás, posúva sa prstom alebo kolieskom */
.tv-gallery {
	display: flex;
	gap: 12px;
	margin-right: calc(-1 * var(--pad));
	padding-right: var(--pad);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--cyan) var(--tile);
}

.tv-gallery figure {
	flex: 0 0 min(82vw, 620px);
	scroll-snap-align: start;
}

.tv-gallery img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	background: var(--tile);
}

.tv-gallery figcaption {
	padding: 10px 0 14px;
	font-size: .95rem;
	color: var(--on-bg-soft);
}

/* Recenzie */
.tv-reviews {
	columns: 2 380px;
	column-gap: clamp(16px, 2.4vw, 28px);
	margin-top: clamp(30px, 4vw, 50px);
}

.tv-review {
	break-inside: avoid;
	margin-bottom: clamp(16px, 2.4vw, 28px);
	padding: clamp(20px, 3vw, 34px);
	background: var(--tile);
}

.tv-review__photo {
	width: 76px;
	height: 76px;
	margin-bottom: 18px;
	border-radius: 50%;
	object-fit: cover;
}

.tv-page .tv-review p {
	font-size: 1.02rem;
	line-height: 1.55;
}

.tv-page .tv-review p + p {
	margin-top: .8em;
}

.tv-page .tv-review .tv-review__lead {
	font-size: clamp(1.2rem, 1.7vw, 1.45rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.25;
	color: var(--white);
}

.tv-review footer {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--on-bg-line);
	font-size: .95rem;
	line-height: 1.4;
	color: var(--on-bg-soft);
}

.tv-review footer b {
	display: block;
	color: var(--magenta);
}

.tv-review footer span {
	display: block;
}

.tv-actions {
	margin-top: 1.8rem;
}

/* Termíny a prihláška výpravy na bielej karte */
.tv-signup {
	margin-top: clamp(60px, 9vw, 120px);
	padding: clamp(24px, 4vw, 56px);
	background: var(--white);
	color: var(--ink);
}

.tv-signup .ctv-expedition {
	max-width: 720px;
	margin: 0;
	padding-top: 0;
	border-top: 0;
}

.tv-page .tv-signup p {
	color: var(--body-text);
}

.tv-page .tv-signup h2 {
	margin-top: 0;
	color: var(--ink);
}

.tv-page .tv-signup h3 {
	font-size: 1.3rem;
}

.tv-signup .card__btn {
	background: var(--black);
	color: var(--white);
}

.tv-signup .card__btn:hover {
	background: var(--cyan);
	color: var(--black);
}

@media (max-width: 760px) {
	.tv-list {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Sekcie a komponenty dlhých stránok (rozloženie z .dev/podstranky-vzhlad.py)
   ========================================================================== */

.tv-page {
	--bleed: max(var(--pad), calc(50vw - 590px + var(--pad)));
}

/* Pásy cez celú šírku okna nesmú vyrobiť vodorovný posun (100vw ráta aj s posuvníkom). */
.is-longform #content {
	overflow-x: clip;
}

.tv-sec {
	position: relative;
	margin-top: clamp(56px, 8vw, 110px);
}

.tv-sec > * + * {
	margin-top: 1.5rem;
}

.tv-sec > :first-child {
	margin-top: 0;
}

/* Úvod: farebná žiara, ktorá pomaly dýcha */
.tv-sec--hero {
	margin-top: 0;
}

.tv-sec--hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -18% -30% -10% -30%;
	background:
		radial-gradient(38% 46% at 82% 18%, rgba(255, 0, 236, .34), transparent 70%),
		radial-gradient(34% 44% at 12% 78%, rgba(0, 201, 255, .30), transparent 70%),
		radial-gradient(24% 30% at 58% 62%, rgba(255, 230, 0, .12), transparent 70%);
	filter: blur(30px);
	animation: tvGlow 14s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes tvGlow {
	from { transform: translate3d(-3%, -2%, 0) scale(1); }
	to { transform: translate3d(4%, 3%, 0) scale(1.12); }
}

/* Farebné pásy cez celú šírku */
.tv-sec--navy,
.tv-sec--offer,
.tv-sec--days {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(50px, 8vw, 110px) var(--bleed);
}

.tv-sec--navy {
	background: var(--navy);
}

.tv-sec--days {
	background: var(--tile);
}

.tv-sec--offer {
	background: var(--white);
	color: var(--black);
}

.tv-page .tv-sec > h3:first-child,
.tv-page .tv-sec > h2:first-child {
	margin-top: 0;
}

.tv-page .tv-sec > h2 + h2 {
	margin-top: .15em;
}

/* Biely pás s ponukou: tmavý text */
.tv-page .tv-sec--offer p,
.tv-page .tv-sec--offer dd {
	color: #2b2b2b;
}

.tv-page .tv-sec--offer p strong,
.tv-page .tv-sec--offer .tv-term {
	color: var(--black);
}

.tv-page .tv-sec--offer .tv-term {
	border-color: rgba(0, 0, 0, .16);
}

.tv-page .tv-sec--offer p a:not(.btn) {
	color: var(--black);
}

.tv-sec--offer .tv-gallery {
	scrollbar-color: var(--black) #e9e9e9;
}

.tv-sec--offer .tv-gallery figcaption {
	color: #444;
}

.tv-sec--offer .btn {
	background: var(--black);
	color: var(--white);
}

.tv-sec--offer .btn:hover {
	background: var(--cyan);
	color: var(--black);
}

/* Cenový panel */
.tv-price {
	display: grid;
	justify-items: start;
	gap: 6px;
	padding: clamp(22px, 3.4vw, 40px);
	background: var(--cyan);
	color: var(--black);
}

.tv-page .tv-price h3 {
	margin: 0;
	font-size: clamp(1.1rem, 1.8vw, 1.5rem);
	font-weight: 300;
}

.tv-page .tv-price h2:not(.tv-display) {
	margin: 0;
	font-size: clamp(3.4rem, 9vw, 7.4rem);
	line-height: .9;
}

.tv-page .tv-price p {
	color: var(--black);
}

.tv-page .tv-price .tv-actions {
	margin-top: 14px;
}

/* Prehľad faktov */
.tv-facts {
	border-bottom: 1px solid currentColor;
}

.tv-facts > div {
	display: grid;
	grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
	gap: 6px clamp(16px, 3vw, 40px);
	padding: 18px 0;
	border-top: 1px solid currentColor;
}

.tv-facts,
.tv-facts > div {
	border-color: rgba(128, 128, 128, .35);
}

.tv-facts dt {
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	font-weight: 700;
	letter-spacing: -.02em;
}

.tv-facts dd {
	font-size: clamp(1.02rem, 1.3vw, 1.15rem);
	line-height: 1.6;
	color: var(--on-bg-soft);
}

.tv-facts dd a {
	text-decoration: underline;
	text-decoration-color: var(--cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* Itinerár ako časová os */
.tv-days {
	list-style: none;
	border-left: 2px solid var(--cyan);
	margin-left: 9px;
}

.tv-days li {
	position: relative;
	padding: 0 0 clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px);
}

.tv-days li:last-child {
	padding-bottom: 0;
}

.tv-days li::before {
	content: "";
	position: absolute;
	left: -10px;
	top: .35em;
	width: 18px;
	height: 18px;
	background: var(--cyan);
	border: 4px solid var(--tile);
	border-radius: 50%;
}

.tv-days h4 {
	font-size: clamp(1.5rem, 3.2vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.tv-page .tv-days p {
	margin-top: 10px;
}

/* Otázky a odpovede ako karty */
.tv-qa {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(12px, 2vw, 24px);
	margin-top: clamp(30px, 4vw, 54px);
}

.tv-qa > div {
	padding: clamp(20px, 2.6vw, 30px);
	border: 1px solid var(--on-bg-line);
	transition: border-color .3s, transform .4s var(--ease);
}

.tv-qa > div:hover {
	border-color: var(--magenta);
	transform: translateY(-4px);
}

.tv-page .tv-qa h3 {
	margin: 0 0 12px;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	color: var(--magenta);
}

.tv-sec--navy .tv-list li::before {
	color: var(--magenta);
}

/* Ľudia: sprievodcovia ako karty */
.tv-people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: clamp(14px, 2.4vw, 30px);
}

.tv-person .tv-figure--small {
	display: block;
	width: 100%;
	margin: 0 0 14px;
}

.tv-person img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter .5s, transform .7s var(--ease);
}

.tv-person:hover img {
	filter: none;
	transform: scale(1.03);
}

.tv-page .tv-person p {
	line-height: 1.35;
}

.tv-page .tv-person p strong {
	font-size: 1.25em;
	letter-spacing: -.03em;
}

.tv-people:has(> :only-child) {
	grid-template-columns: minmax(0, 220px);
}

/* Obrázok vedľa textu, strany sa striedajú */
.tv-split {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 72px);
	align-items: center;
}

.tv-split--flip > .tv-figure {
	order: 2;
}

.tv-split__text > * + * {
	margin-top: 1.3rem;
}

.tv-page .tv-split__text > h3:first-child {
	margin-top: 0;
}

.tv-split .tv-figure img {
	transition: transform 1s var(--ease);
}

.tv-split:hover .tv-figure img {
	transform: scale(1.03) rotate(-.6deg);
}

/* Široký obrázok ako pás cez celú šírku okna */
.tv-banner {
	margin: clamp(56px, 8vw, 110px) calc(50% - 50vw) 0;
	overflow: hidden;
}

.tv-banner img {
	width: 100%;
	max-height: 62vh;
	object-fit: cover;
}

.tv-quote + .tv-sec,
.tv-banner + .tv-sec {
	margin-top: clamp(50px, 7vw, 100px);
}

.tv-sec--navy + .tv-quote,
.tv-sec--offer + .tv-quote,
.tv-sec--days + .tv-quote,
.tv-sec--navy + .tv-banner,
.tv-sec--offer + .tv-banner,
.tv-sec--days + .tv-banner,
.tv-quote + .tv-banner,
.tv-banner + .tv-quote,
.tv-quote + .tv-sec--navy,
.tv-quote + .tv-sec--offer,
.tv-quote + .tv-sec--days,
.tv-banner + .tv-sec--navy,
.tv-banner + .tv-sec--offer,
.tv-banner + .tv-sec--days {
	margin-top: 0;
}

/* Recenzie: úvodná veta farebne, karta sa pri prejdení zdvihne */
.tv-review {
	border-top: 3px solid transparent;
	transition: border-color .3s, transform .4s var(--ease);
}

.tv-review:hover {
	border-top-color: var(--cyan);
	transform: translateY(-4px);
}

.tv-reviews .tv-review:nth-child(3n + 2):hover {
	border-top-color: var(--magenta);
}

.tv-reviews .tv-review:nth-child(3n):hover {
	border-top-color: var(--yellow);
}

/* Ukazovateľ čítania hore a prilepená lišta s cenou dole */
.tv-progress {
	position: fixed;
	z-index: 60;
	left: 0;
	top: 0;
	width: 100%;
	height: 4px;
	background: var(--rainbow);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}

.tv-cta {
	position: fixed;
	z-index: 40;
	left: 50%;
	bottom: clamp(12px, 2vw, 22px);
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 26px);
	max-width: calc(100vw - 24px);
	padding: 10px 10px 10px clamp(16px, 2.4vw, 28px);
	background: rgba(18, 18, 20, .92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border: 1px solid var(--on-bg-line);
	border-radius: 999px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
	transform: translate(-50%, 160%);
	transition: transform .5s var(--ease);
}

.tv-cta.is-on {
	transform: translate(-50%, 0);
}

.tv-cta__name {
	font-weight: 700;
	letter-spacing: -.03em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tv-cta__price {
	font-weight: 300;
	white-space: nowrap;
	color: var(--on-bg-soft);
}

.tv-cta .btn {
	flex: none;
	padding: 11px 20px;
	background: var(--cyan);
}

.tv-cta .btn:hover {
	background: var(--white);
}

@media (max-width: 760px) {
	.tv-split,
	.tv-facts > div {
		grid-template-columns: 1fr;
	}

	.tv-split--flip > .tv-figure {
		order: 0;
	}

	.tv-cta__price {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tv-sec--hero::before {
		animation: none;
	}
}

/* ==========================================================================
   Stránky verne podľa pôvodného dizajnu z tvorsi.com (rozloženie „tvo“):
   jedna sýta farba na celú stránku, obrovský čierny nadpis, úzky stĺpec textu,
   biele citáty vpravo, kreslené postavičky. Navyše pohyb a odkrývanie.
   ========================================================================== */

/* Farby stránok podľa originálov. --tvo-bg je farba stránky (farebné kapitoly, linky),
   --tvo-hero podklad úvodu, --tvo-hero-fg farba textu v úvode, --tvo-hero-accent zvýraznený riadok. */
.tv-theme-kreativita,
.tv-theme-rasto {
	--tvo-bg: #ffc400;
	--tvo-hero: #ffc400;
	--tvo-hero-fg: #000;
	--tvo-hero-accent: #fff;
	--tvo-color-fg: #000;
	--tvo-color-accent: #fff;
}

/* Výpravy: prechod z tyrkysovej cez modrú a fialovú do ružovej */
.tv-theme-upcycle-yourself,
.tv-theme-yourney {
	--tvo-bg: #7b3cff;
	--tvo-hero: linear-gradient(165deg, #2fd9ff 0%, #36a8ff 34%, #6a5cff 62%, #c93cff 84%, #ff3fd0 100%);
	--tvo-hero-fg: #000;
	--tvo-hero-accent: #ff00ec;
	--tvo-color-fg: #fff;
	--tvo-color-accent: #ffe600;
}

.tv-theme-yourney {
	--tvo-hero: linear-gradient(165deg, #1fb6ff 0%, #3a7bff 36%, #7a4cff 66%, #d43cff 100%);
	--tvo-hero-fg: #fff;
	--tvo-hero-accent: #ffe600;
}

/* Zámer (Growing Circle): čierna s fialovou */
.tv-theme-growing-circle {
	--tvo-bg: #9661f2;
	--tvo-hero: #000;
	--tvo-hero-fg: #fff;
	--tvo-hero-accent: #9661f2;
	--tvo-color-fg: #fff;
	--tvo-color-accent: #fff;
}

.is-longform:has(.tvo-hero) #content {
	padding-top: 0;
	background: var(--black);
}

.tv-page:has(.tvo-hero) {
	--tv-fg: #000;
	--on-bg-soft: #111;
	--on-bg-line: rgba(0, 0, 0, .22);
	max-width: var(--maxw);
	padding-top: 0;
	color: var(--tv-fg);
}

/* Úvod: farebný pás cez celú šírku až pod hlavičku. Nadpis a úvodný text vľavo,
   citát hore vpravo a kresba pod ním, vedľa nadpisu. */
.tvo-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(14px, 2.4vw, 34px) clamp(24px, 5vw, 80px);
	align-items: start;
	margin: 0 calc(50% - 50vw);
	padding: calc(var(--hh) + clamp(26px, 5vw, 70px)) max(var(--pad), calc(50vw - var(--maxw) / 2 + var(--pad))) clamp(50px, 8vw, 110px);
	background: var(--tvo-hero);
	color: var(--tvo-hero-fg);
}

.tvo-hero > * {
	grid-column: 1;
}

.tvo-hero:not(.tvo-hero--logo) > h1 {
	grid-row: 1 / span 2;
}

.tvo-hero:not(.tvo-hero--logo) > .tv-quote {
	grid-row: 1;
}

.tvo-hero:not(.tvo-hero--logo) > .tv-figure {
	grid-row: 2;
}

.tvo-hero:not(.tvo-hero--logo):not(:has(> .tv-quote)) > .tv-figure {
	grid-row: 1 / span 2;
	align-self: center;
}

/* Úvod s logom výpravy alebo fotkou namiesto nadpisu: jeden stĺpec */
.tvo-hero--logo {
	grid-template-columns: minmax(0, 1fr);
}

.tvo-hero.tvo-hero--logo > .tv-figure {
	grid-column: 1;
	max-width: 620px;
	margin-left: 0;
}

.tvo-hero > h1,
.tvo-hero > h2,
.tvo-hero > .tv-lead {
	grid-column: 1;
}

.tvo-hero > .tv-quote,
.tvo-hero > .tv-figure {
	grid-column: 2;
}

.tvo-hero > .tv-quote {
	align-self: start;
	padding-top: clamp(10px, 2vw, 30px);
}

.tvo-hero > .tv-figure {
	align-self: end;
	max-width: 440px;
	margin-left: auto;
}

.tvo-hero .tv-display {
	font-size: clamp(3.2rem, 8.8vw, 9rem);
	line-height: .88;
	color: var(--tvo-hero-fg);
}

/* Nadpis ako celá veta (bez pevných riadkov) je o niečo menší */
.tvo-hero .tv-display--long:not(:has(br)) {
	font-size: clamp(2.8rem, 6.6vw, 6.8rem);
	line-height: .94;
}

.tvo-hero .tv-accent {
	color: var(--tvo-hero-accent);
}

.tvo-hero .tv-display--long .tv-accent {
	display: block;
}

.tv-page:has(.tvo-hero) .tvo-hero > h2:not(.tv-display) {
	margin: 0;
	font-size: clamp(1.6rem, 3.4vw, 3rem);
	font-weight: 300;
	letter-spacing: -.045em;
	line-height: 1.02;
	color: var(--tvo-hero-fg);
}

.tv-page:has(.tvo-hero) .tvo-hero > h3 {
	margin: clamp(14px, 2vw, 26px) 0 0;
	color: var(--tvo-hero-fg);
}

.tv-page:has(.tvo-hero) .tvo-hero .tv-term {
	color: var(--tvo-hero-fg);
	border-color: color-mix(in srgb, var(--tvo-hero-fg) 30%, transparent);
}

.tv-page:has(.tvo-hero) .tvo-hero .tv-term a[href="#terminy"] {
	background: var(--black);
	color: var(--white);
}

.tv-page:has(.tvo-hero) .tv-lead {
	max-width: 17.5em;
	font-size: clamp(1.6rem, 3.5vw, 3.1rem);
	font-weight: 300;
	letter-spacing: -.035em;
	line-height: 1.32;
	color: var(--tvo-hero-fg);
}

.tv-page:has(.tvo-hero) .tv-lead strong {
	font-weight: 700;
	color: var(--tvo-hero-fg);
}

/* Rámček okolo slova sa „vyfarbí“ zľava doprava */
.tvo-hero .tag--white {
	padding: .02em .22em .06em;
	font-weight: 300;
	background: linear-gradient(var(--white), var(--white)) left / 100% 100% no-repeat;
	animation: tvoTag .9s .5s var(--ease) backwards;
}

@keyframes tvoTag {
	from { background-size: 0 100%; }
	to { background-size: 100% 100%; }
}

/* Citát: biely, ľahký, zarovnaný vpravo, autor čiernou */
.tv-page:has(.tvo-hero) .tv-quote {
	margin: 0;
	padding: 0;
	background: none;
	text-align: right;
}

.tv-page:has(.tvo-hero) .tv-quote p {
	max-width: none;
	margin-left: auto;
	font-size: clamp(1.5rem, 2.7vw, 2.5rem);
	font-weight: 300;
	letter-spacing: -.035em;
	line-height: 1.22;
	color: var(--white);
}

.tv-page:has(.tvo-hero) .tv-quote footer {
	margin-top: 12px;
	font-size: clamp(.95rem, 1.15vw, 1.1rem);
	line-height: 1.35;
	color: var(--tvo-hero-fg);
}

/* Kreslené postavičky sa jemne pohupujú */
.tvo-hero .tv-figure img {
	animation: tvoBob 5.5s ease-in-out infinite;
	transform-origin: 50% 100%;
}

@keyframes tvoBob {
	0%, 100% { transform: translateY(0) rotate(-1.2deg); }
	50% { transform: translateY(-10px) rotate(1.2deg); }
}

/* Kapitoly: pevná mriežka (vľavo číslo a nadpis, vpravo text), pozadia sa striedajú */
.tv-page:has(.tvo-hero) {
	padding-bottom: 0;
	counter-reset: kapitola;
}

.tvo-ch {
	--ch-bg: var(--white);
	--ch-fg: #000;
	--ch-soft: #2e2e2e;
	--ch-accent: var(--tvo-bg);
	--ch-quote: #000;
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(20px, 5vw, 80px);
	align-items: start;
	margin: 0 calc(50% - 50vw);
	padding: clamp(60px, 9vw, 130px) max(var(--pad), calc(50vw - var(--maxw) / 2 + var(--pad)));
	background: var(--ch-bg);
	color: var(--ch-fg);
	counter-increment: kapitola;
}

.tvo-ch--dark {
	--ch-bg: var(--black);
	--ch-fg: var(--white);
	--ch-soft: rgba(255, 255, 255, .8);
	--ch-quote: var(--tvo-bg);
}

.tvo-ch--color {
	--ch-bg: var(--tvo-bg);
	--ch-fg: var(--tvo-color-fg);
	--ch-soft: color-mix(in srgb, var(--tvo-color-fg) 88%, transparent);
	--ch-accent: var(--tvo-color-accent);
	--ch-quote: var(--tvo-color-accent);
}

/* Súčasti z ostatných dlhých stránok (zoznam, fakty, itinerár, karty, recenzie) berú farby kapitoly */
.tvo-ch {
	--tv-fg: var(--ch-fg);
	--on-bg-soft: var(--ch-soft);
	--on-bg-line: color-mix(in srgb, var(--ch-fg) 22%, transparent);
	--tile: color-mix(in srgb, var(--ch-fg) 7%, var(--ch-bg));
}

/* Kapitola s recenziami: nadpis hore, recenzie cez celú šírku */
.tvo-ch--wide {
	grid-template-columns: minmax(0, 1fr);
}

.tvo-ch--wide .tvo-ch__head {
	position: static;
}

.tvo-ch--wide .tv-reviews {
	columns: 3 300px;
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-term,
.tv-page:has(.tvo-hero) .tvo-ch .tv-review .tv-review__lead,
.tv-page:has(.tvo-hero) .tvo-ch .tv-lead {
	color: var(--ch-fg);
}

.tv-page:has(.tvo-hero) .tvo-ch__body h3 {
	color: var(--ch-fg);
}

.tvo-ch .tv-list {
	grid-template-columns: minmax(0, 1fr);
}

.tvo-ch .tv-list li::before {
	color: var(--ch-accent);
}

.tvo-ch--white .tv-list li::before {
	color: var(--ch-fg);
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-qa h3 {
	color: var(--ch-fg);
}

.tvo-ch .tv-qa > div:hover {
	border-color: var(--ch-accent);
}

.tvo-ch .tv-price {
	background: var(--ch-fg);
	color: var(--ch-bg);
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-price h3,
.tv-page:has(.tvo-hero) .tvo-ch .tv-price p {
	color: var(--ch-bg);
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-price h2:not(.tv-display) {
	color: var(--ch-bg);
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-price .btn {
	background: var(--ch-bg);
	color: var(--ch-fg);
}

.tvo-ch .tv-days {
	border-left-color: var(--ch-accent);
}

.tvo-ch--white .tv-days {
	border-left-color: var(--ch-fg);
}

.tvo-ch .tv-days li::before {
	background: var(--ch-accent);
	border-color: var(--ch-bg);
}

.tvo-ch--white .tv-days li::before {
	background: var(--ch-fg);
}

.tvo-ch .tv-facts dd a {
	text-decoration-color: var(--ch-accent);
}

.tvo-ch .tv-person img {
	filter: none;
}

.tvo-ch .tv-review footer b {
	color: var(--ch-fg);
}

.tvo-ch .tv-review:hover,
.tvo-ch .tv-reviews .tv-review:nth-child(n):hover {
	border-top-color: var(--ch-accent);
}

.tvo-ch--white .tv-review:hover,
.tvo-ch--white .tv-reviews .tv-review:nth-child(n):hover {
	border-top-color: var(--ch-fg);
}

.tvo-ch .tv-gallery {
	margin-right: 0;
	padding-right: 0;
	scrollbar-color: var(--ch-fg) var(--tile);
}

.tvo-ch .tv-gallery figure {
	flex-basis: min(78vw, 460px);
}

.tvo-ch .tv-banner {
	margin: 0;
}

.tvo-ch .tv-banner img {
	max-height: none;
}

.tv-page:has(.tvo-hero) .tvo-ch .btn {
	background: var(--ch-fg);
	color: var(--ch-bg);
}

.tv-page:has(.tvo-hero) .tvo-ch .btn:hover {
	background: var(--ch-accent);
	color: var(--black);
}

.tv-page:has(.tvo-hero) .tvo-ch--white .btn:hover {
	background: var(--tvo-bg);
}

/* Dve recenzie: dve rovnako vysoké karty cez celú šírku, podpis vždy naspodku */
.tvo-ch .tv-reviews:has(> .tv-review:nth-child(2):last-child) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
	columns: auto;
}

.tvo-ch .tv-reviews:has(> .tv-review:nth-child(2):last-child) .tv-review {
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
}

.tvo-ch .tv-reviews:has(> .tv-review:nth-child(2):last-child) .tv-review__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.tvo-ch .tv-reviews:has(> .tv-review:nth-child(2):last-child) .tv-review footer {
	margin-top: auto;
}

.tvo-ch .tv-actions + .tv-reviews {
	margin-top: clamp(40px, 5vw, 72px);
}

@media (max-width: 860px) {
	.tvo-ch .tv-reviews:has(> .tv-review:nth-child(2):last-child) {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Široký fotopás medzi kapitolami ide cez celú šírku okna */
.tv-page:has(.tvo-hero) > .tv-banner {
	margin: 0 calc(50% - 50vw);
	overflow: hidden;
	background: var(--black);
}

.tv-page:has(.tvo-hero) > .tv-banner img {
	display: block;
	width: 100%;
	max-height: 72vh;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}

.tv-page:has(.tvo-hero) > .tv-banner:hover img {
	transform: scale(1.03);
}

/* Otázky v kapitole: pod sebou v riadkoch, otázka vľavo a odpoveď vpravo */
.tvo-ch .tv-qa {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	border-bottom: 1px solid var(--on-bg-line);
}

.tvo-ch .tv-qa > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 10px clamp(16px, 3vw, 40px);
	align-items: baseline;
	padding: clamp(16px, 2vw, 24px) 0;
	border: 0;
	border-top: 1px solid var(--on-bg-line);
}

.tvo-ch .tv-qa > div:hover {
	transform: none;
}

.tv-page:has(.tvo-hero) .tvo-ch .tv-qa h3 {
	margin: 0;
}

@media (max-width: 860px) {
	.tvo-ch .tv-qa > div {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Prihláška na výpravu: pás v farbe úvodu s bielou kartou */
.tv-page:has(.tvo-hero) .tv-signup {
	margin: 0 calc(50% - 50vw);
	padding: clamp(60px, 9vw, 130px) max(var(--pad), calc(50vw - var(--maxw) / 2 + var(--pad)));
	background: var(--tvo-hero);
}

.tv-page:has(.tvo-hero) .tv-signup .ctv-expedition {
	padding: clamp(22px, 3.4vw, 44px);
	background: var(--white);
}

/* Ľavý stĺpec: veľké číslo kapitoly a nadpis, pri čítaní ostáva na očiach */
.tvo-ch__head {
	position: sticky;
	top: calc(var(--hh) + 24px);
}

.tvo-ch__head::before {
	content: counter(kapitola, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--ch-accent);
}

.tvo-ch--white .tvo-ch__head::before {
	color: var(--ch-fg);
}

.tvo-ch__head::after {
	content: "";
	display: block;
	width: 64px;
	height: 6px;
	margin-top: 22px;
	background: var(--ch-accent);
}

.tv-page:has(.tvo-hero) .tvo-ch__head h1 + .tvo-sub,
.tv-page:has(.tvo-hero) .tvo-ch__head h1 + h2,
.tv-page:has(.tvo-hero) .tvo-ch__head h2 + h2:not(.tv-display),
.tv-page:has(.tvo-hero) .tvo-ch__head h2 + h2.tv-display {
	margin-top: .2em;
}

.tv-page:has(.tvo-hero) .tvo-ch__head h1,
.tv-page:has(.tvo-hero) .tvo-ch__head h2,
.tv-page:has(.tvo-hero) .tvo-ch__head h3,
.tv-page:has(.tvo-hero) .tvo-ch__head .tvo-sub {
	margin: 0;
	max-width: 11em;
	font-size: clamp(1.9rem, 3.6vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -.05em;
	line-height: 1.02;
	color: var(--ch-fg);
}

/* Tabuľka dvojíc „nemožné na možné“: veľké slová v riadkoch, medzi nimi „na“ v krúžku */
.tvo-pairs {
	max-width: 40em;
	margin-top: clamp(22px, 3vw, 40px);
	list-style: none;
	border-bottom: 2px solid var(--ch-fg);
}

.tvo-pairs li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(10px, 2vw, 26px);
	padding: clamp(12px, 1.6vw, 20px) 0;
	border-top: 2px solid var(--ch-fg);
	font-size: clamp(1.25rem, 2.6vw, 2.2rem);
	letter-spacing: -.045em;
	line-height: 1.05;
}

.tvo-pairs b {
	font-weight: 700;
}

/* ľavé slovo je to „staré“ (tlmené), pravé to nové (plné) */
.tvo-pairs b:first-child {
	color: color-mix(in srgb, var(--ch-fg) 45%, transparent);
}

/* medzi slovami je šípka v žltom krúžku; slovo „na“ ostáva v texte pre čítačky obrazovky */
.tvo-pairs i {
	position: relative;
	display: block;
	width: clamp(40px, 4.4vw, 60px);
	height: clamp(40px, 4.4vw, 60px);
	background: var(--tvo-bg);
	border-radius: 50%;
	overflow: hidden;
	font-size: 0;
	font-style: normal;
}

.tvo-pairs i::before,
.tvo-pairs i::after {
	content: "";
	position: absolute;
	top: 50%;
	background: var(--black);
}

/* driek šípky */
.tvo-pairs i::before {
	left: 26%;
	width: 46%;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 2px;
}

/* hrot šípky */
.tvo-pairs i::after {
	right: 26%;
	width: 24%;
	height: 24%;
	margin-top: -12%;
	background: none;
	border-top: 3px solid var(--black);
	border-right: 3px solid var(--black);
	transform: rotate(45deg);
	transform-origin: 100% 0;
	translate: 0 50%;
}

.tvo-pairs li:hover i::before,
.tvo-pairs li:hover i::after {
	animation: tvoArrow .7s var(--ease);
}

@keyframes tvoArrow {
	0% { left: 26%; opacity: 1; }
	45% { left: 110%; opacity: 0; }
	46% { left: -60%; opacity: 0; }
	100% { left: 26%; opacity: 1; }
}

/* riadky naskakujú po jednom, keď tabuľka príde na obrazovku */
.js .tvo-pairs.reveal {
	opacity: 1;
	transform: none;
}

.js .tvo-pairs.reveal li {
	opacity: 0;
	transform: translateX(-24px);
	transition: opacity .6s var(--ease), transform .7s var(--ease);
}

.js .tvo-pairs.reveal.is-in li {
	opacity: 1;
	transform: none;
}

.tvo-pairs li:nth-child(2) { transition-delay: .08s; }
.tvo-pairs li:nth-child(3) { transition-delay: .16s; }
.tvo-pairs li:nth-child(4) { transition-delay: .24s; }
.tvo-pairs li:nth-child(5) { transition-delay: .32s; }
.tvo-pairs li:nth-child(6) { transition-delay: .40s; }
.tvo-pairs li:nth-child(7) { transition-delay: .48s; }
.tvo-pairs li:nth-child(8) { transition-delay: .56s; }

/* Kapitola bez nadpisu: v ľavom stĺpci je obrázok na farebnom podklade */
.tvo-ch--figure .tvo-ch__head::after {
	display: none;
}

.tvo-ch--figure .tvo-ch__head .tv-figure {
	max-width: 420px;
	padding: clamp(16px, 2.4vw, 30px);
	background: var(--tvo-bg);
}

.tvo-ch--figure .tvo-ch__head .tv-figure img {
	animation: none;
}

@media (max-width: 860px) {
	/* na mobile ide obrázok až za text, ktorý ho uvádza */
	.tvo-ch--figure .tvo-ch__head {
		order: 2;
	}

	.tvo-ch--figure .tvo-ch__head::before {
		display: none;
	}
}

/* Zvýraznené slovo v nadpise kapitoly je v rámčeku ako na pôvodnom webe */
.tv-page:has(.tvo-hero) .tvo-ch__head strong {
	padding: 0 .16em .04em;
	background: var(--ch-fg);
	color: var(--ch-bg);
}

/* Pravý stĺpec: text s jednotným rytmom */
.tvo-ch__body > * + * {
	margin-top: 1.4rem;
}

.tv-page:has(.tvo-hero) .tvo-ch__body p {
	max-width: 40em;
	font-size: clamp(1.06rem, 1.3vw, 1.2rem);
	line-height: 1.68;
	color: var(--ch-soft);
}

.tv-page:has(.tvo-hero) .tvo-ch__body p strong {
	color: var(--ch-fg);
}

.tv-page:has(.tvo-hero) .tvo-ch__body p a:not(.btn) {
	color: var(--ch-fg);
	text-decoration-color: var(--ch-accent);
}

.tv-page:has(.tvo-hero) .tvo-ch__body p a:not(.btn):hover {
	color: var(--ch-accent);
}

.tvo-ch__body .tv-figure {
	max-width: 520px;
}

/* Citát v texte: vždy rovnaký, s farebnou linkou vľavo */
.tv-page:has(.tvo-hero) .tvo-ch__body .tv-quote {
	margin: clamp(30px, 4vw, 52px) 0;
	padding: 4px 0 4px clamp(18px, 2.4vw, 32px);
	border-left: 6px solid var(--ch-accent);
	text-align: left;
}

.tv-page:has(.tvo-hero) .tvo-ch__body .tv-quote p {
	max-width: 19em;
	margin-left: 0;
	font-size: clamp(1.5rem, 2.8vw, 2.5rem);
	font-weight: 300;
	letter-spacing: -.035em;
	line-height: 1.18;
	color: var(--ch-quote);
}

.tv-page:has(.tvo-hero) .tvo-ch__body .tv-quote footer {
	color: var(--ch-soft);
}

.tv-page:has(.tvo-hero) .tvo-ch__body .tv-quote footer b {
	color: var(--ch-fg);
}

.tvo-ch--white .tvo-ch__body .tv-quote {
	border-left-color: var(--tvo-bg);
}

.tv-page:has(.tvo-hero) .tvo-ch--dark .btn {
	background: var(--tvo-bg);
	color: var(--black);
}

.tv-page:has(.tvo-hero) .tvo-ch--dark .btn:hover {
	background: var(--white);
}

@media (max-width: 860px) {
	.tvo-hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.tvo-hero > .tv-quote,
	.tvo-hero > .tv-figure,
	.tvo-hero:not(.tvo-hero--logo) > h1,
	.tvo-hero:not(.tvo-hero--logo) > .tv-quote,
	.tvo-hero:not(.tvo-hero--logo) > .tv-figure,
	.tvo-hero:not(.tvo-hero--logo):not(:has(> .tv-quote)) > .tv-figure {
		grid-column: 1;
		grid-row: auto;
	}

	.tvo-hero > .tv-figure {
		max-width: 300px;
		margin-left: 0;
	}

	.tvo-ch--wide .tv-reviews {
		columns: 1;
	}

	.tvo-ch {
		grid-template-columns: minmax(0, 1fr);
	}

	.tvo-ch__head {
		position: static;
	}

	.tv-page:has(.tvo-hero) .tv-quote {
		text-align: left;
	}

	.tv-page:has(.tvo-hero) .tv-quote p {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tvo-hero .tv-figure img,
	.tvo-hero .tag--white {
		animation: none;
	}
}

/* ==========================================================================
   Zámer (Growing Circle) podľa originálu: planéta ako pozadie celého úvodu,
   veta v bielom rámčeku a fialových pásoch, obrovský biely nadpis, text vpravo.
   Celá stránka je čierna, ponuka pre firmy vo fialovom páse.
   ========================================================================== */

.tv-theme-growing-circle .tvo-hero {
	position: relative;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: end;
	min-height: min(100svh, 980px);
	overflow: hidden;
}

/* fotka planéty vypĺňa úvod a pomaly sa otáča okolo stredu */
.tv-theme-growing-circle .tvo-hero.tvo-hero--logo > .tv-figure {
	position: absolute;
	z-index: 0;
	inset: 0;
	max-width: none;
	margin: 0;
}

.tv-theme-growing-circle .tvo-hero > .tv-figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
	animation: tvoPlanet 40s ease-in-out infinite alternate;
}

@keyframes tvoPlanet {
	from { transform: scale(1.02); }
	to { transform: scale(1.14) rotate(3deg); }
}

.tv-theme-growing-circle .tvo-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 0;
	background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .78) 12%, rgba(0, 0, 0, .15) 48%, rgba(0, 0, 0, .7) 88%, #000 100%), linear-gradient(#000 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 60%, #000 100%);
	pointer-events: none;
}

.tv-theme-growing-circle .tvo-hero > :not(.tv-figure) {
	position: relative;
	z-index: 1;
}

.tv-theme-growing-circle .tvo-hero > h2,
.tv-theme-growing-circle .tvo-hero > h1 {
	grid-column: 1;
}

.tv-theme-growing-circle .tvo-hero > .tv-lead {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: end;
	max-width: 20em;
	font-size: clamp(1.25rem, 2vw, 1.9rem);
	line-height: 1.3;
}

.tv-theme-growing-circle .tvo-hero > h2 {
	grid-row: 1;
	align-self: end;
}

.tv-theme-growing-circle .tvo-hero > h1 {
	grid-row: 2;
	font-size: clamp(3.6rem, 10.6vw, 10.5rem);
	line-height: .84;
}

/* Úvodná veta: bez pásov. Prvý riadok tučne, ďalšie tenkým písmom, vľavo fialová linka. */
.tv-page:has(.tvo-hero) .tvo-hero > h2.tvo-bars {
	padding-left: clamp(14px, 1.6vw, 22px);
	border-left: 5px solid var(--tvo-bg);
	font-size: clamp(1.3rem, 2.5vw, 2.3rem);
	font-weight: 300;
	letter-spacing: -.035em;
	line-height: 1.16;
	color: var(--white);
}

.tvo-bars span:first-child {
	font-weight: 700;
}

/* Kapitoly sú všetky čierne, oddeľuje ich tenká linka; rámček v nadpise je biely */
.tvo-ch--dark + .tvo-ch--dark {
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.tv-theme-growing-circle .tvo-ch--dark {
	--ch-accent: var(--tvo-bg);
	--ch-quote: var(--tvo-bg);
}

/* Ponuka pre firmy ako predajný blok: malý nadpis, obrovská ponuka cez celú šírku,
   pod ňou text s výrazným tlačidlom a biela karta s kontaktom pre učiteľov. */
.tvo-ch--offer .tvo-ch__head::after {
	display: none;
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-ch__head h2:first-child {
	max-width: none;
	font-size: clamp(1.15rem, 1.8vw, 1.6rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-ch__head h2 + h2 {
	max-width: none;
	margin-top: clamp(14px, 2vw, 26px);
	font-size: clamp(2.7rem, 8.6vw, 8rem);
	font-weight: 700;
	letter-spacing: var(--tight);
	line-height: .92;
}

/* „zdarma“ ako nálepka */
.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-ch__head h2 strong {
	display: inline-block;
	padding: .04em .2em .1em;
	background: var(--yellow);
	color: var(--black);
	transform: rotate(-3deg);
	transition: transform .5s var(--ease);
}

.tvo-ch--offer:hover .tvo-ch__head h2 strong {
	transform: rotate(2deg) scale(1.05);
}

.tvo-ch--offer .tvo-ch__body {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(26px, 5vw, 80px);
	align-items: start;
	margin-top: clamp(20px, 3vw, 44px);
	padding-top: clamp(26px, 4vw, 54px);
	border-top: 2px solid rgba(255, 255, 255, .5);
}

.tvo-ch--offer .tvo-ch__body > * + * {
	margin-top: 0;
}

.tvo-offer__main > * + * {
	margin-top: 1.4rem;
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__main p {
	font-size: clamp(1.1rem, 1.45vw, 1.3rem);
	line-height: 1.6;
	color: var(--white);
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__main .btn {
	margin-top: 10px;
	padding: 18px 34px;
	background: var(--yellow);
	color: var(--black);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__main .btn:hover {
	background: var(--white);
}

.tvo-offer__side {
	position: sticky;
	top: calc(var(--hh) + 24px);
	padding: clamp(24px, 3.4vw, 44px);
	background: var(--white);
	color: var(--black);
	box-shadow: 14px 14px 0 rgba(0, 0, 0, .22);
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__side p {
	font-size: clamp(1.1rem, 1.5vw, 1.35rem);
	letter-spacing: -.02em;
	line-height: 1.4;
	color: var(--black);
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__side p strong {
	color: var(--black);
}

.tv-page:has(.tvo-hero) .tvo-ch--offer .tvo-offer__side p a:not(.btn) {
	color: var(--tvo-bg);
	text-decoration-color: var(--tvo-bg);
}

@media (max-width: 860px) {
	.tvo-ch--offer .tvo-ch__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.tvo-offer__side {
		position: static;
	}
}

@media (max-width: 860px) {
	.tv-theme-growing-circle .tvo-hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 88svh;
	}

	.tv-theme-growing-circle .tvo-hero > .tv-lead,
	.tv-theme-growing-circle .tvo-hero > h2,
	.tv-theme-growing-circle .tvo-hero > h1 {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tv-theme-growing-circle .tvo-hero > .tv-figure img {
		animation: none;
	}
}
