/*
 * WBF Light Carousel — Frontend stijlen
 * Pas dit bestand aan voor eigen styling.
 * Variabelen --contrast-3 en --contrast worden meegegeven door het thema (bijv. GeneratePress).
 */

/* -----------------------------------------------------------------------
   Wrapper
----------------------------------------------------------------------- */

.wbfl-carousel-wrapper {
	padding-bottom: 15px;
}

/* -----------------------------------------------------------------------
   Navigatieknoppen
----------------------------------------------------------------------- */

.wbfl-swiper .swiper-button-next,
.wbfl-swiper .swiper-button-prev {
	background-color: var(--contrast-3, #f0a500);
	color: #ffffff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: opacity 0.2s ease;
}

.wbfl-swiper .swiper-button-next:hover,
.wbfl-swiper .swiper-button-prev:hover {
	opacity: 0.85;
}

.wbfl-swiper .swiper-button-next::after,
.wbfl-swiper .swiper-button-prev::after {
	font-size: 16px;
	font-weight: 700;
}

/* Tablet: ruimte voor de pijlen zodat ze het logo niet overlappen */
@media (max-width: 900px) {
	.wbfl-swiper {
		padding-left: 50px !important;
		padding-right: 50px !important;
	}
}

/* Mobiel: pijlen verbergen — gebruikers swipen met hun vinger */
@media (max-width: 600px) {
	.wbfl-swiper .swiper-button-next,
	.wbfl-swiper .swiper-button-prev {
		display: none;
	}

	.wbfl-swiper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* -----------------------------------------------------------------------
   Paginering
----------------------------------------------------------------------- */

.wbfl-swiper .swiper-pagination {
	position: relative;
	margin-top: 20px;
}

.wbfl-swiper .swiper-pagination-bullet-active {
	background-color: var(--contrast-3, #f0a500);
}

/* -----------------------------------------------------------------------
   Slides
----------------------------------------------------------------------- */

.wbfl-swiper .swiper-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.wbfl-swiper .swiper-slide figure {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* -----------------------------------------------------------------------
   Afbeeldingen en SVG
   width: 100% + height: fixed + object-fit: contain zorgt dat ook SVGs
   zonder expliciete afmetingen (alleen viewBox) correct worden weergegeven.
----------------------------------------------------------------------- */

.wbfl-swiper .swiper-slide img {
	display: block;
	width: 100%;
	max-width: var(--wbfl-img-width, 100%);
	height: var(--wbfl-img-height, 150px);
	object-fit: contain;
	object-position: center;
}

/* -----------------------------------------------------------------------
   Links
----------------------------------------------------------------------- */

.wbfl-swiper .swiper-slide a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
}

/* -----------------------------------------------------------------------
   Bijschrift (caption)
----------------------------------------------------------------------- */

.wbfl-swiper figcaption {
	margin-top: 8px;
	font-size: 0.85em;
	color: #555;
	text-align: center;
	line-height: 1.4;
}
