/**
 * Rehab Львів — Design System 2.0 (v1.6.3)
 * Візуальний шар для wellness/medical ніші: спокій, довіра, читабельність.
 * Завантажується після main.css і не змінює DOM стандартних блоків.
 */

:root {
	--rm-ink: var(--wp--preset--color--ink, #142a26);
	--rm-muted: var(--wp--preset--color--muted, #5b6d66);
	--rm-green: var(--wp--preset--color--green, #176b57);
	--rm-green-dark: var(--wp--preset--color--green-dark, #0f4a3d);
	--rm-green-soft: var(--wp--preset--color--green-soft, #e4f0e8);
	--rm-lime: var(--wp--preset--color--lime, #d9edb0);
	--rm-cream: var(--wp--preset--color--cream, #f7f5ef);
	--rm-line: var(--wp--preset--color--line, #d8e2da);
	--rm-coral: var(--wp--preset--color--coral, #c9684b);
	--rm-topline: var(--wp--preset--color--topline, #103c33);
	--rm-shadow-sm: 0 8px 28px rgba(16, 60, 51, 0.07);
	--rm-shadow-md: 0 20px 60px rgba(16, 60, 51, 0.12);
	--rm-radius-sm: 16px;
	--rm-radius-md: 24px;
	--rm-radius-lg: 32px;
	--rm-content: 1240px;
	--rm-gutter: clamp(20px, 4vw, 48px);
}

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

html { overflow-x: clip; }

body {
	background:
		radial-gradient(circle at 94% 2%, rgba(217, 237, 176, 0.22), transparent 25rem),
		var(--rm-cream);
	color: var(--rm-ink);
	line-height: 1.65;
	overflow-x: clip;
}

:where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-buttons, .wp-block-navigation, .remove-header__nav, .remove-header__actions) {
	min-width: 0;
}

:where(h1, h2, h3, h4, p, li) {
	max-inline-size: 100%;
	overflow-wrap: break-word;
}

:where(p, li) { max-inline-size: 78ch; }

:where(img, svg, video) { max-width: 100%; }

:where(.wp-block-column) > * { max-width: 100%; }

:where(h1, h2, h3, h4) {
	color: var(--rm-ink);
	letter-spacing: -0.04em;
}

:where(h1) { line-height: 1.04; }
:where(h2) { line-height: 1.1; }
:where(p, li) { line-height: 1.68; }

:where(section.wp-block-group) {
	padding-top: clamp(64px, 7.5vw, 112px);
	padding-bottom: clamp(64px, 7.5vw, 112px);
}

:where(.wp-block-group, .wp-block-columns, .wp-block-buttons) {
	box-sizing: border-box;
}

img { height: auto; }

/* Посилання: зрозумілі не лише за кольором. */
:where(.wp-block-post-content, .remove-article, .remove-panel) a:not(.wp-element-button) {
	color: var(--rm-green-dark);
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	text-decoration-color: rgba(23, 107, 87, 0.38);
	font-weight: 600;
}

:where(.wp-block-post-content, .remove-article, .remove-panel) a:not(.wp-element-button):hover {
	color: var(--rm-green);
	text-decoration-color: currentColor;
}

/* Кнопки: три чіткі рівні пріоритету. */
.wp-element-button,
.wp-block-button__link,
.remove-form__submit {
	min-height: 52px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--rm-green);
	color: #fff;
	box-shadow: 0 8px 20px rgba(23, 107, 87, 0.16);
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.remove-form__submit:hover {
	background: var(--rm-green-dark);
	color: #fff;
	box-shadow: 0 14px 30px rgba(15, 74, 61, 0.23);
	transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(255, 255, 255, 0.76);
	color: var(--rm-green-dark);
	border-color: rgba(23, 107, 87, 0.28);
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--rm-green-soft);
	border-color: var(--rm-green);
	color: var(--rm-green-dark);
}

:where(.remove-booking-cta, .remove-service-hero, .remove-direction-hero) .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}

:where(.remove-booking-cta, .remove-service-hero, .remove-direction-hero) .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
}

.wp-element-button:active,
.wp-block-button__link:active,
.remove-form__submit:active { transform: translateY(0); }

button:disabled,
.wp-element-button[aria-disabled="true"] {
	cursor: wait;
	opacity: 0.66;
	transform: none;
}

/* Eyebrow і бейджі. */
.is-style-eyebrow {
	border-radius: 999px;
	color: var(--rm-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.is-style-eyebrow::before {
	width: 28px;
	height: 2px;
	border-radius: 2px;
}

.remove-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	margin: 0;
	padding: 8px 15px;
	border: 1px solid rgba(23, 107, 87, 0.12);
	border-radius: 999px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.83rem;
	font-weight: 750;
	line-height: 1.2;
}

.remove-badge--lime {
	background: var(--rm-lime);
	border-color: rgba(20, 42, 38, 0.08);
	color: var(--rm-ink);
}

/* Header: три стабільні зони без стиснення бренду та меню. */
.remove-header {
	border-bottom: 1px solid rgba(16, 60, 51, 0.1);
	background: rgba(247, 245, 239, 0.96);
	box-shadow: 0 4px 24px rgba(16, 60, 51, 0.05);
}

.remove-header__nav {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: clamp(16px, 2vw, 30px);
	align-items: center;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	min-height: 80px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.remove-header__nav > .remove-nav { justify-self: center; }

.remove-brand,
.remove-brand .wp-block-site-title,
:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a { margin: 0; }

:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a {
	flex-shrink: 0;
	white-space: nowrap;
}

:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a::before {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 15px;
	background: linear-gradient(145deg, var(--rm-green), var(--rm-green-dark));
	box-shadow: 0 8px 22px rgba(23, 107, 87, 0.2);
}

/* Якщо в адмінці завантажено Site Logo, CSS-монограма не дублює його. */
.remove-header__brand:has(.wp-block-site-logo img) .wp-block-site-title.remove-brand a::before,
.remove-header__brand:has(.wp-block-site-logo img) .remove-brand .wp-block-site-title a::before {
	content: none;
}

.remove-nav a {
	border-radius: 8px;
	text-decoration: none;
}

.remove-nav a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--rm-coral);
}

/* Десктоп: напрямки представлені трьома details без дублювання в primary nav.
 * Мобільний overlay: повний список напрямків залишається доступним, коли
 * supplementary details вимкнені за адаптивною логікою. */
.remove-nav .remove-nav__mobile-service { display: none; }

.remove-header__actions {
	justify-self: end;
	gap: 12px;
}

.remove-header__actions .wp-block-buttons,
.remove-header__actions .wp-block-button { margin: 0; }

.remove-header__actions .wp-block-button__link {
	min-height: 46px;
	padding: 12px 20px;
	white-space: nowrap;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 46px;
	min-height: 46px;
	align-items: center;
	justify-content: center;
}

/* Головний hero. */
.remove-hero {
	position: relative;
	overflow: clip;
}

.remove-hero::before {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -180px;
	top: -170px;
	border-radius: 50%;
	background: rgba(217, 237, 176, 0.25);
	filter: blur(2px);
	pointer-events: none;
}

.remove-hero > .wp-block-columns {
	position: relative;
	gap: clamp(32px, 5vw, 72px);
}

.remove-hero h1 {
	max-width: 740px;
	font-size: clamp(2.65rem, 5.1vw, 5rem);
}

.remove-hero h1 em {
	font-style: normal;
	color: var(--rm-green);
}

.remove-hero__image {
	position: relative;
	margin: 0;
}

.remove-hero__image img {
	display: block;
	width: 100%;
	max-height: 650px;
	border: 8px solid rgba(255, 255, 255, 0.7);
	border-radius: 34px 34px 120px 34px;
	object-fit: cover;
	box-shadow: var(--rm-shadow-md);
}

.remove-hero__note {
	position: relative;
	z-index: 2;
	max-width: 360px;
	margin: -52px 20px 0 auto;
	padding: 20px 24px;
	border: 1px solid rgba(23, 107, 87, 0.08);
	border-radius: 20px;
	box-shadow: var(--rm-shadow-sm);
}

.remove-hero__note p { margin: 0; }

.remove-hero__proof { margin-top: 28px; }

.remove-hero__avatars span {
	border: 3px solid var(--rm-cream);
	box-shadow: 0 4px 12px rgba(16, 60, 51, 0.08);
}

/* Універсальні картки та сітки. */
.remove-info-grid,
.remove-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 36px;
}

.remove-info-card,
.remove-service-card,
.remove-panel {
	position: relative;
	border: 1px solid rgba(23, 107, 87, 0.1);
	border-radius: var(--rm-radius-md);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--rm-shadow-sm);
}

.remove-info-card {
	padding: 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.remove-info-card:hover {
	border-color: rgba(23, 107, 87, 0.24);
	box-shadow: var(--rm-shadow-md);
	transform: translateY(-5px);
}

.remove-info-card__icon {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 20px;
	border-radius: 15px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
}

.remove-info-card h3 {
	margin: 0 0 12px;
	font-size: 1.24rem;
}

.remove-info-card p { margin: 0; }

.remove-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
	align-items: end;
	gap: 32px;
	margin-bottom: 38px;
}

.remove-section-heading h2 { margin: 8px 0 0; }
.remove-section-heading > p { margin: 0; }

/* Hero послуги та напрямку. */
.remove-service-hero,
.remove-direction-hero {
	position: relative;
	overflow: clip;
	margin-top: 22px;
	border-radius: var(--rm-radius-lg);
	background:
		radial-gradient(circle at 90% 10%, rgba(217, 237, 176, 0.16), transparent 24rem),
		linear-gradient(135deg, var(--rm-topline), #174f43);
	color: #fff;
}

/* У hero-секцій власний внутрішній ритм; загальні section-padding'и не додаються. */
:where(section.remove-service-hero, section.remove-direction-hero) {
	padding-top: 0;
	padding-bottom: 0;
}

.remove-service-hero::after,
.remove-direction-hero::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -170px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.remove-service-hero__inner,
.remove-direction-hero__inner {
	position: relative;
	z-index: 1;
	padding: clamp(32px, 5vw, 68px);
}

.remove-service-hero .wp-block-columns,
.remove-direction-hero .wp-block-columns {
	align-items: center;
	gap: clamp(32px, 5vw, 64px);
}

.remove-service-hero h1,
.remove-direction-hero h1 {
	margin: 12px 0 20px;
	color: #fff;
	font-size: clamp(2.4rem, 4.4vw, 4.4rem);
}

.remove-service-hero :where(p, li),
.remove-direction-hero :where(p, li) { color: #d9e9df; }

.remove-service-hero .is-style-eyebrow,
.remove-direction-hero .is-style-eyebrow { color: var(--rm-lime); }

.remove-service-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0;
}

.remove-service-hero__badges .remove-badge {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.remove-service-hero__badges .remove-badge--lime {
	background: var(--rm-lime);
	color: var(--rm-ink);
}

.remove-service-hero__note {
	max-width: 570px;
	margin-top: 24px;
	padding-left: 16px;
	border-left: 2px solid var(--rm-lime);
	font-size: 0.88rem;
}

.remove-service-hero__image {
	margin: 0;
	transform: rotate(1.5deg);
}

.remove-service-hero__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 4.5;
	border: 7px solid rgba(255, 255, 255, 0.14);
	border-radius: 26px 26px 80px 26px;
	object-fit: cover;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.remove-direction-hero__inner { max-width: 980px; }
.remove-direction-hero .wp-block-term-description { max-width: 760px; }

/* Картка послуги в каталозі. */
.remove-service-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.remove-service-card:hover {
	box-shadow: var(--rm-shadow-md);
	transform: translateY(-5px);
}

.remove-service-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--rm-green-soft);
}

.remove-service-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.remove-service-card:hover .remove-service-card__media img { transform: scale(1.035); }

.remove-service-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.remove-service-card__direction {
	margin-bottom: 10px;
	color: var(--rm-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.remove-service-card__title {
	margin: 0 0 12px;
	font-size: 1.28rem;
	line-height: 1.25;
}

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

.remove-service-card__title a:hover { color: var(--rm-green); }

.remove-service-card__excerpt {
	margin: 0 0 20px;
	color: var(--rm-muted);
	font-size: 0.94rem;
}

.remove-service-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	margin-bottom: 18px;
}

.remove-service-card__meta span {
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--rm-cream);
	color: var(--rm-green-dark);
	font-size: 0.78rem;
	font-weight: 700;
}

.remove-service-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--rm-line);
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration: none;
}

.remove-service-card__link::after {
	content: "↗";
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--rm-green-soft);
	transition: transform 0.2s ease, background 0.2s ease;
}

.remove-service-card__link:hover::after {
	background: var(--rm-lime);
	transform: translate(2px, -2px);
}

.remove-service-card__link:hover { color: var(--rm-green); }

/* Контентні панелі сторінки послуги. */
.remove-service-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.remove-panel { padding: clamp(24px, 3.5vw, 38px); }
.remove-panel--tint { background: var(--rm-green-soft); }
.remove-panel--dark { background: var(--rm-topline); }
.remove-panel--dark :where(h2, h3, p, li) { color: #fff; }
.remove-panel h2, .remove-panel h3 { margin-top: 0; }

.remove-check-list {
	display: grid;
	gap: 14px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.remove-check-list li {
	position: relative;
	padding-left: 32px;
}

.remove-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.75rem;
	font-weight: 900;
}

.remove-panel--tint .remove-check-list li::before { background: #fff; }

.remove-number-list {
	display: grid;
	gap: 0;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: remove-step;
}

.remove-number-list li {
	position: relative;
	padding: 18px 0 18px 58px;
	border-top: 1px solid var(--rm-line);
	counter-increment: remove-step;
}

.remove-number-list li::before {
	content: counter(remove-step, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 17px;
	color: var(--rm-coral);
	font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif);
	font-weight: 800;
}

/* CTA запису з панеллю умов. */
.remove-service-booking {
	display: grid;
	grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
	gap: 28px;
	align-items: start;
	padding: clamp(26px, 4.5vw, 52px);
	border-radius: var(--rm-radius-lg);
	background: var(--rm-green-soft);
}

.remove-service-booking__summary {
	position: sticky;
	top: 112px;
}

.remove-service-booking__summary h2 { margin-top: 8px; }

.remove-service-booking__facts {
	display: grid;
	gap: 10px;
	margin: 24px 0;
}

.remove-service-booking__facts .remove-badge { justify-content: center; }

/* Форми. */
.remove-form {
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(23, 107, 87, 0.12);
	border-radius: var(--rm-radius-md);
	background: #fff;
	box-shadow: var(--rm-shadow-sm);
}

.remove-form__grid { gap: 18px; }

.remove-form__field { gap: 7px; }

.remove-form__field > span {
	color: var(--rm-ink);
	font-size: 0.82rem;
	font-weight: 750;
}

.remove-form input,
.remove-form select,
.remove-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid #cddad1;
	border-radius: 13px;
	background: #fbfcf9;
	color: var(--rm-ink);
	font: inherit;
}

.remove-form textarea { min-height: 108px; resize: vertical; }

.remove-form input::placeholder,
.remove-form textarea::placeholder { color: #819089; }

.remove-form input:hover,
.remove-form select:hover,
.remove-form textarea:hover { border-color: #9bb4a5; }

.remove-form input:focus,
.remove-form select:focus,
.remove-form textarea:focus {
	border-color: var(--rm-green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(23, 107, 87, 0.12);
	outline: none;
}

.remove-form__submit {
	width: 100%;
	margin-top: 22px;
	border: 0;
	cursor: pointer;
	font: inherit;
}

/* Стани валідації та автозаповнення: видимі, без різких кольорових стрибків. */
.remove-form :is(input, select, textarea):user-invalid {
	border-color: #b3261e;
	box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.10);
}

.remove-form input:autofill,
.remove-form input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 60px #fbfcf9 inset;
	box-shadow: 0 0 0 60px #fbfcf9 inset;
	-webkit-text-fill-color: var(--rm-ink);
	caret-color: var(--rm-ink);
}

.remove-form :is(input, select, textarea):disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.remove-form__demo-notice {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--rm-cream);
	font-size: 0.78rem;
}

.remove-form__note {
	margin: 14px 0 0;
	font-size: 0.76rem;
	text-align: center;
}

.remove-form__note a { color: var(--rm-green-dark); }

.remove-form__status {
	margin: 16px 0 0;
	padding: 13px 15px;
	border-radius: 12px;
	font-weight: 700;
}

.remove-form__status.is-success { background: var(--rm-green-soft); color: var(--rm-green-dark); }
.remove-form__status.is-error { background: #fbebe5; color: #8b3f2b; }

/* FAQ: сильніша ієрархія та зручний summary. */
.remove-faq__item {
	border: 1px solid rgba(23, 107, 87, 0.1);
	box-shadow: 0 5px 18px rgba(16, 60, 51, 0.035);
}

.remove-faq__item summary {
	position: relative;
	padding-right: 34px;
	color: var(--rm-ink);
	font-weight: 750;
	line-height: 1.45;
}

.remove-faq__item[open] {
	border-color: rgba(23, 107, 87, 0.26);
	border-left: 3px solid var(--rm-green);
}

/* Контактні дані. */
.remove-contact-list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.remove-contact-list__item {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 13px;
	align-items: start;
}

.remove-contact-list__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-weight: 800;
}

.remove-contact-list strong { display: block; color: var(--rm-ink); }
.remove-contact-list a { color: var(--rm-green-dark); }

/* Стандартні блоки теми — завершальна поліровка. */
.remove-directions .wp-block-column,
.remove-programs .wp-block-column,
.remove-pricing .wp-block-column {
	border: 1px solid rgba(23, 107, 87, 0.09);
}

.remove-directions .wp-block-image img {
	border-radius: 20px;
}

.remove-booking-cta {
	border-radius: var(--rm-radius-lg);
	background:
		radial-gradient(circle at 90% 0%, rgba(217, 237, 176, 0.14), transparent 24rem),
		var(--rm-green-dark);
}

.remove-booking-cta__facts {
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
}

.remove-breadcrumbs {
	margin-top: 24px;
	margin-bottom: 24px;
	font-size: 0.84rem;
}

.remove-breadcrumbs a {
	color: var(--rm-green-dark);
	text-decoration: none;
}

.remove-breadcrumbs a:hover { text-decoration: underline; }

/* Footer: стабільна grid-сітка замість вузьких flex-колонок. */
.remove-footer {
	margin-top: 40px;
	padding-top: clamp(48px, 6vw, 76px);
	padding-bottom: 28px;
	background: var(--rm-topline);
	color: #fff;
}

.remove-footer__grid {
	display: grid !important;
	grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
}

/* Планшет: 2 колонки (бренд+контакти / меню+інформація). */
@media (max-width: 960px) {
	.remove-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 28px;
	}
}

/* Мобільний: ті самі 2 колонки в 2 ряди — без «розтягнутих» колонок
 * і без горизонтального переповнення. */
@media (max-width: 560px) {
	.remove-footer {
		margin-top: 24px;
		padding-top: 40px;
	}

	.remove-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.remove-footer__grid .wp-block-heading {
		font-size: var(--wp--preset--font-size--small, 14px);
		text-transform: uppercase;
		letter-spacing: 0.06em;
	}

	.remove-footer__menu a {
		min-height: 40px;
	}
}

/* Усі внутрішні рядки footer вирівнюються з єдиним wide-контейнером,
 * а не із вузькою contentSize-колонкою constrained layout. */
.remove-topline__inner,
.remove-footer__cta-shell,
.remove-footer__disclaimer,
.remove-footer__bottom,
.remove-footer > .wp-block-separator {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
}

.remove-footer__grid > .wp-block-column {
	width: auto !important;
	min-width: 0;
	margin: 0;
	flex-basis: auto !important;
}

.remove-footer__grid > .wp-block-column > * { max-width: 100%; }

.remove-footer a {
	overflow-wrap: anywhere;
	text-underline-offset: 3px;
}

.remove-footer :is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a {
	color: #fff;
}

.remove-footer__menu .wp-block-navigation__container {
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
}

.remove-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	line-height: 1.4;
}

