/**
 * OralMed Studio – theme styles.
 *
 * Values are taken from the Figma design (desktop 1920px, content 1440px;
 * mobile 375px). Colours/fonts come from theme.json presets.
 *
 * Breakpoints: mobile < 782px, tablet 782–1023px, desktop ≥ 1024px.
 */

/* ---------------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------------ */
:root {
	--om-ink: var(--wp--preset--color--ink);
	--om-ink-deep: var(--wp--preset--color--ink-deep);
	--om-body: var(--wp--preset--color--body);
	--om-muted: var(--wp--preset--color--muted);
	--om-mist: var(--wp--preset--color--mist);
	--om-teal-900: var(--wp--preset--color--teal-900);
	--om-teal-700: var(--wp--preset--color--teal-700);
	--om-teal-500: var(--wp--preset--color--teal-500);
	--om-teal-300: var(--wp--preset--color--teal-300);
	--om-sage: var(--wp--preset--color--sage);
	--om-surface: var(--wp--preset--color--surface);
	--om-surface-2: var(--wp--preset--color--surface-2);
	--om-border: var(--wp--preset--color--border);
	--om-warm: var(--wp--preset--color--warm);
	--om-radius: 24px;
	--om-radius-sm: 8px;
	--om-container: 1440px;
	--om-gutter: clamp(20px, 6.4vw, 24px);
	--om-section-y: clamp(48px, 6vw, 76px);
	--om-header-h: 84px;
	--om-band: linear-gradient(90deg, #295d5b 0%, #499f99 100%);
	--om-card-shadow: 0 4px 22px rgba(26, 46, 43, 0.07);
	--om-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
	:root {
		--om-header-h: 122px;

		/* Laptops: the design has 240px side margins at 1920px, so scale up instead of hugging the edge. */
		--om-gutter: clamp(40px, 6vw, 96px);
	}
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------ */
html {
	scroll-padding-top: calc(var(--om-header-h) + 16px);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.om-lock {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

.om-contact-card,
.om-form,
.om-path-card,
.om-review,
.om-service-card,
.om-author-box,
.om-contact-list,
.om-namecard,
.om-letter {
	box-sizing: border-box;
}

:focus-visible {
	outline: 2px solid var(--om-teal-700);
	outline-offset: 3px;
	border-radius: 4px;
}

.om-container {
	width: 100%;
	max-width: calc(var(--om-container) + 2 * var(--om-gutter));
	margin-inline: auto;
	padding-inline: var(--om-gutter);
	box-sizing: border-box;
}

.om-icon {
	flex-shrink: 0;
	display: block;
}

.om-gradient-text {
	background: linear-gradient(90deg, #295d5b 0%, #56c3bf 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	width: fit-content;
}

.om-section-head--center .om-gradient-text {
	margin-inline: auto;
}

/* Whole card clickable via its "Tovább" link. */
.om-stretched-link a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	z-index: 1;
}

/* ---------------------------------------------------------------------------
 * Buttons (4 CTA variants from the design)
 * ------------------------------------------------------------------------ */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	transition: filter 0.2s var(--om-ease), box-shadow 0.2s var(--om-ease), background-color 0.2s var(--om-ease), border-color 0.2s var(--om-ease), color 0.2s var(--om-ease);
}

.wp-element-button:hover,
.wp-block-button__link:hover {
	filter: brightness(1.06);
	box-shadow: 0 8px 20px -8px rgba(26, 112, 118, 0.55);
	color: #fff;
}

/* White (CTA_03) */
.wp-block-button.is-style-light .wp-block-button__link {
	background: #fff;
	color: var(--om-ink);
}

.wp-block-button.is-style-light .wp-block-button__link:hover {
	background: var(--om-surface);
	color: var(--om-ink);
	box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
	filter: none;
}

/* White outline on dark (CTA_04) */
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	border: 1.5px solid #fff;
	color: #fff;
	min-width: 216px;
	padding-block: 12.5px;
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	box-shadow: none;
	filter: none;
}

/* Mist outline on light (CTA_02) */
.wp-block-button.is-style-outline .wp-block-button__link,
.om-btn-outline {
	background: transparent !important;
	border: 1.5px solid var(--om-mist) !important;
	color: var(--om-teal-900) !important;
	min-width: 216px;
	padding-block: 12.5px;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.om-btn-outline:hover {
	border-color: var(--om-teal-900) !important;
	box-shadow: none;
	filter: none;
}

/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */
.om-site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
}

.admin-bar .om-site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

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

	.admin-bar.om-scrolled .om-site-header {
		top: 0;
	}
}

.om-header p {
	margin: 0;
}

.om-utility {
	display: none;
	background: rgba(238, 242, 241, 0.75);
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
	font-size: 13px;
	color: var(--om-body);
}

.om-utility__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}

.om-utility__right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.om-utility a {
	color: var(--om-body);
}

.om-utility a:hover {
	color: var(--om-teal-900);
}

.om-utility .om-utility__phone {
	color: var(--om-teal-900);
	font-weight: 600;
}

/* Language switcher (WPML) */
.om-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.om-lang a,
.om-lang [aria-current] {
	padding: 2px 2px;
}

.om-lang a {
	color: var(--om-body);
}

.om-lang [aria-current] {
	color: var(--om-teal-900);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.om-lang__sep {
	color: var(--om-mist);
}

.om-lang--mobile {
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--om-border);
	font-size: 14px;
}

.om-lang--mobile a,
.om-lang--mobile [aria-current] {
	padding: 6px 8px;
}

.om-search input {
	width: 180px;
	border: 0;
	border-radius: 20px;
	background: #fff;
	padding: 4px 12px;
	box-shadow: 0 0 0 1.5px var(--om-mist);
	font: inherit;
	color: var(--om-body);
	transition: width 0.25s var(--om-ease), background-color 0.25s var(--om-ease), padding 0.25s var(--om-ease);
}

.om-search input::placeholder {
	color: var(--om-body);
	opacity: 1;
}

.om-search input:focus {
	width: 180px;
	padding-inline: 12px;
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 1.5px var(--om-mist);
}

.om-bar {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.43) 100%);
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
	transition: background-color 0.25s var(--om-ease), box-shadow 0.25s var(--om-ease);
}

.om-scrolled .om-bar,
.om-header.is-open .om-bar {
	background-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 6px 20px -12px rgba(26, 46, 43, 0.3);
}

.om-bar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.om-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 128px;
	height: 49px;
	overflow: hidden;
	flex-shrink: 0;
}

.om-logo img {
	width: 100%;
	height: auto;
	max-width: none;
}

.om-nav,
.om-bar__cta {
	display: none !important;
}

.om-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-nav__list a,
.om-nav__mega-toggle {
	font-size: 15px;
	font-weight: 600;
	color: var(--om-ink);
	white-space: nowrap;
}

.om-nav__mega-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}

.om-nav__caret {
	font-size: 12px;
	transition: transform 0.2s var(--om-ease);
}

.om-nav__mega-toggle[aria-expanded="true"] .om-nav__caret {
	transform: rotate(180deg);
}

.om-nav__list a:hover,
.om-nav__list a[aria-current="page"],
.om-nav__mega-toggle:hover,
.om-nav__mega-toggle[aria-expanded="true"] {
	color: var(--om-teal-700);
}

/* Burger */
.om-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--om-ink);
}

.om-burger__lines,
.om-burger__lines::before,
.om-burger__lines::after {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s var(--om-ease), opacity 0.2s;
}

.om-burger__lines {
	position: relative;
}

.om-burger__lines::before,
.om-burger__lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.om-burger__lines::before {
	top: -7px;
}

.om-burger__lines::after {
	top: 7px;
}

.om-burger[aria-expanded="true"] .om-burger__lines {
	background: transparent;
}

.om-burger[aria-expanded="true"] .om-burger__lines::before {
	transform: translateY(7px) rotate(45deg);
}

.om-burger[aria-expanded="true"] .om-burger__lines::after {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
	.om-utility {
		display: block;
	}

	.om-bar__in {
		min-height: 86px;
	}

	.om-logo {
		width: 180px;
		height: 50px;
	}

	.om-logo img {
		width: 181px;
	}

	.om-nav {
		display: block !important;
	}

	.om-bar__cta {
		display: inline-flex !important;
	}

	.om-burger,
	.om-mobile-menu {
		display: none !important;
	}
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.om-nav__list {
		gap: 20px;
	}

	.om-bar__cta {
		padding-inline: 20px !important;
	}
}

/* Mega menu */
.om-mega {
	position: absolute;
	inset: 100% 0 auto;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.84) 100%);
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
	box-shadow: 0 14px 30px 0 rgba(26, 46, 43, 0.16);
	padding: 36px 0 40px;
	max-height: calc(100vh - var(--om-header-h));
	overflow-y: auto;
	animation: om-drop 0.22s var(--om-ease);
}

.om-mega[hidden] {
	display: none;
}

@keyframes om-drop {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
}

.om-mega__panel {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.om-mega__col {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.om-mega__cat {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.om-mega__cat-head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--om-ink-deep);
}

.om-mega__icon {
	width: 28px;
	height: 28px;
}

.om-mega__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.om-mega__list a {
	color: var(--om-body);
}

.om-mega__list a:hover,
.om-mega__cat-head:hover {
	color: var(--om-teal-700);
}

.om-mega__more {
	font-size: 13px;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-mega__promo {
	flex: 0 0 330px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 24px;
	border-radius: var(--om-radius);
	background: rgba(255, 255, 255, 0.95);
	font-size: 13px;
	line-height: 1.4;
}

.om-mega__promo-title {
	max-width: 282px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.28;
	color: var(--om-ink);
}

.om-mega__promo > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.om-path-label {
	font-weight: 600;
	color: var(--om-teal-900);
	white-space: pre;
}

.om-path-label--warm {
	color: var(--om-warm);
}

.om-mega__callback {
	font-weight: 600;
	color: var(--om-warm);
}

.om-mega__callback:hover {
	color: #8f4a1f;
}

@media (max-width: 1279px) {
	.om-mega__panel {
		gap: 24px;
	}

	.om-mega__promo {
		flex-basis: 260px;
	}
}

/* Mobile menu overlay */
.om-mobile-menu {
	position: fixed;
	inset: var(--om-header-h) 0 0;
	background: rgba(255, 255, 255, 0.97);
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
	overflow-y: auto;
	overscroll-behavior: contain;
	animation: om-drop 0.22s var(--om-ease);
}

.admin-bar .om-mobile-menu {
	top: calc(var(--om-header-h) + var(--wp-admin--admin-bar--height, 0px));
}

.om-mobile-menu[hidden] {
	display: none;
}

.om-mobile-menu__in {
	padding: 8px var(--om-gutter) 32px;
}

.om-acc summary {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	list-style: none;
}

.om-acc summary::-webkit-details-marker {
	display: none;
}

.om-acc summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.2s var(--om-ease);
}

.om-acc[open] > summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.om-acc--main > summary,
.om-mobile-menu__links a {
	display: flex;
	padding: 16px 0;
	border-bottom: 1px solid var(--om-border);
	font-size: 17px;
	font-weight: 600;
	color: var(--om-ink);
}

.om-acc--sub {
	border-bottom: 1px solid var(--om-border);
}

.om-acc--sub > summary {
	padding: 12px 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--om-ink-deep);
}

.om-acc--sub ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 4px 0 16px 38px;
	list-style: none;
	font-size: 15px;
}

.om-acc--sub ul a {
	color: var(--om-body);
}

.om-acc--sub ul a.om-mega__more {
	color: var(--om-teal-900);
}

.om-mobile-menu__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-mobile-menu__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 24px;
}

.om-mobile-menu__actions .wp-element-button {
	width: 100%;
}

.om-mobile-menu__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 8px;
	font-weight: 600;
	color: var(--om-teal-900);
}

/* ---------------------------------------------------------------------------
 * Layout shells
 * ------------------------------------------------------------------------ */
.om-main {
	padding-top: calc(var(--om-header-h) + var(--om-section-y));
	padding-bottom: var(--om-section-y);
}

.om-main.om-main--flush {
	padding-top: 0;
	padding-bottom: 0;
}

.om-main--flush > .wp-block-post-content > * {
	margin-block: 0;
}

.om-page-head {
	margin-bottom: 32px;
}

