/* ==========================================================================
   Час відпочивати — основні стилі
   ========================================================================== */

:root {
	--sea: #0E3B43;
	--sea-2: #155561;
	--sea-3: #1D6B78;
	--coral: #F2643D;
	--coral-ink: #B83E1A;
	--sun: #FFC24B;
	--sky: #A8DADC;
	--sand: #F6EFE4;
	--paper: #FBF8F3;
	--card: #FFFFFF;
	--ink: #14201F;
	--muted: #56645F;
	--line: #E7DDCC;
	--radius: 22px;
	--shadow: 0 1px 0 rgba(20, 32, 31, .04), 0 18px 40px -22px rgba(14, 59, 67, .35);
	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.cv-main { overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cv-skip:focus { clip: auto; width: auto; height: auto; left: 12px; top: 12px; z-index: 1000; padding: 10px 16px; background: var(--sun); color: var(--ink); border-radius: 10px; }

.cv-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.cv-container--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Кнопки, плашки ---------- */

.cv-btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: 15px 26px; border: 0; border-radius: 999px;
	font: 700 16px/1 var(--font-body); cursor: pointer; white-space: nowrap;
	transition: transform .2s ease, background-color .2s, color .2s, box-shadow .2s;
}
.cv-btn:hover { transform: translateY(-2px); }
.cv-btn--accent { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 100, 61, .8); }
.cv-btn--accent:hover { background: var(--coral-ink); color: #fff; }
.cv-btn--sea { background: var(--sea); color: #fff; }
.cv-btn--sea:hover { background: var(--sea-2); color: var(--sun); }

.cv-chip {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
	color: var(--coral-ink); line-height: 1.2; min-height: 24px; padding: 4px 0;
}
.cv-chip::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
a.cv-chip:hover { color: var(--sea); }

.cv-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-3);
}
.cv-kicker::before { content: ""; width: 34px; height: 2px; background: var(--coral); border-radius: 2px; }

.cv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cv-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

.cv-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.cv-link-arrow span { transition: transform .2s; }
.cv-link-arrow:hover span { transform: translateX(4px); }

/* ---------- Шапка ---------- */

.cv-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 239, 228, .9);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(14, 59, 67, .08);
	transition: box-shadow .25s;
}
.admin-bar .cv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cv-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .cv-header { top: 0; } }
.cv-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(14, 59, 67, .45); }
.cv-header__inner { display: flex; align-items: center; gap: 24px; min-height: 74px; }

.cv-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sea); flex-shrink: 0; }
.cv-brand:hover { color: var(--sea); }
.cv-brand__mark { width: 40px; height: 40px; }
.cv-brand__name { font: 800 22px/1 var(--font-display); letter-spacing: -0.01em; }
.cv-brand--logo img { max-height: 46px; width: auto; }
.cv-brand--light, .cv-brand--light:hover { color: #fff; }

.cv-nav { margin-left: auto; }
.cv-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.cv-menu a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--sea); transition: background-color .2s, color .2s; }
.cv-menu a:hover, .cv-menu .current-menu-item > a, .cv-menu .current-menu-parent > a { background: rgba(14, 59, 67, .07); color: var(--coral-ink); }
.cv-menu li { position: relative; }
.cv-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; margin: 8px 0 0; padding: 8px; list-style: none;
	background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.cv-menu li:hover > .sub-menu, .cv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.cv-header__actions { display: flex; gap: 6px; }
.cv-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(14, 59, 67, .07); color: var(--sea); cursor: pointer; transition: background-color .2s, color .2s; }
.cv-icon-btn:hover { background: var(--sea); color: var(--sun); }
.cv-burger { display: none; }
.cv-burger__lines, .cv-burger__lines::before, .cv-burger__lines::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, background-color .25s; }
.cv-burger__lines { position: relative; }
.cv-burger__lines::before, .cv-burger__lines::after { content: ""; position: absolute; left: 0; }
.cv-burger__lines::before { top: -6px; }
.cv-burger__lines::after { top: 6px; }
.cv-burger[aria-expanded="true"] .cv-burger__lines { background: transparent; }
.cv-burger[aria-expanded="true"] .cv-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.cv-burger[aria-expanded="true"] .cv-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }
.cv-search-panel { padding: 16px 0 22px; border-top: 1px solid rgba(14, 59, 67, .08); }