.remove-footer__bottom {
	gap: 16px 28px;
	align-items: flex-start;
}

.remove-footer__bottom > p { margin: 0; }

.remove-footer__legal .wp-block-navigation__container {
	flex-wrap: wrap;
	gap: 8px 20px;
}

.remove-footer__legal a {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	line-height: 1.4;
}

/* Footer CTA: адмінськи керований наступний крок перед дисклеймером. */
.remove-footer__cta-shell {
	margin-top: clamp(28px, 4vw, 48px);
}

.remove-footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(20px, 4vw, 44px);
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: calc(var(--rm-radius, 24px) + 6px);
	background:
		radial-gradient(circle at 12% 10%, rgba(216, 232, 169, 0.16), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.remove-footer-cta__content {
	max-width: 720px;
}

.remove-footer-cta__content > * {
	margin-top: 0;
}

.remove-footer-cta__title {
	margin-bottom: 10px;
	color: var(--rm-white);
}

.remove-footer-cta__text {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.78);
}

.remove-footer-cta__button {
	flex: 0 0 auto;
}

@media (max-width: 600px) {
	.remove-footer-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.remove-footer-cta__button {
		width: 100%;
		justify-content: center;
	}
}

/* Адаптивність. */
/* Будь-який Query Loop із явним grid columnCount отримує передбачуваний
 * мобільний колапс; WP core сам по собі breakpoint-ів для таких сіток не додає. */
@media (max-width: 1080px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 600px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 1080px) {
	.remove-info-grid,
	.remove-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.remove-hero h1 { font-size: clamp(2.55rem, 5.6vw, 4.2rem); }
}

@media (max-width: 782px) {
	:where(section.wp-block-group) {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.remove-section-heading,
	.remove-service-details,
	.remove-service-booking {
		grid-template-columns: 1fr;
	}

	.remove-section-heading { gap: 12px; margin-bottom: 26px; }

	.remove-hero > .wp-block-columns,
	.remove-service-hero .wp-block-columns,
	.remove-direction-hero .wp-block-columns { gap: 28px; }

	.remove-hero h1 { font-size: clamp(2.45rem, 10vw, 3.7rem); }

	.remove-hero__image img {
		max-height: 480px;
		border-radius: 26px 26px 72px 26px;
	}

	.remove-hero__note { margin: -34px 12px 0; }

	.remove-service-hero,
	.remove-direction-hero {
		margin-top: 12px;
		border-radius: 24px;
	}

	.remove-service-hero__inner,
	.remove-direction-hero__inner { padding: 28px 22px; }

	.remove-service-hero h1,
	.remove-direction-hero h1 { font-size: clamp(2.25rem, 9vw, 3.4rem); }

	.remove-service-hero__image { transform: none; }

	.remove-service-hero__image img {
		aspect-ratio: 16 / 11;
		border-radius: 20px 20px 54px 20px;
	}

	.remove-service-booking__summary { position: static; }

	.remove-info-card { padding: 23px; }

	.remove-panel { padding: 24px 20px; }

	.wp-element-button,
	.wp-block-button__link,
	.remove-form__submit { min-height: 50px; }
}

@media (max-width: 540px) {
	.remove-info-grid,
	.remove-service-grid { grid-template-columns: 1fr; }

	.remove-service-card__body { padding: 21px; }

	.remove-service-booking { padding: 22px 16px; border-radius: 22px; }

	.remove-form { padding: 20px 16px; }

	.remove-form__grid { grid-template-columns: 1fr; }

	.remove-hero__note { padding: 17px 18px; }

	.remove-badge { min-height: 35px; padding: 7px 12px; }

	.wp-block-buttons { gap: 12px; }

	.wp-block-buttons .wp-block-button,
	.wp-block-buttons .wp-block-button__link { width: 100%; }

	.wp-block-buttons .wp-block-button__link { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.remove-info-card,
	.remove-service-card,
	.remove-service-card__media img,
	.wp-element-button,
	.wp-block-button__link { transition: none; }

	.remove-info-card:hover,
	.remove-service-card:hover,
	.wp-element-button:hover,
	.wp-block-button__link:hover { transform: none; }
}


/* v1.3.0 — сумісність динамічних компонентів із темними секціями. */
.remove-faq__item {
	padding: 20px 22px;
}

.remove-footer .remove-contact-list,
.remove-booking-cta .remove-contact-list {
	color: #d9e9df;
	font-size: 0.88rem;
}

.remove-footer .remove-contact-list strong,
.remove-booking-cta .remove-contact-list strong {
	color: #fff;
	font-weight: 600;
}

.remove-footer .remove-contact-list a,
.remove-booking-cta .remove-contact-list a {
	color: var(--rm-lime);
}

.remove-footer .remove-contact-list__icon,
.remove-booking-cta .remove-contact-list__icon {
	background: rgba(255, 255, 255, 0.09);
	color: var(--rm-lime);
}

.remove-footer .remove-contact-list__item {
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
}

.remove-footer .remove-contact-list__icon {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	font-size: 0.75rem;
}

.remove-service-hero .wp-block-post-excerpt__excerpt,
.remove-direction-hero .wp-block-term-description {
	font-size: clamp(1.04rem, 1rem + 0.25vw, 1.2rem);
}

.remove-catalog-empty {
	padding: 26px;
	border: 1px dashed var(--rm-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 782px) {
	.remove-service-hero .wp-block-buttons .wp-block-button,
	.remove-direction-hero .wp-block-buttons .wp-block-button,
	.remove-service-hero .wp-block-buttons .wp-block-button__link,
	.remove-direction-hero .wp-block-buttons .wp-block-button__link {
		width: auto;
	}
}


/* v1.4.0 — цілісність layout, ранній mobile header і читабельні gutters. */
:where(pre) {
	max-width: 100%;
	overflow-x: auto;
}

:where(.wp-block-post-content, .remove-article) :where(a, code) {
	overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
	/* Не чекаємо, поки шість пунктів меню й CTA почнуть перекриватися. */
	.remove-header .remove-nav { justify-self: end; }

	.remove-header .remove-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.remove-header .remove-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.remove-header .wp-block-navigation__responsive-container.is-menu-open {
		display: flex;
		width: auto;
		max-width: none;
		height: auto;
		max-height: 100dvh;
		padding: clamp(20px, 4vw, 36px) !important;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.remove-header .wp-block-navigation__responsive-container-close {
		top: 14px;
		right: 14px;
		width: 46px;
		height: 46px;
	}

	.remove-header .wp-block-navigation__responsive-container-content {
		width: min(100%, 640px);
		margin: 0 auto;
		padding-top: 64px !important;
	}

	.remove-header .remove-nav .wp-block-navigation__container {
		width: 100%;
		gap: 4px !important;
	}

	.remove-header .remove-nav .wp-block-navigation-item {
		width: 100%;
		margin: 0;
	}

	.remove-header .remove-nav .wp-block-navigation-item a {
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 52px;
		padding: 13px 14px;
		border-bottom: 1px solid var(--rm-line);
		font-size: 1.12rem;
		line-height: 1.4;
	}
}

@media (max-width: 1080px) {
	.remove-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 48px;
	}
}

@media (max-width: 1080px) {
	.remove-hero > .wp-block-columns,
	.remove-service-hero .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 30px;
	}

	.remove-hero > .wp-block-columns > .wp-block-column,
	.remove-service-hero .wp-block-columns > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.remove-hero__image,
	.remove-service-hero__image {
		width: min(100%, 680px);
	}

	.remove-hero h1 { max-width: 760px; }

	.remove-service-booking {
		grid-template-columns: minmax(0, 1fr);
	}

	.remove-service-booking__summary { position: static; }
}

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

	.remove-header__nav {
		min-height: 70px;
		gap: 12px;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a {
		gap: 9px;
		font-size: 1.02rem;
	}

	:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a::before {
		width: 40px;
		height: 40px;
		border-radius: 13px;
		font-size: 21px;
	}

	.remove-header__actions .wp-block-buttons { display: block; }

	.remove-header__actions .wp-block-button__link {
		min-height: 44px;
		padding: 11px 15px;
		font-size: 0.82rem;
	}

	.remove-hero h1 {
		font-size: clamp(2.05rem, 8.5vw, 3.35rem);
		line-height: 1.08;
	}

	.remove-service-hero h1,
	.remove-direction-hero h1 {
		font-size: clamp(1.95rem, 8vw, 3rem);
		line-height: 1.1;
	}

	.remove-hero__note {
		max-width: 100%;
		margin: 16px 0 0;
	}

	.remove-service-hero__inner,
	.remove-direction-hero__inner { padding: 28px 22px; }

	.remove-footer { padding-bottom: 92px; }

	.remove-footer__menu a { min-height: 44px; }

	.remove-footer__bottom {
		flex-direction: column;
		gap: 14px;
	}

	.remove-form__note,
	.remove-form__demo-notice { font-size: 0.82rem; }

	.remove-sticky-cta {
		left: 20px;
		right: 20px;
	}
}

@media (max-width: 600px) {
	.remove-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.remove-footer__legal .wp-block-navigation__container {
		align-items: flex-start;
		flex-direction: column;
	}

	.remove-footer__legal a { min-height: 44px; }
}

@media (max-width: 540px) {
	.remove-header__actions { display: none; }

	.remove-header__nav { grid-template-columns: auto minmax(0, 1fr); }

	.remove-header .remove-nav { grid-column: 2; }

	.remove-service-hero__inner,
	.remove-direction-hero__inner { padding: 25px 20px; }

	.remove-service-hero .wp-block-buttons .wp-block-button,
	.remove-direction-hero .wp-block-buttons .wp-block-button,
	.remove-service-hero .wp-block-buttons .wp-block-button__link,
	.remove-direction-hero .wp-block-buttons .wp-block-button__link {
		width: 100%;
	}

	.remove-service-card__body { padding: 20px; }

	.remove-info-card { padding: 22px 20px; }

	.remove-faq__item { padding: 18px; }

	.has-small-font-size { font-size: 0.875rem !important; }
}


/* ==========================================================================
   v1.5.0 — програми, бібліотека вправ, фахівці та завершений booking flow.
   ========================================================================== */

/* Двокроковий Service Finder: нативні поля, чипи та зрозумілий стан вибору. */
.remove-finder__step {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.remove-finder__step + .remove-finder__step {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--rm-line);
}

.remove-finder__step legend {
	width: 100%;
	margin-bottom: 12px;
	padding: 0;
	color: var(--rm-ink);
	font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif);
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.4;
}

.remove-finder__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.remove-choice {
	min-height: 44px;
	max-width: 100%;
	padding: 10px 15px;
	border: 1px solid var(--rm-line);
	border-radius: 999px;
	background: var(--rm-white, #fff);
	color: var(--rm-muted);
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.remove-choice:hover {
	border-color: var(--rm-green);
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

.remove-choice.is-active,
.remove-choice[aria-pressed="true"] {
	border-color: var(--rm-green);
	background: var(--rm-green);
	color: #fff;
	box-shadow: 0 5px 14px rgba(23, 107, 87, 0.14);
}

.remove-finder__actions {
	margin-top: 20px;
}

/* Спільна композиція архівних і одиночних hero-секцій. */
:is(.remove-program-archive-hero, .remove-exercise-archive-hero) {
	border-bottom: 1px solid rgba(23, 107, 87, 0.09);
	background:
		radial-gradient(circle at 90% 10%, rgba(217, 237, 176, 0.5), transparent 25rem),
		var(--rm-green-soft);
}

:is(.remove-program-archive-hero, .remove-exercise-archive-hero) h1 {
	max-width: 900px;
	margin: 14px 0 22px;
	font-size: clamp(2.5rem, 5vw, 4.8rem);
}

:is(.remove-program-archive-hero, .remove-exercise-archive-hero) .has-lead-font-size {
	max-width: 790px;
}

:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) {
	position: relative;
	overflow: clip;
	margin-top: 22px;
	border: 1px solid rgba(23, 107, 87, 0.09);
	border-radius: var(--rm-radius-lg);
	background:
		radial-gradient(circle at 92% 5%, rgba(217, 237, 176, 0.46), transparent 24rem),
		var(--rm-green-soft);
}

:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) > .wp-block-columns {
	gap: clamp(30px, 5vw, 68px);
	align-items: center;
}

:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) h1 {
	margin: 12px 0 20px;
	font-size: clamp(2.25rem, 4.3vw, 4.25rem);
}

:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) .wp-block-post-featured-image {
	margin: 0;
}

:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	border: 6px solid rgba(255, 255, 255, 0.6);
	object-fit: cover;
	box-shadow: var(--rm-shadow-md);
}

.remove-specialist-hero .wp-block-post-featured-image {
	width: min(100%, 430px);
}

:is(.remove-program-hero__meta, .remove-exercise-hero__meta) {
	gap: 10px;
	margin: 24px 0;
}

/* Query Loop: реальні картки програм і навчальних матеріалів. */
:is(.remove-program-card, .remove-exercise-card) {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	padding: 22px;
	border: 1px solid rgba(23, 107, 87, 0.1);
	border-radius: var(--rm-radius-md);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--rm-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

:is(.remove-program-card, .remove-exercise-card):hover {
	border-color: rgba(23, 107, 87, 0.24);
	box-shadow: var(--rm-shadow-md);
	transform: translateY(-5px);
}

:is(.remove-program-card, .remove-exercise-card) .wp-block-post-featured-image {
	width: 100%;
	margin: 0 0 20px;
	overflow: hidden;
}

:is(.remove-program-card, .remove-exercise-card) .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

:is(.remove-program-card, .remove-exercise-card):hover .wp-block-post-featured-image img {
	transform: scale(1.025);
}

:is(.remove-program-card, .remove-exercise-card) :is(h2, h3) {
	margin: 10px 0 12px;
	font-size: 1.3rem;
	line-height: 1.25;
}

:is(.remove-program-card, .remove-exercise-card) :is(h2, h3) a {
	color: var(--rm-ink);
	text-decoration: none;
}

:is(.remove-program-card, .remove-exercise-card) :is(h2, h3) a:hover {
	color: var(--rm-green);
}

:is(.remove-program-card, .remove-exercise-card) .wp-block-post-excerpt {
	margin-bottom: 18px;
}

:is(.remove-program-card__meta, .remove-exercise-card__meta) {
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--rm-line);
}

.remove-exercise-card__focus {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.remove-exercise-card__focus a {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: none;
}

.remove-card-link,
.wp-block-read-more.remove-card-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: 18px;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration: none;
}

.remove-program-terms {
	margin-top: 28px;
	padding: 22px 24px;
	border: 1px solid rgba(23, 107, 87, 0.09);
	border-radius: 20px;
}

.remove-program-terms p:last-child { margin-bottom: 0; }

/* Фільтри таксономій і сторінкова навігація. */
.remove-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.remove-filter-chips a[aria-current="page"] {
	border-color: var(--rm-green);
	background: var(--rm-green);
	color: #fff;
}

:is(.remove-program-catalog, .remove-exercise-query) .wp-block-query-pagination {
	gap: 8px;
	margin-top: 34px;
}

/* Заявка: однаковий сценарій на сторінках послуг, програм і фахівців. */
.remove-booking-panel {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid rgba(23, 107, 87, 0.11);
	border-radius: var(--rm-radius-lg);
	box-shadow: var(--rm-shadow-sm);
}

.remove-booking-panel > .wp-block-columns {
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
}

.remove-booking-panel .remove-form {
	box-shadow: none;
}

/* Підтверджений зв'язок послуги та фахівця. */
.remove-specialist-mini {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 620px;
	padding: 16px;
	border: 1px solid var(--rm-line);
	border-radius: 20px;
	background: #fff;
	color: var(--rm-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.remove-specialist-mini:hover {
	border-color: var(--rm-green);
	box-shadow: var(--rm-shadow-sm);
}

.remove-specialist-mini img {
	width: 88px;
	height: 88px;
	flex: 0 0 88px;
	border-radius: 16px;
	object-fit: cover;
}

.remove-specialist-mini > span {
	display: grid;
	min-width: 0;
	gap: 4px;
}

.remove-specialist-mini strong { color: var(--rm-ink); }
.remove-specialist-mini small { color: var(--rm-muted); }
.remove-specialist-mini > span > span { color: var(--rm-green-dark); font-weight: 800; }

.remove-card-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.remove-card-list__item {
	display: flex;
	min-width: 0;
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 18px;
	border: 1px solid rgba(23, 107, 87, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.76);
	color: var(--rm-ink);
	font-weight: 700;
	text-decoration: none;
}

.remove-card-list__item:hover {
	border-color: var(--rm-green);
	background: #fff;
	color: var(--rm-green-dark);
}

/* Відео й мапа: лише реальні зовнішні матеріали, без iframe-трекерів. */
.remove-video-empty {
	margin: 20px 0 0;
	padding: 14px 16px;
	border-left: 3px solid var(--rm-green);
	border-radius: 0 14px 14px 0;
	background: rgba(255, 255, 255, 0.66);
	font-size: 0.88rem;
}

.remove-video-link { margin-top: 22px; }
.remove-video-link a { display: inline-flex; }

.remove-map-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-underline-offset: 4px;
}

.remove-finder__safety {
	margin-top: 10px;
	color: var(--rm-muted);
}

:is(.remove-booking-panel-section, .remove-service-booking-section, .remove-booking-section, .remove-certificate-request) {
	scroll-margin-top: 110px;
}

/* Динамічна таблиця: скролиться всередині фігури, а не розширює сторінку.
 * Фіксовані пропорції колонок запобігають «плаваючому» горизонтальному
 * вирівнюванню, а middle — різній висоті рядків на десктопі. */
.wp-block-table.is-style-comparison {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.wp-block-table.is-style-comparison table {
	width: 100%;
	min-width: 680px;
	table-layout: fixed;
}

.wp-block-table.is-style-comparison th,
.wp-block-table.is-style-comparison td {
	vertical-align: middle;
	overflow-wrap: anywhere;
}

.wp-block-table.is-style-comparison .remove-table__heading--service,
.wp-block-table.is-style-comparison .remove-table__cell--service { width: 34%; }

.wp-block-table.is-style-comparison .remove-table__heading--direction,
.wp-block-table.is-style-comparison .remove-table__cell--direction { width: 24%; }

.wp-block-table.is-style-comparison .remove-table__heading--duration,
.wp-block-table.is-style-comparison .remove-table__cell--duration { width: 18%; }

.wp-block-table.is-style-comparison .remove-table__heading--price,
.wp-block-table.is-style-comparison .remove-table__cell--price { width: 24%; }

@media (max-width: 1080px) {
	:is(.remove-program-catalog, .remove-programs__query, .remove-exercise-query) .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	:is(.remove-finder, .remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) > .wp-block-columns,
	.remove-booking-panel > .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 28px;
	}

	:is(.remove-finder, .remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) > .wp-block-columns > .wp-block-column,
	.remove-booking-panel > .wp-block-columns > .wp-block-column {
		width: 100% !important;
		flex-basis: auto !important;
	}

	.remove-specialist-hero .wp-block-post-featured-image { width: min(100%, 520px); }
}

@media (max-width: 782px) {
	:is(.remove-program-archive-hero, .remove-exercise-archive-hero) h1 {
		font-size: clamp(2.1rem, 9vw, 3.3rem);
	}

	:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) {
		border-radius: 24px;
	}

	:is(.remove-program-hero, .remove-exercise-hero, .remove-specialist-hero) h1 {
		font-size: clamp(2rem, 8vw, 3rem);
	}

	:is(.remove-specialist-credentials, .remove-exercise-next, .remove-certificate-options, .remove-finder-explanation) > .wp-block-columns {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 24px;
	}

	.remove-card-list { grid-template-columns: minmax(0, 1fr); }

	/* Панель існує лише після ініціалізації JS і не перекриває контент. */
	body.remove-has-sticky-cta {
		padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
	}

	.remove-has-sticky-cta .remove-footer { padding-bottom: 32px; }

	body.remove-has-sticky-cta .remove-sticky-cta {
		display: flex;
		left: 12px;
		right: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		z-index: 70;
		gap: 8px;
		padding: 8px;
		border: 1px solid rgba(23, 107, 87, 0.15);
		border-radius: 20px;
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 16px 44px rgba(16, 60, 51, 0.22);
	}

	.remove-sticky-cta > a {
		display: inline-flex;
		min-width: 0;
		min-height: 52px;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		padding: 11px 12px;
		font-size: clamp(0.76rem, 3.4vw, 0.9rem);
		line-height: 1.25;
		text-align: center;
		text-decoration: none;
	}

	.remove-sticky-cta > a:hover,
	.remove-sticky-cta > a:active {
		transform: none;
	}

	.remove-sticky-cta .remove-sticky-cta__phone {
		border: 1px solid rgba(23, 107, 87, 0.28);
		border-radius: 999px;
		background: var(--rm-green-soft);
		color: var(--rm-green-dark);
		box-shadow: none;
		font-weight: 800;
	}

	.remove-sticky-cta .wp-block-button__link {
		width: auto;
		box-shadow: none;
	}

	/* Нативний Navigation overlay додає has-modal-open на <html>; sticky CTA
	 * не повинен перекривати меню, close button чи мовний перемикач. */
	html.has-modal-open .remove-sticky-cta,
	body.remove-modal-open .remove-sticky-cta { display: none !important; }
}

