/* VGL Directory – Seitenkopf, Vorteile-Box, FAQ-Box. Farben: im Block gewählt, sonst Theme-Farben. */
.vgl-dir {
	--vgl-dir-accent: var(--theme-palette-color-1, var(--wp--preset--color--primary, #2563eb));
	--vgl-dir-heading: var(--theme-palette-color-4, #0f1f3d);
	--vgl-dir-bg: color-mix(in srgb, var(--vgl-dir-accent) 9%, #fff);
	--vgl-dir-color: inherit;
	--vgl-dir-on-accent: #fff; /* Schrift und Symbole auf der Akzentfarbe */
	box-sizing: border-box;
	margin: 0 0 24px;
	border-radius: 14px;
	background: var(--vgl-dir-bg);
	color: var(--vgl-dir-color);
}
.vgl-dir *,
.vgl-dir *::before,
.vgl-dir *::after {
	box-sizing: border-box;
}
.vgl-dir p {
	margin: 0;
}
.vgl-dir__title {
	margin: 0 0 18px;
	color: var(--vgl-dir-heading);
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
}

/* Seitenkopf mit Bild: Text links, Bild rechts (läuft weich in den Hintergrund aus) */
.vgl-dir--dir-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	min-height: 260px;
	overflow: hidden;
}
.vgl-dir-hero__text {
	position: relative;
	z-index: 2; /* über Bild und Verlauf */
	padding: 44px 0 44px 52px;
}
.vgl-dir-hero__title {
	margin: 0 0 16px;
	color: var(--vgl-dir-heading);
	font-size: clamp(1.9rem, 1rem + 3vw, 3.4rem);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.02em;
}
.vgl-dir-hero__lead {
	max-width: 30em;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
	line-height: 1.5;
}
.vgl-dir-hero__media {
	position: absolute;
	inset: 0 0 0 42%;
}
.vgl-dir-hero__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: 35%;
	background: linear-gradient(90deg, var(--vgl-dir-bg), transparent);
}
.vgl-dir-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Vorteile-Box */
.vgl-dir--dir-benefits {
	padding: 28px 24px;
}
.vgl-dir-benefits__list {
	display: grid;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vgl-dir-benefits__list li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin: 0;
}
.vgl-dir-benefits__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: var(--vgl-dir-accent);
}
.vgl-dir-benefits__icon svg {
	width: 46px;
	height: 46px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.vgl-dir-benefits__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.45;
}
.vgl-dir-benefits__body strong {
	color: var(--vgl-dir-heading);
	font-size: 1.05rem;
	font-weight: 700;
}
.vgl-dir-benefits__body span {
	font-size: 0.95rem;
	opacity: 0.85;
}

/* FAQ-Box: Fragen als weiße Karten zum Aufklappen */
.vgl-dir--dir-faq {
	padding: 24px 22px;
}
.vgl-dir-faq__item {
	margin: 0 0 10px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.vgl-dir-faq__item:last-child {
	margin-bottom: 0;
}
.vgl-dir-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	color: var(--vgl-dir-heading);
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.vgl-dir-faq__item summary::-webkit-details-marker {
	display: none;
}
.vgl-dir-faq__item summary:focus-visible {
	outline: 2px solid var(--vgl-dir-accent);
	outline-offset: 2px;
	border-radius: 8px;
}
.vgl-dir-faq__chevron {
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-right: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}
.vgl-dir-faq__item[open] .vgl-dir-faq__chevron {
	transform: translateY(2px) rotate(-135deg);
}
.vgl-dir-faq__answer {
	padding: 0 16px 14px;
	line-height: 1.6;
}
.vgl-dir-faq__answer p + p {
	margin-top: 0.6em;
}

@media (max-width: 781px) {
	.vgl-dir--dir-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.vgl-dir-hero__text {
		padding: 28px 22px;
	}
	.vgl-dir-hero__media {
		position: relative;
		inset: auto;
		height: 220px;
	}
	.vgl-dir-hero__media::before {
		inset: 0 0 auto;
		width: auto;
		height: 35%;
		background: linear-gradient(180deg, var(--vgl-dir-bg), transparent);
	}
}

/* Seitenkopf ohne Foto: Grafik „Smartphone mit Suchergebnis“ – Farben nur aus Variablen */
.vgl-dir-hero__art {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	padding: 20px 28px;
}
.vgl-ill {
	--vgl-ill-acc: var(--vgl-dir-accent);
	display: block;
	width: 100%;
	max-width: 470px;
	height: auto;
}
.vgl-dir {
	--vgl-ill-dark: var(--vgl-dir-heading);
	--vgl-ill-star: #f5b301;
}
.vgl-ill-a  { fill: var(--vgl-ill-acc); }
.vgl-ill-a3 { fill: color-mix(in srgb, var(--vgl-ill-acc) 22%, #fff); }
.vgl-ill-d  { fill: var(--vgl-ill-dark); }
.vgl-ill-d2 { fill: color-mix(in srgb, var(--vgl-ill-dark) 18%, #fff); }
.vgl-ill-w  { fill: #fff; }
.vgl-ill-g  { fill: #e5e7eb; }
.vgl-ill-st { fill: var(--vgl-ill-star); }
.vgl-ill-sa { stroke: var(--vgl-ill-acc); }
.vgl-ill-sh { filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.12)); }
@media (max-width: 781px) {
	.vgl-dir-hero__art {
		padding: 0 22px 22px;
	}
	.vgl-dir-hero__art .vgl-ill {
		max-width: 360px;
	}
}

/* ===== Gemeinsamer Button (Directory) ===== */
.vgl-dir__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--vgl-dir-accent);
	color: var(--vgl-dir-on-accent) !important;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter 0.15s;
}
.vgl-dir__btn:hover,
.vgl-dir__btn:focus-visible {
	filter: brightness(1.1);
}
.vgl-dir__btn:focus-visible {
	outline: 2px solid var(--vgl-dir-accent);
	outline-offset: 3px;
}
.vgl-dir__btn--sm {
	min-height: 38px;
	padding: 7px 18px;
	font-size: 0.9rem;
}
.vgl-rg-arrow {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ===== Seitenkopf kompakt ===== */
.vgl-dir--dir-pagehead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 48px 30px;
}
.vgl-dir-pagehead__crumb {
	margin-bottom: 14px;
	font-size: 0.8rem;
	opacity: 0.85;
}
.vgl-dir-pagehead__crumb a {
	color: inherit;
	text-decoration: none;
}
.vgl-dir-pagehead__crumb a:hover {
	text-decoration: underline;
}
.vgl-dir-pagehead__title {
	margin: 0 0 8px;
	color: var(--vgl-dir-heading);
	font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
.vgl-dir-pagehead__lead {
	font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
}
.vgl-dir-pagehead__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: 16px;
	background: #fff;
	color: var(--vgl-dir-accent);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}
.vgl-dir-pagehead__icon svg {
	width: 64px;
	height: 64px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ===== Beitragskarten ===== */
.vgl-dir--dir-posts {
	--vgl-dir-bg: transparent;
	border-radius: 0;
}
.vgl-dir--dir-posts > .vgl-dir__title {
	margin-bottom: 16px;
}
.vgl-dir-posts__grid {
	display: grid;
	grid-template-columns: repeat(var(--vgl-cols, 2), minmax(0, 1fr));
	gap: 16px;
}
.vgl-dir-posts__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--vgl-dir-heading) 10%, transparent);
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.25s, transform 0.25s;
}
/* Hover: Karte hebt sich leicht, Bild zoomt sanft, Titel in Akzentfarbe. */
.vgl-dir-posts__card:hover,
.vgl-dir-posts__card:focus-within {
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	transform: translateY(-3px);
}
.vgl-dir-posts__media {
	display: block;
	aspect-ratio: 2 / 1;
	overflow: hidden;
	background: color-mix(in srgb, var(--vgl-dir-accent) 10%, #fff);
}
.vgl-dir-posts__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}
.vgl-dir-posts__card:hover .vgl-dir-posts__img,
.vgl-dir-posts__card:focus-within .vgl-dir-posts__img {
	transform: scale(1.05);
}
.vgl-dir-posts__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 16px 18px;
}
.vgl-dir-posts__cat {
	color: var(--vgl-dir-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}
.vgl-dir-posts__title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}
.vgl-dir-posts__title a {
	color: var(--vgl-dir-heading);
	text-decoration: none;
	transition: color 0.2s;
}
.vgl-dir-posts__card:hover .vgl-dir-posts__title a,
.vgl-dir-posts__card:focus-within .vgl-dir-posts__title a {
	color: var(--vgl-dir-accent);
}
.vgl-dir-posts__title a:hover {
	text-decoration: underline;
}
.vgl-dir-posts__text {
	flex: 1 1 auto;
	font-size: 0.92rem;
	line-height: 1.5;
	opacity: 0.85;
}
.vgl-dir-posts__body .vgl-dir__btn {
	margin-top: 6px;
}
.vgl-dir-posts__pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
}
.vgl-dir-posts__pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid color-mix(in srgb, var(--vgl-dir-heading) 15%, transparent);
	border-radius: 6px;
	color: var(--vgl-dir-heading);
	font-weight: 600;
	text-decoration: none;
}
.vgl-dir-posts__pages .page-numbers.current {
	border-color: var(--vgl-dir-accent);
	background: var(--vgl-dir-accent);
	color: var(--vgl-dir-on-accent);
}
.vgl-dir-posts__pages .page-numbers.dots,
.vgl-dir-posts__pages .prev,
.vgl-dir-posts__pages .next {
	border-color: transparent;
}

