/**
 * Glashaus: the shared visual language of every site on the engine (Pen: "Typografie · Veredelung",
 * "Quiet Luxury · Glas"). Quiet headings in the site's display face, hairline icons, glass surfaces,
 * light weights, wide-tracked labels. Brand-neutral: the display face and its weight come from the
 * theme (--fyh-display, --fyh-display-weight); without them headings keep the body face.
 * Loaded after the block styles so these rules win ties; specificity is raised with "html body".
 */

/* WordPress zeroes nested alignfull margins; keep the viewport breakout in narrow page templates and the editor twin. */
html body .fyh-faq.alignfull {
	margin-inline: calc( 50% - 50vw );
}

/* --- Ruhige Überschriften (Entwurf B, Pen „Typografie · Veredelung“) ----------
   Klobig war: Inter 600-800 mit -0.04em. Jetzt: Serif in Regular-Gewicht, Laufweite fast neutral,
   Fließtext etwas größer und luftiger. Nur Überschriften und Fließtext; Navigation, Buttons,
   Karten-Titel und Formulare bleiben Inter. */
html body :is(
	.fyh-service-hero__title,
	.fyh-hero__title,
	.fyh-bwd__heading,
	.fyh-arthero__title,
	.fyh-imhero__h1,
	.fyh-service-h2,
	.fyh-service-cta__title,
	.fyh-zg__h2,
	.fyh-suchprofil__cover-title,
	.fyh-rt__h2,
	.fyh-objhead__title,
	.fyh-leist__h2,
	.fyh-faq__h2,
	.fyh-linkhub__title,
	.fyh-callback__ptitle,
	.fyh-cta__title,
	.fyh-legalhero__title,
	.fyh-person__h2,
	.fyh-det__h2
):is(
	.fyh-service-hero__title,
	.fyh-hero__title,
	.fyh-bwd__heading,
	.fyh-arthero__title,
	.fyh-imhero__h1,
	.fyh-service-h2,
	.fyh-service-cta__title,
	.fyh-zg__h2,
	.fyh-suchprofil__cover-title,
	.fyh-rt__h2,
	.fyh-objhead__title,
	.fyh-leist__h2,
	.fyh-faq__h2,
	.fyh-linkhub__title,
	.fyh-callback__ptitle,
	.fyh-cta__title,
	.fyh-legalhero__title,
	.fyh-person__h2,
	.fyh-det__h2
) {
	font-family: var(--fyh-display, inherit);
	font-optical-sizing: auto;
	font-weight: var(--fyh-display-weight, 500);
	letter-spacing: -.012em;
	text-shadow: none;
}

html body :is(.fyh-service-hero__title, .fyh-hero__title, .fyh-arthero__title, .fyh-imhero__h1, .fyh-linkhub__title, .fyh-bwd__heading):is(.fyh-service-hero__title, .fyh-hero__title, .fyh-arthero__title, .fyh-imhero__h1, .fyh-linkhub__title, .fyh-bwd__heading) {
	font-weight: 400;
	letter-spacing: -.018em;
	line-height: 1.1;
}

html body :is(.fyh-service-h2, .fyh-service-cta__title, .fyh-zg__h2, .fyh-rt__h2, .fyh-objhead__title, .fyh-leist__h2, .fyh-faq__h2, .fyh-suchprofil__cover-title):is(.fyh-service-h2, .fyh-service-cta__title, .fyh-zg__h2, .fyh-rt__h2, .fyh-objhead__title, .fyh-leist__h2, .fyh-faq__h2, .fyh-suchprofil__cover-title) {
	line-height: 1.16;
}

html body .fyh-service-h2 {
	max-width: 24ch;
}

/* Artikel: Überschriften im Text in der Serif, der Balken bleibt. */
html body .fyh-artprose__body.typeset :is(h2, h3) {
	font-family: var(--fyh-display, inherit);
	font-optical-sizing: auto;
	font-weight: var(--fyh-display-weight, 500);
	letter-spacing: -.01em;
}

html body .fyh-artprose__body.typeset h2 {
	font-size: clamp( 1.625rem, 2.4vw, 1.9rem );
}

html body .fyh-artprose__body.typeset h3 {
	font-size: clamp( 1.25rem, 1.8vw, 1.4rem );
}

/* Fließtext: mehr Luft, weicheres Grau. */
html body .fyh-service-section > p:not([class]) {
	max-width: 66ch;
	font-size: 1.0625rem;
	line-height: 1.78;
}

html body .fyh-artprose__body.typeset {
	--typeset-leading: 1.8;
}

/* Punkt-Titel: Inter, aber leiser. */
html body :is(.fyh-service-point, .fyh-service-step, .fyh-service-note) h3 {
	font-weight: 600;
	letter-spacing: -.005em;
}

/* Kennzahlen und Kartenköpfe: gleiche Ruhe wie die Überschriften. */
html body .sgui-proof-item dt {
	font-family: var(--fyh-display, inherit);
	font-weight: 500;
	letter-spacing: -.01em;
}

html body :is(.fyh-callback__title, .fyh-bwd__title) {
	font-weight: 500;
	letter-spacing: -.01em;
}

html body .fyh-kd__title {
	font-family: var(--fyh-display, inherit);
	font-weight: var(--fyh-display-weight, 500);
	letter-spacing: -.012em;
}

/* --- Feine Linie · Glas · Ruhe (Pen „Quiet Luxury · Glas“) ------------------
   Ein Ton für alles Bedienbare: Linien 1 px statt 2 px, leichte Gewichte, Kapitälchen-Labels mit weiter
   Laufweite, Glasflächen statt weißer Kästen mit schwarzem Schatten. Serif nur für Worte, die zählen. */

/* Symbole: Haarlinie. Lucide zeichnet mit 1,5-2,5; hier 1,1 (Marken-Symbole mit Füllung bleiben). */
html body svg[stroke="currentColor"] {
	stroke-width: 1.1;
}

