/* [fortbildung_highlights] */

.fbh {
	--fbh-gap: 24px;
	--fbh-per-view: 3;
}

.fbh {
	padding: 8px 0 72px;
	background: #F2E8E1;
}

.fbh-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

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

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

body .fbh h2.fbh-heading {
	margin: 0 0 24px;
	font-family: contralto-medium, Georgia, serif;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	color: #1F4D5B;
	hyphens: auto;
	overflow-wrap: break-word;
}

.fbh .fbh-track {
	display: flex;
	gap: var(--fbh-gap);
	margin: 0;
	padding: 135px 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.fbh .fbh-track::-webkit-scrollbar {
	display: none;
}

.fbh .fbh-slide {
	flex: 0 0 calc((100% - (var(--fbh-per-view) - 1) * var(--fbh-gap)) / var(--fbh-per-view));
	display: flex;
	margin: 0;
	padding: 0;
	scroll-snap-align: start;
}

.fbh .fbh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 150px 24px 32px;
	box-sizing: border-box;
	background: #1F4D5B;
	color: #C3D8B6;
	text-align: center;
	border-radius: 15px;
}

.fbh .fbh-image-mask {
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	display: block;
	width: 250px;
	max-width: 100%;
	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;
}

.fbh .fbh-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.fbh .fbh-date {
	margin: 0 0 16px;
	font-family: "Open Sans", sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #C3D8B6;
}

.fbh .fbh-card h3.fbh-dozent {
	margin: 0 0 16px;
	font-size: 24px;
	color: #C3D8B6;
}

.fbh .fbh-title {
	margin: 0 0 24px;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: #C3D8B6;
}

.fbh .fbh-button {
	display: inline-block;
	margin-top: auto;
	padding: 8px 24px;
	min-height: 40px;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	line-height: 24px;
	text-decoration: none;
	color: #1F4D5B !important;
	background-color: #C3D8B6;
	border: 2px solid #C3D8B6;
	border-radius: 50px;
	transition: all 0.2s ease-in-out;
}

.fbh .fbh-button:hover,
.fbh .fbh-button:focus-visible {
	background-color: transparent;
	color: #C3D8B6 !important;
}

.fbh .fbh-card .fbh-button:focus-visible {
	outline: 2px solid #C3D8B6;
	outline-offset: 3px;
}

.fbh .fbh-arrow:focus-visible,
.fbh .fbh-dot:focus-visible {
	outline: 2px solid #1F4D5B;
	outline-offset: 3px;
}

/* Navigation */

.fbh .fbh-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}

.fbh .fbh-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: #1F4D5B;
	background: #C3D8B6;
	border: 2px solid #C3D8B6;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.fbh .fbh-arrow:hover:not(:disabled) {
	background: transparent;
	border-color: #1F4D5B;
}

.fbh .fbh-arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.fbh .fbh-dots {
	display: flex;
	gap: 8px;
}

.fbh .fbh-dot {
	width: 12px;
	height: 12px;
	padding: 0;
	background: transparent;
	border: 2px solid #1F4D5B;
	border-radius: 50%;
	cursor: pointer;
}

.fbh .fbh-dot[aria-current="true"] {
	background: #1F4D5B;
}

@media (max-width: 1024px) {
	.fbh {
		--fbh-per-view: 2;
	}
}

@media (max-width: 767px) {
	.fbh {
		--fbh-per-view: 1;
		--fbh-gap: 16px;
	}

	.fbh .fbh-slide {
		flex-basis: 86%;
	}

	.fbh .fbh-button {
		min-height: 44px;
	}

	.fbh .fbh-dots {
		display: none;
	}
}