@media (max-width: 600px) {
	:is(.remove-program-catalog, .remove-programs__query, .remove-exercise-query) .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (max-width: 540px) {
	.remove-finder__panel { padding: 22px 18px; }
	.remove-choice { width: 100%; text-align: center; }
	:is(.remove-program-card, .remove-exercise-card) { padding: 18px; }
	.remove-booking-panel { padding: 22px 16px; border-radius: 22px; }
	.remove-program-terms { padding: 18px; }
	.remove-specialist-mini { align-items: flex-start; gap: 14px; padding: 14px; }
	.remove-specialist-mini img { width: 72px; height: 72px; flex-basis: 72px; }
	.remove-sticky-cta { left: 10px; right: 10px; gap: 6px; padding: 7px; border-radius: 18px; }
	.remove-sticky-cta > a { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	:is(.remove-program-card, .remove-exercise-card),
	:is(.remove-program-card, .remove-exercise-card) .wp-block-post-featured-image img,
	.remove-specialist-mini { transition: none; }

	:is(.remove-program-card, .remove-exercise-card):hover,
	:is(.remove-program-card, .remove-exercise-card):hover .wp-block-post-featured-image img {
		transform: none;
	}
}


/* ==========================================================================
   V2 — медично-реабілітаційний фінальний шар
   Глибока спокійна палітра, реальні компоненти, touch/focus/responsive.
   Не замінює baseline вище, а лише уточнює його пізнішими селекторами.
   ========================================================================== */

:root {
	--rm-v2-ink: var(--rm-ink);
	--rm-v2-muted: var(--rm-muted);
	--rm-v2-surface: rgba(255, 255, 255, 0.94);
	--rm-v2-surface-strong: #fff;
	--rm-v2-soft: var(--rm-green-soft);
	--rm-v2-line: rgba(23, 107, 87, 0.15);
	--rm-v2-shadow: 0 18px 50px rgba(16, 60, 51, 0.1);
	--rm-v2-shadow-lift: 0 24px 64px rgba(16, 60, 51, 0.15);
	--rm-v2-radius-sm: 14px;
	--rm-v2-radius: 22px;
	--rm-v2-radius-lg: 30px;
	--rm-v2-header-h: 80px;
}

/* Типографіка й інтерактив: читабельність без зміни font-family системи. */
body {
	background:
		linear-gradient(180deg, rgba(228, 240, 232, 0.42), rgba(247, 245, 239, 0) 34rem),
		var(--rm-cream);
}

:where(main, .wp-block-post-content) {
	min-width: 0;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--rm-coral);
	outline-offset: 3px;
	border-radius: 8px;
	box-shadow: 0 0 0 6px rgba(201, 104, 75, 0.14);
}

:where(.wp-element-button, .wp-block-button__link, .remove-form__submit, .remove-checklist__btn) {
	letter-spacing: 0.005em;
}

button:disabled,
.wp-element-button:disabled,
.wp-block-button__link:disabled,
.wp-element-button[aria-disabled="true"],
.wp-block-button__link[aria-disabled="true"] {
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.68;
	transform: none;
}

.remove-form__submit:disabled {
	cursor: progress;
}

.remove-form__status.is-success,
.remove-form__status.is-error {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border: 1px solid currentColor;
}

.remove-form__status.is-success::before,
.remove-form__status.is-error::before {
	flex: 0 0 auto;
	font-weight: 900;
	line-height: inherit;
}

.remove-form__status.is-success::before { content: "✓"; }
.remove-form__status.is-error::before { content: "!"; }

/* Загальні таблиці: повна ширина контентної колонки, контентний скрол,
 * передбачуване горизонтальне вирівнювання та однакова вертикальна вісь. */
:where(.wp-block-post-content, .remove-panel) .wp-block-table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

:where(.wp-block-post-content, .remove-panel) .wp-block-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: separate;
	border-spacing: 0;
}

:where(.wp-block-post-content, .remove-panel) .wp-block-table :where(th, td) {
	padding: 14px 16px;
	border-bottom: 1px solid var(--rm-line);
	overflow-wrap: anywhere;
	text-align: left;
	vertical-align: middle;
}

:where(.wp-block-post-content, .remove-panel) .wp-block-table th {
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	text-align: left;
}

/* Header: supplementary controls не витісняють brand/native nav/CTA. */
.remove-header {
	background: rgba(250, 249, 245, 0.98);
	box-shadow: 0 8px 28px rgba(16, 60, 51, 0.07);
}

.remove-header__brand,
.remove-header__brand-text,
.remove-header__actions,
.remove-header-services {
	min-width: 0;
}

.remove-header__brand-text {
	overflow: hidden;
}

.remove-header__tagline {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.remove-header__actions {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

/* Мовний switcher залишається доступним, доки дозволяє ширина. */
.remove-header__actions > ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.remove-header__actions > ul a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--rm-green-dark);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.remove-header__actions > ul a:hover {
	background: var(--rm-green-soft);
}

/* Мовний перемикач дублюється лише для mobile overlay: у шапці 320–480px
 * він не витісняє booking CTA, а у відкритому меню лишається доступним. */
.remove-mobile-language { display: none; }

.remove-mobile-language ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.remove-mobile-language a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid rgba(23, 107, 87, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--rm-green-dark);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.remove-header-services {
	display: flex;
	align-items: center;
	gap: 6px;
}

.remove-header-services__item,
.remove-header-services__mega {
	position: relative;
	flex: 0 0 auto;
}

.remove-header-services__summary {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--rm-ink);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 750;
	line-height: 1.2;
	list-style: none;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.remove-header-services__summary::-webkit-details-marker { display: none; }

.remove-header-services__summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.18s ease;
}