.om-section {
	position: relative;
	padding-block: var(--om-section-y);
}

.om-section > * + * {
	margin-block-start: 30px !important;
}

.om-section--mist {
	background: var(--om-surface-2);
}

.om-band {
	background: var(--om-band);
	color: #eef2f1;
}

.om-band h2 {
	color: #fff;
}

.om-section-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.om-section-head > * {
	margin: 0 !important;
}

.om-section-head--center {
	align-items: center;
	text-align: center;
}

.om-section-head--center p {
	max-width: 1112px;
	margin-inline: auto !important;
}

.om-grid {
	display: grid;
	gap: 24px;
}

.om-grid > * {
	margin: 0 !important;
	min-width: 0;
}

@media (min-width: 782px) {
	.om-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.om-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.om-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.om-grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.om-grid--4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

.om-link-strong {
	font-size: 15px;
	font-weight: 600;
}

.om-link-strong a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Chips */
.om-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-chips > li {
	margin: 0;
}

.om-chips--links a {
	display: inline-flex;
	padding: 6px 13px;
	border-radius: 20px;
	background: var(--om-surface);
	font-size: 13px;
	font-weight: 500;
	color: var(--om-body);
	transition: background-color 0.2s, color 0.2s;
}

.om-chips--links a:hover {
	background: var(--om-sage);
	color: var(--om-teal-900);
}

.om-tag {
	display: inline-flex;
	width: fit-content;
	padding: 6px 13px;
	border-radius: 20px;
	background: var(--om-surface);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--om-teal-900);
}

.om-tag--warm {
	background: var(--wp--preset--color--warm-bg);
	color: var(--om-warm);
}

.om-bullets {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.25;
}

.om-bullets li::before {
	content: "•";
	margin-right: 0.7em;
}

.om-note {
	font-size: 13px;
	font-weight: 500;
	color: var(--om-muted);
}

.om-note--phone,
.om-note--phone a {
	color: var(--om-teal-900);
}

.om-note--phone a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.om-note--phone a::before {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("../icons/phone.svg") center / contain no-repeat;
	mask: url("../icons/phone.svg") center / contain no-repeat;
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */
.om-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 790px;
	padding-top: calc(var(--om-header-h) + 32px);
	padding-bottom: 32px;
	background: linear-gradient(127deg, #133c38 7.5%, #176e66 54.7%, #139c91 101.9%);
	color: #fff;
	box-sizing: border-box;
}

.om-hero__bg {
	position: absolute !important;
	inset: 0;
	z-index: -1;
	margin: 0 !important;
	max-width: none !important;
	pointer-events: none;
}

.om-hero__blob {
	position: absolute;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	will-change: transform, opacity;
	animation-duration: 16s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

/* Blob sizes = design size + the SVG's blur overflow. */
.om-hero__blob--a {
	left: calc(-420px - 70px);
	top: calc(-430px - 70px);
	width: 1390px;
	height: 1390px;
	background-image: url("../images/hero-blob-a.svg");
	mix-blend-mode: screen;
	animation-name: om-blob-a;
}

.om-hero__blob--b {
	right: calc(-510px - 90px);
	top: calc(-280px - 90px);
	width: 1630px;
	height: 1630px;
	background-image: url("../images/hero-blob-b.svg");
	mix-blend-mode: screen;
	animation-name: om-blob-b;
}

.om-hero__blob--depth {
	left: calc(50% + 145px);
	bottom: calc(-410px - 80px);
	width: 1210px;
	height: 1210px;
	margin-left: -605px;
	background-image: url("../images/hero-blob-depth.svg");
	mix-blend-mode: multiply;
	animation-name: om-blob-depth;
}

.om-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(9, 46, 43, 0.72) 0%, rgba(10, 61, 56, 0.28) 45%, rgba(18, 92, 84, 0) 100%);
	mix-blend-mode: multiply;
	opacity: 0.5;
}

/* Keyframes from the Figma motion spec (16s loop). */
@keyframes om-blob-a {
	0% { opacity: 0.62; scale: 1 1; translate: -40px 0; animation-timing-function: ease-in-out; }
	21.875% { opacity: 0.98; scale: 1.28 1.08; translate: 300px -170px; animation-timing-function: ease-in-out; }
	46.875% { opacity: 0.7; scale: 1.45 1.22; translate: 620px 170px; animation-timing-function: ease-in-out; }
	71.875% { opacity: 1; scale: 1.18 1.36; translate: 260px 330px; animation-timing-function: ease-in-out; }
	100% { opacity: 0.62; scale: 1 1; translate: -40px 0; }
}

@keyframes om-blob-b {
	0% { opacity: 0.5; scale: 1 1; translate: 40px 0; animation-timing-function: ease-in-out; }
	25% { opacity: 0.92; scale: 1.35 1.12; translate: -310px -180px; animation-timing-function: ease-in-out; }
	50% { opacity: 0.68; scale: 1.18 1.4; translate: -700px 170px; animation-timing-function: ease-in-out; }
	75% { opacity: 0.96; scale: 1.42 1.16; translate: -290px 350px; animation-timing-function: ease-in-out; }
	100% { opacity: 0.5; scale: 1 1; translate: 40px 0; }
}

@keyframes om-blob-depth {
	0% { opacity: 0.28; scale: 1 1; translate: 0 0; animation-timing-function: ease-in-out; }
	23.75% { opacity: 0.62; scale: 1.18 1.3; translate: 240px -170px; animation-timing-function: ease-in-out; }
	51.25% { opacity: 0.34; scale: 1.32 1.12; translate: -260px -190px; animation-timing-function: ease-in-out; }
	76.25% { opacity: 0.66; scale: 1.12 1.28; translate: -140px 210px; animation-timing-function: ease-in-out; }
	100% { opacity: 0.28; scale: 1 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.om-hero__blob {
		animation: none;
	}
}

/* Flex column + auto margins would shrink children to their content width. */
.om-hero > :not(.om-hero__bg) {
	width: 100%;
}

.om-hero__inner {
	gap: 64px !important;
	align-items: center !important;
	margin-bottom: 0 !important;
}

.om-hero__text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.om-hero__text > * {
	margin: 0 !important;
}

.om-hero__kicker {
	font-size: 18px;
	color: #fff;
}

.om-hero .om-hero__title {
	max-width: 700px;
	color: #fff;
	font-size: var(--wp--preset--font-size--display);
	line-height: 1.14;
}

.om-hero__lead {
	max-width: 660px;
	font-size: 17px;
	line-height: 1.5;
	color: #dbe8e6; /* lighter than "mist" for ≥4.5:1 contrast on the hero gradient */
}

.om-hero__ctas {
	gap: 14px;
}

.om-chips--hero li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	color: #fff;
}

.om-chips--hero li::before {
	content: "✓";
	font-size: 13px;
	font-weight: 700;
	color: var(--om-teal-300);
}

.om-hero__media {
	flex: 0 0 auto;
}

.om-hero__photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--om-radius);
	aspect-ratio: 600 / 420;
}

.om-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (min-width: 1024px) {
	.om-hero {
		min-height: 900px;
		padding-top: 170px;
		padding-bottom: 76px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.om-hero__inner {
		flex-wrap: nowrap !important;
		min-height: 654px;
	}

	.om-hero__media {
		flex: 0 0 min(600px, 42%) !important;
	}
}

/* Mobile hero: text → chips → photo → full-width CTAs (per 375px design). */
@media (max-width: 1023px) {
	.om-hero__inner {
		gap: 24px !important;
	}

	.om-hero__text {
		display: contents;
	}

	.om-hero__inner {
		display: flex !important;
		flex-direction: column;
		align-items: stretch !important;
	}

	.om-hero__kicker { order: 1; font-size: 14px; }
	.om-hero__title { order: 2; }
	.om-hero__lead { order: 3; font-size: 15px; }
	.om-chips--hero { order: 4; }
	.om-hero__media { order: 5; }

	.om-hero .wp-block-columns.om-hero__inner > .wp-block-column {
		flex-basis: auto !important;
		width: 100%; /* aspect-ratio children need a definite width here */
	}
	.om-hero__ctas { order: 6; }

	.om-hero__text > *,
	.om-hero__media {
		margin: 0 !important;
	}

	.om-hero__photo {
		aspect-ratio: 327 / 200;
	}

	.om-chips--hero {
		gap: 6px;
	}

	.om-chips--hero li {
		padding: 5px 10px;
		font-size: 13px;
	}
}

@media (max-width: 781px) {
	.om-hero__ctas {
		flex-direction: column;
		gap: 10px;
	}

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

/* ---------------------------------------------------------------------------
 * Services
 * ------------------------------------------------------------------------ */
.om-service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	border-radius: var(--om-radius);
	background: linear-gradient(180deg, #eef2f1 0%, #fff 100%);
	transition: transform 0.25s var(--om-ease), box-shadow 0.25s var(--om-ease);
}

.om-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px -24px rgba(26, 46, 43, 0.35);
}

.om-service-card > * {
	margin: 0 !important;
}

.om-service-card__icon img {
	width: 64px !important;
	height: auto;
}

.om-service-card .om-service-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--om-ink);
}

.om-service-card__desc {
	font-size: 14px;
	line-height: 1.45;
}

.om-service-card__kw {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--om-muted);
}

.om-service-card__kw li::before {
	content: "• ";
}

.om-service-card__more {
	margin-top: auto !important;
	padding-top: 10px;
	font-size: 14px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.om-service-card {
		min-height: 365px;
		box-sizing: border-box;
	}
}

@media (max-width: 781px) {
	.om-services__cards {
		gap: 16px;
	}

	/* Compact card: icon left, text right; keywords hidden. */
	.om-service-card {
		display: grid;
		grid-template-columns: 56px 1fr;
		column-gap: 16px;
		row-gap: 6px;
		padding: 24px;
	}

	.om-service-card__icon {
		grid-row: 1 / span 3;
	}

	.om-service-card__icon img {
		width: 56px !important;
	}

	.om-service-card__kw {
		display: none !important;
	}

	.om-service-card__more {
		padding-top: 6px;
	}
}

.om-more-areas {
	gap: 10px !important;
	align-items: center;
}

.om-more-areas__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--om-ink);
}

/* ---------------------------------------------------------------------------
 * Booking paths
 * ------------------------------------------------------------------------ */
.om-path-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 50px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: rgba(255, 255, 255, 0.5);
}

.om-path-card > * {
	margin: 0 !important;
}

.om-path-card h3 {
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 600;
}

.om-path-card__desc {
	font-size: 15px;
}

.om-path-card .om-bullets {
	margin-bottom: 8px !important;
}

@media (max-width: 781px) {
	.om-path-card {
		padding: 24px;
		gap: 12px;
	}

	.om-path-card .om-bullets {
		display: none !important;
	}

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

/* ---------------------------------------------------------------------------
 * Why us
 * ------------------------------------------------------------------------ */
.om-why {
	overflow: hidden;
	isolation: isolate;
}

.om-why::before,
.om-why::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: calc(178px - 300px);
	width: 854px;
	height: 854px;
	background: url("../images/glow.svg") center / contain no-repeat;
	pointer-events: none;
}

.om-why::before {
	left: calc(-127px - 300px);
}

.om-why::after {
	right: calc(-127px - 300px);
}

.om-reasons {
	gap: 16px 24px;
}

.om-reason {
	gap: 12px !important;
	min-height: 69px;
	box-sizing: border-box;
	padding: 18px 20px;
	border-radius: var(--om-radius);
	background: rgba(238, 242, 241, 0.5);
}

.om-reason > * {
	margin: 0 !important;
}

.om-reason__icon img {
	width: 24px !important;
	display: block;
}

.om-reason__label {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--om-ink);
}

@media (max-width: 781px) {
	.om-reasons {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px 13px;
	}

	.om-reason {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 8px !important;
		padding: 14px;
		min-height: 79px;
		border-radius: 16px;
	}

	.om-reason__label {
		font-size: 13px;
	}

	.om-why::before,
	.om-why::after {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Split (image + text) – history band
 * ------------------------------------------------------------------------ */
.om-split {
	gap: 64px !important;
	margin-block: 0 !important;
}

.om-split__media {
	flex: 0 0 auto;
}

.om-photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--om-radius);
	background: var(--om-sage);
	aspect-ratio: 580 / 380;
}

