*{
    overscroll-behavior: unset;
    overscroll-behavior-y: unset;
}

.section > section, .fp-overflow, .fp-overflow > section{
    position: relative;
}

html,
body{
    height: auto;
    overflow-y: auto;
}

.section, .section > section{
    justify-content: flex-end;
}

.section-gallery .section-header{
    position: relative;
}

.section-gallery__title{
    position: relative;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.section-gallery__title h2{
    transition: color .2s linear;
}

@media (hover: hover) {
    .section-gallery__title:hover h2{
        color: #c5c5c6;
    }
}

.section-gallery .section-footer{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 10px 15px 0;
}

.section-gallery .section-footer .section-gallery__title-text{
    display: block;
    margin-top: 0;
}

.section.section-random-gallery section{
    padding-top: 51px;
}

.section-gallery section figure{
    height: calc(100dvh - 102px);
}

.section-gallery section{
    justify-content: flex-end;
    height: calc(100dvh - 51px);
}

.section-random-gallery section figure>div{
    width: 33.3333%;
}

.section-random-gallery section figure>div img, .section-random-gallery section figure>div video{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section-random-gallery section figure>div.random-gallery__left img{
    left: unset;
    right: 0;
}

.section-random-gallery section figure>div.random-gallery__center img{
    left: 50%;
    transform: translateX(-50%);
}

.section-gallery__counter,
.section-gallery__counter-text{
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.section-gallery__counter-text .ct-br{
    display: none;
}

.section-banner .banner-rich{
    width: calc(100% - 30px);
    margin: 0 15px 120px;
    text-align: center;
}

.section-banner .banner-rich img,
.section-banner .banner-rich video{
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.section-banner .banner-rich p{
    max-width: 1400px;
    margin: 0 auto 1.2em;
    padding: 0;
    text-transform: uppercase;
    text-decoration: unset;
    font-size: 25.9px;
    font-style: normal;
    font-weight: 600;
    color: #363439;
}

.section-banner .banner-rich p:last-child{
    margin-bottom: 0;
}

.section.section-gallery{
    margin-bottom: 100px;
}

html .section-gallery section figure{
    height: calc(100dvh - 170px);
}

@media only screen and (max-width: 900px) {
    .section-gallery section{
        padding-top: 0;
    }

    .section-gallery section,
    .section.section-gallery,
    .section-gallery section figure{
        height: auto;
        min-height: 0;
    }

    .section-gallery section figure img,
    .section-gallery section figure video{
        height: 100%;
        min-height: 0;
        width: auto;
        flex-shrink: 0;
    }

    .section-gallery__counter-text .ct-slash{
        display: none;
    }

    .section-gallery__counter-text .ct-br{
        display: inline;
    }

    .section-random-gallery{
        margin-bottom: 40px;
    }

    .section-banner .banner-rich{
        margin-bottom: 80px;
    }

    .section-banner{
        margin-bottom: 20px;
    }

    .section-gallery .section-footer{
        padding: 10px 15px 0;
    }
}

@media only screen and (max-width: 600px) {
    .section-banner .banner-rich p{
        font-size: 17.8px;
        margin: 0 auto 20px;
    }

    .section.section-gallery{
        margin-bottom: 70px;
    }

    .section-random-gallery section figure>div *.is-current{
        position: absolute;
    }
}

.section-random-gallery section figure{
    height: 100dvh;
    padding-top: 50px;
}

.section-random-gallery section .section-header, html .section-gallery .section-header{
    position: relative;
}

.section-gallery section{
    height: auto;
}

html .section-gallery.no-subtitle .section-header{
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.section-gallery.no-subtitle .section-header>.section-footer{
    width: fit-content;
}

.section-gallery.no-subtitle .section-header>.section-footer span:empty{
    display: none;
}

.section-info__legal{
    text-align: center;
    margin: 0 0 30px;
}

.section-info__legal a{
    text-transform: uppercase;
    text-decoration: unset;
    font-size: 13px;
    font-weight: 600;
    color: #c5c5c6;
}

.section-info__legal a:hover{
    text-decoration: underline;
}