/*
Theme Name: SFP Stretching
Description: Тема для сайту тренерки з розтяжки: головна сторінка, заняття з онлайн-записом, блог і платні відеотренування. Шрифти зберігаються локально (DSGVO).
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sfp
*/

/* ==========================================================================
   1. Змінні
   ========================================================================== */

:root {
	--c-bg: #fbf7f4;
	--c-surface: #ffffff;
	--c-soft: #f5e9e5;
	--c-lilac: #ece0ea;
	--c-accent: #9e5462;
	--c-accent-hover: #864352;
	--c-accent-soft: #f1dcda;
	--c-ink: #2e2230;
	--c-muted: #6f6170;
	--c-plum: #3f2a3c;
	--c-plum-deep: #2f1f2d;
	--c-line: #eadfda;
	--c-free: #3d7458;

	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 32px;
	--shadow: 0 12px 32px -16px rgba(63, 42, 60, 0.22);
	--shadow-lg: 0 24px 60px -24px rgba(63, 42, 60, 0.32);

	--container: 1200px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Основа
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--c-ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
	margin: 0 0 1em;
}

a {
	color: var(--c-accent);
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--c-accent-hover);
}

:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--c-accent-soft);
	color: var(--c-ink);
}

hr {
	border: 0;
	border-top: 1px solid var(--c-line);
	margin: 2em 0;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	margin: 0;
	background: var(--c-surface);
	color: var(--c-ink);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.content-narrow {
	width: min(100% - 2 * var(--gutter), var(--narrow));
	margin-inline: auto;
}

.site-main {
	overflow-x: clip;
}

.eyebrow {
	margin: 0 0 0.6em;
	color: var(--c-accent);
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.eyebrow a {
	color: inherit;
	text-decoration: none;
}

.icon {
	flex: none;
}

/* ==========================================================================
   3. Кнопки
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.85em 1.5em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--c-ink);
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--c-accent);
	color: #fff;
	box-shadow: 0 10px 24px -12px rgba(158, 84, 98, 0.7);
}

.btn--primary:hover {
	background: var(--c-accent-hover);
	color: #fff;
}

.btn--ghost {
	border-color: rgba(46, 34, 48, 0.22);
	color: var(--c-ink);
}

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

.btn--dark {
	background: var(--c-plum);
	color: #fff;
}

.btn--dark:hover {
	background: var(--c-plum-deep);
	color: #fff;
}

.btn--light {
	background: #fff;
	color: var(--c-plum);
}

.btn--light:hover {
	background: var(--c-accent-soft);
	color: var(--c-plum);
}

.btn--sm {
	padding: 0.65em 1.15em;
	font-size: 0.88rem;
}

.btn--lg {
	padding: 1em 1.8em;
	font-size: 1rem;
}

.btn--block {
	display: flex;
	width: 100%;
}

/* ==========================================================================
   4. Шапка та меню
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 247, 244, 0.88);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.is-scrolled .site-header {
	border-bottom-color: var(--c-line);
	box-shadow: 0 6px 24px -18px rgba(63, 42, 60, 0.35);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.site-brand {
	display: flex;
	flex-direction: column;
	margin-right: auto;
	line-height: 1.1;
}

.site-brand__name {
	color: var(--c-ink);
	font-family: var(--font-head);
	font-size: 1.65rem;
	font-weight: 600;
	text-decoration: none;
}

.site-brand__tagline {
	margin-top: 2px;
	color: var(--c-muted);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav__list {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list li {
	position: relative;
}

.site-nav__list a {
	display: block;
	padding: 6px 0;
	color: var(--c-ink);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	background-image: linear-gradient(var(--c-accent), var(--c-accent));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1.5px;
	transition: background-size 0.25s var(--ease), color 0.2s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list .current_page_parent > a {
	color: var(--c-accent);
	background-size: 100% 1.5px;
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 220px;
	margin: 0;
	padding: 10px 16px;
	list-style: none;
	background: var(--c-surface);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.site-nav__cta,
.site-nav__socials {
	display: none;
}

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

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1.5px solid var(--c-line);
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-ink);
	cursor: pointer;
}

.nav-toggle__close,
.nav-open .nav-toggle__open {
	display: none;
}

.nav-open .nav-toggle__close {
	display: inline-flex;
}

.nav-toggle__open {
	display: inline-flex;
}

@media (max-width: 960px) {
	/* backdrop-filter робить шапку контейнером для fixed-елементів — на мобільних вимикаємо, щоб меню відкривалося на весь екран */
	.site-header {
		background: var(--c-bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.site-header__cta {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 99;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px var(--gutter) 40px;
		background: var(--c-bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
	}

	.admin-bar .site-nav {
		top: calc(var(--header-h) + 46px);
	}

	.nav-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav-open {
		overflow: hidden;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.site-nav__list a {
		padding: 16px 0;
		border-bottom: 1px solid var(--c-line);
		font-family: var(--font-head);
		font-size: 1.6rem;
		font-weight: 600;
		background-image: none;
	}

	.site-nav__list .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 16px;
		background: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav__list .sub-menu a {
		font-size: 1.25rem;
	}

	.site-nav__cta {
		display: flex;
		margin-top: 28px;
		padding-block: 1em;
	}

	.site-nav__socials {
		display: flex;
		justify-content: center;
		margin-top: 24px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

/* ==========================================================================
   5. Секції
   ========================================================================== */

.section {
	padding-block: clamp(64px, 9vw, 120px);
}

.section--tight {
	padding-block: clamp(40px, 6vw, 72px);
}

.section--after-hero {
	padding-top: clamp(24px, 4vw, 48px);
}

.section--soft {
	background: var(--c-soft);
}

.section-head {
	max-width: 660px;
	margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head__title {
	margin-bottom: 0.3em;
}

.section-head__text {
	margin: 0;
	color: var(--c-muted);
	font-size: 1.08rem;
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	max-width: none;
}

.section-head--split .section-head__main {
	max-width: 660px;
}

/* ==========================================================================
   6. Головний екран
   ========================================================================== */

.hero {
	position: relative;
	padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px);
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto auto;
	width: 70vw;
	height: 70vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(circle, rgba(236, 224, 234, 0.85) 0%, rgba(236, 224, 234, 0) 65%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
}

.hero__title {
	margin-bottom: 0.4em;
	font-size: clamp(2.7rem, 6.2vw, 4.8rem);
	font-weight: 500;
	line-height: 1.04;
}

.hero__text {
	max-width: 34em;
	color: var(--c-muted);
	font-size: clamp(1.05rem, 1.4vw, 1.18rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero__media {
	position: relative;
	justify-self: end;
	width: min(100%, 460px);
}

.hero__media::before {
	content: "";
	position: absolute;
	top: -7%;
	right: -12%;
	z-index: -1;
	width: 72%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--c-accent-soft);
}

.arch {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
	background: var(--c-soft);
	box-shadow: var(--shadow-lg);
}

.arch img,
.arch__art {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__badge {
	position: absolute;
	bottom: 8%;
	left: -10%;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px 14px 14px;
	background: var(--c-surface);
	border-radius: 999px;
	box-shadow: var(--shadow-lg);
	font-size: 0.85rem;
	line-height: 1.3;
	color: var(--c-muted);
}

.hero__badge strong {
	display: block;
	color: var(--c-ink);
	font-size: 0.95rem;
}

.hero__badge-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-accent-soft);
	color: var(--c-accent);
}

@media (max-width: 960px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__media {
		justify-self: center;
		width: min(100%, 380px);
	}

	.hero__badge {
		left: -4%;
	}
}

@media (max-width: 480px) {
	.hero__actions .btn {
		width: 100%;
	}

	.hero__badge {
		left: 50%;
		bottom: -24px;
		transform: translateX(-50%);
		white-space: nowrap;
	}
}

/* ==========================================================================
   7. Про мене
   ========================================================================== */

.about__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	align-items: center;
	gap: clamp(40px, 7vw, 96px);
}

.about__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg);
	background: var(--c-soft);
	box-shadow: var(--shadow-lg);
}

.about__media {
	position: relative;
}

.about__media::after {
	content: "";
	position: absolute;
	inset: 24px -24px -24px 24px;
	z-index: -1;
	border: 1.5px solid var(--c-accent-soft);
	border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg);
}

.about__frame img,
.about__frame .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about__text {
	color: var(--c-muted);
	font-size: 1.08rem;
}

.checklist {
	display: grid;
	gap: 14px;
	margin: 28px 0 32px;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-weight: 500;
}

.checklist__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: -1px;
	border-radius: 50%;
	background: var(--c-accent-soft);
	color: var(--c-accent);
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 860px) {
	.about__grid {
		grid-template-columns: 1fr;
	}

	.about__media {
		width: min(100% - 24px, 420px);
	}
}

/* ==========================================================================
   8. Картки
   ========================================================================== */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(20px, 2.5vw, 28px);
}

.grid--classes {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card--link:hover,
.card--link:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-soft);
}

.card__media img,
.card__media .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.card--link:hover .card__media img {
	transform: scale(1.04);
}

.card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
}