.om-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.om-split__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.om-split__text > * {
	margin: 0 !important;
}

.om-split__text h2 {
	line-height: 1.15;
}

.om-split__text p {
	max-width: 705px;
}

@media (min-width: 1024px) {
	.om-split {
		flex-wrap: nowrap !important;
	}

	.om-split__media {
		flex: 0 0 min(580px, 42%) !important;
	}
}

@media (max-width: 1023px) {
	.om-split {
		flex-direction: column;
		gap: 20px !important;
	}

	.om-photo {
		aspect-ratio: 343 / 220;
	}
}

/* ---------------------------------------------------------------------------
 * Doctors
 * ------------------------------------------------------------------------ */
.om-doctors__query > .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-doc {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	box-sizing: border-box;
	padding: 22px 22px 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface);
	transition: box-shadow 0.25s var(--om-ease), transform 0.25s var(--om-ease);
}

.om-doc:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px -24px rgba(26, 46, 43, 0.35);
}

.om-doc > *,
.om-doc__body > * {
	margin: 0 !important;
}

.om-doc__photo {
	width: 120px !important;
	height: 120px !important;
	flex-shrink: 0;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
	background: var(--om-sage);
}

.om-doc__photo img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: top;
}

.om-doc__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	flex: 1;
}

.om-doc .om-doc__name {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--om-ink);
}

.om-doc__role {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--om-muted);
}

.om-doc__role:empty {
	display: none;
}

.om-doc__badge {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--badge);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--om-teal-700);
}

.om-doc__more {
	margin-top: auto !important;
	font-size: 13px;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-doc__more::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

@media (max-width: 781px) {
	.om-docs {
		gap: 16px;
	}

	/* Mobile rows: photo left, details right. */
	.om-doc {
		flex-direction: row;
		align-items: center;
		gap: 16px;
		padding: 16px;
		border-radius: 20px;
	}

	.om-doc__photo {
		width: 72px !important;
		height: 72px !important;
	}

	.om-doc__body {
		gap: 6px;
	}

	.om-doc .om-doc__name {
		font-size: 16px;
	}

	.om-doc__badge {
		padding: 4px 10px;
		font-size: 11px;
	}

	.om-doc__more {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * Reviews
 * ------------------------------------------------------------------------ */
.om-reviews__head > * {
	margin: 0 !important;
}

.om-google-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 220px;
	min-height: 52px;
	box-sizing: border-box;
	padding: 0 20px;
	border-radius: 28px;
	background: rgba(220, 228, 227, 0.5);
	font-size: 12px;
	font-weight: 500;
	color: var(--om-teal-900);
}

.om-stars {
	color: #fff;
	letter-spacing: 1px;
}

.om-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: rgba(255, 255, 255, 0.5);
}

.om-review > * {
	margin: 0 !important;
}

.om-review__stars {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
}

.om-review__text {
	flex: 1;
	font-size: 15px;
	color: var(--om-teal-900);
}

.om-review__author {
	font-size: 14px;
	font-weight: 600;
	color: var(--om-ink);
}

/* Light reviews (booking + contact pages): mist section, white cards, gold stars */
.om-reviews--light .om-google-chip {
	background: var(--om-surface);
	color: var(--om-ink);
}

.om-reviews--light .om-stars,
.om-reviews--light .om-review__stars {
	color: #b5800f;
}

.om-reviews--light .om-review {
	background: #fff;
}

.om-reviews--light .om-review__text {
	color: var(--om-body);
}

@media (max-width: 781px) {
	.om-reviews__head {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 8px !important;
	}

	.om-google-chip {
		min-width: 0;
		min-height: 28px;
		padding: 0 14px;
	}

	/* Swipeable carousel, bleeding off the right edge. */
	.om-reviews {
		overflow: hidden;
	}

	.om-reviews__list {
		display: flex;
		gap: 12px;
		margin-right: calc(-1 * var(--om-gutter)) !important;
		padding-right: var(--om-gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.om-reviews__list::-webkit-scrollbar {
		display: none;
	}

	.om-review {
		flex: 0 0 min(298px, 82vw);
		scroll-snap-align: start;
		padding: 20px;
	}
}

/* ---------------------------------------------------------------------------
 * Contact: problem shortcuts, form, details card
 * ------------------------------------------------------------------------ */
.om-contact__main {
	align-items: start;
}

.om-problems {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.om-problems > * {
	margin: 0 !important;
}

.om-problem {
	position: relative;
	gap: 16px !important;
	min-height: 71px;
	box-sizing: border-box;
	padding: 16px 18px;
	border-radius: var(--om-radius);
	background: var(--om-surface);
	transition: background-color 0.2s;
}

.om-problem:hover {
	background: var(--om-sage);
}

.om-problem > * {
	margin: 0 !important;
}

.om-problem__label {
	flex: 1 1 auto;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--om-ink);
}

.om-problem__link {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.om-problems {
		max-width: 565px;
	}
}

@media (max-width: 781px) {
	.om-problem {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 4px !important;
		min-height: 65px;
		padding: 12px 18px;
	}
}

/* Form */
.om-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border-radius: var(--om-radius);
	background: var(--om-surface);
}

.om-form p {
	margin: 0;
}

.om-form__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--om-ink);
}

@media (min-width: 782px) {
	.om-form__title--mobile {
		display: none;
	}
}

.om-form input[type="text"],
.om-form input[type="tel"],
.om-form input[type="email"],
.om-form textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: var(--om-radius-sm);
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--om-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.om-form textarea {
	min-height: 150px;
	resize: vertical;
}

.om-form ::placeholder {
	color: var(--om-muted);
	font-weight: 500;
	opacity: 1;
}

.om-form input:focus,
.om-form textarea:focus {
	outline: none;
	border-color: var(--om-teal-500);
	box-shadow: 0 0 0 3px rgba(73, 159, 153, 0.18);
}

.om-field--consent label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--om-body);
	cursor: pointer;
}

.om-field--consent input {
	margin-top: 2px;
	accent-color: var(--om-teal-700);
}

.om-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.om-form__submit .wp-element-button {
	border: 0;
	font-family: inherit;
}

.om-form__notice {
	padding: 12px 16px;
	border-radius: var(--om-radius-sm);
	font-size: 14px;
}

.om-form__notice--ok {
	background: var(--wp--preset--color--badge);
	color: var(--om-teal-700);
}

.om-form__notice--error {
	background: var(--wp--preset--color--warm-bg);
	color: var(--om-warm);
}

@media (max-width: 781px) {
	.om-form {
		padding: 24px 20px;
	}

	.om-form__submit .wp-element-button {
		width: 100%;
	}
}

/* Details card */
.om-contact-card {
	display: grid;
	gap: 24px;
	padding: 20px;
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
}

.om-contact-card__col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.om-contact-card__col p {
	margin: 0;
}

.om-contact-card__col a {
	color: var(--om-body);
}

.om-contact-card__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px !important;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--om-teal-900);
}

.om-contact-card__label .om-icon {
	width: 18px;
	height: 18px;
}

.om-contact-card__map {
	display: block;
	overflow: hidden;
	aspect-ratio: 303 / 160;
	border: 1px solid #fff;
	border-radius: var(--om-radius);
	background: var(--om-sage);
}

.om-contact-card__map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--om-ease);
}

.om-contact-card__map:hover img {
	transform: scale(1.03);
}

@media (min-width: 782px) {
	.om-contact-card {
		grid-template-columns: repeat(3, 1fr);
		padding: 32px;
	}

	.om-contact-card__map {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 7;
	}
}

@media (min-width: 1200px) {
	.om-contact-card {
		display: flex;
		align-items: flex-start;
		gap: 40px;
		padding: 44px 45px;
	}

	.om-contact-card__col {
		flex: 0 0 230px;
	}

	.om-contact-card__map {
		flex: 0 1 530px;
		margin-left: auto;
		aspect-ratio: 530 / 300;
	}
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */
.om-site-footer {
	margin-top: 0 !important;
}

.om-footer {
	padding: 48px 0 24px;
	background: linear-gradient(90deg, #2a5e5c 0%, #499f99 100%);
	font-size: 13px;
	color: var(--om-mist);
}

.om-footer p {
	margin: 0;
}

.om-footer a {
	color: var(--om-mist);
}

.om-footer a:hover {
	color: #fff;
}

.om-footer__grid {
	display: grid;
	gap: 0;
}

.om-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
	line-height: 1.5;
}

.om-footer__logo {
	display: flex;
	align-items: center;
	width: 128px;
	height: 49px;
	overflow: hidden;
}

.om-footer__logo img {
	width: 100%;
	max-width: none;
}

.om-footer__social {
	display: flex;
	gap: 5px;
}

.om-footer__social a {
	display: inline-flex;
	transition: opacity 0.2s;
}

.om-footer__social a:hover {
	opacity: 0.8;
}

.om-footer__social .om-icon {
	width: 25px;
	height: 25px;
}

.om-footer__col {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.om-footer__col summary {
	display: flex;
	align-items: center;
	padding: 14px 0;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	list-style: none;
}

.om-footer__col summary::-webkit-details-marker {
	display: none;
}

.om-footer__col summary::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.om-footer__col[open] summary::after {
	transform: rotate(-135deg);
}

.om-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0 0 16px;
	list-style: none;
}

.om-footer__bar {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 24px;
}

.om-footer__domain {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.om-footer__legal {
	font-size: 12px;
}

@media (min-width: 782px) {
	.om-footer {
		padding: 56px 0 28px;
	}

	.om-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 60px;
	}

	.om-footer__col {
		border: 0;
	}

	.om-footer__col summary {
		padding: 0 0 10px;
		pointer-events: none;
	}

	.om-footer__col summary::after {
		display: none;
	}

	.om-footer__col ul {
		padding: 0;
	}

	.om-footer__bar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-top: 28px;
	}
}

@media (min-width: 1024px) {
	.om-footer__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.om-footer__brand {
		margin: 0;
		gap: 14px;
	}

	.om-footer__logo {
		width: 170px;
		height: 58px;
	}

	.om-footer__logo img {
		width: 181px;
	}
}

/* ---------------------------------------------------------------------------
 * Category pages
 * ------------------------------------------------------------------------ */

/* Sub-page hero (breadcrumb + title + photo) */
.om-breadcrumb {
	font-size: 14px;
	color: #dbe8e6;
}

.om-breadcrumb a {
	color: #dbe8e6;
}

.om-breadcrumb a:hover {
	color: #fff;
}

.om-breadcrumb [aria-current] {
	color: #fff;
}

.om-hero--sub {
	min-height: 0;
	background: var(--om-band);
}

/* Sub-page heroes use the flat band gradient; the animated blobs are home-only. */
.om-hero--sub:not(.om-hero--memoriam) .om-hero__bg {
	display: none;
}

.om-hero--sub > .om-breadcrumb {
	margin-block-end: 0;
}

.om-hero--sub .om-hero__inner--sub {
	margin-top: 18px !important;
}

.om-hero--sub .om-hero__text {
	gap: 18px;
}

.om-cat-photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--om-radius);
	aspect-ratio: 520 / 300;
}

.om-cat-photo img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.om-cat-photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
}

.om-cat-photo--empty .om-icon {
	width: 96px;
	height: 96px;
	opacity: 0.9;
}

@media (min-width: 1024px) {
	.om-hero--sub {
		min-height: 559px;
		padding-top: 170px;
		padding-bottom: 54px;
		justify-content: flex-start;
	}

	.om-hero--sub .om-hero__inner--sub {
		min-height: 300px;
	}

	.om-hero--sub .om-hero__media {
		flex: 0 0 min(520px, 38%) !important;
	}
}

@media (max-width: 1023px) {
	.om-hero--sub {
		padding-bottom: 32px;
	}

	.om-hero--sub .om-hero__title { order: 1; }
	.om-hero--sub .om-hero__media { order: 2; }
	.om-hero--sub .om-hero__lead { order: 3; }
	.om-hero--sub .om-hero__ctas { order: 4; }

	.om-hero--sub .om-cat-photo {
		aspect-ratio: 327 / 189;
	}
}

/* Online / consultation pills */
.om-legend {
	gap: 20px !important;
}

.om-legend > * {
	margin: 0 !important;
}

.om-pill,
.om-treatment::before,
.om-treatment__pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	white-space: nowrap;
}