/* Labels und Rubriken: klein, leicht, weit gesetzt. */
html body :is(.sgui-rubric, .fyh-service-toc__label, .fyh-bwd__kicker, .fyh-callback__peyebrow, .fyh-callback__pcity, .fyh-callback__timelabel, .fyh-artprose__stats dt) {
	font-weight: 500;
	letter-spacing: .2em;
}

html body :is(.fyh-callback__timelabel, .fyh-artprose__stats dt) {
	font-size: .6875rem;
}

/* Glasflächen. */
html body .fyh-callback__card {
	border: 1px solid rgb( 255 255 255 / .75 );
	border-radius: 18px;
	background: rgb( 255 255 255 / .74 );
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur( 24px ) saturate( 1.15 );
	backdrop-filter: blur( 24px ) saturate( 1.15 );
}

html body .fyh-artprose__stats {
	gap: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

html body .fyh-artprose__stats > div {
	padding: 0 1.6rem;
}

html body .fyh-artprose__stats > div + div {
	border-left: 1px solid rgb( 26 36 52 / .12 );
}

html body .fyh-artprose__stats dd {
	margin-top: .3rem;
	font-family: var(--fyh-display, inherit);
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: -.005em;
}

/* Rückruf-Karte: Kopf, Zeitfenster, Felder, Button. */
html body .fyh-callback__ico {
	width: 48px;
	height: 48px;
	border: 1px solid rgb( 26 36 52 / .15 );
	border-radius: 999px;
	background: transparent;
}

html body .fyh-callback__title {
	font-family: var(--fyh-display, inherit);
	font-size: clamp( 1.4rem, 2vw, 1.65rem );
	font-weight: 400;
	letter-spacing: -.012em;
}

html body .fyh-callback__sub {
	font-size: .875rem;
}

html body .fyh-callback__slot {
	flex-direction: row;
	justify-content: center;
	min-height: 46px;
	padding: .5rem .4rem;
	border-color: rgb( 26 36 52 / .14 );
	border-radius: 10px;
	background: rgb( 255 255 255 / .5 );
}

html body .fyh-callback__slot:hover {
	border-color: var(--wp--preset--color--ink);
	transform: none;
}

html body .fyh-callback__slot svg {
	display: none;
}

html body .fyh-callback__slot span {
	font-size: .875rem;
	font-weight: 400;
}

html body .fyh-callback__slot:has( input:checked ) span {
	font-weight: 500;
}

html body :is(.sgui-field > span, .fyh-callback__field > span) {
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .02em;
	color: var(--wp--preset--color--muted);
}

html body .sgui-control {
	min-height: 3.25rem;
	border: 1px solid rgb( 26 36 52 / .14 );
	border-radius: 10px;
	background-color: rgb( 255 255 255 / .6 );
	box-shadow: none;
	font-weight: 400;
	transition: border-color .2s ease, box-shadow .2s ease;
}

html body .sgui-control:focus,
html body .sgui-control:focus-visible {
	border-color: var(--wp--preset--color--gold-ink, #6e5220);
	box-shadow: var(--fyh-glass-focus);
	outline: 0;
}

html body .fyh-callback__consent {
	font-size: .8125rem;
}

html body .fyh-callback__submit {
	padding: 1rem 1.4rem;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: .015em;
}

html body .fyh-callback__submit:hover {
	transform: none;
	box-shadow: var(--fyh-glass-lift);
}

/* Häkchen-Listen auf Foto-Flächen. */
html body .fyh-callback__checks li {
	font-weight: 500;
}

html body .fyh-callback__check {
	border: 1px solid rgb( 255 255 255 / .55 );
	background: transparent;
}

/* Buttons, Navigation, Inhaltsverzeichnis: ein Gewicht leiser. */
html body :is(.wp-block-button__link, .sgui-submit, .sgui-outline-button) {
	font-weight: 500;
	letter-spacing: .01em;
}

html body .sgui-nav__link {
	font-weight: 500;
}

html body .fyh-callback__ptitle {
	font-weight: 400;
}

/* Hinter dem Glas liegt ein Verlauf, kein flaches Grau. */
html body .fyh-callback {
	background: linear-gradient( 135deg, #e4e9ef 0%, #f4f1ec 55%, #e8ecf1 100% );
}

/* --- Glashaus überall: Karten, Rail, Chips ----------------------------------
   Ein Kartenton für die ganze Seite: Glas mit Haarlinie und weichem Schatten (dunkle Foto-Karten
   bleiben Foto-Karten). Abschnitte mit hellgrauem Grund bekommen den gleichen Verlauf wie hinter
   der Rückruf-Karte. */
:root {
	--fyh-glass-fill: rgb( 255 255 255 / .74 );
	--fyh-glass-stroke: color-mix( in srgb, var(--wp--preset--color--brand, var(--wp--preset--color--ink, #1b1b1b)) 22%, transparent );
	--fyh-glass-card-fill: linear-gradient( 145deg, rgb( 255 255 255 / .82 ), rgb( 240 244 249 / .66 ) );
	--fyh-glass-edge: inset 0 0 0 1px rgb( 26 36 52 / .07 );
	--fyh-glass-inset: inset 0 1px 0 rgb( 255 255 255 / .10 );
	--fyh-glass-active: inset 1px 0 0 var(--wp--preset--color--brand);
	--fyh-glass-focus: 0 0 0 3px color-mix( in srgb, var(--wp--preset--color--brand) 20%, transparent );
	--fyh-glass-lift: 0 12px 32px -18px rgb( 16 22 34 / .10 );
	--fyh-glass-wash: linear-gradient( 135deg, #e4e9ef 0%, #f4f1ec 55%, #e8ecf1 100% );
	--fyh-button-fill: var(--fyh-glass-fill);
	--fyh-button-foreground: var(--wp--preset--color--ink, #1b1b1b);
	--fyh-button-edge: rgb( 255 255 255 / .8 );
	--fyh-button-hover: rgb( 255 255 255 / .88 );
	--fyh-button-dark-fill: rgb( 255 255 255 / .12 );
	--fyh-button-dark-edge: rgb( 255 255 255 / .32 );
	--fyh-button-dark-hover: rgb( 255 255 255 / .2 );
	--fyh-button-brand-fill: linear-gradient( 145deg, color-mix( in srgb, var(--wp--preset--color--brand) 86%, transparent ), color-mix( in srgb, var(--wp--preset--color--navy, var(--wp--preset--color--brand)) 94%, transparent ) );
	--fyh-button-brand-hover: linear-gradient( 145deg, color-mix( in srgb, var(--wp--preset--color--brand) 94%, transparent ), var(--wp--preset--color--navy, var(--wp--preset--color--brand)) );
	--fyh-dialog-fill: rgb( 14 20 32 / .6 );
	--fyh-dialog-foreground: var(--wp--preset--color--on-dark, #fff);
	--fyh-dialog-muted: color-mix( in srgb, var(--fyh-dialog-foreground) 72%, transparent );
	--fyh-dialog-edge: color-mix( in srgb, var(--fyh-dialog-foreground) 20%, transparent );
	--fyh-dialog-control-fill: color-mix( in srgb, var(--fyh-dialog-foreground) 10%, transparent );
	--fyh-dialog-control-hover: color-mix( in srgb, var(--fyh-dialog-foreground) 16%, transparent );
}

html body .sgui-card:not(.sgui-media-card) {
	border: 1px solid var(--fyh-glass-stroke) !important;
	border-radius: 18px !important;
	background: var(--fyh-glass-card-fill) !important;
	box-shadow: var(--fyh-glass-lift) !important;
	-webkit-backdrop-filter: blur( 22px ) saturate( 1.15 );
	backdrop-filter: blur( 22px ) saturate( 1.15 );
}

/* An explicit editor option gives the primary audience more room, without
   changing equal audience cards on other pages. Structural separators stay. */
html body .fyh-zg--emphasis .fyh-zg__cell:not(:first-child) {
	align-self: start;
}

html body .fyh-zg--emphasis :where(.fyh-zg__cell:not(:first-child)) .fyh-zg__card {
	gap: .9rem;
	padding: clamp( 1.25rem, 2vw, 1.75rem );
}

html body .fyh-zg--emphasis :where(.fyh-zg__cell:not(:first-child)) .fyh-zg__title {
	font-size: clamp( 1.35rem, 2vw, 1.6rem );
}

@media ( min-width: 1024px ) {
	html body .fyh-zg--emphasis .fyh-zg__grid {
		grid-template-columns: minmax( 0, 1.4fr ) minmax( 0, 1fr );
	}

	html body .fyh-zg--emphasis .fyh-zg__grid:has( > :nth-child(3) ) {
		grid-template-columns: minmax( 0, 1.4fr ) repeat( 2, minmax( 0, 1fr ) );
	}

	html body .fyh-zg--emphasis .fyh-zg__grid:not(:has( > :nth-child(2) )) {
		grid-template-columns: minmax( 0, 1fr );
	}
}

/* Embedded forms own a light pair. Foreground dialogs below deliberately own
   a separate dark pair, including descendants that reset shadcn variables. */
html body .fyh-bwd__main {
	--foreground: var(--wp--preset--color--ink);
	--muted-foreground: var(--wp--preset--color--muted);
	--color-foreground: var(--foreground);
	--color-muted-foreground: var(--muted-foreground);
	color: var(--foreground);
}

html body .fyh-wiz {
	background: var(--fyh-glass-card-fill);
	border: 1px solid var(--fyh-glass-stroke);
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur(22px) saturate(1.15);
	backdrop-filter: blur(22px) saturate(1.15);
}

/* The outer panel owns the material; the wizard never paints an opaque twin. */
html body .fyh-bwd--embedded .fyh-bwd__main {
	border: 1px solid var(--fyh-glass-stroke);
	border-radius: 18px;
	background: var(--fyh-glass-card-fill);
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur(22px) saturate(1.15);
	backdrop-filter: blur(22px) saturate(1.15);
}

html body .fyh-bwd--embedded .fyh-wiz {
	border: 0;
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Full-bleed listing families join at their own edge, not Core's text gap. */
html body :is(.fyh-imhero, .fyh-arthero) + .fyh-rat {
	margin-block-start: 0;
}

html body .fyh-service-cta:is(.fyh-service-cta) {
	border: 1px solid var(--fyh-glass-stroke);
	border-radius: 18px;
	background: var(--fyh-glass-card-fill);
	color: var(--wp--preset--color--ink);
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur(22px) saturate(1.15);
	backdrop-filter: blur(22px) saturate(1.15);
}

html body .fyh-service-cta__title {
	color: var(--wp--preset--color--ink);
}

html body .fyh-service-cta__copy p {
	color: var(--wp--preset--color--muted);
}

/* Portraits have their own grid cell: no wash, mask or shadow on a face. */
@media (min-width: 960px) {
	html body .fyh-service-cta {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		min-height: 0;
		align-items: center;
		gap: 1.25rem clamp(1.5rem, 3vw, 2.5rem);
		padding: clamp(1.5rem, 3vw, 2.5rem);
	}

	html body .fyh-service-cta::before {
		content: none;
	}

	html body .fyh-service-cta::after {
		position: relative;
		grid-area: media;
		inset: auto;
		width: 100%;
		min-height: 18rem;
		aspect-ratio: 4 / 3;
		border-radius: 12px;
		-webkit-mask-image: none;
		mask-image: none;
		background-position: var(--wp--custom--service--portrait-position, right center);
		background-size: cover;
	}

	html body .fyh-service-cta__copy {
		align-self: end;
		max-width: none;
	}

	html body .fyh-service-cta__title {
		max-width: 24ch;
		font-size: clamp(1.75rem, 2.5vw, 2.5rem);
		line-height: 1.16;
	}
}

/* One material for contact, search and valuation, native and enhanced. A
   transparent intro cannot retain white text over an independently light shell. */
html body :is(.sgui-native-dialog, dialog.fyh-kd, dialog.fyh-bwd--dialog):where(:has(.fyh-kd__grid, .fyh-bwd__shell)) {
	--background: var(--fyh-dialog-fill);
	--color-background: var(--background);
	--popover: var(--fyh-dialog-fill);
	--color-popover: var(--popover);
	--foreground: var(--fyh-dialog-foreground);
	--color-foreground: var(--foreground);
	--muted-foreground: var(--fyh-dialog-muted);
	--color-muted-foreground: var(--muted-foreground);
	--border: var(--fyh-dialog-edge);
	--color-border: var(--border);
	--kd-fg: var(--fyh-dialog-foreground);
	--kd-soft: var(--fyh-dialog-muted);
	--kd-line: var(--fyh-dialog-edge);
	--kd-fill: var(--fyh-dialog-control-fill);
	background: var(--fyh-dialog-fill) !important;
	color: var(--fyh-dialog-foreground);
	border: 1px solid var(--fyh-dialog-edge) !important;
	box-shadow: var(--fyh-glass-lift) !important;
	-webkit-backdrop-filter: blur(26px) saturate(1.4);
	backdrop-filter: blur(26px) saturate(1.4);
}

html body .fyh-bwd--dialog {
	--fyh-bwd-intro-surface: transparent;
	--fyh-bwd-intro-foreground: var(--fyh-dialog-foreground);
	--fyh-bwd-intro-muted: var(--fyh-dialog-muted);
}

html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-bwd__main, .sgui-shadcn, .sgui-control, .sgui-icon-button, .sgui-notice, .sgui-submit, .sgui-outline-button) {
	--background: var(--fyh-dialog-control-fill);
	--color-background: var(--background);
	--foreground: var(--fyh-dialog-foreground);
	--color-foreground: var(--foreground);
	--muted-foreground: var(--fyh-dialog-muted);
	--color-muted-foreground: var(--muted-foreground);
	--muted: var(--fyh-dialog-control-fill);
	--color-muted: var(--muted);
	--secondary: var(--fyh-dialog-control-fill);
	--color-secondary: var(--secondary);
	--secondary-foreground: var(--foreground);
	--color-secondary-foreground: var(--secondary-foreground);
	--card: var(--fyh-dialog-control-fill);
	--card-foreground: var(--foreground);
	--color-card: var(--card);
	--color-card-foreground: var(--card-foreground);
	--border: var(--fyh-dialog-edge);
	--color-border: var(--border);
	--input: var(--fyh-dialog-edge);
	--color-input: var(--input);
	color: var(--foreground);
}

html body .fyh-bwd--dialog :is(.fyh-bwd__main, .fyh-wiz, .fyh-wiz__nav) {
	background: transparent;
}

html body :is(.fyh-kd, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-kd__brand, .fyh-kd__form) {
	background: transparent;
	color: var(--fyh-dialog-foreground);
}

html body :is(.fyh-kd, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-kd__field > span, .fyh-kd__consent) {
	color: var(--fyh-dialog-muted);
}

html body :is(.fyh-kd, .sgui-native-dialog:where(:has(.fyh-kd__grid))) .fyh-kd__consent a {
	color: var(--fyh-dialog-foreground);
}

html body .fyh-bwd--dialog .fyh-wiz {
	border: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

html body .fyh-bwd--dialog :is(.fyh-wiz__q, .fyh-wiz__done h3, .fyh-wiz__consent a, .fyh-callback__title, .fyh-callback__done strong) {
	color: var(--fyh-dialog-foreground);
}

html body .fyh-bwd--dialog :is(.fyh-wiz__count, .fyh-wiz__hint, .fyh-wiz__unit, .fyh-wiz__ticks, .fyh-wiz__consent, .fyh-wiz__done p, .sgui-field > span, .fyh-callback__timelabel, .fyh-callback__consent, .fyh-callback__sub, .fyh-callback__done p) {
	color: var(--fyh-dialog-muted);
}

html body .fyh-bwd--dialog .fyh-wiz__bar {
	background: var(--fyh-dialog-edge);
}

html body .fyh-bwd--dialog .fyh-wiz__barFill {
	background: var(--fyh-dialog-foreground);
}

html body .fyh-bwd--dialog .fyh-wiz__card-icon {
	color: var(--fyh-dialog-muted);
}

html body .fyh-bwd--dialog .fyh-wiz__card:has(input:checked) :where(.fyh-wiz__card-icon) {
	color: var(--fyh-dialog-foreground);
}

@media ( min-width: 761px ) {
	html body .fyh-bwd--dialog .fyh-bwd__intro {
		border-inline-end: 1px solid var(--fyh-dialog-edge);
	}

	html body .fyh-bwd--dialog .fyh-bwd__portraitvisual {
		flex: none;
		min-height: 0;
		aspect-ratio: 4 / 3;
		background-position: center 22%;
	}

	html body .fyh-bwd--dialog .fyh-bwd__person {
		filter: none;
	}

	html body .fyh-bwd--dialog .fyh-bwd__person strong {
		color: var(--fyh-bwd-intro-foreground);
	}

	html body .fyh-bwd--dialog .fyh-bwd__person span {
		color: var(--fyh-bwd-intro-muted);
		font-size: .875rem;
	}
}

@media ( max-width: 760px ) {
	html body .fyh-bwd--dialog .fyh-bwd__intro {
		border-bottom: 1px solid var(--fyh-dialog-edge);
	}
}

html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) .sgui-control::placeholder {
	color: var(--fyh-dialog-muted);
}

html body :is(.fyh-rat, .fyh-callback) {
	background: var(--fyh-glass-wash);
}

/* Ratgeber: Rail mit Luft unter der Navigation, gleichmäßige Abstände, leise Typografie. */
html body .fyh-rat__rail {
	top: calc( var(--fyh-nav-height) + 2.25rem );
	gap: 2rem;
}

html body .fyh-rat__rail-head,
html body .fyh-rat__rail-label {
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .2em;
	color: var(--wp--preset--color--muted);
}

html body .fyh-rat__rail-label {
	margin-bottom: .85rem;
}

html body .fyh-rat__rail-sec .sgui-filter {
	padding: .65rem .9rem;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 400;
	line-height: 1.3;
}

html body .fyh-rat__rail-sec .sgui-filter + .sgui-filter {
	margin-top: .2rem;
}

html body .fyh-rat__rail-sec .sgui-filter:is( .is-active, [aria-pressed="true"], [aria-current="true"] ) {
	background: rgb( 255 255 255 / .8 );
	box-shadow: var(--fyh-glass-edge);
	font-weight: 500;
}

html body .fyh-opt__count {
	flex: none;
	font-size: .75rem;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

html body .fyh-rat__live {
	padding: .8rem 1rem;
	border: 1px solid rgb( 255 255 255 / .8 );
	border-radius: 12px;
	background: var(--fyh-glass-fill);
	box-shadow: var(--fyh-glass-edge);
	font-size: .8125rem;
}

html body .fyh-rat__live strong,
html body .fyh-rat__badge {
	font-weight: 500;
}

html body .fyh-rat__badge {
	letter-spacing: .18em;
}

html body .fyh-rat__cta {
	padding: 1.25rem;
	gap: .5rem;
}

html body .fyh-rat__cta-eyebrow {
	font-weight: 500;
	letter-spacing: .2em;
}

html body .fyh-rat__cta-title {
	font-family: var(--fyh-display, inherit);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -.005em;
}

html body .fyh-rat__cta-body {
	font-size: .8125rem;
	line-height: 1.55;
}

html body .fyh-rat__cta-link {
	margin-top: .5rem;
	font-weight: 500;
}

/* Artikelkarten: Serif-Titel, leise Fußzeile. */
html body .sgui-post-card__title {
	font-family: var(--fyh-display, inherit) !important;
	font-size: 1.375rem !important;
	font-weight: var(--fyh-display-weight, 500) !important;
	line-height: 1.22 !important;
	letter-spacing: -.008em !important;
}

html body .sgui-post-card :is(.sgui-post-card__cta, .sgui-post-card__more) {
	font-weight: 500;
}


/* --- Artikel-Kopfzeile: eine Glasleiste, links Herkunft, rechts Kennzahlen, mittig ausgerichtet. --- */
html body .fyh-artprose__info {
	align-items: center;
	gap: 1rem 2.5rem;
	padding: 1.1rem 1.6rem;
	border: 1px solid rgb( 255 255 255 / .8 );
	border-radius: 16px;
	background: var(--fyh-glass-fill);
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur( 20px ) saturate( 1.15 );
	backdrop-filter: blur( 20px ) saturate( 1.15 );
}

html body .fyh-artprose__info-left {
	gap: .65rem;
}

html body .fyh-artprose__author strong {
	font-weight: 500;
}

html body .fyh-artprose__layout {
	margin-top: clamp( 1.5rem, 3vw, 2.25rem );
}

/* --- Inhaltsverzeichnis: Luft unter der Navigation, leise Liste, dünner Aktiv-Strich, Glas-Karte. --- */
@media ( min-width: 1280px ) {
	html body .fyh-service-toc__sticky {
		top: calc( var(--fyh-nav-height, 76px) + 2.5rem );
		max-height: calc( 100svh - var(--fyh-nav-height, 76px) - 4rem );
	}

	html body.admin-bar .fyh-service-toc__sticky {
		top: calc( var(--fyh-nav-height, 76px) + 32px + 2.5rem );
	}

	html body .fyh-service-layout:has( > .fyh-service-toc ) > .fyh-service-cta {
		grid-column: 2;
	}
}

html body .fyh-service-toc__list {
	gap: 0;
	margin: .65rem 0 0;
	padding: 0;
	border-top: 0;
	border-inline-start: 1px solid var(--wp--preset--color--hairline);
}

html body .fyh-service-toc__list a {
	padding: .45rem .8rem;
	border-radius: 0;
	font-size: .84rem;
	font-weight: 400;
	line-height: 1.45;
}

html body .fyh-service-toc__list a:is( :hover, .is-active ) {
	background: transparent;
}

html body .fyh-service-toc__list a.is-active {
	box-shadow: var(--fyh-glass-active);
	color: var(--wp--preset--color--brand);
}

html body .fyh-service-toc__contact {
	gap: .45rem;
	margin-top: 1.5rem;
	padding: 1.25rem 1.3rem;
	border: 1px solid var(--fyh-glass-stroke);
	border-radius: 18px;
	background: var(--fyh-glass-card-fill);
	color: var(--wp--preset--color--ink);
	box-shadow: var(--fyh-glass-lift);
	-webkit-backdrop-filter: blur( 18px );
	backdrop-filter: blur( 18px );
}

html body .fyh-service-toc__contact-title {
	margin: 0 0 .7rem;
	font-family: var(--fyh-display, inherit);
	font-size: 1.15rem;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -.005em;
	color: var(--wp--preset--color--ink);
}

html body .fyh-service-toc__contact-link {
	font-weight: 500;
	letter-spacing: .01em;
}

html body .fyh-service-toc__contact-call {
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

/* Dunkle Foto-Karten: feine Innenkante statt schwerem Schatten. */
html body .sgui-media-card {
	box-shadow: var(--fyh-glass-inset), var(--fyh-glass-lift);
}

/* Inhaltsverzeichnis auf Tablet und Handy: eine schmale Glaskarte, kein schwerer Kasten. */
@media ( max-width: 1279px ) {
	html body .fyh-service-toc {
		padding: .35rem 1.1rem;
		border: 1px solid rgb( 255 255 255 / .8 );
		border-radius: 14px;
		background: var(--fyh-glass-fill);
		box-shadow: var(--fyh-glass-lift);
		-webkit-backdrop-filter: blur( 20px ) saturate( 1.15 );
		backdrop-filter: blur( 20px ) saturate( 1.15 );
	}

	html body .fyh-service-toc__head {
		min-height: 2.75rem;
	}

	html body .fyh-service-toc__chevron {
		width: .875rem;
		height: .875rem;
		color: var(--wp--preset--color--muted);
	}

	html body .fyh-service-toc__list {
		gap: 0;
		margin: 0 0 .5rem;
		padding-top: .5rem;
		border-top-color: rgb( 26 36 52 / .1 );
	}

	html body .fyh-service-toc__list a {
		padding: .5rem .8rem;
		border-radius: 0;
		font-size: .875rem;
		font-weight: 400;
	}

	html body .fyh-service-toc__list a:is( :hover, .is-active ) {
		background: transparent;
	}

	html body .fyh-service-toc__list a.is-active {
		box-shadow: var(--fyh-glass-active);
		color: var(--wp--preset--color--brand);
	}
}

/* Links im Text: Gewicht 500 mit Haarlinie statt fetter Unterstreichung. */
html body :is(.fyh-artprose__body.typeset, .fyh-service-content) a:not(.wp-block-button__link) {
	font-weight: 500;
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
	text-decoration-color: rgb( 26 36 52 / .28 );
}

html body :is(.fyh-artprose__body, .fyh-service-content) a:hover:not(.wp-block-button__link) {
	text-decoration-color: currentColor;
}

/* Weiterlesen: ruhige Linkliste mit feinem Pfeil. Quellen: klein, grau, eine je Zeile. */
html body :is(.fyh-artprose__body, .fyh-service-content) :is(h2[id^="weiterlesen"], h2[id^="quellen"]) + ul {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="weiterlesen"] + ul li {
	margin: 0;
	padding: .7rem 0;
	border-bottom: 1px solid rgb( 26 36 52 / .1 );
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="weiterlesen"] + ul li::marker {
	content: '';
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="weiterlesen"] + ul a {
	text-decoration: none;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="weiterlesen"] + ul a::after {
	content: '\2192';
	margin-left: .6rem;
	color: var(--wp--preset--color--muted);
	font-weight: 300;
	transition: margin-left .2s ease;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="weiterlesen"] + ul a:hover::after {
	margin-left: .9rem;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="quellen"] + ul li {
	margin: 0;
	padding: .2rem 0;
	color: var(--wp--preset--color--muted);
	font-size: .875rem;
	line-height: 1.6;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="quellen"] + ul li::marker {
	content: '';
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="quellen"] + ul a {
	color: var(--wp--preset--color--ink-soft, var(--wp--preset--color--muted));
	font-weight: 400;
}

html body :is(.fyh-artprose__body, .fyh-service-content) h2[id^="quellen"] + ul + p {
	margin-top: .75rem;
	color: var(--wp--preset--color--muted);
	font-size: .8125rem;
}

/* Objektbeschreibung (Freitext aus dem Portal): dieselben Überschriften wie überall. */
html body .fyh-prose :is(h2, h3, h4):not(.is-style-fyh-label) {
	font-family: var(--fyh-display, inherit);
	font-weight: var(--fyh-display-weight, 500);
	letter-spacing: -.008em;
}

/* Block-Stil „Label“ (Kapitälchen-Überschrift, z. B. Objektbeschreibung): leicht und weit gesetzt. */
html body .wp-block-heading.is-style-fyh-label {
	font-family: inherit;
	font-weight: 500;
	letter-spacing: .2em;
}

/* Filterzeilen: lange Themen brechen um und schieben den Zähler nie unter den Text. */
html body .sgui-filter {
	gap: .75rem;
}

html body .sgui-filter.fyh-opt,
html body .fyh-opt__label {
	white-space: normal;
	text-align: left;
}

html body .fyh-opt__label {
	min-width: 0;
	align-items: flex-start;
	overflow-wrap: anywhere;
}

html body .fyh-opt__dot {
	flex: none;
	margin-top: .55em;
}


/* Foto-Köpfe: ein Schleier über der Navigation, damit weiße Schrift auf hellen Fotos lesbar bleibt. */
html body :is(.fyh-imhero, .fyh-arthero)::after {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 9rem;
	background: linear-gradient( 180deg, rgb( 10 14 22 / .6 ) 0%, rgb( 10 14 22 / .24 ) 45%, transparent 100% );
	pointer-events: none;
}

/* Objekt-Titel: Serif wie alle Überschriften. */
html body .fyh-icard__title {
	font-family: var(--fyh-display, inherit);
	font-size: clamp(1.75rem, 3vw, 2.75rem);
	font-weight: 400;
	line-height: 1.14;
	text-wrap: pretty;
	letter-spacing: -.012em;
}

/* The existing phone link stays quiet; its label uses the readable nav pair. */
html body .sgui-nav__phone span {
	color: var(--sgui-nav-text);
	font-weight: 500;
}

/* Helle Navigation im Scroll-Zustand: dunkle Schrift braucht ein dichtes Glas, sonst scheint das Foto durch und der Kontrast kippt. */
html body .sgui-nav--light {
	--sgui-nav-glass: var(--fyh-glass-card-fill);
	--sgui-nav-border: var(--fyh-glass-stroke);
}

html body .sgui-nav--light::after {
	box-shadow: none;
	-webkit-backdrop-filter: blur(22px) saturate(1.15);
	backdrop-filter: blur(22px) saturate(1.15);
}

@media (max-width: 640px) {
	html body .sgui-nav--light::after {
		inset: .5rem .5rem 0;
		border: 1px solid var(--fyh-glass-stroke);
		border-radius: 18px;
	}
}

/* A content measure from the Inspector must not squeeze the phone hero into
   a narrow text column. The full desktop measure remains editable. */
@media ( max-width: 781px ) {
	html body .fyh-hero .fyh-hero__sub {
		max-width: 100% !important;
	}
}


/* Headings wrap within their component measure. Balance is inherited by the
   secondary phrase; no editorial line breaks or narrow fixed columns. */
html body :is(.fyh-hero__title, .sgui-section-head__title, .fyh-person__h2, .fyh-det__h2, .fyh-legalhero__title) {
	text-wrap: balance;
	overflow-wrap: break-word;
}

html body .fyh-person__h2 {
	max-width: 26ch;
	line-height: 1.16;
	letter-spacing: -.012em;
}

html body .fyh-person__h2 span {
	text-wrap: balance;
}

/* One material for native and React actions, including valuation wizard steps.
   Important utilities share the shadcn layer; only these semantic actions win. */
@layer utilities {
	html body :is(.sgui-section-head__title, .fyh-det__h2) {
		font-weight: var(--fyh-display-weight, 500) !important;
	}

	html body .fyh-person__h2 {
		font-size: clamp(1.625rem, 3vw, 2.75rem) !important;
		font-weight: 400 !important;
	}

	html body :is(.wp-block-button__link, .sgui-submit, .sgui-outline-button, .fyh-wiz__next, .fyh-wiz__back, .sgui-nav__cta),
	html body :is(.sgui-hero [data-component="HeroActions"], .sgui-gallery-dialog) [data-slot="button"]:where(:not([data-slot="dialog-close"])) {
		border: 1px solid var(--fyh-glass-stroke) !important;
		border-radius: 10px !important;
		min-height: 48px !important;
		background: var(--fyh-button-fill) !important;
		color: var(--fyh-button-foreground) !important;
		box-shadow: none !important;
		font-weight: 500 !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	html body :is(.wp-block-button__link, .sgui-submit, .sgui-outline-button, .fyh-wiz__next, .fyh-wiz__back, .sgui-nav__cta):hover {
		background: var(--fyh-button-hover) !important;
		transform: none !important;
	}

	html body :is(.fyh-hero, .fyh-service-hero, .sgui-hero:where([data-sgui-hero-video]), .fyh-suchprofil--cover) :is(.wp-block-button__link, [data-slot="button"]):where(:not(.sgui-hero__video-control)) {
		--fyh-button-fill: rgb(255 255 255 / .16);
		--fyh-button-foreground: var(--wp--preset--color--on-dark, #fff);
		--fyh-button-hover: rgb(255 255 255 / .24);
		border-color: var(--fyh-button-dark-edge) !important;
	}

	/* Named Core styles are selectable inside Blockstudio's native InnerBlocks.
	   Their own roles win the photo-hero pairing above without changing ghosts. */
	html body :is(.is-style-ie-primary > .wp-block-button__link, .sgui-nav__cta, .sgui-submit, .fyh-wiz__next, .fyh-wiz__submit),
	html body :where(.fyh-service-cta, .fyh-service-hero) .is-style-ie-inverted > .wp-block-button__link,
	html body .fyh-service-toc__contact-link,
	html body .sgui-hero [data-component="HeroActions"] [data-slot="button"]:where(:first-child) {
		--fyh-button-fill: var(--fyh-button-brand-fill);
		--fyh-button-hover: var(--fyh-button-brand-hover);
		--fyh-button-foreground: var(--wp--preset--color--on-dark, #fff);
		background: var(--fyh-button-fill) !important;
		color: var(--fyh-button-foreground) !important;
		border-color: rgb(255 255 255 / .3) !important;
	}

	html body .fyh-service-toc__contact-link {
		min-height: 48px !important;
		border: 1px solid rgb(255 255 255 / .3) !important;
		border-radius: 10px !important;
		box-shadow: none !important;
		font-size: .875rem !important;
		font-weight: 500 !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	html body .fyh-browser :is(.fyh-opt, .fyh-chip) {
		min-height: 44px !important;
		padding: .65rem .8rem !important;
		border-radius: 10px !important;
		font-size: .875rem !important;
		font-weight: 400 !important;
		line-height: 1.4 !important;
		text-decoration: none !important;
		background: transparent !important;
	}

	html body .fyh-browser :is(.fyh-opt, .fyh-chip):is(.is-active, [aria-pressed="true"]) {
		background: color-mix(in srgb, var(--wp--preset--color--brand) 7%, var(--fyh-glass-fill)) !important;
		color: var(--wp--preset--color--brand) !important;
	}

	html body .fyh-wiz__card {
		border-color: var(--fyh-glass-stroke) !important;
		border-radius: 10px !important;
		background: rgb(255 255 255 / .48) !important;
		box-shadow: none !important;
	}

	html body .fyh-wiz__card:is(:hover, :has(input:checked)) {
		border-color: var(--wp--preset--color--brand) !important;
		background: color-mix(in srgb, var(--wp--preset--color--brand) 7%, var(--fyh-glass-fill)) !important;
	}

	html body .fyh-fabs {
		--fyh-fab-surface: rgb(255 255 255 / .56);
		--fyh-fab-edge: var(--fyh-glass-stroke);
		box-shadow: var(--fyh-glass-lift) !important;
	}

	html body .fyh-fabs > .fyh-fab {
		min-height: 48px !important;
		background: var(--fyh-fab-surface) !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	@media (max-width: 640px) {
		html body .fyh-fabs {
			background: var(--fyh-fab-surface) !important;
		}

		html body .fyh-fabs > .fyh-fab:nth-child(n) {
			background: transparent !important;
		}
	}
}

/* Dialog surfaces retain paired light/dark foreground roles. Their shadow is
   always a gentle lift; nested panels do not add another shell or edge. */
html body .sgui-native-dialog:where(:has(.fyh-kd__grid)) {
	box-shadow: var(--fyh-glass-lift) !important;
}


html body .fyh-bwd--dialog .fyh-bwd__intro {
	background: var(--fyh-bwd-intro-surface);
	color: var(--fyh-bwd-intro-foreground);
}

/* Context follows defaults in the same important utility layer: modal actions
   retain their approved on-dark pair without increasing selector weight. */
@layer utilities {
	html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-wiz__card, .sgui-control, .fyh-wiz__valuebox input, .fyh-wiz__back, .fyh-bwd__close, .fyh-kd__close, .fyh-kd__field input:where(:not([type="hidden"])), .fyh-kd__field textarea, .fyh-callback__slot) {
		background: var(--fyh-dialog-control-fill) !important;
		border-color: var(--fyh-dialog-edge) !important;
		color: var(--fyh-dialog-foreground) !important;
		box-shadow: none !important;
		caret-color: var(--fyh-dialog-foreground);
	}

	html body .fyh-bwd--dialog .fyh-callback__card {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-wiz__card, .sgui-control, .fyh-wiz__back, .fyh-bwd__close, .fyh-kd__close):hover {
		background: var(--fyh-dialog-control-hover) !important;
	}

	html body .fyh-bwd--dialog :is(.fyh-wiz__card:has(input:checked), .fyh-callback__slot:has(input:checked)) {
		border-color: var(--fyh-dialog-foreground) !important;
		background: var(--fyh-dialog-control-hover) !important;
	}

	html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.fyh-wiz__next, .fyh-wiz__submit, .sgui-submit, .fyh-kd__submit) {
		background: var(--fyh-dialog-foreground) !important;
		color: var(--wp--preset--color--ink) !important;
		border-color: var(--fyh-dialog-foreground) !important;
	}

	html body :is(.fyh-kd, .fyh-bwd--dialog, .sgui-native-dialog:where(:has(.fyh-kd__grid))) :is(.sgui-control, .fyh-wiz__valuebox input):focus-visible {
		border-color: var(--fyh-dialog-foreground) !important;
		outline: 3px solid var(--fyh-dialog-edge) !important;
		outline-offset: 2px;
	}
}

@layer utilities {
	html body .sgui-lagen-popover {
		border: 1px solid var(--fyh-glass-stroke) !important;
		border-radius: 16px !important;
		background: var(--fyh-glass-card-fill) !important;
		box-shadow: var(--fyh-glass-lift) !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	html body .sgui-lagen-popover :is(span, a) {
		font-weight: 500 !important;
	}
}

@media (max-width: 899px) {
	html body .fyh-kontakt__card {
		margin-top: 1rem;
	}

	html body .fyh-kontakt__photo {
		box-shadow: none;
	}
}

/* Facts are a reading section rather than an unpadded card. */
html body .fyh-expose .fyh-det__block.sgui-card {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

html body .fyh-det__item {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Photos fill the lightbox's image zone. Floor plans retain the whole sheet. */
@layer utilities {
	html body .sgui-mobile-navigation {
		background: var(--fyh-glass-card-fill) !important;
		box-shadow: var(--fyh-glass-lift) !important;
		border: 1px solid var(--fyh-glass-stroke) !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	html body .sgui-gallery-dialog {
		max-height: calc(100dvh - 2rem) !important;
		padding: 1rem !important;
		gap: 1rem !important;
		background: var(--fyh-glass-card-fill) !important;
		box-shadow: var(--fyh-glass-lift) !important;
		border: 1px solid var(--fyh-glass-stroke) !important;
		-webkit-backdrop-filter: blur(22px) saturate(1.15);
		backdrop-filter: blur(22px) saturate(1.15);
	}

	html body .sgui-gallery-dialog [data-slot="dialog-title"] {
		padding-inline-end: 3rem;
		line-height: 1.5;
	}

	html body :is(.sgui-gallery-dialog, .sgui-native-dialog, .sgui-mobile-navigation) :is([data-slot="dialog-close"], [data-slot="sheet-close"]) {
		width: 44px !important;
		height: 44px !important;
	}

	html body .sgui-gallery :is([data-slot="carousel-previous"], [data-slot="carousel-next"]) {
		width: 44px !important;
		height: 44px !important;
		background: var(--fyh-glass-card-fill) !important;
		border: 1px solid var(--fyh-glass-stroke) !important;
		box-shadow: none !important;
	}

	html body .sgui-gallery-dialog-image {
		display: block;
		width: 100% !important;
		height: min(70dvh, 54vw) !important;
		border-radius: 10px;
		object-fit: cover;
	}

	html body .sgui-gallery-dialog-image.is-plan {
		object-fit: contain;
		background: var(--wp--preset--color--base, #fff);
	}
}

@layer utilities {
	@media (max-width: 767px) {
		html body .sgui-gallery-dialog-image {
			height: min(62dvh, 100vw) !important;
		}
	}
}

/* Legal pages inherit the brand hue; the long-form copy stays on quiet glass. */
html body .fyh-legalhero {
	background: linear-gradient(135deg, var(--wp--preset--color--brand), var(--wp--preset--color--ink-deep));
}

html body .fyh-legalprose {
	box-sizing: border-box;
	width: min(76ch, calc(100% - 2 * var(--wp--custom--layout--edge, 1.5rem)));
	max-width: none;
	margin: clamp(2rem, 5vw, 4rem) auto;
	padding: clamp(1.25rem, 3vw, 2.75rem);
	border: 1px solid var(--fyh-glass-stroke);
	border-radius: 18px;
	background: var(--fyh-glass-card-fill);
	box-shadow: var(--fyh-glass-lift);
	font-size: 1rem;
	line-height: 1.8;
}

html body .fyh-legalprose :is(h2, h3) {
	font-family: var(--fyh-display, inherit);
	font-weight: 400;
	line-height: 1.2;
	text-wrap: balance;
}

html body .fyh-legalprose :is(p, li, a) {
	overflow-wrap: anywhere;
}

/* Native and enhanced images keep their existing reserved box during a download. */
html body :is(.fyh-carousel:not(.fyh-carousel--plans) .fyh-carousel__slide img, .sgui-gallery-image:not(.is-plan) img, .sgui-gallery-dialog-image:not(.is-plan)) {
	background: var(--fyh-glass-wash);
}

html body :is(.fyh-carousel__slide, .sgui-gallery-image, .sgui-gallery-dialog-media) {
	position: relative;
}

html body :is(.fyh-carousel__slide, .sgui-gallery-image, .sgui-gallery-dialog-media):has(img[data-sgui-media-state="loading"])::after {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--fyh-glass-wash);
	content: "";
	pointer-events: none;
}

html body :is(.fyh-carousel__slide, .sgui-gallery-image, .sgui-gallery-dialog-media) img[data-sgui-media-state] {
	transition: opacity 160ms ease-out;
}

html body :is(.fyh-carousel__slide, .sgui-gallery-image, .sgui-gallery-dialog-media) img[data-sgui-media-state="loading"] {
	opacity: 0 !important;
}

html body .sgui-media-status {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	border-radius: inherit;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--muted);
	font-size: .875rem;
	line-height: 1.5;
	text-align: center;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	html body :is(.fyh-carousel__slide, .sgui-gallery-image, .sgui-gallery-dialog-media) img[data-sgui-media-state] {
		transition: none;
	}
}
