/* Grunddarstellung der Fachbereichs-Legende. Auf Seiten mit eigenem
   flkh-Layout gewinnt weiterhin das Seiten-CSS. */

.flk-fachbereiche {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.flk-fachbereiche .flkh-legend-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 10px 20px;
}

.flk-fachbereiche .flkh-legend-item {
	display: flex;
	align-items: center;
	gap: 7px;
}

.flk-fachbereiche .flkh-legend-item i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	flex: none;
}

/* Filterbetrieb */

.flk-fachbereiche[data-flk-fachbereiche] .flk-fb-item {
	cursor: pointer;
	border-radius: 999px;
	padding: 3px 10px 3px 8px;
	margin: -3px 0;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.flk-fachbereiche[data-flk-fachbereiche] .flk-fb-item:hover,
.flk-fachbereiche[data-flk-fachbereiche] .flk-fb-item:focus-visible {
	background: rgba(160, 138, 104, 0.16);
}

.flk-fachbereiche[data-flk-fachbereiche] .flk-fb-item:focus-visible {
	outline: 2px solid #efa02f;
	outline-offset: 2px;
}

.flk-fachbereiche .flk-fb-item.flk-fb-aktiv-item {
	background: rgba(160, 138, 104, 0.22);
}

.flk-fb-aktiv {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding-top: 4px;
}

.flk-fb-aktiv-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a08a68;
}

.flk-fb-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 10px 5px 12px;
	border: 1px solid #dcc9ac;
	border-radius: 999px;
	background: #fdf7eb;
	color: #4a3f35;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.flk-fb-chip:hover,
.flk-fb-chip:focus-visible {
	border-color: #efa02f;
}

.flk-fb-chip-x {
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	margin-top: -2px;
	color: #a08a68;
}

.flk-fb-chip:hover .flk-fb-chip-x {
	color: #4a3f35;
}

.flk-fb-reset {
	padding: 5px 4px;
	border: 0;
	background: none;
	color: #a08a68;
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.flk-fb-reset:hover {
	color: #4a3f35;
}

.em-event.em-item.flk-fb-ausgeblendet {
	display: none !important;
}

.flk-fb-leer {
	margin: 18px 0 0 !important;
	font-size: 15px;
	color: #5a4d3e;
}