.om-pill--online,
.om-treatment.is-style-treatment-online::before,
.om-treatment__pill--online {
	background: var(--wp--preset--color--badge);
	color: var(--om-teal-700);
}

.om-pill--consult,
.om-treatment.is-style-treatment-consult::before,
.om-treatment__pill--consult {
	background: var(--wp--preset--color--warm-bg);
	color: var(--om-warm);
}

/* Treatment rows */
.om-treatments__grid {
	gap: 18px 24px;
}

.om-treatment {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: flex-start;
	gap: 10px 8px;
	min-height: 130px;
	box-sizing: border-box;
	padding: 22px 24px;
	border: 1px solid transparent;
	border-radius: var(--om-radius);
	background: #fff;
	box-shadow: var(--om-card-shadow);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.om-treatment:hover {
	border-color: var(--om-teal-300);
	box-shadow: 0 14px 30px -18px rgba(26, 46, 43, 0.35);
}

.om-treatment > * {
	margin: 0 !important;
}

/*
 * Pill (right after the title) and booking method (bottom right) come from the
 * block style: on the front end as translatable spans (inc/i18n.php), in the
 * editor as generated content.
 */
.om-treatment::before,
.om-treatment__pill {
	order: 1;
	padding-block: 5px;
}

/* [class] lifts specificity above the per-style content rules below. */
.om-treatment[class]:has(> .om-treatment__pill)::before,
.om-treatment[class]:has(> .om-treatment__method)::after {
	content: none;
}

.om-treatment__pill--online::before,
.om-treatment__pill--consult::before {
	margin-right: 0.35em;
}

.om-treatment__pill--online::before {
	content: "●" / "";
}

.om-treatment__pill--consult::before {
	content: "○" / "";
}

.om-treatment__pill-short {
	display: none;
}

.om-treatment .om-treatment__title {
	order: 0;
}

.om-treatment__desc,
.om-treatment__link {
	order: 2;
	flex: 1 0 100%;
}

.om-treatment.is-style-treatment-online::before {
	content: "● Online foglalható";
}

.om-treatment.is-style-treatment-consult::before {
	content: "○ Konzultáció";
}

.om-treatment::after,
.om-treatment__method {
	position: absolute;
	right: 24px;
	bottom: 22px;
	font-size: 13px;
	font-weight: 500;
	line-height: 17px;
	color: var(--om-muted);
}

.om-treatment.is-style-treatment-online::after {
	content: "☑ ArpaDent";
}

.om-treatment__method--online::before {
	content: "☑" / "";
	margin-right: 0.3em;
}

.om-treatment.is-style-treatment-consult::after {
	content: "/ űrlap";
}

.om-treatment.is-style-treatment-consult::after,
.om-treatment__method--consult {
	padding-left: 20px;
	background: url("../icons/phone.svg") left center / 15px no-repeat;
}

.om-treatment .om-treatment__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
	line-height: 27px;
	color: var(--om-ink);
}

.om-treatment__desc {
	font-size: 15px;
	line-height: 1.45;
	padding-right: 8px;
}

.om-treatment__link {
	padding-right: 110px;
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
}

@media (max-width: 781px) {
	.om-treatments__grid {
		gap: 14px;
	}

	.om-treatment {
		min-height: 110px;
		gap: 8px;
		padding: 18px;
		border-radius: 20px;
	}

	.om-treatment::before,
	.om-treatment__pill {
		position: absolute;
		top: 18px;
		right: 18px;
		padding: 3px 10px;
		font-size: 12px;
	}

	.om-treatment.is-style-treatment-online::before {
		content: "● Foglalható";
	}

	.om-treatment__pill-long {
		display: none;
	}

	.om-treatment__pill-short {
		display: inline;
	}

	.om-treatment::after,
	.om-treatment__method {
		right: 18px;
		bottom: 18px;
		font-size: 12px;
	}

	.om-treatment .om-treatment__title {
		padding-right: 104px;
		font-size: 15px;
		line-height: 23px;
	}

	.om-treatment__desc {
		font-size: 14px;
	}

	.om-pill {
		padding: 7px 14px;
		font-size: 12px;
	}
}

/* Area doctors (category pages) */
.om-doctors--area > .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-doc--area {
	padding: 20px;
}

.om-doc--area .om-doc__photo {
	width: 110px !important;
	height: 110px !important;
}

.om-doc--area .om-doc__role {
	font-size: 14px;
	line-height: 1.3;
	color: var(--om-body);
}

@media (min-width: 782px) {
	.om-docs--area {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	}
}

@media (min-width: 1024px) {
	.om-docs--area {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 781px) {
	.om-doc--area {
		padding: 16px;
	}

	.om-doc--area .om-doc__photo {
		width: 56px !important;
		height: 56px !important;
	}

	.om-doc--area .om-doc__body {
		gap: 4px;
	}

	.om-doc--area .om-doc__name {
		font-size: 15px;
	}

	.om-doc--area .om-doc__role {
		font-size: 12px;
	}

	.om-doc--area .om-doc__more {
		display: block;
		font-size: 12px;
	}
}

/* Callback (text + form) */
.om-callback__grid {
	display: grid;
	gap: 24px;
	align-items: start;
}

.om-callback__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 560px;
}

.om-callback__text > * {
	margin: 0 !important;
}

.om-callback__text h2 {
	line-height: 1.2;
}

.om-callback__phone {
	font-size: 14px;
}

.om-callback__phone::before,
.om-hero__phone::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 7px;
	vertical-align: -3px;
	background: currentColor;
	-webkit-mask: url("../icons/phone.svg") center / contain no-repeat;
	mask: url("../icons/phone.svg") center / contain no-repeat;
}

.om-callback__phone a::before,
.om-hero__phone a::before {
	content: none;
}

.om-callback .om-form {
	padding: 28px;
	background: #fff;
	box-shadow: var(--om-card-shadow);
}

.om-callback .om-form__title {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.om-callback .om-form input[type="text"],
.om-callback .om-form input[type="tel"],
.om-callback .om-form input[type="email"],
.om-callback .om-form textarea,
.om-form--wide input[type="text"],
.om-form--wide input[type="tel"],
.om-form--wide input[type="email"],
.om-form.om-form--wide select,
.om-form--wide textarea {
	background-color: #f7f9f8;
	border-color: #e0e8e6;
}

/* Centred placeholders, as in the design (typed text in the message box stays left-aligned). */
.om-callback .om-form input,
.om-form--wide input,
.om-callback .om-form ::placeholder,
.om-form--wide ::placeholder {
	text-align: center;
}

.om-form.om-form--wide select {
	text-align: center;
	text-align-last: center;
	padding-left: 40px;
}

.om-callback .om-form input[type="checkbox"],
.om-form--wide input[type="checkbox"] {
	text-align: initial;
}

.om-callback .om-form textarea {
	min-height: 84px;
}

@media (min-width: 1024px) {
	.om-callback__grid {
		grid-template-columns: 1fr 560px;
		gap: 64px;
	}
}

@media (max-width: 781px) {
	.om-callback .om-form {
		padding: 24px 20px;
	}

	.om-callback .om-form__title {
		font-size: 16px;
	}

	.om-callback .om-form .om-btn-outline {
		width: 100%;
	}
}

/* Info card with toggle (e.g. anaesthesia) */
.om-section--tight {
	padding-block: 20px;
}

.om-info-card {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 28px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
}

.om-info-card > * {
	margin: 0 !important;
}

.om-info-card__icon {
	flex-shrink: 0;
}

.om-info-card__icon img {
	width: 52px !important;
	display: block;
}

.om-info-card__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.om-info-card__text > * {
	margin: 0 !important;
}

.om-info-card .om-info-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
	color: var(--om-ink);
}

@media (max-width: 781px) {
	.om-info-card {
		flex-direction: column;
		gap: 14px;
		padding: 20px;
	}
}

/* Disclosure toggles (info card + FAQ) */
.om-toggle,
.om-faq__item {
	margin: 0;
}

.om-toggle > summary,
.om-faq__item > summary {
	display: flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	list-style: none;
}

.om-toggle > summary::-webkit-details-marker,
.om-faq__item > summary::-webkit-details-marker {
	display: none;
}

.om-toggle > summary::after,
.om-faq__item > summary::after {
	content: "+";
	margin-left: auto;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: var(--om-teal-900);
	transition: transform 0.2s var(--om-ease);
}

.om-toggle[open] > summary::after,
.om-faq__item[open] > summary::after {
	transform: rotate(45deg);
}

.om-toggle {
	padding-top: 10px;
	border-top: 1px solid var(--om-border);
}

.om-toggle > summary {
	min-height: 26px;
	font-size: 14px;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-toggle > :not(summary) {
	margin-top: 10px;
}

/* FAQ */
.om-faq__list {
	gap: 14px 24px;
	align-items: start;
}

.om-faq__item {
	padding: 20px 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
}

/* FAQ on the dark band (category + treatment pages) */
.om-band .om-faq__item {
	padding: 16px 22px;
	border-color: transparent;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.8);
}

.om-band .om-faq__item > summary {
	font-size: 15px;
	font-weight: 500;
}

.om-band .om-faq__item > :not(summary) {
	color: var(--om-ink);
}

.om-faq__item > summary {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--om-ink);
}

.om-faq__item > :not(summary) {
	margin-top: 12px;
	font-size: 15px;
}

/* ---------------------------------------------------------------------------
 * Treatment pages
 * ------------------------------------------------------------------------ */

/* Hero additions: badge + phone line */
.om-hero--treatment .om-pill {
	order: 0;
}

.om-hero__phone {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
}

.om-hero__phone a {
	font-weight: 600;
	color: #fff;
}

.om-hero--treatment .om-cat-photo {
	aspect-ratio: 520 / 320;
}

@media (max-width: 1023px) {
	.om-hero--treatment .om-pill { order: 0; }
	.om-hero--treatment .om-hero__phone { order: 5; }

	.om-hero--treatment .om-hero__ctas {
		align-items: flex-start;
	}

	.om-hero--treatment .om-hero__ctas .wp-block-button,
	.om-hero--treatment .om-hero__ctas .wp-block-button__link {
		width: auto;
		min-width: 250px;
	}

	.om-hero--treatment .om-cat-photo {
		aspect-ratio: 327 / 201;
	}
}

/* Info column + sticky rail */
.om-tx-layout {
	display: grid;
	gap: 32px;
	align-items: start;
}

.om-tx-main {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.om-tx-main > * {
	margin: 0 !important;
}

.om-tx-main > h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
}

.om-tx-block {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.om-tx-block > * {
	margin: 0 !important;
}

.om-tx-block h3 {
	font-size: clamp(17px, 1.6vw, 22px);
}

.om-tx-block p {
	line-height: 1.65;
}

.om-dots {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.om-dots li {
	position: relative;
	padding-left: 18px;
	line-height: 1.35;
}

.om-dots li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--om-teal-300);
}

.om-options {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: var(--om-muted);
}

.om-options a {
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-options a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.om-rail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 26px;
	border-radius: var(--om-radius);
	background: var(--om-surface);
	font-size: 15px;
}

.om-rail > * {
	margin: 0 !important;
}

.om-rail .om-rail__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 19px;
	font-weight: 600;
}

.om-rail__price {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--om-border);
}

.om-rail__price > * {
	margin: 0 !important;
}

.om-rail__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--om-teal-700);
}

.om-rail__amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--om-ink);
}

.om-rail__note {
	font-size: 14px;
	color: var(--om-muted);
}

@media (min-width: 1024px) {
	.om-tx-layout {
		grid-template-columns: minmax(0, 1fr) 440px;
		gap: 37px;
	}

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

	.admin-bar .om-rail {
		top: calc(var(--om-header-h) + 56px);
	}
}

@media (max-width: 781px) {
	.om-tx-main {
		gap: 28px;
	}

	.om-options li {
		padding: 16px 18px;
		border: 1px solid var(--om-border);
		border-radius: 16px;
		background: var(--om-surface-2);
	}

	.om-rail {
		padding: 20px 18px;
	}
}

.om-callout {
	padding: 16px 20px;
	border-left: 3px solid var(--om-teal-300);
	border-radius: 0 12px 12px 0;
	background: var(--wp--preset--color--badge);
	font-size: 15px;
	font-weight: 500;
	color: var(--om-teal-900);
}