/* ===== Ratgeber-Suche & Themen ===== */
.vgl-dir--dir-topics {
	padding: 26px 24px 18px;
}
.vgl-dir-topics__search {
	position: relative;
	margin: 0;
}
.vgl-dir-topics__search svg {
	position: absolute;
	top: 50%;
	left: 14px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	fill: none;
	stroke: var(--vgl-dir-heading);
	stroke-width: 2;
	stroke-linecap: round;
	pointer-events: none;
}
.vgl-dir-topics__search input[type="search"] {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px 10px 42px;
	border: 1px solid color-mix(in srgb, var(--vgl-dir-heading) 12%, transparent);
	border-radius: 6px;
	background: #fff;
	font-size: 0.92rem;
}
.vgl-dir-topics__sep {
	margin: 22px 0 18px;
	border: 0;
	border-top: 1px solid color-mix(in srgb, var(--vgl-dir-heading) 10%, transparent);
}
.vgl-dir-topics__title {
	margin: 0 0 8px;
	color: var(--vgl-dir-heading);
	font-size: 1.15rem;
	font-weight: 800;
}
.vgl-dir-topics__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vgl-dir-topics__list li {
	margin: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--vgl-dir-heading) 8%, transparent);
}
.vgl-dir-topics__list li:last-child {
	border-bottom: 0;
}
.vgl-dir-topics__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 2px;
	color: inherit;
	font-size: 0.95rem;
	text-decoration: none;
}
.vgl-dir-topics__list a:hover {
	color: var(--vgl-dir-accent);
}
.vgl-dir-topics__chev {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	margin-right: 4px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

/* ===== Fachbetrieb-Suche (dunkle Box, Ortssuche des Verzeichnis-Plugins) ===== */
.vgl-dir--dir-finder {
	--vgl-dir-bg: var(--vgl-dir-heading);
	--vgl-dir-color: #fff;
	padding: 28px 24px;
}
.vgl-dir-finder__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}
.vgl-dir-finder__pin {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--vgl-dir-accent);
	color: var(--vgl-dir-on-accent);
}
.vgl-dir-finder__pin svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}
.vgl-dir-finder__title {
	margin: 0;
	color: inherit;
	font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem);
	font-weight: 800;
	line-height: 1.15;
}
.vgl-dir-finder__text {
	margin-bottom: 18px !important;
	line-height: 1.5;
	opacity: 0.9;
}
.vgl-dir-finder__form .bd-loc-form,
.vgl-dir-finder__form .bd-loc-form .bd-inr {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}
.vgl-dir-finder__form .bd-loc-form .bd-title:empty {
	display: none;
}
.vgl-dir-finder__form .bd-search .bd-inr {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.vgl-dir-finder__form input.bd-loc {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: #1f2937;
	font-size: 0.95rem;
}
.vgl-dir-finder__form .bd-find {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--vgl-dir-accent);
	color: var(--vgl-dir-on-accent);
	font-weight: 700;
	cursor: pointer;
}
.vgl-dir-finder__form .bd-find:hover {
	filter: brightness(1.1);
}
.vgl-dir-finder__form .bd-autocomplete {
	top: 50px;
	color: #1f2937;
}
/* Das Verzeichnis-Plugin (loc_form.css) setzt die PLZ-Suche mit langen Kind-Selektoren
   (.bd-loc-form > .bd-inr > .bd-search > .bd-inr > …). Damit die Box wie oben vorgesehen
   aussieht, hier dieselbe Kette mit .vgl-dir-Präfix (stärker). Gilt nur innerhalb der VGL-Box. */
