﻿.yf-static-page {
    min-height: 60vh;
    padding: 16px 0 48px;
    background: #fafafa;
}

.yf-static-page__breadcrumb {
    box-sizing: border-box;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 38px;
    padding: 0 24px;
    color: #536071;
    font-size: 14px;
}

.yf-static-page__breadcrumb a {
    color: #536071;
    text-decoration: none;
}

.yf-static-page__breadcrumb span {
    margin-left: 8px;
}

.yf-static-gallery {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 50px 0 58px;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 34px rgba(15, 23, 42, .08);
    outline: none;
}

.yf-static-gallery__header {
    margin-bottom: 34px;
    text-align: center;
}

.yf-static-gallery__header h1 {
    margin: 0 0 10px;
    color: #151515;
    font-size: 38px;
    line-height: 1.35;
}

.yf-static-gallery__header p {
    margin: 0;
    color: #536071;
    font-size: 14px;
}

.yf-static-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(420px, 52vw, 820px);
    overflow: hidden;
    background: #fff;
}

.yf-static-gallery__stage .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yf-static-gallery__stage .swiper-slide > img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.yf-static-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 44px;
    margin-top: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: rgba(80, 80, 80, .48);
    background-image: none;
    color: #fff;
    cursor: pointer;
    font: 32px/1 Arial, sans-serif;
}

.yf-static-gallery__arrow::after {
    display: block;
    padding-bottom: 5px;
    font: 32px/1 Arial, sans-serif;
}

.yf-static-gallery__arrow--previous::after {
    content: "‹";
}

.yf-static-gallery__arrow--next::after {
    content: "›";
}

.yf-static-gallery__arrow span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 5px;
    box-sizing: border-box;
    line-height: 1;
}

.yf-static-gallery__arrow.swiper-button-disabled {
    opacity: .25;
    cursor: default;
    pointer-events: none;
}

.yf-static-gallery__arrow:hover,
.yf-static-gallery__arrow:focus {
    background: rgba(40, 40, 40, .7);
}

.yf-static-gallery__arrow--previous {
    left: 8px;
}

.yf-static-gallery__arrow--next {
    right: 8px;
}

.yf-static-gallery__thumbnails {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 16px auto 0;
    padding-bottom: 2px;
}

.yf-static-gallery__thumbnails .swiper-slide {
    height: 92px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #fff;
    cursor: pointer;
    appearance: none;
}

.yf-static-gallery__thumbnails .swiper-slide-thumb-active {
    border: 1px solid #168cff;
}

.yf-static-gallery__thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .yf-static-page {
        padding: 12px 0 32px;
    }

    .yf-static-page__breadcrumb {
        margin-bottom: 18px;
        padding: 0 16px;
    }

    .yf-static-gallery {
        padding: 28px 0 24px;
    }

    .yf-static-gallery__header {
        margin-bottom: 22px;
    }

    .yf-static-gallery__header h1 {
        font-size: 28px;
    }

    .yf-static-gallery__stage {
        height: 58vw;
        min-height: 240px;
        max-height: 400px;
    }

    .yf-static-gallery__thumbnails .swiper-slide {
        height: 76px;
    }

}
