
/* Carousel Container */
.js-simple-post-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding:var(--size--12) 0;
}

/* Swiper Container */
.simple-post-carousel-swiper {
    width: 100%;
    overflow: hidden;
}

/* Swiper Wrapper */
.simple-post-carousel-swiper .swiper-wrapper {
    display: flex;
}

/* Slides */
.simple-post-carousel-swiper .swiper-slide {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.simple-post-carousel-swiper .swiper-slide .slide-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.simple-post-carousel-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom:0;
}

/* Image Wrapper */
.simple-post-carousel-swiper .image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-post-carousel-swiper .image-wrapper img {
    width: 100%;
    height: auto;
    margin-bottom: 0 !important;
}

/* Slide Caption */
.simple-post-carousel-swiper .slide-caption {
    width: 100%;
    padding: 16px;
    text-align: center;

    line-height: 1.5;
    color: var(--color-dark);
    /* background-color: #f9f9f9; */
}

/* Navigation Buttons */
.simple-post-carousel-swiper .simple-post-carousel-prev,
.simple-post-carousel-swiper .simple-post-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    background-color: var(--color-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: #fff;
    font-size: 20px;
    border: none;
    padding: 0;
}

.simple-post-carousel-swiper .simple-post-carousel-prev:hover,
.simple-post-carousel-swiper .simple-post-carousel-next:hover {
    background-color: var(--color-23);
}

.simple-post-carousel-swiper .simple-post-carousel-prev {
    left: 16px;
}

.simple-post-carousel-swiper .simple-post-carousel-next {
    right: 16px;
}

/* Mobile: Bottom right layout */
@media (max-width: 767px) {
    .simple-post-carousel-swiper {
        padding-bottom: 60px;
    }

    .simple-post-carousel-swiper .simple-post-carousel-prev,
    .simple-post-carousel-swiper .simple-post-carousel-next {
        top: auto;
        bottom: 8px;
        transform: none;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .simple-post-carousel-swiper .simple-post-carousel-prev {
        left: auto;
        right: 52px;
    }

    .simple-post-carousel-swiper .simple-post-carousel-next {
        right: 8px;
    }
}

/* Pagination */
.js-simple-post-carousel .swiper-pagination {
    position: relative;
    display:none;
}

.js-simple-post-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border:1px solid var(--color-dark);
    background-color:transparent;
    opacity:1;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.js-simple-post-carousel .swiper-pagination-bullet-active {
    background-color:var(--color-dark);

}