.vgl-dir .vgl-dir-finder__form .bd-loc-form > .bd-inr > .bd-search {
	margin: 0;
	padding: 0;
	background: none;
}
.vgl-dir .vgl-dir-finder__form .bd-loc-form > .bd-inr > .bd-search > .bd-inr {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: none;
}
.vgl-dir .vgl-dir-finder__form .bd-loc-form > .bd-inr > .bd-search > .bd-inr > .bd-loc {
	flex: 0 0 auto;
	width: 100%;
	height: auto;
	min-height: 48px;
	padding: 10px 14px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: #1f2937;
	font-size: 1rem;
}
.vgl-dir .vgl-dir-finder__form .bd-loc-form > .bd-inr > .bd-search > .bd-inr > .bd-find {
	width: 100%;
	height: auto;
	min-height: 50px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--vgl-dir-accent);
	color: var(--vgl-dir-on-accent);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

/* ===== Bild-Banner ===== */
.vgl-dir--dir-banner {
	--vgl-dir-bg: var(--vgl-dir-heading);
	--vgl-dir-color: #fff;
	position: relative;
	display: flex;
	align-items: center;
	min-height: 200px;
	overflow: hidden;
}
.vgl-dir-banner__text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	max-width: 560px;
	padding: 30px 42px;
}
.vgl-dir-banner__title {
	margin: 0;
	color: inherit;
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
	font-weight: 900;
	line-height: 1.1;
}
.vgl-dir-banner__lead {
	line-height: 1.5;
	opacity: 0.92;
}
.vgl-dir-banner__text .vgl-dir__btn {
	margin-top: 6px;
}
.vgl-dir-banner__media {
	position: absolute;
	inset: 0 0 0 38%;
}
.vgl-dir-banner__media::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	width: 55%;
	background: linear-gradient(90deg, var(--vgl-dir-bg), transparent);
}
.vgl-dir-banner__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 781px) {
	.vgl-dir--dir-pagehead {
		padding: 22px;
	}
	.vgl-dir-pagehead__icon {
		display: none;
	}
	.vgl-dir-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.vgl-dir--dir-banner {
		flex-direction: column;
		align-items: stretch;
	}
	.vgl-dir-banner__media {
		position: relative;
		inset: auto;
		order: 2;
		height: 180px;
	}
	.vgl-dir-banner__media::before {
		inset: 0 0 auto;
		width: auto;
		height: 50%;
		background: linear-gradient(180deg, var(--vgl-dir-bg), transparent);
	}
	.vgl-dir-banner__text {
		padding: 24px 22px;
	}
}