.card__title {
	margin: 0;
	font-size: 1.55rem;
	line-height: 1.15;
}

.card__title a {
	color: var(--c-ink);
	text-decoration: none;
}

.card--link .card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	color: var(--c-muted);
	font-size: 0.84rem;
}

.card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.card__excerpt {
	margin: 0;
	color: var(--c-muted);
	font-size: 0.96rem;
}

.card__excerpt p {
	margin: 0;
}

.card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: auto 0 0;
	padding-top: 6px;
	color: var(--c-accent);
	font-size: 0.9rem;
	font-weight: 600;
}

.card__footer .card__more {
	margin: 0;
	padding: 0;
}

.card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding-left: 3px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--c-accent);
	box-shadow: var(--shadow);
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--ease);
}

.card--link:hover .card__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--c-plum);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.badge--free {
	color: var(--c-free);
}

.price {
	color: var(--c-ink);
	font-size: 1.2rem;
	font-weight: 700;
}

.price--free {
	color: var(--c-free);
}

.price-wrap {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
}

.price__old {
	color: var(--c-muted);
	font-size: 0.95rem;
	font-weight: 400;
}

/* Картка заняття */
.card--class .card__body {
	padding: 28px;
}

.card__num {
	color: var(--c-accent);
	font-family: var(--font-head);
	font-size: 2.6rem;
	font-weight: 500;
	line-height: 1;
	opacity: 0.55;
}

