/* Websiet Carousel v1.0.0 */

.wsiet-carousel-wrap {
    width: 100%;
    margin: 20px 0;
    position: relative;
}

.wsiet-carousel-swiper {
    width: 100%;
    overflow: hidden;
    padding: 0 50px; /* ruimte voor de pijltjes */
}

.wsiet-carousel-slide {
    height: var(--wsiet-height, 280px);
    width: auto !important; /* breedte volgt uit afbeelding aspect ratio */
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wsiet-carousel-slide img {
    width: auto;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
}



.wsiet-carousel-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Pijltjes */
.wsiet-carousel-prev,
.wsiet-carousel-next {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #1a1a2e;
    transition: all .2s;
    margin-top: -20px;
}

.wsiet-carousel-prev:hover,
.wsiet-carousel-next:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.wsiet-carousel-prev::after,
.wsiet-carousel-next::after {
    font-size: 16px !important;
    font-weight: 700;
}

.wsiet-carousel-prev {
    left: 5px !important;
}

.wsiet-carousel-next {
    right: 5px !important;
}

/* Pagination dots */
.wsiet-carousel-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 16px;
    text-align: center;
}

.wsiet-carousel-pagination .swiper-pagination-bullet {
    background: #999;
    opacity: .5;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
}

.wsiet-carousel-pagination .swiper-pagination-bullet-active {
    background: #1a1a2e;
    opacity: 1;
    transform: scale(1.2);
}

/* Mobile */
@media (max-width: 640px) {
    .wsiet-carousel-swiper {
        padding: 0 35px;
    }
    .wsiet-carousel-prev,
    .wsiet-carousel-next {
        width: 32px;
        height: 32px;
    }
    .wsiet-carousel-prev::after,
    .wsiet-carousel-next::after {
        font-size: 12px !important;
    }
}