/* Aktuelle Kategorie in der Themenliste */
.vgl-dir-topics__list li.is-current a {
	color: var(--vgl-dir-accent);
	font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
	.vgl-dir-posts__card,
	.vgl-dir-posts__img {
		transition: none;
	}
	.vgl-dir-posts__card:hover,
	.vgl-dir-posts__card:focus-within,
	.vgl-dir-posts__card:hover .vgl-dir-posts__img,
	.vgl-dir-posts__card:focus-within .vgl-dir-posts__img {
		transform: none;
	}
}

/* Fachbetrieb-Suche mit Leadformular: Formular auf heller Fläche, damit seine eigenen Stile lesbar bleiben. */
.vgl-dir-finder__leads {
	padding: 16px;
	border-radius: 8px;
	background: #fff;
	color: var(--vgl-dir-heading);
}
.vgl-dir-finder__leads .bd-lead-form {
	margin: 0;
}
.vgl-dir-finder--leads .vgl-dir-finder__head:last-child {
	margin-bottom: 0;
}
/* Mobil (Spalten untereinander): Leadbox aus der Seitenspalte ganz nach oben, über die Beitragskarten. */
@media (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:has(> .vgl-dir-finder--leads) {
		display: contents;
	}
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:has(> .vgl-dir-finder--leads) > * {
		flex-basis: 100%;
		order: 1;
		width: 100%;
		margin-block: 0;
	}
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column > .vgl-dir-finder--leads {
		order: -1;
	}
}
/* Kategorie- und Suchseiten mit Ratgeber-Vorlage: breite Blöcke wie auf normalen Seiten (Blocksy schaltet das nur für Seiten frei). */
.vgl-archive-layout {
	--has-wide: var(--true);
	--has-boxed: var(--false);
}
/* Seitenspalte (Suche, Themen, Fachbetrieb-Suche) mit Mindestbreite; die Beitragsspalte daneben wird schmaler. */
@media (min-width: 782px) {
	.wp-block-columns > .wp-block-column:has(> .vgl-dir--dir-topics, > .vgl-dir--dir-finder) {
		min-width: 360px;
	}
}
/* Beitragskarten nach eigener Breite: in schmaler Spalte untereinander. */
.vgl-dir--dir-posts {
	container: vgl-posts / inline-size;
}
@container vgl-posts (max-width: 700px) {
	.vgl-dir-posts__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* Ortssuche: Button-Text einzeilig; das Dashicons-Symbol des Verzeichnis-Plugins fehlt für Besucher (leeres Kästchen). */
.vgl-dir-finder__form .bd-find {
	white-space: nowrap;
}
.vgl-dir-finder__form .bd-find::before {
	display: none !important;
}
/* Fachbetrieb-Suche mit Foto unten (randlos, oben sanft in die Box übergehend). */
.vgl-dir-finder__media {
	position: relative;
	margin: 22px -24px -28px;
	overflow: hidden;
	border-radius: 0 0 14px 14px;
}
.vgl-dir-finder__media::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 45%;
	background: linear-gradient(var(--vgl-dir-bg), transparent);
	pointer-events: none;
}
.vgl-dir-finder__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
/* Bild-Plugins (z. B. Image) packen Fotos in <picture> und setzen die Klasse dort: das Bild darin muss die Fläche füllen. */
picture.vgl-dir-posts__img > img,
picture.vgl-dir-finder__img > img,
picture.vgl-dir-banner__img > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: inherit;
}
/* Helle Akzentfarbe (z. B. Limette): dunkle Schrift und Symbole auf dem Akzent (Einstellung im Block unter „Farben“). */
.vgl-dir--on-accent-dark {
	--vgl-dir-on-accent: var(--theme-palette-color-4, #111518);
}
