.gallery__section{
    margin-top: 60px;
}

.gallery__title{
    font-size: calc(2.625rem + 10 * (100vw - 20rem)/ 1120);
}

.gallery {
    max-width: 100%;
    margin-top:20px;
}

.swiper {
    width: 100%;
}

.swiper-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.swiper-main img,
.swiper-main iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
    background: #000;
}

.swiper-thumbs {
    height: 100px;
}

.swiper-thumbs img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
}

.swiper-slide-thumb-active {
    outline: 2px solid #2797d5;
}


.swiper-main .swiper-slide {
    position: relative;
    overflow: hidden;
}


.video-preview-wrapper, .video-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}


.video-preview-wrapper img,
.video-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.video-preview-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.swiper-thumbs .swiper-slide.video-thumb {
    position: relative;
}

.swiper-thumbs .swiper-slide.video-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.swiper-thumbs .swiper-slide.video-thumb svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    fill: #fff;
    pointer-events: none;
}
.fancybox__content{
    min-height: 480px;
}