.card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.card__facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--c-soft);
	color: var(--c-plum);
	font-size: 0.82rem;
	font-weight: 600;
}

.section--soft .card__facts li {
	background: var(--c-bg);
}

/* Заглушка замість фото */
.ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background:
		radial-gradient(circle at 28% 30%, rgba(243, 215, 211, 0.95), rgba(243, 215, 211, 0) 55%),
		radial-gradient(circle at 75% 72%, rgba(226, 205, 224, 0.95), rgba(226, 205, 224, 0) 55%),
		var(--c-soft);
	color: var(--c-accent);
}

.ph .icon {
	opacity: 0.45;
}

/* ==========================================================================
   9. Заголовок внутрішніх сторінок
   ========================================================================== */

.page-hero {
	padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 56px);
	background: linear-gradient(180deg, var(--c-soft) 0%, var(--c-bg) 100%);
	text-align: center;
}

.page-hero__inner {
	max-width: 860px;
}

.page-hero__title {
	margin-bottom: 0.25em;
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	font-weight: 500;
}

.page-hero__text {
	max-width: 640px;
	margin-inline: auto;
	color: var(--c-muted);
	font-size: 1.1rem;
}

.page-hero__text p:last-child {
	margin-bottom: 0;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	color: var(--c-muted);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
}

.back-link:hover {
	color: var(--c-accent);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 16px;
	margin: 12px 0 0;
	color: var(--c-muted);
	font-size: 0.92rem;
}

