:root {
    --swiper-theme-color: currentColor;
    --swiper-navigation-color: currentColor;
    --swiper-navigation-size: 1rem !important;
    --swiper-pagination-color: currentColor;
    --swiper-pagination-bullet-size: 12px;
    --swiper-pagination-bullet-horizontal-gap: 16px;
    --swiper-pagination-bullet-vertical-gap: 6px;
    --swiper-pagination-bullet-inactive-color: currentColor;
    --swiper-pagination-bullet-active-color: currentColor;
    --swiper-scrollbar-drag-size: 4rem;
    --swiper-scrollbar-drag-color: currentColor;
    --swiper-scrollbar-drag-opacity: 0.5;
    --swiper-zoom-icon-color: currentColor;
    --swiper-slide-shadow-scale: 0.94;
    --swiper-slide-shadow-offset: 1rem;
    --swiper-slide-shadow-opacity: 0.5;
    --swiper-navigation-sides-offset: 2rem;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bottom: 0rem;



    --swiper-navigation-size: 20px;
    --swiper-navigation-top-offset: 50%;
    --swiper-navigation-sides-offset: 10px;
    --swiper-navigation-color: var(--swiper-theme-color);

}


:root {
    --swiper-navigation-color: transparent;
}

swiper-container::part(button-prev),
swiper-container::part(button-next) {
    background-color: #fff;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

swiper-container::part(button-prev):before,
swiper-container::part(button-next):after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
}

swiper-container::part(button-prev):before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 64 64" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M23.248,32c-0,0.622 0.282,1.212 0.766,1.603l13.396,10.82c0.364,0.289 0.816,0.447 1.281,0.447c1.131,-0 2.061,-0.931 2.061,-2.061c0,-0.616 -0.276,-1.201 -0.752,-1.592l-11.411,-9.217l11.411,-9.217c0.476,-0.391 0.752,-0.976 0.752,-1.592c0,-1.13 -0.93,-2.061 -2.061,-2.061c-0.465,0 -0.917,0.158 -1.281,0.447l-13.396,10.82c-0.484,0.391 -0.766,0.981 -0.766,1.603Z" style="fill-rule:nonzero;"/></svg>');
}

swiper-container::part(button-next):after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 64 64" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M40.752,32c0,0.622 -0.282,1.212 -0.766,1.603l-13.396,10.82c-0.364,0.289 -0.816,0.447 -1.281,0.447c-1.131,-0 -2.061,-0.931 -2.061,-2.061c-0,-0.616 0.276,-1.201 0.752,-1.592l11.411,-9.217l-11.411,-9.217c-0.476,-0.391 -0.752,-0.976 -0.752,-1.592c-0,-1.13 0.93,-2.061 2.061,-2.061c0.465,0 0.917,0.158 1.281,0.447l13.396,10.82c0.484,0.391 0.766,0.981 0.766,1.603Z" style="fill-rule:nonzero;"/></svg>');
}

swiper-container.marquee {
    --swiper-wrapper-transition-timing-function: linear !important;
}

.swiper {
    padding-bottom: 2rem;
}



.wp-block-gallery.masonry {
    --wp--style--block-gap: 0;
    display: block;
}

.wp-block-gallery.masonry .wp-block-image {
    width: 100% !important;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: var(--wp--style--unstable-gallery-gap) !important;
}

@media screen and (min-width: 1024px) {
    .wp-block-gallery.masonry.columns-2 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-3 {
        column-count: 3;
    }

    .wp-block-gallery.masonry.columns-4 {
        column-count: 4;
    }

    .wp-block-gallery.masonry.columns-5 {
        column-count: 5;
    }

    .wp-block-gallery.masonry.columns-6 {
        column-count: 6;
    }

    .wp-block-gallery.masonry.columns-7 {
        column-count: 7;
    }

    .wp-block-gallery.masonry.columns-8 {
        column-count: 8;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .wp-block-gallery.masonry.columns-2 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-3 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-4 {
        column-count: 3;
    }

    .wp-block-gallery.masonry.columns-5 {
        column-count: 3;
    }

    .wp-block-gallery.masonry.columns-6 {
        column-count: 3;
    }

    .wp-block-gallery.masonry.columns-7 {
        column-count: 4;
    }

    .wp-block-gallery.masonry.columns-8 {
        column-count: 4;
    }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    .wp-block-gallery.masonry.columns-2 {
        column-count: 1;
    }

    .wp-block-gallery.masonry.columns-3 {
        column-count: 1;
    }

    .wp-block-gallery.masonry.columns-4 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-5 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-6 {
        column-count: 2;
    }

    .wp-block-gallery.masonry.columns-7 {
        column-count: 3;
    }

    .wp-block-gallery.masonry.columns-8 {
        column-count: 3;
    }
}

/* lightbox */

a.glightbox {
    position: relative;
    display: block;
    overflow: hidden;
}


a.glightbox:after {
    content: url('data:image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 20 20" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"> <g transform="matrix(0.0390625,0,0,0.0390625,0,-0.000117187)"> <path d="M505.749,475.587L360.149,329.987C388.352,295.15 405.333,250.883 405.333,202.67C405.333,90.926 314.41,0.003 202.666,0.003C90.922,0.003 0,90.925 0,202.669C0,314.413 90.923,405.336 202.667,405.336C250.88,405.336 295.147,388.355 329.984,360.152L475.584,505.752C479.744,509.912 485.205,512.003 490.667,512.003C496.129,512.003 501.59,509.912 505.75,505.752C514.091,497.411 514.091,483.928 505.749,475.587ZM202.667,362.669C114.432,362.669 42.667,290.904 42.667,202.669C42.667,114.434 114.432,42.669 202.667,42.669C290.902,42.669 362.667,114.434 362.667,202.669C362.667,290.904 290.901,362.669 202.667,362.669Z" style="fill: white;fill-rule:nonzero;"/> </g></svg>');
    position: absolute;
    font-weight: bold;
    text-align: center;
    left: 50%;
    top: 50%;
    width: 38px;
    height: 38px;
    padding: 0 10px;
    line-height: 38px;
    margin-top: -16px;
    margin-left: -16px;
    display: block;
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

a.glightbox:hover:before,
a.glightbox:hover:after {
    opacity: 1;
}

a.glightbox img {
    transition: transform 0.3s ease-in-out;
}

a.glightbox:hover img {
    transform: scale(1.15);
}


.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background: transparent !important;
}

[class^="gallery-ratio-"] img {
    object-fit: cover;
}


.gallery-ratio-1 img {
    aspect-ratio: 1 / 1;
}

.gallery-ratio-4-3 img {
    aspect-ratio: 4 / 3;
}

.gallery-ratio-3-4 img {
    aspect-ratio: 3 / 4;
}

.gallery-ratio-3-2 img {
    aspect-ratio: 3 / 2;
}

.gallery-ratio-2-3 img {
    aspect-ratio: 2 / 3;
}

.gallery-ratio-16-9 img {
    aspect-ratio: 16 / 9;
}

.gallery-ratio-9-16 img {
    aspect-ratio: 9 / 16;
}