:root {
    --repeater-gap: calc(0.625rem + ((1vw - 3.75px) * 7.6336));
}
.layout-gallery_repeater .row-wrapper {
    padding-top: 25px;
    column-gap: var(--repeater-gap);
}
.layout-gallery_repeater .row-wrapper:not(:first-child) {
    padding-top: 0;
    border-color: transparent;
}
.layout-gallery_repeater .row-wrapper > * {
    width: calc(50% - var(--repeater-gap));
    flex-shrink: 1;
    /* flex: 1 1 0; */
}
@media (min-width: 744px) {
    :root {
        --repeater-gap: calc(2.5rem + ((1vw - 7.68px) * 5.814));
    }
    .layout-gallery_repeater .img-wrapper {
        width: calc(33.33333% - (var(--repeater-gap) * 2 / 3));
    }
}
@media (min-width: 1200px) {
    .layout-gallery_repeater .row-wrapper {
        border-color: var(--color-black);
    }
    .layout-gallery_repeater .img-wrapper {
        width: calc(25% - (var(--repeater-gap) * 3 / 4));
    }
}
@media (min-width: 1800px) {
    :root {
        --repeater-gap: 100px;
    }
}
.layout-gallery_repeater .img-container img {
    transition: transform 0.3s ease-out;
}
.layout-gallery_repeater .img-container img:hover {
    transform: scale(1.05);
}
.pswp__custom-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: var(--color-black);
}
.pswp__bg {
    background: var(--color-white);
}
/* .pswp--open .pswp__bg {
    opacity: 1 !important;
} */
.pswp__item {
    display: block;
    z-index: 1;
    overflow: hidden;
    /* padding: 50px 90px 90px; */
}
.pswp__item, .pswp__item * {
    background: transparent!important;
}
.pswp__counter, .pswp__icn {
    display: none!important;
}
.pswp img {
    cursor: default;
    /* opacity: 0;
    border-radius: 10px; */
    padding: 0 10px 0px;
    object-fit: contain;
    transition: opacity 0.3s ease-out, border-radius 0.3s ease-out;
}
.pswp__img.fade-in {
    opacity: 1;
}
.pswp__button--close {
    width: 30px;
    height: 30px;
    margin: 20px;
    will-change: transform;
}
.pswp__button--close svg * {
    transition: fill 0.3s ease-out, transform 0.3s ease-out;
}
.pswp__button--close:hover svg * {
    fill: var(--color-blue)!important;
    transform: scale(0.8);
}
img.pswp__img.pswp__img--placeholder {
    visibility: hidden;
    display: none!important;
}
body:has(.popup_gallery) .pswp img {
    max-width: 1800px;
    max-height: 1010px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
body:has(.popup_gallery.gallery-wrapper) .pswp img {
    max-width: unset;
    max-height: unset;
    object-fit: contain;
}
@media(min-width: 576px) {
    .pswp__custom-caption {
        bottom: 3px;
    }
}
@media(min-width: 744px) {
    .pswp__custom-caption {
        bottom: 15px;
    }
    .pswp__button--close {
        width: 42px;
        height: 42px;
        margin: 20px;
        top: 0;
        right: 0;
    }
    .pswp img {
        padding: 0 40px 0px;
    }
}
@media(min-width: 1200px) {
    .pswp__custom-caption {
        bottom: 25px;
    }
}
/* CURSOR */
#cursor {
    position: absolute;
    will-change: transform;
    pointer-events: none;
    z-index: 9999999;
    /* width: 6rem;
    height: 6rem; */
    opacity: 0;
    -webkit-transition: opacity 0.5s cubic-bezier(0.6, 1.46, 0.53, 0.92);
    -o-transition: opacity 0.5s cubic-bezier(0.6, 1.46, 0.53, 0.92);
    transition: opacity 0.5s cubic-bezier(0.6, 1.46, 0.53, 0.92);
    -webkit-transform: translate(-100%);
        -ms-transform: translate(-100%);
            transform: translate(-100%);
}
@media(min-width: 1200px) {
    #cursor .btn-arrow {
        position: absolute;
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.44 12.13'%3E%3Cpath d='M6.59,.22c-.29-.29-.77-.29-1.06,0s-.29,.77,0,1.06l4.04,4.03H.75c-.41,0-.75,.34-.75,.75,0,.21,.08,.39,.22,.53,.14,.14,.32,.22,.53,.22H9.57l-4.03,4.03c-.29,.29-.29,.77,0,1.06s.77,.29,1.06,0l5.84-5.84L6.59,.22Z' style='fill:%23ffffff;'/%3E%3C/svg%3E") no-repeat center / 14px;
        border-radius: 50%;
        padding: 0;
        transform: translate(-70%, -70%);
    }
    #cursor.left .btn-arrow {
        transform: translate(-70%, -70%) rotate(180deg);
    }
}
#cursor.hide {
    opacity: 0!important;
}
#cursor .cursor-container {
    -webkit-transform: translate(-70%, -70%);
        -ms-transform: translate(-70%, -70%);
            transform: translate(-70%, -70%);
}
#cursor .close, #cursor.close .arrow {
    display: none;
}
#cursor.close .close {
    display: block;
}