.image-swiper-block {
    margin: 40px 0;
}

.image-swiper-block .swiper {
    width: 100%;
    position: relative;
}

/* This is the key to showing parts of next/prev slides */
.image-swiper-block .swiper .swiper-slide {
    position: relative;
    width: 80%; /* Makes slides take up 80% of container width */
}

.image-swiper-block .swiper .swiper-slide img {
    max-height: 717px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
}



.image-swiper-block .swiper-button-next,
.image-swiper-block .swiper-button-prev {
    background: #3d9dd979;
    color: white;
    width: 75px;
    height: 75px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-swiper-block .swiper-button-next {
    right: 0;
}
.image-swiper-block .swiper-button-prev {
    left: 0;
}
.image-swiper-block .swiper-button-next:after,
.image-swiper-block .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

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

.image-swiper-block .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: transparent;
    border: 2px solid #00468B;
    opacity: 1;
    margin: 0 5px;
}

.image-swiper-block .swiper-pagination-bullet-active {
    background: #00468B;
}

@media only screen and (max-width: 767px) {
    .image-swiper-block .swiper .swiper-slide {
        width: 90%; /* Slightly larger on mobile */
    }
    
    .image-swiper-block .swiper .swiper-slide img {
        max-height: 350px;
    }
    
    .image-swiper-block .swiper .swiper-slide .caption {
        bottom: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .image-swiper-block .swiper-button-next,
    .image-swiper-block .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
}