.cv-searchform { display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); }
.cv-searchform input[type="search"] { flex: 1; min-width: 0; padding: 12px 18px; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--font-body); }
.cv-searchform input[type="search"]:focus { outline: none; }
.cv-searchform:focus-within { box-shadow: 0 0 0 3px rgba(242, 100, 61, .35), var(--shadow); }
.cv-searchform .cv-btn { padding: 13px 22px; }

@media (max-width: 960px) {
	.cv-burger { display: inline-grid; }
	.cv-nav {
		position: fixed; inset: 74px 0 auto 0; max-height: calc(100vh - 74px); overflow-y: auto;
		padding: 12px var(--gutter) 28px; background: var(--sand); border-bottom: 1px solid var(--line);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .cv-nav { top: calc(74px + 46px); }
	.cv-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.cv-menu { flex-direction: column; align-items: stretch; }
	.cv-menu a { padding: 14px 16px; font-size: 19px; font-family: var(--font-display); }
	.cv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; margin: 0 0 0 14px; padding: 0; box-shadow: none; background: transparent; }
	.cv-header__actions { margin-left: auto; }
}

/* ---------- Hero ---------- */

.cv-hero {
	position: relative; isolation: isolate; overflow: hidden;
	background: linear-gradient(180deg, var(--sand) 0%, #F9E6CF 100%);
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.cv-hero__path { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(14, 59, 67, .35); z-index: -1; }
.cv-hero__sun {
	position: absolute; z-index: -2; right: -120px; top: -160px; width: 620px; height: 620px; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #FFD27A 0%, var(--sun) 38%, rgba(255, 194, 75, 0) 70%);
	opacity: .8;
}
.cv-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: -1;
	background: var(--paper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q180 0 360 30 T720 30 T1080 26 T1440 34 V60 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q180 0 360 30 T720 30 T1080 26 T1440 34 V60 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.cv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.cv-hero__title {
	font-size: clamp(42px, 6.4vw, 88px); font-weight: 900; line-height: .98; letter-spacing: -0.03em;
	color: var(--sea); margin: 0 0 24px; text-wrap: balance;
}
.cv-hero__title em { font-style: italic; font-weight: 700; color: var(--coral-ink); }
.cv-hero__text { max-width: 560px; margin: 0 0 30px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.cv-hero__search { max-width: 560px; }
.cv-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cv-hero__tags a { padding: 8px 15px; border: 1.5px solid rgba(14, 59, 67, .18); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sea); background: rgba(255, 255, 255, .5); transition: all .2s; }
.cv-hero__tags a:hover { background: var(--sea); border-color: var(--sea); color: #fff; }

/* Посадковий талон */
.cv-pass {
	position: relative; display: grid; grid-template-columns: 1fr 92px;
	background: var(--card); border-radius: 26px; box-shadow: 0 40px 70px -30px rgba(14, 59, 67, .55);
	transform: rotate(2deg); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.cv-pass:hover { transform: rotate(0) translateY(-6px); }
.cv-pass__media { grid-column: 1 / -1; position: relative; display: block; }
.cv-pass__media .cv-thumb { aspect-ratio: 16 / 9; border-radius: 26px 26px 0 0; }
.cv-pass__badge { position: absolute; left: 18px; top: 18px; padding: 7px 13px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cv-pass__body { padding: 22px 24px 24px; border-right: 2px dashed var(--line); position: relative; }
.cv-pass__body::before, .cv-pass__body::after {
	content: ""; position: absolute; right: -14px; width: 26px; height: 26px; border-radius: 50%; background: #F9E6CF;
}
.cv-pass__body::before { top: -13px; }
.cv-pass__body::after { bottom: -13px; }
.cv-pass__route { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--sea); }
.cv-pass__route small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cv-pass__route b { font: 800 18px/1.1 var(--font-display); }
.cv-pass__route svg { width: 26px; height: 26px; flex: 0 0 26px; color: var(--coral); transform: scaleX(-1); }
.cv-pass__route .is-end { text-align: right; margin-left: auto; }
.cv-pass__route::after { display: none; }
.cv-pass__title { font-size: clamp(20px, 1.9vw, 25px); margin: 0 0 16px; }
.cv-pass__title a:hover { color: var(--coral-ink); }
.cv-pass__info { display: flex; gap: 22px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.cv-pass__info dt { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cv-pass__info dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; color: var(--sea); }
.cv-pass__stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0; }
.cv-pass__barcode { width: 34px; flex: 1; min-height: 110px; background: repeating-linear-gradient(180deg, var(--sea) 0 3px, transparent 3px 5px, var(--sea) 5px 6px, transparent 6px 9px, var(--sea) 9px 13px, transparent 13px 15px); border-radius: 2px; }
.cv-pass__go { writing-mode: vertical-rl; transform: rotate(180deg); margin-top: 16px; font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-ink); }

@media (max-width: 900px) {
	.cv-hero__grid { grid-template-columns: 1fr; }
	.cv-pass { transform: none; max-width: 540px; }
	.cv-hero__sun { width: 420px; height: 420px; right: -160px; top: -140px; }
}
@media (max-width: 480px) {
	.cv-pass { grid-template-columns: 1fr 64px; }
	.cv-pass__info { gap: 14px; flex-wrap: wrap; }
}

/* ---------- Секції ---------- */

.cv-section { padding: clamp(56px, 8vw, 104px) 0; }
.cv-section--tight { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.cv-section--soft { background: var(--sand); }
.cv-section--sea { background: var(--sea); color: #fff; position: relative; overflow: hidden; }
.cv-section--sea::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(168, 218, 220, .18), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(242, 100, 61, .16), transparent 70%); pointer-events: none; }
.cv-section--postcards { padding-bottom: clamp(40px, 6vw, 72px); }

.cv-section-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 24px; margin-bottom: clamp(26px, 4vw, 44px); }
.cv-section-head__num { flex-basis: 100%; font: italic 700 18px/1 var(--font-display); color: var(--coral-ink); }
.cv-section--sea .cv-section-head__num { color: var(--sun); }
.cv-section-head__title { margin: 0; font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; letter-spacing: -0.025em; color: var(--sea); }
.cv-section--sea .cv-section-head__title { color: #fff; }
.cv-section-head .cv-link-arrow { margin-left: auto; color: var(--sea); }
.cv-section--sea .cv-section-head .cv-link-arrow { color: var(--sun); }

/* ---------- Обкладинки ---------- */

.cv-thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky); aspect-ratio: 3 / 2; }
.cv-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cv-card:hover .cv-thumb img, .cv-pass:hover .cv-thumb img, .cv-postcard:hover .cv-thumb img, .cv-route__stop:hover .cv-thumb img { transform: scale(1.06); }
.cv-thumb__empty { position: absolute; inset: 0; background: var(--cv-bg, linear-gradient(180deg, #A8DADC, #F6EFE4)); }
.cv-thumb__empty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-thumb__empty span { position: absolute; left: 18px; bottom: 12px; font: italic 900 46px/1 var(--font-display); color: rgba(255, 255, 255, .92); }
.cv-thumb__empty--1 { --cv-bg: linear-gradient(180deg, #F9C9A8, #F6EFE4); }
.cv-thumb__empty--2 { --cv-bg: linear-gradient(180deg, #FFD98A, #F9E6CF); }
.cv-thumb__empty--3 { --cv-bg: linear-gradient(180deg, #7FC4C9, #DDEFEF); }

/* ---------- Листівки ---------- */

.cv-postcards {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 26px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: var(--gutter);
	padding: 14px max(var(--gutter), calc((100vw - var(--container)) / 2)) 30px;
	scrollbar-width: thin; scrollbar-color: var(--sea-3) transparent;
}
.cv-postcard {
	scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
	padding: 12px 12px 18px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.cv-postcard:nth-child(odd) { transform: rotate(-1.4deg); }
.cv-postcard:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.cv-postcard:hover { transform: rotate(0) translateY(-6px); }
.cv-postcard .cv-thumb { aspect-ratio: 4 / 5; border-radius: 12px; }
.cv-postcard__body { padding: 0 6px; display: flex; flex-direction: column; gap: 8px; }
.cv-postcard__title { margin: 0; font-size: 19px; line-height: 1.22; }

/* ---------- Штампи рубрик ---------- */

.cv-stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.cv-stamp {
	--c: var(--sea);
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	min-height: 170px; padding: 20px 14px; text-align: center; color: var(--c);
	border: 3px solid currentColor; border-radius: 18px; outline: 1.5px dashed currentColor; outline-offset: -10px;
	background: rgba(255, 255, 255, .55); transition: transform .3s, background-color .3s, color .3s;
}
.cv-stamp--1 { --c: var(--coral-ink); transform: rotate(-3deg); border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.cv-stamp--2 { --c: #1F6F5C; transform: rotate(2.5deg); }
.cv-stamp--3 { --c: #6B4BA1; transform: rotate(-1.5deg); border-radius: 50%; aspect-ratio: 1; min-height: 0; }
.cv-stamp--4 { --c: #9A6A00; transform: rotate(3deg); }
.cv-stamp:hover { transform: rotate(0) scale(1.04); background: var(--c); color: #fff; }
.cv-stamp:hover .cv-stamp__name { color: #fff; }
.cv-stamp__top, .cv-stamp__bottom { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cv-stamp__name { font: 900 clamp(18px, 1.7vw, 22px)/1.1 var(--font-display); color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 1000px) { .cv-stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cv-stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Картки ---------- */

.cv-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cv-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.cv-card__title { margin: 0; font-size: 22px; line-height: 1.2; }
.cv-card__title a { background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat; transition: background-size .3s, color .2s; }
.cv-card__title a:hover { color: var(--ink); background-size: 100% 2px; }
.cv-card__excerpt { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cv-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 32px clamp(24px, 3.5vw, 48px); }
.cv-card--hero { grid-row: span 2; }
.cv-card--hero .cv-thumb { aspect-ratio: 4 / 3; }
.cv-card--hero .cv-card__title { font-size: clamp(28px, 3vw, 40px); }
@media (max-width: 860px) { .cv-feature { grid-template-columns: 1fr; } .cv-card--hero { grid-row: auto; } }

.cv-grid { display: grid; gap: clamp(30px, 3.5vw, 48px) clamp(20px, 2.5vw, 32px); }
.cv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cv-grid--2, .cv-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Маршрут ---------- */

.cv-route { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin: 0; padding: 30px 0 0; list-style: none; counter-reset: stop; }
.cv-route::before { content: ""; position: absolute; left: 16px; right: 16px; top: 13px; border-top: 3px dashed rgba(255, 194, 75, .65); }
.cv-route__stop { position: relative; counter-increment: stop; display: flex; flex-direction: column; gap: 14px; }
.cv-route__pin { position: absolute; top: -30px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 194, 75, .25); }
.cv-route__pin::after { content: counter(stop); position: absolute; inset: 0; display: grid; place-items: center; font: 900 14px/1 var(--font-body); color: var(--sea); }
.cv-route__stop .cv-thumb { margin-top: 18px; border-radius: 18px; }
.cv-route__title { margin: 0; font-size: 22px; color: #fff; }
.cv-route__title a:hover { color: var(--sun); }
.cv-route .cv-meta { color: rgba(255, 255, 255, .7); }
@media (max-width: 860px) {
	.cv-route { grid-template-columns: 1fr; padding: 0 0 0 46px; }
	.cv-route::before { left: 14px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dashed rgba(255, 194, 75, .65); }
	.cv-route__pin { left: -46px; top: 0; }
	.cv-route__stop .cv-thumb { margin-top: 0; }
}

/* ---------- Корисне ---------- */

.cv-useful { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.cv-useful__col { padding: 26px 26px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 6px solid var(--sky); }
.cv-useful__col:nth-child(2) { border-top-color: var(--sun); }
.cv-useful__col:nth-child(3) { border-top-color: var(--coral); }
.cv-useful__title { font-size: 24px; margin: 0 0 10px; color: var(--sea); }
.cv-useful ul { list-style: none; margin: 0; padding: 0; }
.cv-useful li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.cv-useful li:last-child { border-bottom: 0; }
.cv-useful li a { display: block; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
@media (max-width: 900px) { .cv-useful { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */

.cv-cta { background: var(--sun); padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cv-cta::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .25); }
.cv-cta__inner { position: relative; display: flex; align-items: center; gap: 28px 44px; flex-wrap: wrap; }
.cv-cta__ticket { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 20px; background: var(--sea); color: var(--sun); transform: rotate(-6deg); box-shadow: 0 20px 40px -20px rgba(14, 59, 67, .7); }
.cv-cta__ticket span { font: 900 34px/1 var(--font-display); }
.cv-cta__ticket small { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-top: 6px; }
.cv-cta__copy { flex: 1; min-width: 260px; }
.cv-cta__title { font-size: clamp(28px, 3.6vw, 44px); color: var(--sea); margin: 0 0 8px; }
.cv-cta__copy p { margin: 0; max-width: 640px; color: #3E3214; }

/* ---------- Підвал ---------- */

.cv-footer { position: relative; background: var(--sea); color: rgba(255, 255, 255, .72); padding: 0 0 28px; margin-top: 60px; }
.cv-footer__wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; color: var(--sea); }
.cv-footer__wave svg { width: 100%; height: 100%; }
.cv-footer__big::before { content: attr(data-text); }
.cv-footer__big { margin: 0; padding-top: 40px; font: italic 900 clamp(48px, 10vw, 150px)/.95 var(--font-display); letter-spacing: -0.04em; color: rgba(255, 255, 255, .08); white-space: nowrap; overflow: hidden; }
.cv-footer__big em { color: var(--coral); font-style: normal; opacity: .9; }
.cv-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr; gap: 40px; padding-top: 34px; padding-bottom: 46px; }
.cv-footer__about p { max-width: 360px; margin: 18px 0 0; font-size: 15px; }
.cv-footer__title { font: 800 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 6px 0 18px; }
.cv-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cv-footer__menu--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.cv-footer__menu a { color: #fff; font-weight: 600; }
.cv-footer__menu a:hover { color: var(--sun); }
.cv-widget + .cv-widget { margin-top: 26px; }
.cv-widget__title { font-size: 13px; color: var(--sun); text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-body); }
.cv-widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cv-footer__widgets a { color: #fff; }
.cv-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.cv-footer__bottom a { color: #fff; }
@media (max-width: 820px) { .cv-footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Заголовок архіву ---------- */

.cv-page-head { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 92px) 0 clamp(30px, 4vw, 46px); background: linear-gradient(180deg, var(--sand), var(--paper)); }
.cv-page-head::after { content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 75, .7), rgba(255, 194, 75, 0) 70%); pointer-events: none; }
.cv-page-head__title { position: relative; font-size: clamp(38px, 6vw, 78px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; margin: 0; color: var(--sea); overflow-wrap: anywhere; }
.cv-page-head__desc { position: relative; max-width: 680px; margin-top: 16px; color: var(--muted); font-size: 18px; }
.cv-page-head__desc p { margin: 0; }
.cv-page-head__search { margin-top: 28px; max-width: 640px; }
.cv-filter { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cv-filter a { padding: 9px 16px; border: 1.5px solid rgba(14, 59, 67, .2); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sea); background: rgba(255, 255, 255, .6); transition: all .2s; }
.cv-filter a:hover { border-color: var(--sea); }
.cv-filter a.is-active { background: var(--sea); border-color: var(--sea); color: #fff; }

/* ---------- Пагінація ---------- */

.cv-pagination { margin-top: clamp(48px, 6vw, 72px); }
.cv-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cv-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; background: var(--card); font-weight: 800; box-shadow: var(--shadow); }
.cv-pagination .page-numbers.current { background: var(--sea); color: #fff; }
.cv-pagination a.page-numbers:hover { background: var(--coral); color: #fff; }
.cv-pagination .dots { background: transparent; box-shadow: none; }

/* ---------- Стаття ---------- */

.cv-article__head { padding: clamp(36px, 6vw, 76px) 0 clamp(26px, 4vw, 38px); text-align: left; }
.cv-crumbs { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; font-size: 14px; font-weight: 700; color: var(--muted); }
.cv-crumbs p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.cv-crumbs a:hover { color: var(--coral-ink); }
.cv-crumbs .separator { color: var(--line); }
.cv-crumbs .last { font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-page-head .cv-crumbs { position: relative; margin-bottom: 18px; }
.cv-article__head .cv-chip { margin-bottom: 14px; }
.cv-article__title { font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 22px; color: var(--sea); text-wrap: balance; }
.cv-article__lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--ink); margin: 0 0 26px; font-family: var(--font-display); font-style: italic; font-weight: 700; }
.cv-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.cv-article__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.cv-article__author img { border-radius: 50%; width: 36px; height: 36px; }
.cv-article__cover { margin: 0 auto clamp(32px, 5vw, 56px); }
.cv-article__cover img { width: 100%; border-radius: 28px; max-height: 720px; object-fit: cover; }
.cv-article__cover figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.cv-article__foot { margin: 48px 0 clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.cv-sponsored-label { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 8px; background: rgba(14, 59, 67, .08); color: var(--sea); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-tags a { padding: 7px 14px; background: var(--sand); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--sea); }
.cv-tags a:hover { background: var(--sea); color: #fff; }
.cv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cv-share__label { font-weight: 800; margin-right: 6px; color: var(--sea); }
.cv-share__btn { padding: 9px 16px; border: 1.5px solid rgba(14, 59, 67, .25); border-radius: 999px; background: transparent; color: var(--sea); font: 700 14px/1 var(--font-body); cursor: pointer; transition: all .2s; }
.cv-share__btn:hover { background: var(--sea); border-color: var(--sea); color: #fff; }
.cv-share__btn.is-done { background: var(--sun); border-color: var(--sun); color: var(--ink); }

/* ---------- Типографіка контенту ---------- */

.cv-content { font-size: 19px; line-height: 1.75; }
.cv-content > * { margin-top: 0; margin-bottom: 1.15em; }
.cv-content > p:first-of-type::first-letter { float: left; margin: .06em .12em 0 0; font: 900 4.1em/.8 var(--font-display); color: var(--coral); }
.cv-content h2 { font-size: clamp(27px, 3vw, 36px); margin-top: 1.7em; color: var(--sea); }
.cv-content h3 { font-size: clamp(22px, 2.4vw, 27px); margin-top: 1.5em; color: var(--sea); }
.cv-content a { color: var(--coral-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cv-content a:hover { color: var(--sea); }
.cv-content ul, .cv-content ol { padding-left: 1.3em; }
.cv-content li { margin-bottom: .45em; }
.cv-content li::marker { color: var(--coral); font-weight: 800; }
.cv-content blockquote, .cv-content .wp-block-quote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--sun); font: italic 700 clamp(21px, 2.4vw, 27px)/1.4 var(--font-display); color: var(--sea); }
.cv-content blockquote cite { display: block; margin-top: 12px; font: 600 15px var(--font-body); font-style: normal; color: var(--muted); }
.cv-content img { border-radius: 18px; }
.cv-content figure { margin-left: 0; margin-right: 0; }
.cv-content figcaption, .cv-content .wp-element-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.cv-content .alignwide { margin-left: calc(-1 * min(120px, 8vw)); margin-right: calc(-1 * min(120px, 8vw)); max-width: none; }
.cv-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.cv-content .alignfull img { border-radius: 0; }
.cv-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.cv-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.cv-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.cv-content th, .cv-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cv-content th { background: var(--sea); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.cv-content code { padding: .15em .4em; background: var(--sand); border-radius: 6px; font-size: .88em; }
.cv-content hr { border: 0; height: 2px; background: var(--line); margin: 2.5em 0; }
.cv-content::after { content: ""; display: table; clear: both; }
.cv-content .cv-related-links, .cv-content .ss-related-links { margin: 2em 0; padding: 20px 24px; background: var(--sand); border-left: 5px solid var(--sky); border-radius: 0 16px 16px 0; font-size: 17px; line-height: 1.6; }
.cv-content .cv-related-links strong, .cv-content .ss-related-links strong { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.cv-content .has-sea-color { color: var(--sea); } .cv-content .has-coral-color { color: var(--coral); } .cv-content .has-sun-color { color: var(--sun); } .cv-content .has-sky-color { color: var(--sky); } .cv-content .has-sand-color { color: var(--sand); }
.cv-content .has-sea-background-color { background-color: var(--sea); } .cv-content .has-coral-background-color { background-color: var(--coral); } .cv-content .has-sun-background-color { background-color: var(--sun); } .cv-content .has-sky-background-color { background-color: var(--sky); } .cv-content .has-sand-background-color { background-color: var(--sand); }
@media (max-width: 860px) { .cv-content .alignwide { margin-left: 0; margin-right: 0; } }
@media (max-width: 600px) { .cv-content { font-size: 17px; } .cv-content .alignleft, .cv-content .alignright { float: none; margin: 0 0 1em; max-width: 100%; } }
.cv-page-links { display: flex; gap: 8px; align-items: center; font-weight: 700; }

/* ---------- Коментарі ---------- */

.cv-comments__title { font-size: 28px; margin-bottom: 24px; color: var(--sea); }
.cv-comments__list, .cv-comments__list .children { list-style: none; margin: 0; padding: 0; }
.cv-comments__list .children { margin-left: clamp(16px, 4vw, 48px); }
.cv-comments__list .comment-body { margin-bottom: 16px; padding: 22px 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.cv-comments__list .comment-author { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.cv-comments__list .comment-author img { border-radius: 50%; }
.cv-comments__list .says { display: none; }
.cv-comments__list .comment-metadata { font-size: 13px; color: var(--muted); margin: 4px 0 10px 56px; }
.cv-comments__list .comment-content, .cv-comments__list .reply { margin-left: 56px; }
.cv-comments__list .reply a { color: var(--coral-ink); font-weight: 700; font-size: 14px; }
.comment-respond { margin-top: 40px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 16px var(--font-body); color: var(--ink); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--coral); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form .comment-form-cookies-consent label { font-weight: 500; margin: 0; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--muted); }

/* ---------- Порожній стан, 404 ---------- */

.cv-empty { padding: clamp(40px, 6vw, 72px); text-align: center; background: var(--card); border-radius: 28px; border: 2px dashed var(--line); }
.cv-empty h2 { font-size: clamp(26px, 3vw, 36px); color: var(--sea); }
.cv-empty p { color: var(--muted); margin: 0 auto 24px; max-width: 520px; }
.cv-404 { padding: clamp(64px, 10vw, 140px) 0; text-align: center; }
.cv-404__code { margin: 0; font: italic 900 clamp(120px, 24vw, 280px)/.85 var(--font-display); letter-spacing: -0.05em; color: var(--sea); }
.cv-404__code::after { content: "?"; color: var(--coral); }
.cv-404__title { font-size: clamp(28px, 4vw, 46px); margin: 24px 0 12px; color: var(--sea); }
.cv-404 p { color: var(--muted); }
.cv-404__search { max-width: 560px; margin: 28px auto; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
.wp-caption { max-width: 100%; }
.alignnone { margin: 0; }