.om-rail .wp-block-buttons {
	gap: 10px;
}

/* Steps */
.om-steps {
	display: grid;
	gap: 16px;
	counter-reset: om-step;
}

.om-steps > * {
	margin: 0 !important;
}

.om-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 26px;
	border-radius: var(--om-radius);
	background: var(--om-surface);
	counter-increment: om-step;
}

.om-step::before {
	content: counter(om-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--om-teal-700);
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.om-step > * {
	margin: 0 !important;
}

.om-step .om-step__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

.om-step__text {
	font-size: 15px;
	line-height: 1.4;
}

@media (min-width: 782px) {
	.om-steps {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 24px;
	}
}

@media (max-width: 781px) {
	.om-steps {
		gap: 20px;
	}

	/* Mobile: compact rows, number on the left. */
	.om-step {
		display: grid;
		grid-template-columns: 32px 1fr;
		column-gap: 14px;
		row-gap: 4px;
		padding: 0;
		border: 0;
		background: none;
	}

	.om-step::before {
		grid-row: 1 / span 2;
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.om-step .om-step__title {
		font-size: 15px;
	}

	.om-step__text {
		font-size: 14px;
	}
}

/* FAQ, single column variant */
.om-faq__list:not(.om-grid--2) > * {
	max-width: 625px;
}

/* Before / after */
.om-ba {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1440 / 460;
	border-radius: var(--om-radius);
	background: var(--om-sage);
	--om-ba: 50%;
	touch-action: pan-y;
}

.om-ba > * {
	margin: 0 !important;
}

.om-ba > figure {
	position: absolute;
	inset: 0;
}

.om-ba > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.om-ba__after {
	clip-path: inset(0 0 0 var(--om-ba));
}

.om-ba .wp-element-caption {
	position: absolute;
	top: 16px;
	z-index: 1;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 16px;
	color: var(--om-ink);
}

.om-ba__before .wp-element-caption {
	left: 16px;
}

.om-ba__after .wp-element-caption {
	right: 16px;
	background: var(--om-teal-300);
	color: #fff;
}

.om-ba__range {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}

.om-ba__handle {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: var(--om-ba);
	width: 7px;
	margin-left: -3.5px;
	background: #fff;
	pointer-events: none;
}

.om-ba__handle::after {
	content: "⟷";
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 14px rgba(26, 46, 43, 0.25);
	font-size: 14px;
	color: var(--om-teal-900);
	transform: translate(-50%, -50%);
}

.om-ba__range:focus-visible + .om-ba__handle::after {
	outline: 2px solid var(--om-teal-700);
	outline-offset: 2px;
}

.om-quote {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.om-quote > * {
	margin: 0 !important;
}

.om-quote {
	align-items: center;
	text-align: center;
}

.om-quote__text {
	font-size: 16px;
	color: var(--om-ink);
}

.om-quote__author {
	font-size: 13px;
	color: var(--om-muted);
}

@media (max-width: 781px) {
	.om-ba {
		display: flex;
		flex-direction: column;
		gap: 4px;
		aspect-ratio: auto;
		background: none;
	}

	.om-ba > figure {
		position: relative;
		inset: auto;
		aspect-ratio: 343 / 211;
	}

	.om-ba__after {
		clip-path: none;
	}

	.om-ba__after .wp-element-caption {
		right: auto;
		left: 16px;
	}

	.om-ba__range,
	.om-ba__handle {
		display: none;
	}

	.om-quote {
		padding: 18px;
		border-radius: 16px;
		background: var(--om-surface-2);
	}
}

/* Related articles */
.om-articles__head > * {
	margin: 0 !important;
}

.om-posts--related > .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-article {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: var(--om-radius);
	background: #fff;
	box-shadow: var(--om-card-shadow);
	transition: box-shadow 0.25s var(--om-ease), transform 0.25s var(--om-ease);
}

.om-article:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px -24px rgba(26, 46, 43, 0.35);
}

.om-article > * {
	margin: 0 !important;
}

.om-article__img {
	margin: 0;
	aspect-ratio: 464 / 170;
	overflow: hidden;
}

.om-article__img img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.om-article__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(127deg, #dce4e3 0%, #eef2f1 100%);
}

.om-article__img--empty .om-icon {
	width: 56px;
	height: 56px;
}

.om-article__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 22px 22px;
}

.om-article__body > * {
	margin: 0 !important;
}

.om-article .om-article__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

.om-article__title a {
	color: var(--om-ink);
}

.om-article__more {
	margin-top: auto !important;
	font-size: 13px;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-article__more::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Why cards */
.om-why-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
}

.om-why-card > * {
	margin: 0 !important;
}

.om-why-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 8px !important;
	border-radius: 50%;
	background: var(--wp--preset--color--badge);
}

.om-why-card__icon img {
	width: 22px !important;
	display: block;
}

.om-why-card__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--om-ink);
}

.om-why-card__text {
	font-size: 14px;
	line-height: 1.43;
}

@media (max-width: 781px) {
	.om-why-cards .om-grid {
		gap: 12px;
	}

	/* Mobile: compact text-only rows. */
	.om-why-card {
		gap: 4px;
		padding: 16px 18px;
		border-radius: 16px;
	}

	.om-why-card__icon {
		display: none !important;
	}
}

/* Video slot in the reviews band */
.om-video {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	aspect-ratio: 1440 / 440;
	border: 1px dashed rgba(255, 255, 255, 0.45);
	border-radius: var(--om-radius);
	background: rgba(255, 255, 255, 0.12);
	text-align: center;
}

.om-video > * {
	margin: 0 !important;
}

.om-video__play {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 8px !important;
	border-radius: 50%;
	background: #fff;
	font-size: 22px;
	color: var(--om-teal-900);
}

.om-video__title {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.om-video__sub {
	font-size: 13px;
	color: var(--om-mist);
}

@media (max-width: 781px) {
	.om-video {
		aspect-ratio: 4 / 3;
		padding: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * Standalone pages (booking, contact, …)
 * ------------------------------------------------------------------------ */

/* Text-only hero */
.om-hero .om-hero__text--simple {
	display: flex !important;
	flex-direction: column;
	gap: 14px;
	margin-top: 14px !important;
}

.om-hero__text--simple > * {
	margin: 0 !important;
}

.om-hero--simple .om-hero__lead {
	max-width: none;
}

/* Centred variant (booking page) */
.om-hero--center .om-hero__text--simple {
	align-items: center;
	margin-top: 0 !important;
	text-align: center;
}

.om-hero--center .om-hero__lead {
	max-width: 840px;
}

@media (min-width: 1024px) {
	.om-hero--simple {
		min-height: 0;
		padding-bottom: 54px;
	}
}

/* Booking: what can be booked + CTA card */
.om-book-layout {
	display: grid;
	gap: 32px;
	align-items: start;
}

.om-book-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.om-book-main > *,
.om-book-cols > *,
.om-book-col > *,
.om-book-cat > * {
	margin: 0 !important;
}

.om-book-cols {
	display: grid;
	gap: 24px 48px;
}

.om-book-col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.om-book-cat {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.om-book-cat__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--om-teal-900);
}

.om-dots--sm {
	gap: 8px;
	font-size: 15px;
}

.om-dots--sm li::before {
	width: 6px;
	height: 6px;
}

.om-book-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 34px;
	border-radius: var(--om-radius);
	background: #fff;
	box-shadow: var(--om-card-shadow);
	text-align: center;
	font-size: 15px;
}

.om-book-cta > * {
	margin: 0 !important;
}

.om-book-cta__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--wp--preset--color--badge);
}

.om-book-cta__icon img {
	width: 28px !important;
	display: block;
}

.om-book-cta .om-book-cta__title {
	font-size: 22px;
	font-weight: 600;
}

.om-book-cta > p:not([class]) {
	max-width: 492px;
}

.om-booking-btn .wp-block-button__link {
	min-width: 340px;
	max-width: 100%;
}

.om-booking-widget__card {
	padding: clamp(16px, 3vw, 36px);
	border-radius: var(--om-radius);
	background: #fff;
	box-shadow: var(--om-card-shadow);
	box-sizing: border-box;
}

.om-booking-widget {
	scroll-margin-top: var(--om-header-h);
}

/* The list and the widget share one grey band. */
.om-booking-list + .om-booking-widget {
	padding-top: 0;
}

.om-book-cta__privacy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--om-muted);
}

.om-book-cta__privacy::before {
	content: "";
	width: 14px;
	height: 14px;
	background: url("../icons/lock.svg") center / contain no-repeat;
}

@media (min-width: 782px) {
	.om-book-cols {
		grid-template-columns: repeat(2, minmax(0, 380px));
	}
}

@media (min-width: 1024px) {
	.om-book-layout {
		grid-template-columns: minmax(0, 1fr) 560px;
		gap: 48px;
	}
}

@media (max-width: 781px) {
	.om-book-cta {
		align-items: flex-start;
		padding: 24px 20px;
		text-align: left;
	}

	.om-book-cta__icon {
		display: none !important;
	}

	.om-booking-btn,
	.om-booking-btn .wp-block-button__link {
		min-width: 0;
		width: 100%;
	}
}

/* Callback banner */
.om-cb-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 24px 20px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface);
}

.om-cb-card > *,
.om-cb-card__text > *,
.om-cb-card__actions > * {
	margin: 0 !important;
}

.om-cb-card__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.om-cb-card .om-cb-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
}

.om-cb-card__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

@media (min-width: 1024px) {
	.om-cb-card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 48px;
		padding: 30px 34px;
	}

	.om-cb-card__text {
		max-width: 1126px;
	}
}

/* Kapcsolat: wide form + contact cards */
.om-contact-layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.om-contact-layout > * {
	margin: 0 !important;
}

.om-form--wide {
	padding: 32px;
	background: #fff;
	box-shadow: var(--om-card-shadow);
}

.om-form--wide .om-form__title {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 24px;
	font-weight: 700;
	color: var(--om-ink);
}

.om-form__intro {
	font-size: 15px;
	margin-top: -4px !important;
}

.om-form__row {
	display: grid;
	gap: 14px;
}

.om-form__row > p {
	margin: 0;
}

.om-form--wide input[type="text"],
.om-form--wide input[type="tel"],
.om-form--wide input[type="email"],
.om-form--wide select,
.om-form--wide textarea {
	min-height: 46px;
	font-size: 15px;
}

.om-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 40px 12px 16px;
	border: 1px solid transparent;
	border-radius: var(--om-radius-sm);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%23566463' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
	font: inherit;
	color: var(--om-ink);
	appearance: none;
	cursor: pointer;
}

.om-form select:invalid,
.om-form select:has(option[value=""]:checked) {
	color: var(--om-muted);
}

.om-form select:focus {
	outline: none;
	border-color: var(--om-teal-500);
	box-shadow: 0 0 0 3px rgba(73, 159, 153, 0.18);
}

.om-form--wide .om-field--consent label {
	font-size: 14px;
}

.om-contact-list {
	display: flex;
	flex-direction: column;
	gap: 23px;
}

.om-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 22px;
	border-radius: var(--om-radius);
	background: var(--om-surface);
	font-size: 15px;
	line-height: 1.45;
}

.om-contact-item p {
	margin: 0;
}

.om-contact-item a {
	color: var(--om-body);
}

.om-contact-item a:hover {
	color: var(--om-teal-700);
}

.om-contact-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--badge);
}

.om-contact-item__icon .om-icon {
	width: 20px;
	height: 20px;
}

.om-contact-item__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.om-contact-item__label {
	font-weight: 600;
	color: var(--om-ink);
}

.om-contact-item--social {
	align-items: center;
}

.om-contact-item__social,
.om-contact-item--social > div {
	display: flex;
	gap: 10px;
}

.om-contact-item__social .om-icon {
	width: 25px;
	height: 25px;
}

/* The social icons are drawn for the dark footer; recolour them for light cards. */
.om-contact-item__social a {
	display: inline-flex;
}

.om-contact-item__social path {
	fill: var(--om-teal-500);
	transition: fill 0.2s;
}

.om-contact-item__social a:hover path {
	fill: var(--om-teal-900);
}

@media (min-width: 782px) {
	.om-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.om-contact-layout {
		grid-template-columns: minmax(0, 1fr) 500px;
		gap: 48px;
	}
}

