.slider-gallery {
	margin-bottom: 20px;
}

.slider-gallery-item {
	padding: 5px;
}

/* Wrapper für Bild & Overlay – ohne standardmäßige Aspect-Ratio */
.slider-image-wrapper {
	position: relative;
	width: 100%;
}

	/* Bilder sollen komplett den Container ausfüllen und bei Bedarf beschnitten werden */
	.slider-image-wrapper img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

/* Standard-Overlay (unverändert) */
.slider-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #28282850;
	padding: 5px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	text-shadow: 0 2px 5px #282828;
}

.slider-title,
.slider-description {
	display: block;
	line-height: 1.2;
}

.slider-title {
	margin: 5px 10px 7px 10px;
	color: #ffffff;
	font-size: 13px;
	text-align: left;
}

.slider-description {
	margin: 0 10px 5px 10px;
	color: #ffffff;
	text-align: left;
	font-weight: normal;
}

/* Navigation-Buttons (unverändert) */
.slider-nav-prev,
.slider-nav-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none !important;
	border: none !important;
	font-size: 0;
	width: 70px;
	height: 70px;
	cursor: pointer;
	outline: none;
	z-index: 1001;
}

.slider-nav-prev {
	left: 10px;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"%3E%3Cpath d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/%3E%3C/svg%3E') !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 35px 35px;
}

	.slider-nav-prev:hover {
		background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23e8e8e8" viewBox="0 0 24 24"%3E%3Cpath d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/%3E%3C/svg%3E') !important;
	}

.slider-nav-next {
	right: 10px;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"%3E%3Cpath d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/%3E%3C/svg%3E') !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 35px 35px;
}

.slider-nav-next:hover {
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23e8e8e8" viewBox="0 0 24 24"%3E%3Cpath d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/%3E%3C/svg%3E') !important;
}

.slick-prev::before,
.slick-next::before {
	display: none;
}

/* Fancybox in den Vordergrund */
.fancybox-container {
	z-index: 99999 !important;
}

/* Crop-Klassen: Überschreibt den Container für ein festes Seitenverhältnis. */
.crop-1-1 .slider-image-wrapper {
	aspect-ratio: 1 / 1;
}

.crop-16-10 .slider-image-wrapper {
	aspect-ratio: 16 / 10;
}

.crop-16-9 .slider-image-wrapper {
	aspect-ratio: 16 / 9;
}