.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ==========================================================================
   10. Текст записів і сторінок
   ========================================================================== */

.entry-content {
	font-size: 1.06rem;
}

.entry-content > * {
	margin-block: 0 1.2em;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 1.6em;
	font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.entry-content h3 {
	margin-top: 1.5em;
	font-size: 1.55rem;
}

.entry-content h2:first-child,
.entry-content h3:first-child {
	margin-top: 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content li::marker {
	color: var(--c-accent);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--c-accent);
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.35;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-style: normal;
	color: var(--c-muted);
}

.entry-content img,
.entry-content .wp-block-image img,
.entry-content .wp-block-embed iframe,
.entry-content video {
	border-radius: var(--radius);
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 8px;
	color: var(--c-muted);
	font-size: 0.88rem;
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
}

.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--c-accent);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--c-accent);
	border-color: currentColor;
}

.entry-content .alignwide {
	margin-inline: calc((100% - min(100vw - 2 * var(--gutter), 1100px)) / 2);
	max-width: none;
}

.entry-content .alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.entry-content .alignfull img,
.entry-content .alignfull iframe {
	border-radius: 0;
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Класи WordPress — окремі стилі не потрібні. */
	outline: 0;
}

.entry-content--intro {
	margin-bottom: clamp(32px, 5vw, 56px);
	text-align: center;
	color: var(--c-muted);
}

.has-accent-color { color: var(--c-accent); }
.has-plum-color { color: var(--c-plum); }
.has-ink-color { color: var(--c-ink); }
.has-accent-background-color { background-color: var(--c-accent); }
.has-plum-background-color { background-color: var(--c-plum); }
.has-soft-background-color { background-color: var(--c-soft); }
.has-cream-background-color { background-color: var(--c-bg); }

/* Сторінка з фото */
.page-split {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	align-items: start;
	gap: clamp(32px, 6vw, 80px);
}

.page-split__media {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.page-split__media img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg) 160px var(--radius-lg) var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
	.page-split {
		grid-template-columns: 1fr;
	}

	.page-split__media {
		position: static;
		max-width: 420px;
	}
}

/* ==========================================================================
   11. Запис блогу
   ========================================================================== */

.post-thumb {
	margin-block: 0 clamp(8px, 2vw, 16px);
	max-width: 1000px;
}

.post-thumb img {
	display: block;
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.post-tags a,
.chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 16px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-surface);
	color: var(--c-ink);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.post-tags a:hover,
.chip:hover {
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.chip.is-active {
	border-color: var(--c-plum);
	background: var(--c-plum);
	color: #fff;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.post-navigation {
	margin-top: 48px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--c-surface);
	box-shadow: var(--shadow);
	color: var(--c-ink);
	text-decoration: none;
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.post-nav__label {
	color: var(--c-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-nav__title {
	font-family: var(--font-head);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 600px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		grid-column: auto;
	}
}

/* ==========================================================================
   12. Відеотренування
   ========================================================================== */

.video-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: clamp(28px, 4vw, 48px);
}

.video-main > * + * {
	margin-top: 28px;
}

.video-lead {
	color: var(--c-muted);
	font-size: 1.15rem;
}

.video-cover,
.trailer {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--c-plum);
	box-shadow: var(--shadow-lg);
}

.video-cover img,
.video-cover .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.trailer__poster {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.trailer__poster img,
.trailer__poster .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.trailer__poster::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(47, 31, 45, 0) 50%, rgba(47, 31, 45, 0.55) 100%);
}

.trailer__poster:focus-visible {
	outline: 3px solid var(--c-accent);
	outline-offset: -3px;
}

.trailer__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	padding-left: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--c-accent);
	box-shadow: var(--shadow-lg);
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--ease);
}

.trailer__poster:hover .trailer__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.trailer__label {
	position: absolute;
	bottom: 18px;
	left: 22px;
	z-index: 1;
	color: #fff;
	font-weight: 600;
}

.trailer iframe,
.trailer video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.trailer__note {
	margin-top: 10px !important;
	color: var(--c-muted);
	font-size: 0.8rem;
}

