.swiper-container {
    overflow-x: hidden;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.swiper-pagination-bullet-active {
    background: var(--site-mod-slideshow-btn-navigation-active-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--site-mod-slideshow-btn-navigation-color);
}

/* Large images */

.swiper-feature-container .caption {
    position: absolute;
    left: 50px;
    top: 0;
    right: 50px;
    bottom: 0;
    text-align: center;
}

/* Large images with thumbs */

.swiper-thumb-container .thumbs-main .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.swiper-thumb-container .thumbs .swiper-slide-thumb-active::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .8);
    border-radius: 4px;
}

/* ---- */

.mod-slideshow .mod-inner>.body .caption {
    color: var(--bs-white);
}

.mod-slideshow .mod-inner>.body .header {
    color: var(--bs-white);
}

/* ---- */

/* Carousel images with thumbs */

.media-modal .modal-body .swiper-container {
    width: 100%;
    height: 100%;
}

.media-modal .modal-body .swiper-slide {
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.media-modal .swiper-slide img {
    max-height: 100%;
    width: auto;
}