.rek-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 20px;
}

.rek-gallery-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.rek-gallery-item[hidden] {
    display: none;
}

.rek-gallery-item > a {
    display: block;
    position: relative;
    color: #ffffff;
    text-decoration: none;
}

.rek-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.rek-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.25;
    opacity: 0;
    transition: opacity 200ms ease;
}

.rek-gallery-item > a:hover figcaption,
.rek-gallery-item > a:focus figcaption {
    opacity: 1;
}

.rek-gallery-more {
    grid-column: 1 / -1;
    justify-self: center;
    min-height: 44px;
    margin-top: 10px;
    padding: 12px 28px;
    border: 0;
    border-radius: 50px;
    background: rgba(238, 238, 238, 1);
    color: rgba(26, 26, 26, 1);
    font-size: 14px;
    cursor: pointer;
}

.rek-gallery-more:hover,
.rek-gallery-more:focus {
    background: rgba(246, 66, 49, 1);
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .rek-gallery-item figcaption {
        transition: none;
    }
}

@media (max-width: 979px) {
    .rek-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rek-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .rek-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

.rek-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 76px 80px 24px;
    border: 0;
    background: rgba(11, 13, 22, 0.92);
    color: #ffffff;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
    animation: rek-lightbox-in 180ms ease-out;
}

.rek-lightbox[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rek-lightbox::backdrop {
    background: transparent;
}

.rek-lightbox [hidden] {
    display: none;
}

@keyframes rek-lightbox-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rek-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: 100%;
    min-height: 120px;
}

.rek-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    max-height: calc(100dvh - 160px);
    object-fit: contain;
    transition: opacity 160ms ease-out;
}

.rek-lightbox.is-loading .rek-lightbox-image,
.rek-lightbox.is-error .rek-lightbox-image {
    opacity: 0;
}

.rek-lightbox-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    box-sizing: border-box;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.rek-lightbox.is-loading .rek-lightbox-spinner {
    opacity: 1;
    transition: opacity 120ms ease-out 200ms;
    animation: rek-lightbox-spin 1400ms linear infinite;
}

@keyframes rek-lightbox-spin {
    to { transform: rotate(360deg); }
}

.rek-lightbox-status {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: -12px 0 0;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.rek-lightbox-caption {
    flex: 0 0 auto;
    max-width: 72ch;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    overflow-wrap: anywhere;
}

.rek-lightbox-counter {
    position: absolute;
    top: 16px;
    left: 16px;
    margin: 0;
    padding: 0 14px;
    min-width: 44px;
    line-height: 44px;
    border-radius: 22px;
    background: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.rek-lightbox-close,
.rek-lightbox-prev,
.rek-lightbox-next {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 120ms ease-out, transform 120ms ease-out;
}

.rek-lightbox-close {
    top: 14px;
    right: 16px;
    font-size: 30px;
}

.rek-lightbox-prev,
.rek-lightbox-next {
    top: 50%;
    margin-top: -24px;
}

.rek-lightbox-prev {
    left: 16px;
}

.rek-lightbox-next {
    right: 16px;
}

.rek-lightbox-close:hover,
.rek-lightbox-prev:hover,
.rek-lightbox-next:hover,
.rek-lightbox-close:focus-visible,
.rek-lightbox-prev:focus-visible,
.rek-lightbox-next:focus-visible {
    background: rgba(0, 0, 0, 0.85);
}

.rek-lightbox-close:focus-visible,
.rek-lightbox-prev:focus-visible,
.rek-lightbox-next:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.rek-lightbox-close:active,
.rek-lightbox-prev:active,
.rek-lightbox-next:active {
    transform: scale(0.94);
}

body.rek-lightbox-open #sp-cookie-consent,
body.rek-lightbox-open jdiv,
body.rek-lightbox-open .bvi-panel,
body.rek-lightbox-open #bvi-panel,
body.rek-lightbox-open #icon,
body.rek-lightbox-open #scrollToTop {
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {
    .rek-lightbox {
        padding: 72px 8px 16px;
    }

    .rek-lightbox-prev {
        left: 8px;
    }

    .rek-lightbox-next {
        right: 8px;
    }

    .rek-lightbox-counter {
        left: 8px;
    }

    .rek-lightbox-close {
        right: 8px;
    }

    .rek-lightbox-caption {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rek-lightbox,
    .rek-lightbox.is-loading .rek-lightbox-spinner {
        animation: none;
    }

    .rek-lightbox-image,
    .rek-lightbox-close,
    .rek-lightbox-prev,
    .rek-lightbox-next {
        transition: none;
    }
}