@media (max-width: 781px) {
	.om-form--wide {
		padding: 24px 20px;
	}

	.om-form--wide .om-form__title {
		font-size: 16px;
		font-family: var(--wp--preset--font-family--inter);
		font-weight: 600;
	}

	.om-form--wide .om-form__row {
		display: contents;
	}

	.om-form--wide .om-btn-outline {
		width: 100%;
	}

	.om-form--wide textarea {
		min-height: 120px;
		height: 120px;
	}

	/* Details collapse into one compact card. */
	.om-contact-list {
		gap: 16px;
		padding: 20px;
		border-radius: var(--om-radius);
		background: var(--om-surface-2);
	}

	.om-contact-item {
		gap: 12px;
		padding: 0;
		border: 0;
		background: none;
		font-size: 14px;
	}

	.om-contact-item__icon {
		width: 32px;
		height: 32px;
	}

	.om-contact-item__icon .om-icon {
		width: 16px;
		height: 16px;
	}

	.om-contact-item--social {
		display: none;
	}
}

/* Kapcsolat: directions */
.om-directions__row {
	display: grid;
	gap: 18px;
	align-items: start;
}

.om-directions__row > * {
	margin: 0 !important;
}

.om-map {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 343 / 160;
	border: 1px solid #fff;
	border-radius: var(--om-radius);
	background: var(--om-sage);
}

.om-map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--om-ease);
}

.om-map:hover img {
	transform: scale(1.02);
}

.om-map__cta {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 6px 18px -8px rgba(26, 46, 43, 0.4);
	font-size: 13px;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-directions__info {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.om-directions__info > * {
	margin: 0 !important;
}

.om-direction {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
	font-size: 15px;
}

.om-direction > * {
	margin: 0 !important;
}

.om-direction__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px !important;
	font-size: 16px;
	font-weight: 600;
	color: var(--om-ink);
}

.om-direction__label::before {
	content: "";
	width: 18px;
	height: 18px;
	background: center / contain no-repeat;
}

.om-direction--parking .om-direction__label::before {
	background-image: url("../icons/transport-parking.svg");
}

.om-direction--transit .om-direction__label::before {
	background-image: url("../icons/transport-transit.svg");
}

@media (min-width: 1024px) {
	.om-directions__row {
		grid-template-columns: minmax(0, 1fr) 440px;
		gap: 24px;
	}

	.om-map {
		aspect-ratio: 976 / 452;
	}
}

@media (max-width: 781px) {
	.om-direction {
		padding: 0;
		border: 0;
		background: none;
	}
}

/* ---------------------------------------------------------------------------
 * Team (Csapatunk) + doctor profile
 * ------------------------------------------------------------------------ */
.om-team-doctors > .wp-block-post-template,
.om-team > .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-doc--team {
	padding: 22px;
}

.om-doc__badge.is-soon {
	background: var(--wp--preset--color--warm-bg);
	color: var(--om-warm);
}

.om-person {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	height: 100%;
	box-sizing: border-box;
	padding: 22px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface);
}

.om-person > *,
.om-person__body > * {
	margin: 0 !important;
}

.om-person__photo {
	flex-shrink: 0;
	width: 120px !important;
	height: 120px !important;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
	background: var(--om-sage);
}

.om-person--large .om-person__photo {
	width: 140px !important;
	height: 140px !important;
}

.om-person__photo img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: top;
}

.om-person__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.om-person .om-person__name {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

.om-person__role {
	font-size: 14px;
	line-height: 1.4;
	color: var(--om-muted);
}

/* Founders: wide cards with a portrait-format photo. */
.om-person--wide {
	flex-direction: row;
	gap: 22px;
	padding: 26px;
	background: #fff;
}

.om-person--wide .om-person__photo {
	width: 140px !important;
	height: 160px !important;
	border-radius: 16px;
}

.om-person--wide .om-person__name {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 22px;
	font-weight: 700;
}

@media (max-width: 781px) {
	.om-people {
		gap: 14px;
	}

	/* Mobile rows: photo left, details right. */
	.om-person,
	.om-person--wide {
		flex-direction: row;
		align-items: center;
		gap: 16px;
		padding: 16px;
		border-radius: 20px;
	}

	.om-person__photo,
	.om-person--large .om-person__photo {
		width: 56px !important;
		height: 56px !important;
	}

	.om-person--wide .om-person__photo {
		width: 72px !important;
		height: 82px !important;
		border-radius: 12px;
	}

	.om-person .om-person__name {
		font-size: 15px;
	}

	.om-person--wide .om-person__name {
		font-size: 16px;
	}

	.om-person__role {
		font-size: 13px;
	}
}

/* Banner buttons */
.om-cb-card__buttons {
	flex-shrink: 0;
	gap: 12px;
	margin: 0 !important;
}

@media (max-width: 781px) {
	.om-cb-card__buttons {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Doctor profile hero */
.om-hero--doctor {
	padding-bottom: 48px;
}

.om-hero--doctor .om-container {
	position: relative;
	z-index: 1;
}

.om-doctor-hero {
	display: grid;
	gap: 24px;
	margin-top: 18px;
}

.om-doctor-hero__photo {
	width: min(220px, 60%);
	margin: 0;
	overflow: hidden;
	aspect-ratio: 280 / 351;
	border-radius: var(--om-radius);
	background: var(--om-sage);
}

.om-doctor-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.om-doctor-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.om-doctor-hero__text > * {
	margin: 0;
}

.om-doctor-hero__role {
	font-size: 17px;
	font-weight: 500;
	color: var(--om-teal-300);
}

.om-doctor-hero__text .om-hero__lead {
	max-width: 680px;
}

.om-doctor-hero__hours {
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 15px;
	color: #fff;
}

.om-doctor-hero__hours p {
	margin: 0;
}

.om-doctor-hero__hours-label {
	margin-bottom: 4px !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--om-mist);
}

@media (min-width: 1024px) {
	.om-hero--doctor {
		min-height: 664px;
		padding-top: 170px;
		padding-bottom: 76px;
	}

	.om-doctor-hero {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: 48px;
		align-items: center;
		margin-top: 18px;
	}

	.om-doctor-hero__photo {
		width: 280px;
	}
}

/* Specialties + bio */
.om-spec-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.om-spec-card:hover {
	border-color: var(--om-teal-300);
	box-shadow: 0 14px 30px -22px rgba(26, 46, 43, 0.4);
}

.om-spec-card > * {
	margin: 0 !important;
}

.om-spec-card .om-spec-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
}

.om-spec-card p {
	font-size: 15px;
}

.om-spec-card__more {
	margin-top: auto !important;
	font-size: 13px;
	font-weight: 600;
}

.om-bio__grid {
	display: grid;
	gap: 28px;
	align-items: start;
}

.om-bio__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.om-bio__text > *,
.om-bio__grid > *,
.om-bio__edu > * {
	margin: 0 !important;
}

.om-bio__text p {
	font-size: 16px;
	line-height: 1.6;
}

.om-bio__edu {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
}

.om-bio__edu .om-bio__edu-title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 17px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.om-bio__grid {
		grid-template-columns: minmax(0, 734px) 460px;
		gap: 64px;
	}
}

@media (max-width: 781px) {
	.om-bio__edu {
		padding: 20px;
	}
}

/* ---------------------------------------------------------------------------
 * Árlista
 * ------------------------------------------------------------------------ */
.om-section--tight-top {
	padding-top: 40px;
}

.om-price-popular__head {
	gap: 8px 16px !important;
	align-items: baseline !important;
}

.om-price-popular__head > * {
	margin: 0 !important;
}

.om-price-popular__head h2 {
	font-size: 20px;
}

.om-price-popular__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.om-price-popular__cards > * {
	margin: 0 !important;
}

.om-price-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--om-border);
	border-radius: 20px;
	background: var(--om-surface-2);
}

.om-price-card > * {
	margin: 0 !important;
}

.om-price-card__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--om-ink);
}

.om-price-card__price {
	font-size: 22px;
	font-weight: 700;
	color: var(--om-teal-900);
}

.om-price-card .om-pill {
	margin-top: auto !important;
}

@media (min-width: 1024px) {
	.om-price-popular__cards {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 16px;
	}
}

/* Situation cards */
.om-need-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding: 26px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
}

.om-need-card > * {
	margin: 0 !important;
}

.om-need-card .om-need-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
}

.om-need-card > p:not([class]) {
	font-size: 15px;
}

.om-need-card__prices {
	align-self: stretch;
	padding: 10px 16px;
	border-radius: 16px;
	background: var(--om-surface-2);
}

.om-need-card__prices table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.om-need-card__prices td {
	padding: 4px 0;
	border: 0;
	color: var(--om-body);
}

.om-need-card__prices td:last-child {
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-need-card .wp-block-buttons {
	margin-top: auto !important;
}

.om-need-card__link {
	font-size: 13px;
}

/* Accordion */
.om-price-list__hint {
	font-size: 16px;
	font-weight: 500;
	color: var(--om-ink);
}

.om-prices {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.om-price-cat {
	overflow: hidden;
	border: 1px solid var(--om-border);
	border-radius: 20px;
	background: #fff;
}

.om-price-cat > summary {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 26px;
	cursor: pointer;
	list-style: none;
}

.om-price-cat > summary::-webkit-details-marker {
	display: none;
}

.om-price-cat__ind {
	position: relative;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wp--preset--color--badge);
}

.om-price-cat__ind::before,
.om-price-cat__ind::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--om-teal-700);
	transition: transform 0.2s var(--om-ease);
}

.om-price-cat__ind::after {
	transform: rotate(90deg);
}

.om-price-cat[open] .om-price-cat__ind::after {
	transform: rotate(0deg);
}

.om-price-cat__name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 17px;
	font-weight: 600;
	color: var(--om-ink);
}

.om-price-cat__count {
	font-size: 13px;
	font-weight: 500;
	color: var(--om-muted);
}

.om-price-cat__from {
	margin-left: auto;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--om-teal-900);
}

.om-price-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.om-price-table th,
.om-price-table td {
	padding: 15px 26px;
	border-top: 1px solid var(--om-border);
	text-align: left;
	vertical-align: top;
	font-weight: 400;
	color: var(--om-body);
}

.om-price-table td {
	width: 240px;
	text-align: right;
	font-weight: 600;
	color: var(--om-ink);
}

.om-price-cat__empty {
	margin: 0;
	padding: 18px 26px;
	border-top: 1px solid var(--om-border);
	font-size: 15px;
	color: var(--om-muted);
}

.om-price-cat__foot {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 26px;
	border-top: 1px solid var(--om-border);
	background: var(--om-surface-2);
}

.om-price-cat__notes p {
	margin: 0;
	font-size: 15px;
}

.om-price-cat__notes p + p {
	margin-top: 4px;
	font-size: 13px;
	color: var(--om-muted);
}

.om-price-cat__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.om-price-cat__link {
	font-size: 14px;
	font-weight: 600;
}

@media (min-width: 1024px) {
	.om-price-cat__foot {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 781px) {
	.om-price-cat > summary {
		padding: 16px 18px;
	}

	.om-price-cat__name {
		font-size: 15px;
	}

	.om-price-cat__from {
		font-size: 13px;
	}

	.om-price-table,
	.om-price-table tbody,
	.om-price-table tr,
	.om-price-table th,
	.om-price-table td {
		display: block;
		width: auto;
	}

	.om-price-table tr {
		padding: 12px 18px;
		border-top: 1px solid var(--om-border);
	}

	.om-price-table th,
	.om-price-table td {
		padding: 0;
		border: 0;
		text-align: left;
	}

	.om-price-table td {
		margin-top: 2px;
		color: var(--om-teal-900);
	}

	.om-price-cat__foot,
	.om-price-cat__empty {
		padding: 18px;
	}
}

/* Note + cancellation policy */
.om-info-note {
	display: flex;
	gap: 16px;
	padding: 24px 28px;
	border-radius: 20px;
	background: var(--wp--preset--color--badge);
	color: var(--om-teal-900);
}

.om-info-note::before {
	content: "i";
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
	color: var(--om-teal-700);
}

.om-info-note > p {
	margin: 0;
	align-self: center;
	font-size: 15px;
}

.om-cancel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 28px;
	border: 1px solid var(--om-border);
	border-radius: 20px;
}

