.swiper.my-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--bg-sub-color);
}
.swiper-wrapper.my-swiper-wrapper {
    width: 100%;
    height: 100%;
}
.swiper-slide.my-swiper-slide {
    width: 100%;
    height: 100%;
    background-color: var(--bg-sub-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.swiper-slide.my-swiper-slide img {
    width: 60%;        /* ширина адаптируется под контейнер */
    height: auto;       /* высота считается автоматически с сохранением пропорций */
    max-height: 80%;  /* ограничение по максимальной высоте */
    object-fit: contain;
}
.swiper-slide.my-swiper-slide video {
    max-height: 100%;
    max-width: 70%;
    width: auto;
    height: auto;
    background-color: var(--bg-sub-color);
}
.swiper-slide-no-photo {
    width: 150px;
}
.my-swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background-color: var(--text-sub-color);
}
.my-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--text-color);
}
.swiper-button-next.my-swiper-button-next {
    right: 10px;
}
.swiper-button-next.my-swiper-button-next svg, 
.swiper-button-prev.my-swiper-button-prev svg{
    width: 15px;
}
.swiper-button-next.my-swiper-button-next path, 
.swiper-button-prev.my-swiper-button-prev path{
    fill: var(--text-sub-color);
    opacity: 0.5;
}
.swiper-button-next.my-swiper-button-next:hover path, 
.swiper-button-prev.my-swiper-button-prev:hover path  {
    fill: var(--text-color);
    opacity: 1;
}

/* --- Video --- */
.play-pause-btn {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    background-color: #ffffff4e;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-pause-btn img {
    width: 35px;
    background-color: transparent;
    z-index: 5;
}
.play-pause-btn:hover {
    opacity: 1;
}
.my-swiper-slide:hover .play-pause-btn,
.my-swiper-slide:hover  .mute-btn {
    opacity: 1;
    transition: opacity 0.3s;
}
.controls:hover  .mute-btn,
.controls:hover  .play-pause-btn{
    opacity: 1;
}
.mute-btn {
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    background-color: transparent;
    margin-top: 60px;
}
.my-swiper .my-swiper-slide .mute-btn img {
    width:30px;
    background-color: transparent;
}