.video-buy {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: 28px;
	background: var(--c-surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.video-buy__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 18px;
}

.video-buy__price .price {
	font-size: 2rem;
}

.video-buy__note {
	margin: 12px 0 0;
	color: var(--c-muted);
	font-size: 0.88rem;
	line-height: 1.5;
}

.video-buy__note + .btn {
	margin-top: 12px;
}

.video-buy__soon {
	margin: 0;
	padding: 14px;
	border-radius: var(--radius-sm);
	background: var(--c-soft);
	color: var(--c-plum);
	font-weight: 600;
	text-align: center;
}

.video-buy__divider {
	margin: 24px 0;
}

.video-buy__status {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-weight: 600;
}

.status-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-accent-soft);
	color: var(--c-accent);
}

.access-form__title {
	margin-bottom: 10px;
	font-size: 0.92rem;
	font-weight: 600;
}

.access-form__row {
	display: flex;
	gap: 8px;
}

.access-form__row input[type="password"] {
	flex: 1;
	min-width: 0;
}

.access-form__error {
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	background: #fbeaea;
	color: #8a2c2c;
	font-size: 0.85rem;
}

.how-it-works {
	margin-top: clamp(56px, 8vw, 96px);
	padding: clamp(28px, 5vw, 56px);
	border-radius: var(--radius-lg);
	background: var(--c-soft);
}

.how-it-works__title {
	margin-bottom: 28px;
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	text-align: center;
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.steps p {
	margin: 0;
	color: var(--c-muted);
}

.steps__num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-accent);
	font-size: 1.05rem;
	font-weight: 700;
}

@media (max-width: 960px) {
	.video-layout {
		grid-template-columns: 1fr;
	}

	.video-buy {
		position: static;
	}
}

/* ==========================================================================
   13. Контакти
   ========================================================================== */

.contacts {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

.contacts__main > * + * {
	margin-top: 32px;
}

.contact-list {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--c-surface);
	box-shadow: var(--shadow);
}

.contact-list__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--c-accent-soft);
	color: var(--c-accent);
}

.contact-list__label {
	display: block;
	color: var(--c-muted);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contact-list__value {
	display: block;
	font-size: 1.1rem;
	font-weight: 500;
}

.contact-list__value a {
	color: var(--c-ink);
	text-decoration: none;
}

.contact-list__value a:hover {
	color: var(--c-accent);
}

.social-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.booking-card {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: 32px;
	border-radius: var(--radius-lg);
	background: var(--c-plum);
	color: #eadfe6;
}

.booking-card__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.booking-card__title {
	color: #fff;
	font-size: 2rem;
}

.booking-card p {
	margin-bottom: 24px;
}

@media (max-width: 860px) {
	.contacts {
		grid-template-columns: 1fr;
	}

	.booking-card {
		position: static;
	}
}

/* ==========================================================================
   14. Заклик до запису та підвал
   ========================================================================== */

.cta-band {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 28px 40px;
	overflow: hidden;
	padding: clamp(36px, 6vw, 72px);
	border-radius: var(--radius-lg);
	background: var(--c-plum);
	color: #eadfe6;
	isolation: isolate;
}

.cta-band::before,
.cta-band::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
}

.cta-band::before {
	top: -120px;
	right: -60px;
	width: 320px;
	height: 320px;
	background: rgba(158, 84, 98, 0.45);
	filter: blur(10px);
}