.remove-header-services__summary:hover,
.remove-header-services__item[open] > .remove-header-services__summary,
.remove-header-services__mega[open] > .remove-header-services__summary {
	border-color: rgba(23, 107, 87, 0.18);
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

.remove-header-services__item[open] > .remove-header-services__summary::after,
.remove-header-services__mega[open] > .remove-header-services__summary::after {
	transform: translateY(2px) rotate(225deg);
}

.remove-header-services__count {
	display: inline-grid;
	min-width: 24px;
	height: 24px;
	place-items: center;
	padding-inline: 6px;
	border-radius: 999px;
	background: var(--rm-green);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.remove-header-services__panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 65;
	width: min(340px, calc(100vw - 40px));
	max-height: min(70vh, 520px);
	margin: 0;
	padding: 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(23, 107, 87, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.99);
	box-shadow: 0 24px 60px rgba(16, 60, 51, 0.18);
}

.remove-header-services__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.remove-header-services__list a,
.remove-header-services__all {
	display: flex;
	min-height: 44px;
	align-items: center;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--rm-ink);
	line-height: 1.35;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.remove-header-services__list a:hover,
.remove-header-services__all:hover {
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

.remove-header-services__all {
	justify-content: space-between;
	margin-top: 8px;
	border-top: 1px solid var(--rm-line);
	border-radius: 0 0 12px 12px;
	color: var(--rm-green-dark);
	font-weight: 800;
}

.remove-header__finder,
.remove-header__button,
.remove-header__actions .remove-booking-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.remove-header__finder {
	padding: 10px 14px;
	border: 1px solid rgba(23, 107, 87, 0.22);
	background: rgba(255, 255, 255, 0.72);
	color: var(--rm-green-dark);
}

.remove-header__finder:hover {
	border-color: var(--rm-green);
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

.remove-header__button,
.remove-header__actions .remove-booking-button {
	padding: 10px 16px;
	box-shadow: 0 8px 18px rgba(23, 107, 87, 0.14);
}

.remove-header__phone,
.remove-topline__email {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
}

/* Спокійніші hero: глибина без надмірного декору й поворотів. */
.remove-hero::before { opacity: 0.55; }

.remove-service-hero,
.remove-direction-hero,
.remove-program-hero,
.remove-exercise-hero,
.remove-specialist-hero {
	border: 1px solid rgba(23, 107, 87, 0.1);
	box-shadow: 0 18px 50px rgba(16, 60, 51, 0.08);
}

.remove-service-hero__image { transform: none; }

.remove-hero__image img,
.remove-service-hero__image img,
.remove-directions__grid img {
	box-shadow: 0 18px 48px rgba(16, 60, 51, 0.16);
}

/* Каталог: групи напрямків, зрозуміла ієрархія та стабільні картки. */
.remove-service-catalog {
	padding-bottom: clamp(70px, 8vw, 116px);
}

.remove-direction-group {
	min-width: 0;
}

.remove-direction-group + .remove-direction-group {
	margin-top: clamp(48px, 6vw, 76px);
	padding-top: clamp(28px, 4vw, 44px);
	border-top: 1px solid rgba(23, 107, 87, 0.14);
}

.remove-direction-group__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px 28px;
	margin-bottom: 24px;
}

.remove-direction-group__title {
	display: flex;
	min-width: 0;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
	line-height: 1.2;
}

.remove-direction-group__title a {
	color: var(--rm-ink);
	overflow-wrap: anywhere;
	text-decoration-color: rgba(23, 107, 87, 0.24);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.remove-direction-group__title a:hover { color: var(--rm-green-dark); }

.remove-direction-group__count {
	display: inline-grid;
	min-width: 32px;
	height: 32px;
	place-items: center;
	padding-inline: 8px;
	border-radius: 999px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.82rem;
	font-weight: 800;
}

.remove-direction-group__all {
	display: inline-flex;
	min-height: 44px;
	flex: 0 0 auto;
	align-items: center;
	border-radius: 999px;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.remove-service-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.2vw, 28px);
}

.remove-service-grid--related {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.remove-service-card {
	border: 1px solid rgba(23, 107, 87, 0.12);
	border-radius: var(--rm-v2-radius);
	background: var(--rm-v2-surface);
	box-shadow: 0 10px 32px rgba(16, 60, 51, 0.065);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.remove-service-card:hover,
.remove-service-card:focus-within {
	border-color: rgba(23, 107, 87, 0.28);
	box-shadow: var(--rm-v2-shadow-lift);
	transform: translateY(-3px);
}

.remove-service-card__media {
	border-bottom: 1px solid rgba(23, 107, 87, 0.09);
}

.remove-service-card__media img {
	display: block;
	max-width: 100%;
}

.remove-service-card__body {
	padding: clamp(20px, 2.2vw, 26px);
}

.remove-service-card__direction {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.remove-service-card__direction::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.remove-service-card__title {
	font-size: clamp(1.16rem, 1.04rem + 0.45vw, 1.38rem);
	overflow-wrap: anywhere;
}

.remove-service-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow-wrap: anywhere;
}

.remove-service-card__meta span {
	border: 1px solid rgba(23, 107, 87, 0.1);
	background: rgba(228, 240, 232, 0.62);
	overflow-wrap: anywhere;
}

.remove-service-card__link {
	min-height: 44px;
	align-items: center;
}

.remove-service-card__link:focus-visible,
.remove-service-card__title a:focus-visible {
	outline-offset: 4px;
}

/* Single service: AEO-акцент, медіа й суміжні блоки. */
.remove-service-answer-section {
	padding-top: clamp(34px, 5vw, 62px);
	padding-bottom: clamp(28px, 4vw, 52px);
}

.remove-service-answer {
	max-width: 920px;
	padding: clamp(22px, 3.4vw, 36px);
	border: 1px solid rgba(23, 107, 87, 0.14);
	border-left: 5px solid var(--rm-green);
	border-radius: var(--rm-v2-radius);
	background: rgba(228, 240, 232, 0.64);
	box-shadow: 0 10px 28px rgba(16, 60, 51, 0.055);
}

.remove-service-answer__text {
	max-width: 76ch;
	margin: 0;
	color: var(--rm-ink);
	font-size: clamp(1.04rem, 1rem + 0.28vw, 1.24rem);
	font-weight: 600;
	line-height: 1.62;
}

.remove-service-media-section {
	padding-top: clamp(36px, 5vw, 68px);
	padding-bottom: clamp(36px, 5vw, 68px);
}

.remove-service-media {
	display: grid;
	gap: clamp(24px, 3vw, 34px);
}

.remove-service-media figure,
.remove-service-media__infographic {
	margin: 0;
}

.remove-service-media__infographic {
	width: 100%;
}

.remove-service-media__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: 1px solid rgba(23, 107, 87, 0.1);
	border-radius: var(--rm-v2-radius);
	background: var(--rm-green-soft);
	box-shadow: 0 14px 38px rgba(16, 60, 51, 0.09);
}

.remove-service-media__caption {
	margin-top: 10px;
	color: var(--rm-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

.remove-service-media__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.remove-service-media__item {
	min-width: 0;
	margin: 0;
}

.remove-service-format-note,
.remove-service-safety__text {
	overflow-wrap: anywhere;
}

.remove-service-format-note {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-left: 3px solid var(--rm-green);
	border-radius: 0 12px 12px 0;
	background: rgba(255, 255, 255, 0.58);
	color: var(--rm-ink);
}

.remove-faq__list,
.remove-service-faq {
	display: grid;
	gap: 12px;
}

.remove-faq__item {
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
}

.remove-faq__item summary {
	min-height: 56px;
	align-items: center;
	padding-top: 16px;
	padding-bottom: 16px;
}

.remove-faq__item p:last-child { margin-bottom: 0; }

.remove-service-checklist__heading {
	margin-top: 0;
	margin-bottom: 20px;
}

:is(.remove-service-booking-section, .remove-service-checklist-section, .remove-checklist-section, .remove-service-media-section, .remove-related) {
	scroll-margin-top: calc(var(--rm-v2-header-h) + 28px);
}

/* Статичний список переваг команди: без конфлікту з інтерактивним .remove-checklist. */
.remove-specialists .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--rm-radius-md);
	object-fit: cover;
	box-shadow: var(--rm-shadow-sm);
}

.remove-specialist-points {
	display: grid;
	gap: 12px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.remove-specialist-points li {
	position: relative;
	padding-left: 34px;
	color: var(--rm-muted);
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.remove-specialist-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.08em;
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border: 1px solid rgba(23, 107, 87, 0.14);
	border-radius: 50%;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.76rem;
	font-weight: 900;
	line-height: 1;
}

/* Чек-листи: картки каталогу. */
.remove-checklists-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2vw, 26px);
}

.remove-checklist-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	gap: 12px;
	padding: clamp(20px, 2.3vw, 26px);
	border: 1px solid rgba(23, 107, 87, 0.12);
	border-radius: var(--rm-v2-radius);
	background: var(--rm-v2-surface);
	box-shadow: 0 10px 30px rgba(16, 60, 51, 0.06);
	color: var(--rm-ink);
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.remove-checklist-card:hover,
.remove-checklist-card:focus-visible {
	border-color: rgba(23, 107, 87, 0.3);
	box-shadow: var(--rm-v2-shadow);
	transform: translateY(-3px);
}

.remove-checklist-card__mode {
	align-self: flex-start;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.remove-checklist-card__title {
	font-size: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
	font-weight: 800;
	line-height: 1.28;
	overflow-wrap: anywhere;
}

.remove-checklist-card__excerpt {
	color: var(--rm-muted);
	line-height: 1.58;
	overflow-wrap: anywhere;
}

.remove-checklist-card__cta {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--rm-line);
	color: var(--rm-green-dark);
	font-weight: 800;
}

/* Інтерактивний чек-лист: 24px control у label ≥44px. */
.remove-checklist-block {
	max-width: 900px;
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid rgba(23, 107, 87, 0.13);
	border-radius: var(--rm-v2-radius-lg);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--rm-v2-shadow);
}

.remove-checklist-block__mode {
	display: inline-flex;
	margin: 0 0 12px;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.remove-checklist-block__title {
	margin: 0 0 14px;
}

.remove-checklist-block__note {
	max-width: 72ch;
	margin: 0 0 18px;
}

.remove-checklist[data-remove-checklist] {
	display: grid;
	gap: 20px;
	max-width: 900px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	list-style: none;
}

.remove-checklist[data-remove-checklist] .remove-checklist__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Перекриваємо старий декоративний list-style .remove-checklist li::before. */
.remove-checklist[data-remove-checklist] .remove-checklist__item {
	margin: 0;
	padding: 0;
	color: var(--rm-ink);
}

.remove-checklist[data-remove-checklist] .remove-checklist__item::before {
	content: none;
}

.remove-checklist__label {
	display: grid;
	min-height: 44px;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	border-radius: 13px;
	cursor: pointer;
	transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.remove-checklist__label:hover {
	background: rgba(228, 240, 232, 0.58);
}

.remove-checklist__input {
	display: grid;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	place-items: center;
	margin: 0;
	appearance: none;
	border: 2px solid var(--rm-green);
	border-radius: 7px;
	background: #fff;
	cursor: pointer;
}

.remove-checklist__input:checked {
	border-color: var(--rm-green-dark);
	background: var(--rm-green);
}

.remove-checklist__input::after {
	content: "";
	color: #fff;
	font-size: 16px;
	font-weight: 900;
	line-height: 1;
	transform: scale(0.65);
	transition: transform 0.16s ease;
}

.remove-checklist__input:checked::after {
	content: "✓";
	transform: scale(1);
}

.remove-checklist__input:focus-visible {
	outline-offset: 3px;
}

.remove-checklist__text {
	min-width: 0;
	color: var(--rm-ink);
	line-height: 1.5;
	overflow-wrap: anywhere;
}

/* Стан завершення не залежить лише від кольору: є ✓ і закреслення. */
.remove-checklist__input:checked + .remove-checklist__text {
	text-decoration: line-through;
	text-decoration-thickness: 1px;
	text-decoration-color: currentColor;
}

@supports (selector(:has(*))) {
	.remove-checklist__label:has(.remove-checklist__input:checked) {
		background: rgba(228, 240, 232, 0.7);
		box-shadow: inset 0 0 0 1px rgba(23, 107, 87, 0.1);
	}
}

.remove-checklist__footer {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid var(--rm-line);
}

.remove-checklist__progress {
	margin: 0;
	color: var(--rm-ink);
	font-weight: 800;
}

.remove-checklist__bar {
	position: relative;
	height: 10px;
	overflow: hidden;
	border: 1px solid rgba(23, 107, 87, 0.16);
	border-radius: 999px;
	background: rgba(216, 226, 218, 0.7);
}

.remove-checklist__bar::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--checklist-progress, 0%);
	border-radius: inherit;
	background: var(--rm-green);
	transition: width 0.24s ease;
}

.remove-checklist__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.remove-checklist__btn {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 1px solid rgba(23, 107, 87, 0.24);
	border-radius: 999px;
	background: #fff;
	color: var(--rm-green-dark);
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 800;
	line-height: 1.2;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.remove-checklist__btn:hover {
	border-color: var(--rm-green);
	background: var(--rm-green-soft);
}

.remove-checklist__btn[data-checklist-print] {
	background: var(--rm-green);
	color: #fff;
}

.remove-checklist__btn[data-checklist-print]:hover {
	background: var(--rm-green-dark);
}

.remove-checklist__note,
.remove-checklist__privacy {
	max-width: 74ch;
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
}

.remove-checklist__privacy {
	padding-top: 2px;
	border-top: 1px dashed var(--rm-line);
}

.remove-checklist.is-complete {
	border-radius: var(--rm-v2-radius);
	box-shadow: inset 4px 0 0 var(--rm-green);
}

.remove-checklist.is-complete .remove-checklist__progress {
	color: var(--rm-green-dark);
}

/* Footer disclaimer: той самий широкий ритм footer; читабельність зберігає внутрішній текст. */
.remove-footer__disclaimer {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-top: clamp(28px, 4vw, 42px);
}

/* Базовий світлий варіант — зокрема для blank.html поза темним footer. */
.remove-disclaimer {
	padding: 14px 16px;
	border: 1px solid rgba(23, 107, 87, 0.14);
	border-left: 4px solid var(--rm-green);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.78);
}

.remove-disclaimer__text {
	max-width: 92ch;
	margin: 0;
	color: var(--rm-muted);
	font-size: 0.88rem;
	line-height: 1.58;
}

.remove-disclaimer__link {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.remove-disclaimer__link:focus-visible {
	outline-color: var(--rm-coral);
	box-shadow: 0 0 0 5px rgba(201, 104, 75, 0.14);
}

.remove-footer__disclaimer--blank {
	margin: clamp(26px, 5vw, 52px) auto;
}

/* Темний footer отримує окремий спокійний inverse-варіант. */
.remove-footer .remove-disclaimer {
	border-color: rgba(217, 237, 176, 0.16);
	border-left-color: rgba(217, 237, 176, 0.68);
	background: rgba(255, 255, 255, 0.055);
}

.remove-footer .remove-disclaimer__text {
	color: #d9e9df;
}

.remove-footer .remove-disclaimer__link {
	color: var(--rm-lime);
}

.remove-footer .remove-disclaimer__link:focus-visible {
	outline-color: var(--rm-lime);
	box-shadow: 0 0 0 5px rgba(217, 237, 176, 0.16);
}

/* Responsive V2: 1440/1024/768/540/390/320 без горизонтального overflow. */
@media (max-width: 1320px) {
	.remove-header__finder { display: none; }
}

@media (max-width: 1180px) {
	.remove-header__nav {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.remove-nav .remove-nav__mobile-service { display: block; }

	.remove-header .remove-nav { grid-column: 2; }
	.remove-header__actions { grid-column: 3; }
}

@media (max-width: 1080px) {
	.remove-service-grid,
	.remove-service-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	/* Supplementary menu ховаємо; core nav і CTA залишаються доступними. */
	.remove-header-services { display: none; }

	.remove-service-media__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.remove-checklists-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	:root { --rm-v2-header-h: 70px; }

	.remove-header__tagline { display: none; }

	.remove-header__actions { gap: 6px; }

	.remove-header__actions .wp-block-button__link,
	.remove-header__button,
	.remove-header__actions .remove-booking-button {
		min-height: 44px;
		padding: 10px 13px;
		font-size: 0.78rem;
	}

	.remove-direction-group__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.remove-service-answer,
	.remove-checklist-block {
		border-radius: 20px;
	}

	.remove-checklist__btn { flex: 1 1 150px; }
}

@media (max-width: 600px) {
	.remove-checklists-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
	.remove-header__nav {
		grid-template-columns: auto minmax(0, 1fr) auto !important;
		gap: 8px;
	}

	/* Ховаємо лише supplementary service/finder controls; booking CTA і native nav не ховаємо. */
	.remove-header-services,
	.remove-header__finder {
		display: none !important;
	}

	.remove-header__brand { gap: 8px; }

	.remove-header__logo img {
		width: 40px;
		height: auto;
	}

	.remove-header .wp-block-site-title.remove-brand a::before,
	.remove-header .remove-brand .wp-block-site-title a::before {
		display: none;
	}

	.remove-header__brand-text { max-width: 118px; }

	.remove-header .wp-block-site-title.remove-brand a,
	.remove-header .remove-brand .wp-block-site-title a {
		max-width: 100%;
		overflow: visible;
		font-size: 0.92rem;
		line-height: 1.08;
		overflow-wrap: anywhere;
		text-overflow: clip;
		white-space: normal;
	}

	.remove-header__actions {
		display: flex !important;
		grid-column: 3;
	}

	/* Після ініціалізації sticky CTA шапка не дублює другий booking CTA.
	 * Без JS booking залишається у шапці повністю доступним. */
	body.remove-has-sticky-cta .remove-header__actions .remove-booking-button { display: none; }

	.remove-header__actions .wp-block-button__link,
	.remove-header__button,
	.remove-header__actions .remove-booking-button {
		min-height: 44px;
		padding: 9px 10px;
		font-size: 0.74rem;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.remove-service-grid,
	.remove-service-grid--related {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 20px;
	}

	.remove-service-card__body { padding: 20px; }

	.remove-service-media__gallery { grid-template-columns: minmax(0, 1fr); }

	.remove-checklist-block {
		padding: 20px 16px;
	}

	.remove-checklist__actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.remove-checklist__btn { width: 100%; }

	.remove-disclaimer {
		padding: 13px 14px;
	}
}

@media (max-width: 480px) {
	/* Language switcher не витісняє core nav/booking у вузькій шапці, але
	 * залишається доступним у нижній частині відкритого мобільного меню. */
	.remove-header__actions > ul { display: none !important; }

	html.has-modal-open .remove-mobile-language:has(ul) {
		position: fixed;
		left: 20px;
		right: 20px;
		bottom: calc(18px + env(safe-area-inset-bottom, 0px));
		z-index: 100002;
		display: flex;
		justify-content: center;
		padding: 6px;
		border: 1px solid rgba(23, 107, 87, 0.14);
		border-radius: 999px;
		background: rgba(247, 245, 239, 0.97);
		box-shadow: 0 18px 46px rgba(16, 60, 51, 0.22);
	}
}

@media (max-width: 390px) {
	.remove-header__nav { gap: 6px; }

	.remove-header__brand-text { max-width: 92px; }

	.remove-header__logo img { width: 38px; }

	.remove-header__actions .wp-block-button__link,
	.remove-header__button,
	.remove-header__actions .remove-booking-button {
		padding-inline: 8px;
		font-size: 0.7rem;
	}

	.remove-direction-group__title { font-size: 1.24rem; }

	.remove-service-card__meta span { max-width: 100%; }
}

@media (min-width: 1440px) {
	.remove-service-grid { gap: 28px; }

	.remove-header-services__panel { width: 360px; }
}

/* Motion safety для всього V2-шару. */
@media (prefers-reduced-motion: reduce) {
	.remove-header-services__summary,
	.remove-header-services__summary::after,
	.remove-service-card,
	.remove-service-card__media img,
	.remove-checklist-card,
	.remove-checklist__label,
	.remove-checklist__input::after,
	.remove-checklist__bar::before,
	.remove-checklist__btn {
		transition: none;
	}

	.remove-service-card:hover,
	.remove-service-card:focus-within,
	.remove-checklist-card:hover,
	.remove-checklist-card:focus-visible {
		transform: none;
	}
}

/* У forced-colors не покладаємося на тіні й колірні стани. */
@media (forced-colors: active) {
	:where(a, button, input, select, textarea, summary):focus-visible {
		outline: 3px solid CanvasText;
		box-shadow: none;
	}

	.remove-checklist__input {
		forced-color-adjust: auto;
	}

	.remove-checklist__bar {
		border-color: CanvasText;
	}
}

/* ================================================================== *
 * Header V3: однорядкова шапка, багатокатегорійне mega-меню,
 * контакти (дзвінок + месенджери), мобільні панелі під хедером.
 * ================================================================== */

/* Центральна меню-зона: категорії + core nav без переносів і виступів. */
.remove-header__menu {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: center;
	gap: clamp(8px, 1.4vw, 18px);
	min-width: 0;
}

.remove-header__menu > * { min-width: 0; }

/* Mega-меню «Послуги»: одна панель із колонками категорій. */
.remove-header-services__mega { position: relative; }

.remove-header-services__panel--mega {
	right: auto;
	left: 50%;
	width: min(880px, calc(100vw - 48px));
	transform: translateX(-50%);
	padding: 18px;
}

.remove-header-services__columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 6px 22px;
}

.remove-header-services__column { min-width: 0; }

.remove-header-services__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 4px;
	padding: 6px 12px;
	font-size: 0.95rem;
	line-height: 1.3;
}

.remove-header-services__title a {
	color: var(--rm-green-dark);
	text-decoration: none;
}

.remove-header-services__title a:hover { color: var(--rm-coral); }

.remove-header-services__catalog {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	margin-top: 12px;
	padding: 10px 12px;
	border-top: 1px solid var(--rm-line);
	border-radius: 0 0 12px 12px;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration: none;
}

.remove-header-services__catalog:hover {
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

/* Контакти хедера: дзвінок + вибір месенджера. */
.remove-header-contacts {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.remove-header-contacts__phone {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid rgba(23, 107, 87, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--rm-green-dark);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.remove-header-contacts__phone:hover {
	border-color: var(--rm-green);
	background: var(--rm-green-soft);
}

/* На широких екранах телефон уже є в topline, на вузьких — у мобільному
 * рядку під хедером: дублювання не потрібне. */
@media (min-width: 1321px) {
	.remove-header__actions .remove-header-contacts__phone { display: none; }
}

@media (max-width: 782px) {
	.remove-header__actions .remove-header-contacts__phone { display: none; }
}

.remove-header-contacts__messengers { position: relative; }

.remove-header-contacts__summary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid rgba(23, 107, 87, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--rm-green-dark);
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.2;
	list-style: none;
	white-space: nowrap;
	transition: background-color 0.18s ease, border-color 0.18s ease;
}

.remove-header-contacts__summary::-webkit-details-marker { display: none; }

.remove-header-contacts__summary::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.18s ease;
}

.remove-header-contacts__summary:hover,
.remove-header-contacts__messengers[open] > .remove-header-contacts__summary {
	border-color: var(--rm-green);
	background: var(--rm-green-soft);
}

.remove-header-contacts__messengers[open] > .remove-header-contacts__summary::after {
	transform: translateY(2px) rotate(225deg);
}

.remove-header-contacts__list {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 65;
	min-width: 200px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid rgba(23, 107, 87, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.99);
	box-shadow: 0 24px 60px rgba(16, 60, 51, 0.18);
}

.remove-header-contacts__list a {
	display: flex;
	min-height: 44px;
	align-items: center;
	padding: 10px 12px;
	border-radius: 12px;
	color: var(--rm-ink);
	font-weight: 700;
	text-decoration: none;
}

.remove-header-contacts__list a:hover {
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

/* Мобільні панелі під хедером: приховані на десктопі, не липкі. */
.remove-mobile-extras {
	display: none;
	border-bottom: 1px solid rgba(16, 60, 51, 0.1);
	background: rgba(250, 249, 245, 0.98);
}

.remove-header-contacts--mobile,
.remove-mobile-services { display: none; }

/* Швидкі дії мобільного блоку: «Записатись» + «Подзвонити» поруч,
 * ціль торкання ≥ 48px, повна ширина на вузьких екранах. */
.remove-mobile-quick {
	display: none;
	gap: 10px;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	padding: 10px clamp(16px, 3vw, 28px) 0;
}

.remove-mobile-quick .wp-block-button,
.remove-mobile-quick .wp-block-buttons { flex: 1 1 0; margin: 0; }

.remove-mobile-quick .wp-block-button__link,
.remove-mobile-quick .remove-header__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	white-space: nowrap;
}

.remove-mobile-quick .remove-header__phone {
	border: 1.5px solid var(--rm-green-dark, #103c33);
	background: transparent;
	color: var(--rm-green-dark, #103c33);
	text-decoration: none;
}

.remove-mobile-quick .remove-header__phone span[aria-hidden] { display: none; }

@media (max-width: 380px) {
	.remove-mobile-quick { flex-direction: column; }
}

@media (max-width: 1180px) {
	/* Desktop mega-меню поступається місцем burger overlay + акордеону категорій. */
	.remove-header .remove-header-services { display: none; }

	.remove-mobile-extras { display: block; }

	/* На планшеті досить burger + акордеону; додаткова conversion-панель лише на телефоні. */

	.remove-mobile-services {
		display: block;
		max-width: var(--wp--style--global--wide-size, 1240px);
		margin-inline: auto;
		padding: 0 clamp(16px, 3vw, 28px);
	}

	.remove-mobile-services__accordion { border-top: 1px solid var(--rm-line); }

	.remove-mobile-services__summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		min-height: 54px;
		color: var(--rm-green-dark);
		cursor: pointer;
		font-size: 0.95rem;
		font-weight: 800;
		list-style: none;
	}

	.remove-mobile-services__summary::-webkit-details-marker,
	.remove-mobile-services__item-summary::-webkit-details-marker { display: none; }

	.remove-mobile-services__summary::after,
	.remove-mobile-services__item-summary::after {
		content: "";
		flex: 0 0 auto;
		width: 8px;
		height: 8px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
		transition: transform 0.18s ease;
	}

	.remove-mobile-services__accordion[open] > .remove-mobile-services__summary::after,
	.remove-mobile-services__item[open] > .remove-mobile-services__item-summary::after {
		transform: translateY(2px) rotate(225deg);
	}

	.remove-mobile-services__body { padding-bottom: 12px; }

	.remove-mobile-services__item { border-top: 1px solid var(--rm-line); }

	.remove-mobile-services__item-summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		min-height: 50px;
		padding: 10px 4px;
		cursor: pointer;
		font-weight: 700;
		list-style: none;
	}

	.remove-mobile-services__item-body { padding: 0 4px 10px 14px; }

	.remove-mobile-services .remove-header-services__all { margin-top: 4px; }
}

@media (max-width: 782px) {
	.remove-mobile-quick { display: flex; }

	/* Месенджери одним дотиком; телефон уже доступний у quick row. */
	.remove-header-contacts--mobile {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		max-width: var(--wp--style--global--wide-size, 1240px);
		margin-inline: auto;
		padding: 10px clamp(16px, 3vw, 28px);
	}

	.remove-header-contacts--mobile .remove-header-contacts__phone { flex: 1 1 auto; }

	.remove-header-contacts__chips {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.remove-header-contacts__chips a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 9px 14px;
		border: 1px solid rgba(23, 107, 87, 0.22);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.94);
		color: var(--rm-green-dark);
		font-size: 0.8rem;
		font-weight: 800;
		text-decoration: none;
	}

	.remove-header-contacts__chips a:hover { background: var(--rm-green-soft); }
}

/* Focus-visible для нових інтерактивних елементів. */
.remove-header-services__summary:focus-visible,
.remove-mobile-services__summary:focus-visible,
.remove-mobile-services__item-summary:focus-visible,
.remove-header-contacts__summary:focus-visible,
.remove-header-contacts__phone:focus-visible,
.remove-header-contacts__chips a:focus-visible,
.remove-header-contacts__list a:focus-visible {
	outline: 3px solid var(--rm-coral);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.remove-header-contacts__summary,
	.remove-header-contacts__summary::after,
	.remove-mobile-services__summary::after,
	.remove-mobile-services__item-summary::after {
		transition: none;
	}
}

/* ==========================================================================
   Location pages v1.6.5 — сторінки «послуга + місто/район» (Львівська обл.)
   ========================================================================== */

.remove-location-hero {
    background: linear-gradient(160deg, #eef7f2 0%, #ffffff 60%);
    border-radius: 0 0 var(--radius-lg, 20px) var(--radius-lg, 20px);
    padding: clamp(36px, 6vw, 72px) 24px;
}

.remove-location-hero__inner {
    max-width: 860px;
    margin-inline: auto;
}

.remove-location-hero__title {
    margin: 0 0 12px;
}

.remove-location-hero__area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.remove-location-hero__city,
.remove-location-hero__landmark {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.remove-location-hero__city {
    background: var(--accent, #1c7c4e);
    color: #fff;
}

.remove-location-hero__landmark {
    background: #fff;
    color: var(--ink-2, #43534a);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.remove-location-hero__excerpt {
    max-width: 640px;
}

/* «Як дістатися» */
.remove-location-map {
    margin: 40px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-location-map__card {
    background: #f6f8f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md, 16px);
    padding: clamp(22px, 4vw, 36px);
}

.remove-location-map__directions p {
    margin: 0 0 16px;
    max-width: 640px;
}

.remove-location-map__link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

/* Послуги локації */
.remove-location-services {
    margin: 40px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-location-services__grid {
    list-style: none;
    margin: 18px 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.remove-location-services__item a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
    font-weight: 600;
    transition: border-color .2s ease, transform .2s ease;
}

.remove-location-services__item a:hover {
    border-color: var(--accent, #1c7c4e);
    transform: translateY(-2px);
}

.remove-location-services__all {
    font-weight: 700;
}

/* FAQ локації */
.remove-location-faq {
    margin: 40px auto;
    max-width: 860px;
    padding-inline: 24px;
}

.remove-location-faq__item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
    padding: 4px 20px;
    margin-bottom: 10px;
    background: #fff;
}

.remove-location-faq__question {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}

.remove-location-faq__question::-webkit-details-marker {
    display: none;
}

.remove-location-faq__answer p {
    margin: 0 0 14px;
}

/* Сусідні локації */
.remove-location-siblings {
    margin: 40px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-location-siblings__list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.remove-location-siblings__list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
}

.remove-location-siblings__area {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2, #43534a);
}

/* Архів: індекс область → місто → район */
.remove-locations-index {
    margin: 32px auto 8px;
}

.remove-locations-index__city {
    margin-bottom: 28px;
}

.remove-locations-index__city-title {
    margin: 0 0 10px;
}

.remove-locations-index__districts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.remove-locations-index__districts a {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
}

@media (max-width: 600px) {
    .remove-location-hero {
        padding: 32px 18px;
    }
    .remove-location-map,
    .remove-location-services,
    .remove-location-faq,
    .remove-location-siblings {
        padding-inline: 18px;
    }
}

/* ==========================================================================
   Guide pages v1.6.6 — інформаційні hub-сторінки («Терапевт Львів»)
   ========================================================================== */

.remove-guide-hero {
    background: linear-gradient(150deg, #f3f0ea 0%, #ffffff 65%);
    border-radius: 0 0 var(--radius-lg, 20px) var(--radius-lg, 20px);
    padding: clamp(36px, 6vw, 72px) 24px;
}

.remove-guide-hero__inner {
    max-width: 860px;
    margin-inline: auto;
}

.remove-guide-hero__title {
    margin: 0 0 12px;
}

.remove-guide-hero__excerpt {
    max-width: 680px;
}

/* Секції-списки (напрямки / коли звертатися / підготовка) */
.remove-guide-section {
    margin: 36px auto;
    max-width: 860px;
    padding-inline: 24px;
}

.remove-guide-section__list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.remove-guide-section__list li {
    position: relative;
    padding: 12px 16px 12px 44px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
}

.remove-guide-section__list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 12px;
    color: var(--accent, #1c7c4e);
    font-weight: 700;
}

.remove-guide-prepare .remove-guide-section__list li::before {
    content: "→";
}

.remove-guide-when .remove-guide-section__list li::before {
    content: "!";
    font-weight: 800;
}

/* Контентна стаття */
.remove-guide-content {
    margin-block: 32px;
}

.remove-guide-content > * {
    max-width: 760px;
    margin-inline: auto;
}

/* Модуль рекомендованих послуг */
.remove-guide-services {
    margin: 44px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-guide-services__hint {
    max-width: 640px;
    color: var(--ink-2, #43534a);
    font-size: 15px;
}

.remove-guide-services__grid {
    list-style: none;
    margin: 18px 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.remove-guide-services__card a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 88px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
    transition: border-color .2s ease, transform .2s ease;
}

.remove-guide-services__card a:hover {
    border-color: var(--accent, #1c7c4e);
    transform: translateY(-2px);
}

.remove-guide-services__name {
    font-weight: 700;
}

.remove-guide-services__excerpt {
    font-size: 14px;
    color: var(--ink-2, #43534a);
}

.remove-guide-services__all {
    font-weight: 700;
}

/* FAQ */
.remove-guide-faq {
    margin: 44px auto;
    max-width: 860px;
    padding-inline: 24px;
}

.remove-guide-faq__item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
    padding: 4px 20px;
    margin-bottom: 10px;
    background: #fff;
}

.remove-guide-faq__question {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}

.remove-guide-faq__question::-webkit-details-marker {
    display: none;
}

.remove-guide-faq__answer p {
    margin: 0 0 14px;
}

/* Освітня примітка */
.remove-guide-note {
    margin: 40px auto;
    max-width: 860px;
    padding-inline: 24px;
}

.remove-guide-note p {
    margin: 0;
    padding: 16px 20px;
    background: #fff8ec;
    border: 1px solid #f0dcae;
    border-radius: var(--radius-md, 16px);
    font-size: 15px;
}

/* Інші інфо-сторінки */
.remove-guide-related {
    margin: 40px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-guide-related__list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.remove-guide-related__list a {
    display: inline-flex;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #fff;
    font-weight: 600;
}

@media (max-width: 600px) {
    .remove-guide-section,
    .remove-guide-services,
    .remove-guide-faq,
    .remove-guide-note,
    .remove-guide-related {
        padding-inline: 18px;
    }
}

/* Дочірні стани хаба («Що ми лікуємо?» → картки напрямків) */
.remove-guide-children {
    margin: 40px auto;
    max-width: 1180px;
    padding-inline: 24px;
}

.remove-guide-children__grid {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.remove-guide-children__card a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 96px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md, 16px);
    transition: border-color .2s ease, transform .2s ease;
}

.remove-guide-children__card a:hover {
    border-color: var(--accent, #1c7c4e);
    transform: translateY(-2px);
}

.remove-guide-children__name {
    font-weight: 700;
}

.remove-guide-children__excerpt {
    font-size: 14px;
    color: var(--ink-2, #43534a);
}

@media (max-width: 600px) {
    .remove-guide-children {
        padding-inline: 18px;
    }
}

/* v1.8.0 — редакційна довіра та спокійний наступний крок. */
.remove-guide-editorial {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-block: 20px;
	color: var(--rm-muted);
	font-size: 0.88rem;
}

.remove-guide-editorial a { color: var(--rm-green-dark); }

.remove-guide-sources,
.remove-location-value {
	margin-block: 28px;
	padding: 24px;
	border: 1px solid var(--rm-line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.72);
}

.remove-guide-sources h2,
.remove-location-value h2 { margin-top: 0; }
.remove-guide-sources li + li { margin-top: 10px; }
.remove-guide-sources li span { display: block; color: var(--rm-muted); font-size: 0.85rem; }

.remove-next-steps__title { margin-top: 0; }
.remove-next-steps__text { max-width: 65ch; }
.remove-next-steps__list {
	display: grid;
	gap: 12px;
	margin-block: 22px;
	padding-left: 1.4rem;
}
.remove-next-steps__list li { padding-left: 6px; }
.remove-next-steps__list li::marker { color: var(--rm-green); font-weight: 800; }
.remove-next-steps__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.remove-next-steps__actions .wp-element-button { display: inline-flex; align-items: center; justify-content: center; }
.remove-next-steps__secondary { min-height: 44px; display: inline-flex; align-items: center; font-weight: 750; }

.remove-booking-cta .remove-next-steps__title { color: #fff; }
.remove-booking-cta .remove-next-steps__text,
.remove-booking-cta .remove-next-steps__list { color: #e3eee8; }
.remove-booking-cta .remove-next-steps__list li::marker { color: var(--rm-lime); }
.remove-booking-cta .remove-next-steps__actions .wp-element-button { background: var(--rm-lime); color: var(--rm-ink); }
.remove-booking-cta .remove-next-steps__secondary { color: var(--rm-lime); }

@media (max-width: 782px) {
	.remove-next-steps__actions { align-items: stretch; flex-direction: column; }
	.remove-next-steps__actions .wp-element-button,
	.remove-next-steps__secondary { justify-content: center; text-align: center; }
}


/* ==========================================================================
   v1.9.0 — task-oriented shell, homepage and contact hub.
   Flat editorial surfaces, asymmetric grids and restrained 200ms motion.
   ========================================================================== */
:root {
	--rm-v19-olive: #3c422e;
	--rm-v19-ivory: #fff4ec;
	--rm-v19-chartreuse: #d1e030;
	--rm-v19-line: rgba(60, 66, 46, 0.18);
	--rm-v19-motion: 200ms;
}

.remove-header {
	position: sticky;
	top: 0;
	z-index: 70;
	border-bottom: 1px solid var(--rm-v19-line);
	background: rgba(255, 244, 236, 0.97);
	box-shadow: none;
	backdrop-filter: blur(14px);
}

.admin-bar .remove-header { top: 32px; }
.remove-topline { background: var(--rm-v19-olive); }
.remove-topline__context { color: #e7eadf; }
.remove-topline__inner { min-height: 42px; }
.remove-topline__links > p > a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.remove-header__nav { min-height: 88px; }
.remove-header__identity { gap: 0; }
.remove-header__tagline { max-width: 180px; line-height: 1.25; }

:is(.wp-block-site-title.remove-brand, .remove-brand .wp-block-site-title) a::before {
	border-radius: 12px;
	background: var(--rm-v19-olive);
	box-shadow: none;
}

.remove-header .remove-nav a,
.remove-header__finder {
	transition: color var(--rm-v19-motion) ease, background-color var(--rm-v19-motion) ease;
}

.remove-header .wp-block-button__link {
	border-radius: 12px;
	background: var(--rm-v19-olive);
	box-shadow: none;
}
.remove-header .wp-block-button__link:hover { background: #24281b; }
.remove-header__finder { white-space: nowrap; }

.remove-mobile-directory {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	padding: 10px clamp(16px, 3vw, 28px);
	border-top: 1px solid var(--rm-v19-line);
}
.remove-mobile-directory p { margin: 0; }
.remove-mobile-directory a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.86rem;
	font-weight: 750;
}

.remove-footer {
	border-top: 6px solid var(--rm-v19-chartreuse);
	background: var(--rm-v19-olive) !important;
}
.remove-footer .wp-block-button__link,
.remove-footer-cta__button {
	border-radius: 12px;
	background: var(--rm-v19-chartreuse);
	color: #24281b;
	box-shadow: none;
}

/* Homepage: editorial split, visible task hierarchy and anchor navigation. */
.wp-block-group.remove-hero.has-background { background: var(--rm-v19-ivory); }
.remove-hero > .wp-block-columns { align-items: stretch !important; }
.remove-hero .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.remove-hero h1 { max-width: 680px; font-size: clamp(2.7rem, 5.2vw, 4.9rem); letter-spacing: -0.055em; }
.remove-hero h1 em { color: var(--rm-v19-olive); }
.remove-hero__image img {
	border: 0;
	border-radius: 20px;
	box-shadow: none;
}
.remove-hero__note {
	max-width: none;
	margin: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--rm-v19-line);
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
}
.remove-hero__quicklinks { display: flex; flex-wrap: wrap; margin-top: 28px; gap: 0; border-block: 1px solid var(--rm-v19-line); }
.remove-hero__quicklinks p { margin: 0; }
.remove-hero__quicklinks a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 8px 18px 8px 0;
	color: var(--rm-v19-olive);
	font-size: 0.88rem;
	font-weight: 750;
}

.remove-home-start { padding-block: clamp(48px, 7vw, 88px); }
.remove-section-heading { gap: 12px 36px; align-items: start; }
.remove-section-heading > * { margin: 0; }
.remove-home-paths { margin-top: 38px; gap: 24px; }
.remove-home-path {
	height: 100%;
	padding: 26px;
	border: 1px solid var(--rm-v19-line);
	border-radius: 20px;
	box-shadow: none;
}
.remove-home-path__number { color: #657044; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; }
.remove-home-path h3 { line-height: 1.15; }
.remove-text-link a,
.remove-resource-archive a {
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}
.remove-home-section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.remove-home-section-nav p { margin: 0; }
.remove-home-section-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--rm-v19-line);
	border-radius: 999px;
	color: var(--rm-v19-olive);
	font-weight: 750;
	text-decoration: none;
}
.remove-home-section-nav a:hover { background: var(--rm-v19-ivory); }

.remove-directions,
.remove-services,
.remove-specialists { scroll-margin-top: 120px; }
.remove-process { background: var(--rm-v19-ivory) !important; }
.remove-process .remove-step {
	height: 100%;
	border: 0;
	border-top: 3px solid var(--rm-v19-olive);
	border-radius: 0 0 16px 16px;
	box-shadow: none;
}
.remove-home-resources { background: var(--rm-v19-olive) !important; }
.remove-home-resources__columns { gap: clamp(30px, 6vw, 80px); margin-top: 38px; }
.remove-resource-row { padding-block: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.remove-resource-row > * { margin-block: 0 10px; }
.remove-resource-row a { color: #fff; }
.remove-resource-row .wp-block-post-excerpt__more-link { color: var(--rm-v19-chartreuse); }
.remove-resource-archive a { color: var(--rm-v19-chartreuse); }
.remove-home-resources__note { margin-top: 32px; }

/* Contact hub: every action leads to a real, configured channel. */
.remove-contact-hub { background: var(--rm-v19-ivory) !important; }
.remove-contact-hub__columns { gap: clamp(30px, 6vw, 80px); }
.remove-contact-hub__details {
	padding: clamp(24px, 4vw, 38px);
	border: 1px solid var(--rm-v19-line);
	border-radius: 20px;
	box-shadow: none;
}
.remove-contact-actions { display: grid; gap: 10px; margin-top: 30px; }
.remove-contact-action {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2px 16px;
	align-items: center;
	min-height: 72px;
	padding: 15px 20px;
	border: 1px solid var(--rm-v19-line);
	border-radius: 14px;
	background: rgba(255,255,255,0.72);
	color: var(--rm-v19-olive);
	text-decoration: none;
	transition: background-color var(--rm-v19-motion) ease, transform var(--rm-v19-motion) ease;
}
.remove-contact-action > span:first-child { font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; }
.remove-contact-action strong { overflow-wrap: anywhere; }
.remove-contact-action > span:last-child { grid-column: 2; grid-row: 1 / span 2; font-size: 1.4rem; }
.remove-contact-action.is-primary { background: var(--rm-v19-olive); color: #fff; }
.remove-contact-action:hover { transform: translateY(-2px); background: #fff; }
.remove-contact-action.is-primary:hover { background: #24281b; }
.remove-contact-form-section { border-block: 1px solid var(--rm-v19-line); }
.remove-contact-checklist { padding-left: 1.2rem; }
.remove-contact-checklist li { padding: 10px 0 10px 6px; border-bottom: 1px solid var(--rm-v19-line); }
.remove-privacy-note { height: 100%; padding: clamp(24px, 4vw, 38px); border-radius: 20px; }
.remove-snippet { max-width: 100%; overflow-wrap: anywhere; }

.remove-contact-action:focus-visible,
.remove-home-section-nav a:focus-visible,
.remove-hero__quicklinks a:focus-visible {
	outline: 3px solid var(--rm-v19-chartreuse);
	outline-offset: 3px;
}

@media (max-width: 1180px) {
	.remove-header { position: relative; }
	.admin-bar .remove-header { top: 0; }
	.remove-topline__context { display: none; }
	.remove-header__tagline { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .remove-header { top: 0; }
	.remove-header__nav { min-height: 72px; }
	.remove-topline__links > p:first-child,
	.remove-topline__links > p:nth-child(2) { display: none; }
	.remove-home-paths,
	.remove-home-resources__columns,
	.remove-contact-hub__columns { gap: 22px; }
	.remove-home-path { padding: 22px; }
	.remove-hero__quicklinks { display: grid; grid-template-columns: 1fr 1fr; }
	.remove-hero__quicklinks a { padding-left: 0; }
	.remove-contact-form-section .wp-block-columns { gap: 24px; }
}

@media (max-width: 480px) {
	.remove-home-paths { display: grid; }
	.remove-home-section-nav { display: grid; grid-template-columns: 1fr 1fr; }
	.remove-home-section-nav a { justify-content: center; }
	.remove-contact-action { padding: 14px 16px; }
	.remove-mobile-directory { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 12px; }
	.remove-hero__quicklinks { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.remove-contact-action,
	.remove-header .remove-nav a,
	.remove-header__finder { transition: none; }
	.remove-contact-action:hover { transform: none; }
}


/* Task panel: one decision module, not four competing conversion sections. */
.remove-home-tasks { padding-block: clamp(48px, 7vw, 88px); }
.remove-contact-actions--tasks {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 980px;
	margin-inline: auto;
}
.remove-contact-actions--tasks .remove-contact-action { min-height: 104px; }
@media (max-width: 600px) {
	.remove-contact-actions--tasks { grid-template-columns: 1fr; }
	.remove-contact-actions--tasks .remove-contact-action { min-height: 84px; }
}


/* Accessible native-form errors; input values remain intact after failure. */
.remove-form__errors,
.remove-form__status { outline-offset: 4px; }
.remove-form__errors {
	padding: 12px 16px;
	border-left: 4px solid #8b3f2b;
	border-radius: 8px;
	background: #fbebe5;
	color: #8b3f2b;
	font-weight: 700;
}
.remove-form__field-error { color: #8b3f2b; font-size: 0.875rem; font-weight: 650; }
.remove-form__field :is(input, select, textarea)[aria-invalid="true"] { border-color: #8b3f2b; box-shadow: 0 0 0 2px rgba(139,63,43,0.16); }


/* Structured exercise guide: unique editorial data, no generic step filler. */
.remove-exercise-guide { display: grid; gap: 22px; padding-block: clamp(38px, 6vw, 72px); }
.remove-exercise-guide__disclaimer { margin: 0; padding: 16px 20px; border-left: 4px solid var(--rm-v19-olive); background: var(--rm-v19-ivory); }
.remove-exercise-guide__section,
.remove-exercise-review,
.remove-exercise-guide__sources { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--rm-v19-line); border-radius: 20px; }
.remove-exercise-guide__section > h2:first-child,
.remove-exercise-guide__sources > h2:first-child { margin-top: 0; }
.remove-exercise-guide__section--stop { border-color: #b7836f; background: #fff8f4; }
.remove-exercise-steps { display: grid; gap: 18px; padding: 0; list-style: none; counter-reset: remove-exercise-step; }
.remove-exercise-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 42%); gap: clamp(18px, 4vw, 36px); align-items: start; padding-top: 20px; border-top: 1px solid var(--rm-v19-line); counter-increment: remove-exercise-step; }
.remove-exercise-step__body h3::before { content: counter(remove-exercise-step) ". "; color: var(--rm-green); }
.remove-exercise-step__media { margin: 0; }
.remove-exercise-step__media img { width: 100%; height: auto; border-radius: 16px; }
.remove-exercise-review { background: var(--rm-green-soft); }
.remove-exercise-review > :last-child,
.remove-exercise-guide__section > :last-child { margin-bottom: 0; }
@media (max-width: 700px) {
	.remove-exercise-step { grid-template-columns: 1fr; }
	.remove-exercise-step__media { max-width: 560px; }
}


/* ==========================================================================
   v1.11.0 — thematic media, informative navigation and readable wide layouts.
   ========================================================================== */

.remove-icon {
	display: block;
	flex: 0 0 auto;
	width: 1.15em;
	height: 1.15em;
	vertical-align: -0.18em;
}

.remove-service-card__meta span,
.remove-header-services__catalog,
.remove-header-services__intro > a,
.remove-mobile-services__tasks a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.remove-contact-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

.remove-contact-actions--tasks {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.remove-contact-action {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 24px;
	grid-template-areas:
		"icon label arrow"
		"icon note arrow";
	align-items: center;
	gap: 3px 13px;
	min-width: 0;
	min-height: 92px;
	padding: 18px;
	border: 1px solid rgba(23, 107, 87, 0.13);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--rm-ink);
	text-decoration: none;
	transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.remove-contact-action:hover {
	border-color: rgba(23, 107, 87, 0.34);
	background: var(--rm-green-soft);
	color: var(--rm-ink);
	transform: translateY(-2px);
}

.remove-contact-action__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
	font-size: 1.25rem;
}

.remove-contact-action strong {
	grid-area: label;
	font-size: 0.93rem;
	line-height: 1.35;
}

.remove-contact-action__note {
	grid-area: note;
	color: var(--rm-muted);
	font-size: 0.76rem;
	line-height: 1.4;
}

.remove-contact-action__arrow {
	grid-area: arrow;
	color: var(--rm-green);
}

.remove-contact-action.is-primary {
	border-color: var(--rm-green);
	background: var(--rm-green);
	color: #fff;
}

.remove-contact-action.is-primary :where(.remove-contact-action__note, .remove-contact-action__arrow) { color: #e3eee6; }
.remove-contact-action.is-primary .remove-contact-action__icon { background: rgba(255, 255, 255, 0.13); color: var(--rm-lime); }
.remove-contact-action.is-primary:hover { background: var(--rm-green-dark); color: #fff; }

.remove-service-media__featured { max-width: 1040px; margin-inline: auto !important; }
.remove-service-media__featured .remove-service-media__image { aspect-ratio: 4 / 3; object-fit: cover; }

.remove-service-media__full {
	display: block;
	overflow: hidden;
	border-radius: var(--rm-v2-radius);
}

.remove-service-media__full .remove-service-media__image {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.remove-service-media__full:hover .remove-service-media__image { transform: scale(1.025); }

/* Core constrained layout defaults to the reading measure. Only structural
 * section children are promoted to wide; prose and nested cards keep their
 * own readable max-widths. */
main > section.is-layout-constrained > :where(
	.wp-block-columns,
	.wp-block-group.remove-section-heading,
	.wp-block-query,
	.remove-contact-actions,
	.remove-service-grid,
	.remove-info-grid,
	.remove-faq__list,
	.remove-contact__card
) {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-left: auto;
	margin-right: auto;
}

.remove-directions__grid,
.remove-process__grid,
.remove-home-resources__columns,
.remove-specialists > .wp-block-columns { column-gap: clamp(22px, 2.6vw, 36px); }

.remove-home-resources__columns > .wp-block-column { min-width: 0; }
.remove-home-resources__columns :where(.wp-block-group, .wp-block-columns) { max-width: 100%; }

/* The mega panel combines real direction descriptions, service links and
 * task-based navigation without introducing a second menu data source. */
.remove-header-services__panel--mega {
	width: min(1120px, calc(100vw - 48px));
	max-height: min(78vh, 720px);
	padding: 24px;
}

.remove-header-services__intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--rm-line);
}

.remove-header-services__intro > div { max-width: 720px; }
.remove-header-services__intro span,
.remove-header-services__tasks-label {
	color: var(--rm-green);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.remove-header-services__intro h2 { margin: 4px 0 6px; font-size: 1.35rem; letter-spacing: -0.025em; }
.remove-header-services__intro p { margin: 0; font-size: 0.82rem; line-height: 1.5; }
.remove-header-services__intro > a { flex: 0 0 auto; min-height: 44px; color: var(--rm-green-dark); font-size: 0.82rem; font-weight: 800; text-decoration: none; }

.remove-header-services__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 24px;
	align-items: start;
}

.remove-header-services__columns {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.remove-header-services__column {
	padding: 16px;
	border: 1px solid rgba(23, 107, 87, 0.09);
	border-radius: 16px;
	background: #fbfcf9;
}

.remove-header-services__direction-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 8px;
	border-radius: 12px;
	background: var(--rm-green-soft);
	color: var(--rm-green-dark);
}

.remove-header-services__title { flex-wrap: wrap; padding: 0; }
.remove-header-services__title .remove-header-services__count { min-width: 21px; height: 21px; font-size: 0.66rem; }
.remove-header-services__description { margin: 6px 0 12px; font-size: 0.76rem; line-height: 1.5; }
.remove-header-services__column .remove-header-services__list a { justify-content: space-between; gap: 8px; min-height: 40px; padding: 8px; font-size: 0.78rem; }
.remove-header-services__column .remove-header-services__list .remove-icon { width: 14px; height: 14px; }
.remove-header-services__column .remove-header-services__all { min-height: 40px; padding: 9px 8px; font-size: 0.75rem; }

.remove-header-services__tasks {
	display: grid;
	gap: 8px;
	padding: 18px;
	border-radius: 18px;
	background: var(--rm-topline);
	color: #fff;
}

.remove-header-services__tasks h3 { margin: 3px 0; color: #fff; font-size: 1.05rem; letter-spacing: -0.02em; }
.remove-header-services__tasks p { margin: 0 0 8px; color: #d4e1d9; font-size: 0.76rem; line-height: 1.5; }
.remove-header-services__tasks-label { color: var(--rm-lime); }

.remove-header-services__task {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 10px 11px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 11px;
	color: #fff;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.remove-header-services__task:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.remove-header-services__task--primary { border-color: var(--rm-lime); background: var(--rm-lime); color: var(--rm-ink); }
.remove-header-services__task--primary:hover { background: #e7f5c9; color: var(--rm-ink); }

.remove-mobile-services__description { margin: 0 0 10px; font-size: 0.82rem; line-height: 1.55; }
.remove-mobile-services__tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.remove-mobile-services__tasks a { justify-content: center; min-height: 46px; padding: 10px; border: 1px solid rgba(23, 107, 87, 0.18); border-radius: 12px; background: #fff; color: var(--rm-green-dark); font-size: 0.76rem; font-weight: 750; text-align: center; text-decoration: none; }

.remove-shortcode-diagnostics {
	position: relative;
	z-index: 20;
	max-width: 900px;
	margin: 24px auto;
	padding: 18px 22px;
	border: 2px solid #8a5a00;
	border-radius: 12px;
	background: #fff8e5;
	color: #302600;
	font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.remove-shortcode-diagnostics ul { margin: 10px 0; }
.remove-shortcode-diagnostics p { margin: 0; color: inherit; }

@media (min-width: 1081px) {
	:where(main > section.wp-block-group:not(.remove-hero):not(.remove-service-hero):not(.remove-direction-hero)) {
		padding-top: clamp(64px, 5.2vw, 80px);
		padding-bottom: clamp(64px, 5.2vw, 80px);
	}

	.remove-home-tasks,
	.remove-service-answer-section,
	.remove-service-media-section { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 1080px) {
	.remove-contact-actions--tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.remove-contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
	.remove-mobile-services__tasks { max-width: 680px; }
}

@media (max-width: 600px) {
	.remove-contact-actions,
	.remove-contact-actions--tasks { grid-template-columns: minmax(0, 1fr); }
	.remove-contact-action { min-height: 82px; padding: 15px; }
	.remove-mobile-services__tasks { grid-template-columns: minmax(0, 1fr); }
	.remove-mobile-services__tasks a { justify-content: flex-start; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.remove-contact-action,
	.remove-service-media__full .remove-service-media__image { transition: none; }
	.remove-contact-action:hover,
	.remove-service-media__full:hover .remove-service-media__image { transform: none; }
}


/* Fixed centering prevents an edge-positioned summary from pushing the wide
 * mega panel off-screen. The header intentionally has no backdrop-filter,
 * therefore fixed positioning remains viewport-relative. */
@media (min-width: 1181px) {
	.remove-header-services__panel--mega {
		position: fixed;
		top: calc(var(--rm-v2-header-h, 80px) + 42px);
		right: auto;
		left: 50vw;
		max-height: calc(100dvh - var(--rm-v2-header-h, 80px) - 62px);
		transform: translateX(-50%);
	}

	.admin-bar .remove-header-services__panel--mega { top: calc(var(--rm-v2-header-h, 80px) + 74px); }
}


/* v1.12.0 — informative mobile navigation, shared media and guide landings. */
.remove-content-media-section > .remove-service-media,
.remove-guide-archive__directory > .remove-guide-directory {
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
}

.remove-guide-archive-hero {
	padding-block: clamp(40px, 6vw, 82px);
	background: linear-gradient(135deg, var(--rm-green-soft), #f7f4ea);
}
.remove-guide-archive-hero > * { max-width: 860px; }
.remove-guide-archive-hero h1 { margin-block: 12px 18px; }
.remove-guide-archive-hero .remove-hero__actions { margin-top: 26px; }
.remove-guide-archive__directory,
.remove-guide-library { padding-block: clamp(48px, 6vw, 80px); }
.remove-guide-directory__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.remove-guide-directory__card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid var(--rm-line);
	border-radius: 24px;
	background: #fff;
}
.remove-guide-directory__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.remove-guide-directory__image img { width: 100%; height: 100%; object-fit: cover; }
.remove-guide-directory__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.remove-guide-directory__kind,
.remove-guide-overview__kind,
.remove-guide-children__kind {
	color: var(--rm-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}
.remove-guide-directory__card h3 { margin: 9px 0 10px; font-size: 1.25rem; line-height: 1.25; }
.remove-guide-directory__card h3 a { color: var(--rm-ink); text-decoration: none; }
.remove-guide-directory__card p { margin: 0 0 18px; color: var(--rm-muted); font-size: 0.9rem; line-height: 1.6; }
.remove-guide-directory__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	color: var(--rm-green-dark);
	font-weight: 800;
	text-decoration: none;
}
.remove-guide-directory__link .remove-icon { width: 16px; height: 16px; }
.remove-guide-card { overflow: hidden; border: 1px solid var(--rm-line); border-radius: 20px; }
.remove-guide-card .wp-block-post-featured-image { margin: 0; }
.remove-guide-card .wp-block-post-title,
.remove-guide-card .wp-block-post-excerpt { margin-inline: 18px; }
.remove-guide-card .wp-block-post-excerpt { margin-bottom: 20px; }

.remove-guide-overview {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: 26px;
	width: min(100%, 1040px);
	margin: 28px auto;
	padding: 24px;
	border: 1px solid var(--rm-line);
	border-radius: 22px;
	background: var(--rm-cream);
	scroll-margin-top: 110px;
}
.remove-guide-overview__meta { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.remove-guide-overview__meta > a { display: inline-flex; align-items: center; gap: 7px; color: var(--rm-green-dark); font-weight: 700; }
.remove-guide-overview__meta .remove-icon { width: 15px; height: 15px; transform: rotate(180deg); }
.remove-guide-overview__toc h2 { margin: 0 0 12px; font-size: 1.1rem; }
.remove-guide-overview__toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.remove-guide-overview__toc a { display: flex; align-items: center; min-height: 44px; padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--rm-green-dark); font-size: 0.84rem; font-weight: 700; text-decoration: none; }
#guide-content,
#guide-children,
#guide-focus,
#guide-when,
#guide-prepare,
#guide-sources,
#guide-services,
#guide-faq,
#guide-related { scroll-margin-top: 110px; }
.remove-guide-children__card { overflow: hidden; }
.remove-guide-children__card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.remove-guide-children__card > a { display: flex; flex-direction: column; gap: 8px; }
.remove-guide-children__count { color: var(--rm-muted); font-size: 0.78rem; font-weight: 700; }
.remove-guide-next-steps { padding-bottom: 32px; }

@media (max-width: 1180px) {
	.remove-header { position: sticky; top: 0; z-index: 90; }
	.admin-bar .remove-header { top: 32px; }
	.remove-nav .wp-block-navigation__responsive-container { overscroll-behavior: contain; }
	.remove-nav .wp-block-navigation__responsive-container-content { align-items: stretch; }
	.remove-mobile-services { width: 100%; padding-top: 20px; padding-bottom: 36px; text-align: left; }
	.remove-mobile-services__intro > span { color: var(--rm-green); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
	.remove-mobile-services__intro h2 { margin: 6px 0; color: var(--rm-green-dark); font-size: clamp(1.45rem, 5vw, 2rem); }
	.remove-mobile-services__intro p { margin: 0; color: var(--rm-muted); font-size: 0.86rem; }
	.remove-mobile-services__tasks { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0; }
	.remove-mobile-services__task { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 12px; text-align: left; }
	.remove-mobile-services__task .remove-icon { flex: 0 0 auto; width: 22px; height: 22px; }
	.remove-mobile-services__task span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
	.remove-mobile-services__task strong { font-size: 0.8rem; line-height: 1.25; }
	.remove-mobile-services__task small { color: var(--rm-muted); font-size: 0.7rem; font-weight: 500; line-height: 1.35; }
	.remove-mobile-services__tasks .remove-mobile-services__task--primary { border-color: var(--rm-green-dark); background: var(--rm-green-dark); color: #fff; }
	.remove-mobile-services__task--primary small { color: #e0eee7; }
	.remove-mobile-services__directions { border-bottom: 1px solid var(--rm-line); }
	.remove-mobile-services__item-summary { justify-content: flex-start; min-height: 64px; padding: 10px 2px; }
	.remove-mobile-services__item-summary::after { display: none; }
	.remove-mobile-services__direction-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--rm-green-soft); color: var(--rm-green); }
	.remove-mobile-services__direction-icon .remove-icon { width: 22px; height: 22px; }
	.remove-mobile-services__direction-name { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; color: var(--rm-green-dark); }
	.remove-mobile-services__direction-name small { color: var(--rm-muted); font-size: 0.72rem; font-weight: 600; }
	.remove-mobile-services__chevron { flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
	.remove-mobile-services__item[open] > .remove-mobile-services__item-summary .remove-mobile-services__chevron { transform: translateY(2px) rotate(225deg); }
	.remove-mobile-services__item-body { padding: 0 0 18px 54px; }
	.remove-mobile-services__list { margin: 0; padding: 0; list-style: none; }
	.remove-mobile-services__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 9px 2px; border-top: 1px solid rgba(16, 60, 51, 0.08); color: var(--rm-ink); font-size: 0.88rem; text-decoration: none; }
	.remove-mobile-services__list .remove-icon { flex: 0 0 auto; width: 15px; height: 15px; }
	.remove-mobile-services__all { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; margin-top: 6px; color: var(--rm-green); font-size: 0.84rem; font-weight: 800; text-decoration: none; }
	.remove-mobile-services__all .remove-icon { width: 15px; height: 15px; }
	.remove-mobile-services__resources { display: grid; gap: 0; margin-top: 18px; }
	.remove-mobile-services__resources a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid var(--rm-line); color: var(--rm-green-dark); font-weight: 750; text-decoration: none; }
	.remove-mobile-services__resources .remove-icon { width: 16px; height: 16px; }
	.remove-guide-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .remove-header { top: 46px; }
	.remove-guide-overview { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px; }
}

@media (max-width: 600px) {
	.remove-guide-directory__grid { grid-template-columns: minmax(0, 1fr); }
	.remove-guide-directory__card { border-radius: 18px; }
	.remove-mobile-services__tasks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.remove-mobile-services__task { min-height: 58px; }
	.remove-mobile-services__item-body { padding-left: 0; }
	.remove-mobile-services__intro h2 { font-size: 1.45rem; }
	.remove-guide-archive-hero .remove-hero__actions { align-items: stretch; flex-direction: column; }
	.remove-guide-archive-hero .remove-hero__actions > * { width: 100%; }
	.remove-guide-archive-hero .remove-booking-button,
	.remove-guide-archive-hero .remove-header__finder { justify-content: center; min-height: 52px; text-align: center; }
}

@media (max-width: 360px) {
	.remove-mobile-services { padding-inline: 12px; }
	.remove-mobile-services__direction-icon { flex-basis: 38px; width: 38px; height: 38px; }
	.remove-guide-overview { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.remove-mobile-services__chevron { transition: none; }
}