.om-cancel > * {
	margin: 0 !important;
}

.om-cancel .om-cancel__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 17px;
	font-weight: 600;
}

.om-cancel p {
	font-size: 15px;
}

/* ---------------------------------------------------------------------------
 * Történetünk + In Memoriam
 * ------------------------------------------------------------------------ */
.om-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--om-teal-700);
}

.om-story-photo {
	aspect-ratio: 560 / 360;
}

@media (min-width: 1024px) {
	.om-split--flip .om-split__media {
		order: 2;
	}
}

/* Letter */
.om-letter {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
}

.om-letter > * {
	margin: 0 !important;
}

.om-letter p {
	font-size: 16px;
	line-height: 1.75;
}

.om-letter .om-letter__sig {
	margin-top: 8px !important;
	font-style: italic;
	font-weight: 600;
	color: var(--om-teal-900);
}

/* In Memoriam teaser */
.om-mem-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 22px 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.om-mem-card:hover {
	border-color: var(--om-teal-300);
	box-shadow: 0 14px 30px -22px rgba(26, 46, 43, 0.4);
}

.om-mem-card > *,
.om-mem-card__text > * {
	margin: 0 !important;
}

.om-mem-card__avatar {
	flex-shrink: 0;
	width: 96px;
	height: 96px;
	overflow: hidden;
	border-radius: 50%;
}

.om-mem-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.om-mem-card__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 780px;
}

.om-mem-card .om-mem-card__title {
	font-size: 19px;
	font-weight: 600;
}

.om-mem-card__text > p:not([class]) {
	font-size: 15px;
}

.om-mem-card__link {
	margin-left: auto !important;
	white-space: nowrap;
}

@media (max-width: 781px) {
	.om-mem-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 20px;
	}

	.om-mem-card__avatar {
		display: none;
	}

	.om-mem-card__link {
		margin-left: 0 !important;
	}
}

/* Timeline */
.om-timeline {
	display: grid;
	gap: 14px;
}

.om-timeline > * {
	margin: 0 !important;
}

.om-milestone {
	display: grid;
	grid-template-columns: 110px 1fr;
	align-items: start;
	gap: 14px;
}

.om-milestone > * {
	margin: 0 !important;
}

.om-milestone__era {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--badge);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	color: var(--om-teal-700);
}

.om-milestone__text {
	font-size: 15px;
}

@media (min-width: 782px) {
	.om-timeline {
		position: relative;
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}

	.om-timeline::before {
		content: "";
		position: absolute;
		top: 36px;
		left: 8px;
		right: 8px;
		height: 2px;
		background: linear-gradient(90deg, #56c3bf 0%, #dce4e3 100%);
	}

	.om-milestone {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 28px;
		padding-right: 24px;
	}

	.om-milestone::before {
		content: "";
		position: absolute;
		top: 28px;
		left: 0;
		width: 16px;
		height: 16px;
		border: 3px solid #fff;
		border-radius: 50%;
		box-sizing: border-box;
		background: linear-gradient(90deg, #1a7076 0%, #30d1dc 100%);
		box-shadow: 0 0 0 1px var(--om-mist);
	}

	.om-milestone__era {
		padding: 0;
		background: none;
		text-align: left;
		font-size: 15px;
	}

	.om-milestone__text {
		max-width: 220px;
	}
}

/* Values */
.om-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 40px 28px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
	text-align: center;
}

.om-value > * {
	margin: 0 !important;
}

.om-value__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 6px !important;
	border-radius: 50%;
	background: var(--wp--preset--color--badge);
}

.om-value__icon img {
	width: 26px !important;
	display: block;
}

.om-value .om-value__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 600;
}

.om-value p {
	font-size: 15px;
}

@media (max-width: 781px) {
	.om-value {
		align-items: flex-start;
		padding: 18px 20px;
		text-align: left;
	}

	.om-value__icon {
		display: none !important;
	}

	.om-value .om-value__title {
		font-size: 16px;
	}
}

/* In Memoriam */
.om-hero--memoriam {
	background: linear-gradient(127deg, #1d3533 0%, #295d5b 100%);
}

@media (min-width: 1024px) {
	.om-hero--memoriam {
		min-height: 335px;
	}
}

.om-mem-intro__cols {
	gap: 60px !important;
	margin-block: 0 !important;
}

.om-mem-portrait,
.om-mem-photo {
	margin: 0;
	overflow: hidden;
	border-radius: var(--om-radius);
	background: var(--om-sage);
}

.om-mem-portrait {
	aspect-ratio: 294 / 385;
	max-width: 294px;
}

.om-mem-portrait img,
.om-mem-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.om-mem-photo {
	aspect-ratio: 900 / 506;
}

.om-mem-photo--family {
	aspect-ratio: auto;
	overflow: visible;
	background: none;
}

.om-mem-photo--family img {
	aspect-ratio: 900 / 598;
	border-radius: var(--om-radius);
}

.om-mem-photo--family figcaption {
	margin-top: 10px;
	font-size: 13px;
	color: var(--om-muted);
}

.om-mem-intro__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.om-mem-intro__text > * {
	margin: 0 !important;
}

.om-mem-intro__lead {
	font-size: 18px;
	line-height: 1.7;
	color: var(--om-ink);
}

.om-eulogy > * + * {
	margin-block-start: 22px !important;
}

.om-eulogy p {
	font-size: 17px;
	line-height: 1.8;
}

.om-eulogy .om-eulogy__salut {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--om-ink);
}

.om-pullquote {
	margin: 32px 0 !important;
	padding: 18px 22px;
	border-left: 4px solid var(--om-teal-300);
	border-radius: 0 16px 16px 0;
	background: #fff;
}

.om-pullquote p {
	margin: 0;
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: 20px !important;
	font-style: italic;
	font-weight: 600;
	line-height: 1.45 !important;
	color: var(--om-teal-900);
}

.om-eulogy .om-eulogy__farewell {
	font-style: italic;
	font-weight: 600;
	color: var(--om-ink);
}

.om-eulogy .om-eulogy__sig {
	margin-block-start: 6px !important;
	text-align: right;
	font-weight: 600;
	color: var(--om-teal-900);
}

.om-namecard {
	padding: 32px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
}

.om-namecard > * {
	margin: 0 !important;
}

.om-namecard .om-namecard__title {
	margin-bottom: 18px !important;
	font-size: 22px;
}

.om-namecard__table table {
	width: 100%;
	border-collapse: collapse;
}

.om-namecard__table th,
.om-namecard__table td {
	padding: 8px 0;
	border: 0;
	text-align: left;
	vertical-align: top;
}

.om-namecard__table th {
	width: 220px;
	padding-right: 16px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--om-muted);
}

.om-namecard__table td {
	font-size: 17px;
	color: var(--om-ink);
}

.om-qa-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.om-qa-list > * {
	margin: 0 !important;
}

.om-qa {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px;
	border: 1px solid var(--om-border);
	border-radius: 20px;
	background: #fff;
}

.om-qa > * {
	margin: 0 !important;
}

.om-qa .om-qa__q {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 600;
}

.om-qa p {
	font-size: 16px;
	line-height: 1.65;
}

@media (max-width: 781px) {
	.om-mem-intro__cols {
		gap: 20px !important;
	}

	.om-mem-portrait {
		max-width: none;
	}

	.om-eulogy p {
		font-size: 16px;
	}

	.om-namecard {
		padding: 20px;
	}

	.om-namecard__table tr,
	.om-namecard__table th,
	.om-namecard__table td {
		display: block;
		width: auto;
		padding: 0;
	}

	.om-namecard__table tr + tr {
		margin-top: 14px;
	}

	.om-namecard__table td {
		margin-top: 2px;
		font-size: 15px;
	}

	.om-qa {
		padding: 18px 20px;
	}

	.om-qa .om-qa__q {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * Blog
 * ------------------------------------------------------------------------ */
.om-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.om-filter__chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	border: 1px solid var(--om-border);
	border-radius: 999px;
	background: var(--om-surface);
	font-size: 14px;
	font-weight: 600;
	color: var(--om-body);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.om-filter__chip:hover {
	border-color: var(--om-teal-300);
	color: var(--om-teal-900);
}

.om-filter__chip.is-active {
	border-color: transparent;
	background: linear-gradient(90deg, #1a7076 0%, #30d1dc 100%);
	color: #fff;
}

.om-blog-list > .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.om-article__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 0;
}

.om-article__cats a,
.om-chip-tag {
	position: relative;
	z-index: 2;
	display: inline-flex;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--badge);
	font-size: 12px;
	font-weight: 600;
	color: var(--om-teal-700);
}

.om-article__cats .wp-block-post-terms__separator {
	display: none;
}

.om-article__title {
	font-size: 18px;
}

.om-pagination {
	gap: 8px;
	margin-top: 32px !important;
	font-weight: 600;
}

.om-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--om-teal-900);
}

.om-pagination .page-numbers.current {
	background: var(--wp--preset--color--badge);
}

/* Article */
.om-post-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: calc(820px + 2 * var(--om-gutter));
	text-align: center;
}

.om-post-hero > * {
	margin: 0;
}

.om-post-hero__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.om-post-hero .om-chip-tag {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.om-post-hero .om-hero__title {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.2;
}

.om-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	color: #dbe8e6;
}

.om-post-hero__meta a {
	font-weight: 600;
	color: #fff;
}

.om-post-hero__avatar {
	display: inline-flex;
	width: 34px;
	height: 34px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--om-sage);
}

.om-post-hero__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.om-hero--post {
		min-height: 433px;
	}
}

.om-post-media {
	padding-top: 30px;
}

.om-post-cover {
	margin: 0;
	overflow: hidden;
	border-radius: var(--om-radius);
}

.om-post-cover img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.om-post-body {
	padding-block: 40px 24px;
}

.om-post-body > * + * {
	margin-block-start: 22px;
}

.om-post-body p,
.om-post-body li {
	font-size: 17px;
	line-height: 1.75;
}

.om-post-body .om-lead {
	font-size: 19px;
	color: var(--om-ink);
}

.om-post-body h2 {
	margin-block-start: 40px;
	font-size: clamp(21px, 2vw, 24px);
}

.om-post-body h3 {
	margin-block-start: 32px;
}

.om-post-body .om-dots li {
	line-height: 1.5;
}

.om-post-body .om-cb-banner {
	margin-block-start: 40px;
}

/* Author box */
.om-author-box {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: var(--om-surface-2);
}

.om-author-box__photo {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--om-sage);
}

.om-author-box__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.om-author-box__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.om-author-box__text p {
	margin: 0;
}

.om-author-box__name {
	font-size: 17px;
	font-weight: 600;
	color: var(--om-ink);
}

.om-author-box__role {
	font-size: 14px;
	color: var(--om-teal-900);
}

.om-author-box__bio {
	font-size: 15px;
}

@media (max-width: 781px) {
	.om-author-box {
		flex-wrap: wrap;
		padding: 20px;
	}

	.om-author-box__photo {
		width: 64px;
		height: 64px;
	}

	.om-author-box .om-btn-outline {
		width: 100%;
	}

	.om-post-body p,
	.om-post-body li {
		font-size: 16px;
	}
}

/* ---------------------------------------------------------------------------
 * Orvosoknak (referrals)
 * ------------------------------------------------------------------------ */
.om-referral__layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.om-referral__layout > *,
.om-referral__side > * {
	margin: 0 !important;
}

.om-referral__side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.om-field--file label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 8px;
}

.om-field__file-label {
	font-size: 15px;
	font-weight: 500;
	color: var(--om-ink);
}

.om-field__file-hint {
	font-size: 13px;
	color: var(--om-muted);
}

.om-field--file input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1.5px dashed var(--om-mist);
	border-radius: var(--om-radius-sm);
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--om-body);
	cursor: pointer;
}

.om-field--file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--badge);
	font: inherit;
	font-weight: 600;
	color: var(--om-teal-700);
	cursor: pointer;
}

.om-partner-card,
.om-partner-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius);
	background: #fff;
	scroll-margin-top: calc(var(--om-header-h) + 24px);
}

.om-partner-card > *,
.om-partner-contact > * {
	margin: 0 !important;
}

.om-partner-card .om-partner-card__title,
.om-partner-contact .om-partner-contact__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 19px;
	font-weight: 600;
}