.cta-band::after {
	bottom: -160px;
	left: 30%;
	width: 280px;
	height: 280px;
	border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.cta-band__title {
	margin-bottom: 0.25em;
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
}

.cta-band p {
	margin: 0;
	font-size: 1.08rem;
}

@media (max-width: 760px) {
	.cta-band {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.cta-band .btn {
		width: 100%;
	}
}

.site-footer {
	padding-top: clamp(56px, 7vw, 80px);
	background: var(--c-plum-deep);
	color: #d9cad5;
	font-size: 0.95rem;
}

.site-footer a {
	color: #f3eaf0;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
}

.site-footer__brand {
	display: inline-block;
	margin-bottom: 12px;
	font-family: var(--font-head);
	font-size: 1.9rem;
	font-weight: 600;
	line-height: 1.1;
}

.site-footer__about p {
	max-width: 360px;
}

.site-footer__title {
	margin-bottom: 16px;
	color: #b9a6b5;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-footer__links,
.site-footer__contacts,
.site-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li + li {
	margin-top: 8px;
}

.site-footer__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.site-footer__contacts li + li {
	margin-top: 12px;
}

.site-footer__contacts .icon {
	margin-top: 3px;
	color: #c99aa4;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(40px, 6vw, 64px);
	padding-block: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #b9a6b5;
	font-size: 0.85rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.site-footer__legal a {
	color: #b9a6b5;
}

@media (max-width: 860px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* Соцмережі */
.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.socials a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	color: var(--c-ink);
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
	border-color: var(--c-accent);
	background: var(--c-accent);
	color: #fff;
}

.socials--light a {
	border-color: rgba(255, 255, 255, 0.2);
	color: #f3eaf0;
}

.socials--light a:hover {
	text-decoration: none;
}

/* Плаваюча кнопка запису (мобільна версія) */
.booking-fab {
	display: none;
}

@media (max-width: 960px) {
	.booking-fab {
		position: fixed;
		right: 16px;
		bottom: 16px;
		left: 16px;
		z-index: 90;
		display: flex;
		padding-block: 1em;
		box-shadow: 0 16px 36px -12px rgba(63, 42, 60, 0.55);
		transform: translateY(160%);
		transition: transform 0.35s var(--ease), background-color 0.2s var(--ease);
	}

	.show-fab .booking-fab {
		transform: none;
	}

	.nav-open .booking-fab {
		transform: translateY(160%);
	}

	.site-footer__bottom {
		padding-bottom: 96px;
	}
}

/* ==========================================================================
   15. Форми, коментарі, пагінація, 404
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: 0.8em 1em;
	border: 1.5px solid var(--c-line);
	border-radius: var(--radius-sm);
	background: var(--c-surface);
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--c-accent);
	box-shadow: 0 0 0 4px var(--c-accent-soft);
	outline: none;
}

label {
	font-weight: 500;
}

button,
input[type="submit"] {
	font: inherit;
}

.search-form {
	display: flex;
	gap: 8px;
	margin: 24px 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	padding: 0.8em 1.4em;
	border: 0;
	border-radius: 999px;
	background: var(--c-plum);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.comments {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--c-line);
}

.comments__title,
.comment-reply-title {
	font-size: 2rem;
}

.comment-list,
.comment-list .children {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 16px 0 0 24px;
}

.comment-body {
	margin-bottom: 16px;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--c-surface);
	box-shadow: var(--shadow);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	margin: 4px 0 10px;
	font-size: 0.82rem;
}

.comment-metadata a {
	color: var(--c-muted);
	text-decoration: none;
}

.comment-form > p {
	margin-bottom: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

.pagination {
	margin-top: 56px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	background: var(--c-surface);
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--c-accent);
	background: var(--c-accent);
	color: #fff;
}

.page-numbers.dots {
	border: 0;
	background: none;
}

a.page-numbers:hover {
	border-color: var(--c-accent);
	color: var(--c-accent);
}

.empty-state {
	max-width: 520px;
	margin: 24px auto;
	padding: 40px 28px;
	border: 1.5px dashed var(--c-line);
	border-radius: var(--radius);
	color: var(--c-muted);
	text-align: center;
}

.empty-state__icon {
	display: block;
	margin-bottom: 12px;
	color: var(--c-accent);
}

.error-404 {
	text-align: center;
}

.error-404__code {
	margin: 0;
	color: var(--c-accent-soft);
	font-family: var(--font-head);
	font-size: clamp(6rem, 18vw, 11rem);
	font-weight: 600;
	line-height: 1;
}

.error-404 .search-form {
	max-width: 480px;
	margin-inline: auto;
}

/* ==========================================================================
   16. Доступність: менше анімацій
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
