/**
 * Standort overview + cards — scoped; safe on Hello Elementor.
 */

.ffde-standort-overview {
	--ffde-gap: 1rem;
	max-width: 72rem;
	margin-inline: auto;
	padding: var(--ffde-gap);
}

.ffde-standort-filters {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.ffde-tax-toggle,
.ffde-filter-reset {
	cursor: pointer;
	border: 0;
	background: transparent;
	color: var(--e-global-color-primary, #E25357);
	padding: 0.2rem 0.25rem;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none !important;
}

.ffde-tax-toggle {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.05;
	padding: 0.05rem 0;
	text-align: left;
	text-transform: none !important;

}

.ffde-tax-toggle__icon {
	margin-right: 0.35rem;
	font-size: 24px;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
}

.ffde-tax-toggle__text {
	display: inline-block;
	font-size: 20px;
	line-height: 1.05;
	text-transform: none !important;
}

.ffde-filter-reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
	padding: 0.1rem;
	min-width: auto;
	min-height: auto;
	color: var(--e-global-color-primary, #E25357);
}

.ffde-filter-reset__icon {
	display: block;
	width: 22px;
	height: 22px;
}

.ffde-filter-reset__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ffde-standort-filters__panel {
	display: block;
}

.ffde-filter-reset--mobile {
	display: none;
	align-self: flex-end;
	margin-top: 0.35rem;
}

.ffde-filter-reset--mobile.is-visible {
	display: inline-flex;
	position: fixed;
	right: 1rem;
	top: 15vh;
	z-index: 30;
}

.ffde-standort-filters__label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.04em;
	margin-top: 0.75rem;
	margin-bottom: 0.5rem;
	text-decoration: underline;
}

.ffde-standort-filters__buttons {
	margin-top:10px;
	margin-bottom:20px;
	display: none;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ffde-standort-filters__buttons.is-open {
	display: flex;
}

.ffde-filter-btn {
	cursor: pointer;
	border: 3px solid var(--e-global-color-primary, #E25357) !important;
	border-color: var(--e-global-color-primary, #E25357) !important;
	background: #fff;
	padding: 0.25rem 0.55rem!important;
	font: inherit;
	font-size: 20px!important;
	line-height: 1.2;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ffde-filter-btn:hover,
.ffde-filter-btn:focus-visible {
	background-color:var(--e-global-color-primary, #E25357);
	color:white;
	outline: none!important;
}

.ffde-filter-btn.is-active,
.ffde-filter-btn[aria-pressed="true"] {
	background-color: var(--e-global-color-primary, #E25357) !important;
	color: #fff !important;
	border-color: var(--e-global-color-primary, #E25357) !important;
}

.ffde-standort-list {
	column-count: 1;
	column-gap: 0.75rem;
}

.ffde-standort-card {
	display: inline-block;
	width: 100%;
	padding: 15px 25px;
	margin: 0 0 0.75rem;
	border: 3px solid currentColor;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

.ffde-standort-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	line-height: 1.3;
}

.ffde-standort-card__title a {
	text-decoration: none;
	color: inherit;
}

.ffde-standort-card__title a:hover,
.ffde-standort-card__title a:focus-visible {
	text-decoration: underline;
	outline: none;
}

.ffde-standort-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.9rem;
	opacity: 0.85;
	margin-bottom: 0.75rem;
}

.ffde-standort-card__content {
	font-size: 0.95rem;
	line-height: 1.5;
}

.ffde-standort-card__content p {
	margin: 0.35rem 0;
}

.ffde-standort-card__intro a,
.ffde-standort-card__acf a,
.ffde-standort-card__content a {
	text-transform: none !important;
}

.ffde-standort-empty {
	margin: 2rem 0;
	opacity: 0.8;
}

@media (min-width: 900px) {
	.ffde-standort-list {
		column-count: 2;
	}
}

@media (min-width: 1200px) {
	.ffde-standort-list {
		column-count: 3;
	}
}

@media (max-width: 899px) {
	.ffde-filter-reset--mobile {
		margin-top: 0.25rem;
	}
}