.om-partner-card p {
	font-size: 15px;
}

.om-partner-card .om-partner-card__soon {
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--wp--preset--color--warm-bg);
	font-size: 14px;
	color: var(--om-warm);
}

.om-partner-card__links {
	font-size: 14px !important;
	font-weight: 600;
}

.om-partner-contact {
	background: var(--om-surface-2);
	font-size: 15px;
}

.om-partner-contact__who {
	font-size: 14px;
	color: var(--om-muted);
}

.om-partner-contact__who strong {
	color: var(--om-ink);
}

.om-partner-contact__mail a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
}

.om-partner-contact__mail a::before {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: url("../icons/contact-mail.svg") center / contain no-repeat;
	mask: url("../icons/contact-mail.svg") center / contain no-repeat;
}

#beutalo {
	scroll-margin-top: calc(var(--om-header-h) + 24px);
}

@media (min-width: 1024px) {
	.om-referral__layout {
		grid-template-columns: minmax(0, 1fr) 460px;
		gap: 48px;
	}
}

@media (max-width: 781px) {
	.om-partner-card,
	.om-partner-contact {
		padding: 20px;
	}
}

/* ---------------------------------------------------------------------------
 * Generic page body, 404, search block
 * ------------------------------------------------------------------------ */
.om-page-body {
	padding-block: var(--om-section-y);
}

.om-page-body > * + * {
	margin-block-start: 18px;
}

/* Reading column: 860px, aligned with the hero title (left edge of the 1440 grid). */
.om-page-body > :where(:not(.alignfull):not(.alignwide)) {
	max-width: 860px !important;
	margin-left: max(0px, calc((100% - 1440px) / 2)) !important;
}

.om-page-body p,
.om-page-body li {
	font-size: 17px;
	line-height: 1.75;
}

.om-page-body h2 {
	margin-block-start: 40px;
	font-size: clamp(21px, 2vw, 26px);
}

.om-page-body h3 {
	margin-block-start: 28px;
	font-size: 19px;
}

.om-eyebrow--light {
	color: var(--om-teal-300);
}

.om-not-found > * + * {
	margin-block-start: 24px !important;
}

.om-search-block .wp-block-search__inside-wrapper {
	gap: 10px;
	padding: 0;
	border: 0;
}

.om-search-block .wp-block-search__input {
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid var(--om-border);
	border-radius: 999px;
	background: var(--om-surface-2);
	font: inherit;
}

.om-search-block .wp-block-search__input:focus {
	outline: none;
	border-color: var(--om-teal-500);
	box-shadow: 0 0 0 3px rgba(73, 159, 153, 0.18);
}

.om-search-block .wp-block-search__label {
	font-weight: 600;
	color: var(--om-ink);
}

/* ---------------------------------------------------------------------------
 * Generic pages / posts
 * ------------------------------------------------------------------------ */
.om-post-card {
	gap: 12px;
}

.om-post-card .wp-block-post-featured-image img {
	border-radius: var(--om-radius);
}

.om-meta {
	font-size: 14px;
	color: var(--om-muted);
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}


/* ---------------------------------------------------------------------------
 * Treatment cards: footer row = booking method (left) + "Részletek és árak"
 * button (right). Cards with extra copy get a dropdown instead of a link.
 * ------------------------------------------------------------------------ */
.om-treatment {
	padding-bottom: 22px;
}

.om-treatment .om-treatment__link {
	margin-top: 4px !important;
	padding: 0;
	text-align: right;
}

.om-treatment__link a,
.om-treatment__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 32px;
	padding: 6px 14px;
	border: 1px solid var(--om-teal-700);
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
	color: var(--om-teal-700);
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.om-treatment .om-treatment__link a:hover,
.om-treatment__more > summary:hover,
.om-treatment__more[open] > summary {
	background: var(--om-teal-700);
	color: #fff;
}

/* Dropdown */
.om-treatment__more {
	order: 2;
	flex: 1 0 100%;
	margin: 4px 0 0 !important;
	padding: 0;
	border: 0;
	text-align: right;
}

.om-treatment__more > summary {
	cursor: pointer;
	list-style: none;
	margin-left: auto;
}

.om-treatment__more > summary::-webkit-details-marker {
	display: none;
}

.om-treatment__more > summary::after {
	content: "+";
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s var(--om-ease);
}

.om-treatment__more[open] > summary::after {
	transform: rotate(45deg);
}

.om-treatment__more > :not(summary) {
	margin: 12px 0 0;
	text-align: left;
	font-size: 15px;
	line-height: 1.45;
}

.om-treatment__more > .om-treatment__more-link {
	text-align: right;
	font-size: 13px;
	font-weight: 600;
}

.om-treatment__more-link a {
	color: var(--om-teal-700);
}

/* Method moves to the bottom left, level with the button. */
.om-treatment::after,
.om-treatment__method {
	right: auto;
	left: 24px;
	bottom: 29px;
}

@media (max-width: 781px) {
	.om-treatment {
		padding-bottom: 18px;
	}

	.om-treatment::after,
	.om-treatment__method {
		right: auto;
		left: 18px;
		bottom: 25px;
	}
}

/* Treatment pages: free-form text blocks (cards, chips, links). */
.om-tx-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
	border-radius: var(--om-radius-sm);
	border: 1px solid var(--om-border);
	background: rgba(73, 159, 153, 0.07);
}

.om-tx-card > * {
	margin: 0 !important;
}

.om-tx-card .om-tx-card__title {
	font-size: 18px;
	line-height: 1.3;
	color: var(--om-teal-900);
}

.om-chips {
	gap: 8px;
}

.om-chip {
	margin: 0 !important;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--badge);
	font-size: 13px;
	font-weight: 600;
	line-height: 17px;
	color: var(--om-teal-700);
}

.om-tx-more a {
	font-weight: 600;
	color: var(--om-teal-700);
}

.om-tx-after .om-tx-main {
	max-width: 880px;
}

.om-rail__prices {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.om-rail__prices a {
	color: var(--om-teal-700);
}

/* Structured copy inside a treatment card dropdown. */
.om-treatment__more > .om-tx-block,
.om-treatment__more > .om-tx-card,
.om-treatment__more .om-tx-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0 0 !important;
	text-align: left;
}

.om-treatment__more .om-tx-block > * {
	margin: 0 !important;
}

.om-treatment__more h4 {
	font-size: 17px;
	line-height: 1.3;
	color: var(--om-teal-900);
}

.om-treatment__more .om-tx-card h5 {
	font-size: 15px;
	line-height: 1.35;
	color: var(--om-teal-900);
}

.om-treatment__more .om-tx-card {
	padding: 14px 16px;
}

.om-treatment__more ul,
.om-treatment__more ol {
	margin: 0;
	padding-left: 0;
}

.om-treatment__more .om-steps-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-left: 22px;
	font-size: 15px;
	line-height: 1.45;
}

.om-treatment__more .om-dots li,
.om-treatment__more .om-callout {
	font-size: 15px;
}

/* An opened card must not stretch its neighbour. */
.om-treatments__grid {
	align-items: start;
}

.om-treatment__more.is-closing > summary::after {
	transform: none;
}

.om-person__role:empty {
	display: none;
}

/* Article body: spacing must beat the block-layout reset (same specificity, later in the cascade). */
.om-post-body.om-post-body > * + * {
	margin-block-start: 20px;
}

.om-post-body.om-post-body > h2 {
	margin-block-start: 44px;
}

.om-post-body.om-post-body > h3 {
	margin-block-start: 32px;
}

.om-post-body.om-post-body > h2 + *,
.om-post-body.om-post-body > h3 + * {
	margin-block-start: 12px;
}

.om-post-body.om-post-body > .om-cb-banner {
	margin-block-start: 48px;
}

/* ---------------------------------------------------------------------------
 * Reviews slider: draggable track, all reviews, arrows (assets/js/main.js)
 * ------------------------------------------------------------------------ */
.om-reviews__list.om-slider {
	display: flex;
	gap: 24px;
	margin-inline: 0;
	padding: 4px 2px 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.om-reviews__list.om-slider::-webkit-scrollbar {
	display: none;
}

.om-reviews__list.om-slider.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

.om-slider > * {
	margin: 0 !important;
}

.om-slider > .om-review {
	flex: 0 0 calc((100% - 48px) / 3);
	box-sizing: border-box;
	scroll-snap-align: start;
}

.om-slider__nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

.om-slider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--om-teal-700);
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	line-height: 1;
	color: var(--om-teal-700);
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.om-slider__btn:hover:not(:disabled) {
	background: var(--om-teal-700);
	color: #fff;
}

.om-slider__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.om-reviews:not(.om-reviews--light) .om-slider__btn {
	border-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.om-reviews:not(.om-reviews--light) .om-slider__btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.28);
}

.om-slider__nav[hidden] {
	display: none;
}

/* Doctor / staff lists as a draggable carousel (4 per view). */
ul.om-slider.om-docs--area,
.om-slider.om-docs--area {
	display: flex !important;
	gap: 24px !important;
	margin: 0;
	padding: 4px 2px 8px !important;
	list-style: none;
}

.om-slider.om-docs--area > li {
	flex: 0 0 calc((100% - 72px) / 4);
	box-sizing: border-box;
	scroll-snap-align: start;
}

.om-slider.om-docs--area > li > .om-doc {
	height: 100%;
}

@media (max-width: 1023px) {
	.om-slider.om-docs--area > li {
		flex-basis: calc((100% - 24px) / 2);
	}
}

@media (max-width: 781px) {
	.om-slider.om-docs--area {
		gap: 12px !important;
		margin-right: calc(-1 * var(--om-gutter));
		padding-right: var(--om-gutter) !important;
	}

	.om-slider.om-docs--area > li {
		flex: 0 0 min(280px, 78vw);
	}
}

@media (max-width: 1023px) {
	.om-slider > .om-review {
		flex-basis: calc((100% - 24px) / 2);
	}
}

@media (max-width: 781px) {
	.om-reviews__list.om-slider {
		gap: 12px;
		margin-right: calc(-1 * var(--om-gutter)) !important;
		padding-right: var(--om-gutter);
	}

	.om-slider > .om-review {
		flex: 0 0 min(298px, 82vw);
	}

	.om-slider__nav {
		display: none;
	}
}

.om-book-intro {
	max-width: 62ch;
	font-size: 17px;
	line-height: 1.7;
	color: var(--om-body);
}

/* Price list: sub-heading rows inside a category. */
.om-price-table .om-price-sub th {
	padding-top: 22px;
	padding-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--om-teal-900);
	text-align: left;
}

/* Price list: item names that lead to their description. */
.om-price-table th[scope="row"] a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--om-teal-300);
	text-underline-offset: 3px;
}

.om-price-table th[scope="row"] a:hover {
	color: var(--om-teal-700);
	text-decoration-color: currentColor;
}

/* Every slider scrolls horizontally (doctor / staff lists too), snaps to the cards and can be dragged. */
.om-slider {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.om-slider::-webkit-scrollbar {
	display: none;
}

.om-slider.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

.om-slider > * {
	scroll-snap-align: start;
}

/* The card a menu or price link jumps to, and any card with its details open, stands out. */
.om-treatment {
	scroll-margin-top: 120px;
}

.om-treatment:target {
	border-color: #1a7076;
	box-shadow: 0 0 0 1px #1a7076, 0 14px 30px -18px rgba(26, 46, 43, 0.35);
}

/* Opened "Részletek és árak" text sits in the same box as the treatment page cards. */
.om-treatment__more[open]::details-content {
	box-sizing: border-box;
	margin-top: 12px;
	padding: 20px 22px;
	border: 1px solid var(--om-border);
	border-radius: var(--om-radius-sm);
	background: rgba(73, 159, 153, 0.07);
}

.om-treatment__more > summary + * {
	margin-top: 0 !important;
}

.om-treatment__more .om-tx-card {
	background: #fff;
}

/* Doctors in search results: show the whole portrait instead of cropping the head. */
.om-articles .type-orvos .om-article__img {
	background: var(--om-mist);
}

.om-articles .type-orvos .om-article__img img {
	object-fit: contain !important;
}

.om-booking-team-link {
	margin: 0 0 24px;
	text-align: center;
}

.om-booking-team-link a {
	color: #1a7076;
	font-weight: 600;
}
