/* [fortbildung_grid] */

.fbg {
	--fbg-ink: var(--e-global-color-text, #1F4D5B);
	--fbg-light: var(--e-global-color-primary, #F3EBEB);
	--fbg-mint: var(--e-global-color-710944a, #C3D8B6);
}

.fbg [hidden] {
	display: none !important;
}

.fbg-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Filter */

.fbg-panel-head {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 12px;
}

.fbg .fbg-count {
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--fbg-ink);
}

.fbg-panel {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.fbg-field {
	flex: 1 1 180px;
	min-width: 0;
	margin: 0;
}

.fbg-field--search {
	flex: 1.6 1 280px;
}

.fbg .fbg-search,
.fbg .fbg-select {
	width: 100%;
	height: 56px;
	margin: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.2;
	color: var(--fbg-light);
	background-color: var(--fbg-ink);
	border: 2px solid var(--fbg-ink);
	border-radius: 80px;
	box-shadow: none;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.fbg .fbg-search {
	padding: 0 24px 0 54px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23C3D8B6' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 22px center;
}

.fbg .fbg-search::placeholder {
	color: var(--fbg-mint);
	opacity: 1;
}

.fbg .fbg-select {
	padding: 0 48px 0 24px;
	appearance: none;
	cursor: pointer;
	background-image: 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.5l5 5 5-5' fill='none' stroke='%23F3EBEB' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
}

.fbg .fbg-select option {
	color: var(--fbg-ink);
	background-color: #fff;
}

.fbg .fbg-search:hover,
.fbg .fbg-select:hover {
	border-color: var(--fbg-mint);
}

/* Aktiv */
.fbg .fbg-select.is-active,
.fbg .fbg-search:not(:placeholder-shown) {
	color: var(--fbg-ink);
	background-color: var(--fbg-mint);
	border-color: var(--fbg-ink);
}

.fbg .fbg-select.is-active {
	background-image: 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.5l5 5 5-5' fill='none' stroke='%231F4D5B' stroke-width='1.8'/%3E%3C/svg%3E");
}

.fbg .fbg-search:not(:placeholder-shown) {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231F4D5B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
}

.fbg .fbg-search:focus,
.fbg .fbg-select:focus {
	outline: none;
}

.fbg .fbg-search:focus-visible,
.fbg .fbg-select:focus-visible {
	outline: 2px solid var(--fbg-ink);
	outline-offset: 2px;
}

.fbg .fbg-tip {
	margin: 14px 0 0;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	color: var(--fbg-ink);
}

.fbg .fbg-reset,
.fbg .fbg-reset:hover,
.fbg .fbg-reset:focus {
	margin-left: 6px;
	padding: 0;
	font: inherit;
	color: inherit;
	text-decoration: underline;
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

/* Dropdown */

.fbg-field--dd {
	position: relative;
}

.fbg .fbg-dd-button,
.fbg .fbg-dd-button:hover,
.fbg .fbg-dd-button:focus {
	display: block;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 48px 0 24px;
	overflow: hidden;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 52px;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--fbg-light);
	background-color: var(--fbg-ink);
	background-image: 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.5l5 5 5-5' fill='none' stroke='%23F3EBEB' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 22px center;
	border: 2px solid var(--fbg-ink);
	border-radius: 80px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.fbg .fbg-dd-button:hover {
	border-color: var(--fbg-mint);
}

.fbg .fbg-dd-button:focus {
	outline: none;
}

.fbg .fbg-dd-button:focus-visible {
	outline: 2px solid var(--fbg-ink);
	outline-offset: 2px;
}

.fbg .fbg-dd-button.is-active,
.fbg .fbg-dd-button.is-active:hover,
.fbg .fbg-dd-button.is-active:focus {
	color: var(--fbg-ink);
	background-color: var(--fbg-mint);
	background-image: 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.5l5 5 5-5' fill='none' stroke='%231F4D5B' stroke-width='1.8'/%3E%3C/svg%3E");
	border-color: var(--fbg-ink);
}

.fbg-field--dd.is-open .fbg-dd-button {
	background-image: 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 6.5l5-5 5 5' fill='none' stroke='%23F3EBEB' stroke-width='1.8'/%3E%3C/svg%3E");
}

.fbg-field--dd.is-open .fbg-dd-button.is-active {
	background-image: 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 6.5l5-5 5 5' fill='none' stroke='%231F4D5B' stroke-width='1.8'/%3E%3C/svg%3E");
}

.fbg .fbg-dd-list {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 30;
	min-width: 100%;
	max-height: 340px;
	margin: 0;
	padding: 8px;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border: 2px solid var(--fbg-ink);
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(31, 77, 91, 0.18);
	scrollbar-width: thin;
	scrollbar-color: var(--fbg-mint) transparent;
}

.fbg-field--dd.is-align-right .fbg-dd-list {
	right: 0;
	left: auto;
}

.fbg .fbg-dd-option {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 16px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 1.3;
	white-space: nowrap;
	color: var(--fbg-ink);
	border-radius: 80px;
	cursor: pointer;
}

/* Checkbox */
.fbg .fbg-dd-option::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: #fff no-repeat center;
	border: 2px solid var(--fbg-ink);
	border-radius: 6px;
}

.fbg .fbg-dd-option[aria-selected="true"]::before {
	background-color: var(--fbg-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5l3.5 3.5 6.5-7' fill='none' stroke='%23F3EBEB' stroke-width='2'/%3E%3C/svg%3E");
}

.fbg .fbg-dd-option--all {
	margin-bottom: 6px;
}

.fbg .fbg-dd-option--all::before {
	border-radius: 50%;
}

.fbg .fbg-dd-option--all[aria-selected="true"]::before {
	background-image: none;
	box-shadow: inset 0 0 0 4px #fff;
}

.fbg .fbg-dd-text {
	flex: 1 1 auto;
}

.fbg .fbg-dd-count {
	flex: 0 0 auto;
	min-width: 28px;
	padding: 1px 8px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--fbg-ink);
	background: #eef3ef;
	border-radius: 80px;
}

.fbg .fbg-dd-option.is-highlighted {
	background-color: var(--fbg-mint);
}

.fbg .fbg-dd-option.is-highlighted .fbg-dd-count {
	background: #fff;
}

.fbg .fbg-dd-option[aria-selected="true"] .fbg-dd-text {
	font-weight: 700;
}

/* Chips */

.fbg-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 14px;
}

.fbg .fbg-chip-list {
	display: contents;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fbg .fbg-chip-list li {
	margin: 0;
}

.fbg .fbg-chip,
.fbg .fbg-chip:hover,
.fbg .fbg-chip:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 12px 6px 16px;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fbg-ink);
	background-color: var(--fbg-mint);
	border: 2px solid var(--fbg-ink);
	border-radius: 80px;
	cursor: pointer;
}

.fbg .fbg-chip::after {
	content: "";
	width: 18px;
	height: 18px;
	background: var(--fbg-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1 1l6 6M7 1L1 7' stroke='%23F3EBEB' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center;
	border-radius: 50%;
}

.fbg .fbg-chip:hover {
	background-color: var(--fbg-light);
}

.fbg .fbg-chip:focus {
	outline: none;
}

.fbg .fbg-chip:focus-visible {
	outline: 2px solid var(--fbg-ink);
	outline-offset: 2px;
}

.fbg .fbg-chips .fbg-reset {
	margin-left: 4px;
	font-family: "Open Sans", sans-serif;
	font-size: 15px;
	color: var(--fbg-ink);
}

/* Keine Treffer */

.fbg-no-results {
	margin: 40px 0;
	text-align: center;
	color: var(--fbg-ink);
	font-size: 18px;
}

/* Liste */

.fbg-month {
	font-size: 28px;
	margin: 40px 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #fff;
	color: #fff;
}

.fbg-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.fbg-card {
	margin-top: 125px;
	position: relative;
	background: #1F4D5B;
	padding: 25px;
	color: #C3D8B6;
	text-align: center;
	border-radius: 15px;
}

.fbg-image-mask {
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	width: 250px !important;
	max-width: 100% !important;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	-webkit-mask-image: url('../../../../uploads/2026/01/mask_photos_01-68.svg');
	mask-image: url('../../../../uploads/2026/01/mask_photos_01-68.svg');
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.fbg-card .fbg-image {
	margin-bottom: 20px;
	width: 250px !important;
	max-width: 100% !important;
	height: 250px !important;
	object-fit: cover;
	object-position: center center;
}

.fbg-date {
	margin-top: 120px;
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 20px;
}

.fbg-tag:not(:last-child)::after {
	content: ", ";
}

.fbg-card h3.fbg-dozent {
	font-size: 24px;
	margin-top: 16px;
	margin-bottom: 16px;
	color: #C3D8B6;
}

.fbg-title {
	font-size: 16px;
	margin-bottom: 10px;
}

.fbg .fbg-button {
	display: inline-block;
	margin-top: 10px;
	padding: 15px 30px;
	font-size: 18px;
	line-height: 1.5em !important;
	text-decoration: none;
	color: #000 !important;
	background-color: #C3D8B6;
	border: 2px solid #C3D8B6;
	border-radius: 50px;
	transition: all 0.2s ease-in-out;
}

.fbg .fbg-button:hover {
	background-color: transparent !important;
	color: #C3D8B6 !important;
	border: 2px solid #C3D8B6;
}

@media (max-width: 1024px) {
	.fbg-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.fbg-grid {
		grid-template-columns: 1fr;
	}

	.fbg-panel {
		gap: 10px;
	}

	.fbg-field,
	.fbg-field--search {
		flex-basis: 100%;
	}

	.fbg .fbg-search,
	.fbg .fbg-dd-button {
		height: 52px;
		line-height: 48px;
		font-size: 16px;
	}

	.fbg .fbg-dd-list {
		right: 0;
		max-height: 60vh;
	}

	.fbg .fbg-dd-option {
		min-height: 44px;
		white-space: normal;
	}

	.fbg-panel-head {
		justify-content: flex-start;
	}
}
