.sitsel-filterable-gallery-wrapper {
    --sitsel-gallery-columns: 3;
    --sitsel-gallery-gap: 15px;
    --sitsel-filter-gap: 10px;
    --sitsel-filter-button-bg: #f5f5f5;
    --sitsel-filter-button-color: #333333;
    --sitsel-filter-button-active-bg: #000000;
    --sitsel-filter-button-active-color: #ffffff;
    --sitsel-gallery-overlay: rgba(0, 0, 0, 0.5);
    --sitsel-lightbox-backdrop: rgba(0, 0, 0, 0.9);
    --sitsel-lightbox-image-max-width: 90%;
    --sitsel-lightbox-image-max-height: 85vh;
    --sitsel-lightbox-arrow-color: #ffffff;
    --sitsel-lightbox-arrow-size: 30px;
    --sitsel-lightbox-close-color: #ffffff;
    --sitsel-lightbox-close-size: 24px;
    --sitsel-lightbox-thumb-width: 64px;
    --sitsel-lightbox-thumb-height: 64px;
    --sitsel-lightbox-header-control-size: 38px;
    --sitsel-lightbox-header-gap: 10px;
    --sitsel-lightbox-nav-size: 50px;
    --sitsel-lightbox-action-icon-size: 20px;
    position: relative;
}

.elementor-element.sitsel-filterable-gallery-host.elementor-invisible,
.elementor-element.sitsel-filterable-gallery-host .elementor-invisible,
.sitsel-filterable-gallery-wrapper.elementor-invisible,
.sitsel-filterable-gallery-wrapper .elementor-invisible {
    visibility: visible !important;
}

body:not(.sitsel-gallery-page-ready):not(.elementor-editor-active) .sitsel-filterable-gallery-wrapper {
    opacity: 0;
    visibility: hidden;
}

body.sitsel-gallery-page-ready .sitsel-filterable-gallery-wrapper {
    opacity: 1;
    visibility: visible;
}

.sitsel-filterable-gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sitsel-filter-gap);
    margin-bottom: 24px;
    min-width: 0;
}

.sitsel-filterable-gallery-filter {
    flex: 0 0 auto;
    border: 0;
    background: var(--sitsel-filter-button-bg);
    color: var(--sitsel-filter-button-color);
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.sitsel-filterable-gallery-filter:hover,
.sitsel-filterable-gallery-filter:focus-visible {
    transform: translateY(-1px);
}

.sitsel-filterable-gallery-filter.is-active {
    background: var(--sitsel-filter-button-active-bg);
    color: var(--sitsel-filter-button-active-color);
}

.sitsel-filterable-gallery-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.sitsel-filterable-gallery-stage {
    position: relative;
}

.sitsel-filterable-gallery-wrapper.is-loading .sitsel-filterable-gallery-stage::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    margin-top: -17px;
    border: 3px solid rgba(148, 163, 184, 0.35);
    border-top-color: var(--sitsel-filter-button-active-bg);
    border-radius: 50%;
    animation: sitselGallerySpin 0.75s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.sitsel-filterable-gallery-items {
    width: 100%;
    transition: opacity 0.2s ease;
}

.sitsel-filterable-gallery-wrapper.is-loading .sitsel-filterable-gallery-items {
    opacity: 0.35;
}

.sitsel-layout-grid .sitsel-filterable-gallery-items {
    display: grid;
    grid-template-columns: repeat(var(--sitsel-gallery-columns), minmax(0, 1fr));
    gap: var(--sitsel-gallery-gap);
}

.sitsel-layout-masonry .sitsel-filterable-gallery-items {
    column-count: var(--sitsel-gallery-columns);
    column-gap: var(--sitsel-gallery-gap);
    column-fill: balance;
}

.sitsel-filterable-gallery-item {
    position: relative;
}

.sitsel-layout-grid .sitsel-filterable-gallery-item {
    height: 100%;
}

.sitsel-layout-masonry .sitsel-filterable-gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: var(--sitsel-gallery-gap);
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.sitsel-filterable-gallery-card {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.sitsel-filterable-gallery-action {
    display: block;
    position: relative;
    width: 100%;
    border: 0;
    padding: 0 !important;
    background: transparent;
    color: inherit;
    text-decoration: none;
    text-align: inherit;
    cursor: pointer;
}
.sitsel-filterable-gallery-action:hover,
.sitsel-filterable-gallery-action:focus,
.sitsel-filterable-gallery-action:focus-visible {
    background: transparent !important;
}

.sitsel-filterable-gallery-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.45s ease;
}

.sitsel-filterable-gallery-card:hover .sitsel-filterable-gallery-image,
.sitsel-filterable-gallery-card:focus-within .sitsel-filterable-gallery-image {
    transform: scale(1.04);
}

.sitsel-filterable-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    padding: 22px;
    background: var(--sitsel-gallery-overlay);
    transition: opacity 0.25s ease;
    overflow-y: auto;
}

.sitsel-filterable-gallery-overlay-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitsel-overlay-hover .sitsel-filterable-gallery-overlay {
    opacity: 0;
}

.sitsel-overlay-hover .sitsel-filterable-gallery-card:hover .sitsel-filterable-gallery-overlay,
.sitsel-overlay-hover .sitsel-filterable-gallery-card:focus-within .sitsel-filterable-gallery-overlay {
    opacity: 1;
}

.sitsel-overlay-always .sitsel-filterable-gallery-overlay {
    opacity: 1;
}

.sitsel-overlay-none .sitsel-filterable-gallery-overlay {
    opacity: 0;
    visibility: hidden;
}

.sitsel-filterable-gallery-title,
.sitsel-filterable-gallery-description {
    margin: 0;
    font-size: 20px;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.sitsel-filterable-gallery-empty {
    display: none;
    padding: 22px;
    text-align: center;
    border: 1px dashed rgba(148, 163, 184, 0.5);
}

.sitsel-filterable-gallery-empty.is-visible {
    display: block;
}

.sitsel-filterable-gallery-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}

.sitsel-filterable-gallery-pagination:empty {
    display: none;
}

.sitsel-filterable-gallery-load-more,
.sitsel-filterable-gallery-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    background: #111827;
    color: #ffffff;
    padding: 10px 18px;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.sitsel-filterable-gallery-load-more {
    position: relative;
    white-space: nowrap;
}

.sitsel-filterable-gallery-button-label {
    display: inline-flex;
    align-items: center;
}

.sitsel-filterable-gallery-button-loader {
    display: none;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: sitselGallerySpin 0.75s linear infinite;
    flex: none;
}

.sitsel-filterable-gallery-load-more.is-loading {
    cursor: progress;
}

.sitsel-filterable-gallery-load-more.is-loading .sitsel-filterable-gallery-button-label {
    visibility: hidden;
}

.sitsel-filterable-gallery-load-more.is-loading .sitsel-filterable-gallery-button-loader {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sitsel-filterable-gallery-load-more:hover,
.sitsel-filterable-gallery-page-btn:hover,
.sitsel-filterable-gallery-load-more:focus-visible,
.sitsel-filterable-gallery-page-btn:focus-visible {
    transform: translateY(-1px);
}

.sitsel-filterable-gallery-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.sitsel-filterable-gallery-page-btn.is-active {
    background: #2563eb;
}

.sitsel-filterable-gallery-page-btn.is-disabled,
.sitsel-filterable-gallery-page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.sitsel-filterable-gallery-wrapper.is-loading .sitsel-filterable-gallery-page-btn,
.sitsel-filterable-gallery-wrapper.is-loading .sitsel-filterable-gallery-load-more {
    cursor: progress;
}

.sitsel-motion-fade .sitsel-filterable-gallery-item.is-entering {
    animation: sitselGalleryFade var(--sitsel-animation-speed, 400ms) ease both;
    animation-delay: var(--sitsel-animation-delay, 0ms);
}

.sitsel-motion-zoom-in .sitsel-filterable-gallery-item.is-entering {
    animation: sitselGalleryZoom var(--sitsel-animation-speed, 400ms) ease both;
    animation-delay: var(--sitsel-animation-delay, 0ms);
}

.sitsel-motion-slide-up .sitsel-filterable-gallery-item.is-entering {
    animation: sitselGallerySlide var(--sitsel-animation-speed, 400ms) ease both;
    animation-delay: var(--sitsel-animation-delay, 0ms);
}

.sitsel-motion-slide-down .sitsel-filterable-gallery-item.is-entering {
    animation: sitselGallerySlideDown var(--sitsel-animation-speed, 400ms) ease both;
    animation-delay: var(--sitsel-animation-delay, 0ms);
}

.sitsel-filterable-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.sitsel-filterable-gallery-lightbox.is-open {
    display: flex;
}

body.sitsel-filterable-gallery-lock {
    overflow: hidden;
}

.sitsel-filterable-gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: var(--sitsel-lightbox-backdrop);
}

.sitsel-filterable-gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100vw - 40px));
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.sitsel-filterable-gallery-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    gap: var(--sitsel-lightbox-header-gap);
}

.sitsel-filterable-gallery-lightbox-header.is-title-hidden {
    justify-content: flex-end;
}

.sitsel-filterable-gallery-lightbox-caption-title {
    flex: 1;
    font-size: 1.25em;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sitsel-filterable-gallery-lightbox-caption-title[title],
.sitsel-filterable-gallery-lightbox-caption-title-footer[title] {
    cursor: help;
}

.sitsel-filterable-gallery-lightbox-caption-title.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-actions {
    display: flex;
    align-items: center;
    gap: var(--sitsel-lightbox-header-gap);
    flex-shrink: 0;
    min-width: 0;
}

.sitsel-filterable-gallery-lightbox-actions button,
.sitsel-filterable-gallery-lightbox-post-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--sitsel-lightbox-header-control-size);
    height: var(--sitsel-lightbox-header-control-size);
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    cursor: pointer;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
    text-decoration: none;
}

.sitsel-filterable-gallery-lightbox-actions button:hover:not(:disabled),
.sitsel-filterable-gallery-lightbox-post-link:hover,
.sitsel-filterable-gallery-lightbox-post-link:focus-visible,
.sitsel-filterable-gallery-lightbox-actions button:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.sitsel-filterable-gallery-lightbox-actions button:active:not(:disabled) {
    transform: translateY(0);
}

.sitsel-filterable-gallery-lightbox-actions button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.sitsel-filterable-gallery-lightbox-actions button svg,
.sitsel-filterable-gallery-lightbox-post-link svg {
    width: var(--sitsel-lightbox-action-icon-size);
    height: var(--sitsel-lightbox-action-icon-size);
    display: block;
    flex: none;
}

.sitsel-filterable-gallery-lightbox-nav svg,
.sitsel-filterable-gallery-lightbox-thumbnails-nav svg,
.sitsel-filterable-gallery-lightbox-close svg {
    width: 1em;
    height: 1em;
    display: block;
    flex: none;
}

.sitsel-filterable-gallery-lightbox-post-link {
    width: auto;
    min-width: var(--sitsel-lightbox-header-control-size);
    gap: 8px;
    padding: 0 14px !important;
    white-space: nowrap;
    font-weight: 600;
}

.sitsel-filterable-gallery-lightbox-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--sitsel-lightbox-header-control-size);
    min-height: var(--sitsel-lightbox-header-control-size);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    box-sizing: border-box;
}

.sitsel-filterable-gallery-lightbox-close {
    width: var(--sitsel-lightbox-header-control-size);
    height: var(--sitsel-lightbox-header-control-size);
    color: var(--sitsel-lightbox-close-color);
    font-size: var(--sitsel-lightbox-close-size);
    line-height: 1;
}

.sitsel-filterable-gallery-lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 60px 20px;
}

.sitsel-filterable-gallery-lightbox-content.is-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    margin-top: -18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sitselGallerySpin 0.75s linear infinite;
}

.sitsel-filterable-gallery-lightbox-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

.sitsel-filterable-gallery-lightbox-image-wrapper.is-zoomed {
    cursor: move;
    overflow: auto;
}

.sitsel-filterable-gallery-lightbox-image {
    display: block;
    width: auto;
    max-width: min(100%, var(--sitsel-lightbox-image-max-width));
    max-height: min(100%, var(--sitsel-lightbox-image-max-height));
    margin: 0 auto;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.sitsel-filterable-gallery-lightbox-footer {
    width: 100%;
    padding-top: 16px;
    flex-shrink: 0;
}

.sitsel-filterable-gallery-lightbox-caption-title-footer {
    margin: 0 0 8px;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    color: #ffffff;
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.sitsel-filterable-gallery-lightbox-caption-title-footer.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-caption-description {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
    line-height: 1.5;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sitsel-filterable-gallery-lightbox-caption-description.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-thumbnails-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 760px);
    margin: 16px auto 0;
}

.sitsel-filterable-gallery-lightbox-thumbnails-wrap.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-thumbnails-wrap:not(.has-overflow) {
    justify-content: center;
}

.sitsel-filterable-gallery-lightbox-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: hidden;
    padding: 4px 2px;
    flex: 1 1 auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-padding-inline: 10px;
}

.sitsel-filterable-gallery-lightbox-thumbnails-wrap:not(.has-overflow) .sitsel-filterable-gallery-lightbox-thumbnails {
    justify-content: center;
    flex: 0 1 auto;
}

.sitsel-filterable-gallery-lightbox-thumbnails.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-thumbnails::-webkit-scrollbar {
    display: none;
}

.sitsel-filterable-gallery-lightbox-thumb {
    border: 0;
    padding: 0 !important;
    background: transparent;
    opacity: 0.65;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex: 0 0 auto;
}

.sitsel-filterable-gallery-lightbox-thumb img {
    width: var(--sitsel-lightbox-thumb-width);
    height: var(--sitsel-lightbox-thumb-height);
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.sitsel-filterable-gallery-lightbox-thumb:hover,
.sitsel-filterable-gallery-lightbox-thumb:focus-visible {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    background: none !important;
}

.sitsel-filterable-gallery-lightbox-thumb.is-active {
    opacity: 1;
}

.sitsel-filterable-gallery-lightbox-thumbnails-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.sitsel-filterable-gallery-lightbox-thumbnails-nav:hover:not(:disabled),
.sitsel-filterable-gallery-lightbox-thumbnails-nav:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.sitsel-filterable-gallery-lightbox-thumbnails-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.sitsel-filterable-gallery-lightbox-thumbnails-nav:disabled:hover {
background: none !important;
}
.sitsel-filterable-gallery-lightbox-thumbnails-nav.is-hidden {
    display: none;
}

.sitsel-filterable-gallery-lightbox-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--sitsel-lightbox-nav-size);
    height: var(--sitsel-lightbox-nav-size);
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--sitsel-lightbox-arrow-color);
    cursor: pointer;
    font-size: var(--sitsel-lightbox-arrow-size);
    line-height: 1;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.sitsel-filterable-gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.sitsel-filterable-gallery-lightbox-nav.is-prev {
    left: 20px;
}

.sitsel-filterable-gallery-lightbox-nav.is-next {
    right: 20px;
}

.sitsel-filterable-gallery-lightbox-nav.is-hidden,
.sitsel-filterable-gallery-lightbox-counter.is-hidden {
    display: none;
}

.elementor-control.sitsel-is-synced-control input[type="number"][readonly] {
    opacity: 0.7;
    cursor: not-allowed;
}

@keyframes sitselGalleryFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes sitselGalleryZoom {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes sitselGallerySlide {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sitselGallerySlideDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sitselGallerySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .sitsel-filterable-gallery-toolbar {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 2px;
        padding-inline: 2px;
        padding-bottom: 4px;
        margin-bottom: 18px;
        scrollbar-width: none;
    }

    .sitsel-filterable-gallery-toolbar::-webkit-scrollbar {
        display: none;
    }

    .sitsel-filterable-gallery-filter {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .sitsel-filterable-gallery-overlay {
        padding: 16px;
    }

    .sitsel-filterable-gallery-lightbox-dialog {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
    }

    .sitsel-filterable-gallery-lightbox-header {
        padding: 12px 14px;
        flex-wrap: wrap;
    }

    .sitsel-filterable-gallery-lightbox-caption-title {
        font-size: 1.1em;
        width: 100%;
        order: -1;
        margin-bottom: 8px;
    }

    .sitsel-filterable-gallery-lightbox-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .sitsel-filterable-gallery-lightbox-actions button,
    .sitsel-filterable-gallery-lightbox-post-link,
    .sitsel-filterable-gallery-lightbox-counter {
        min-height: 36px;
    }

    .sitsel-filterable-gallery-lightbox-actions button,
    .sitsel-filterable-gallery-lightbox-counter {
        width: 36px;
        height: 36px;
    }

    .sitsel-filterable-gallery-lightbox-post-link {
        width: auto;
        padding: 0 12px;
        font-size: 0.85em;
    }

    .sitsel-filterable-gallery-lightbox-content {
        padding: 64px 8px 14px;
    }

    .sitsel-filterable-gallery-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .sitsel-filterable-gallery-lightbox-nav.is-prev {
        left: 8px;
    }

    .sitsel-filterable-gallery-lightbox-nav.is-next {
        right: 8px;
    }

    .sitsel-filterable-gallery-lightbox-thumbnails-wrap {
        gap: 6px;
        width: 100%;
    }

    .sitsel-filterable-gallery-lightbox-thumbnails-nav {
        width: 30px;
        height: 30px;
    }

    .sitsel-filterable-gallery-lightbox-thumb img {
        width: min(var(--sitsel-lightbox-thumb-width), 52px);
        height: min(var(--sitsel-lightbox-thumb-height), 52px);
    }

    .sitsel-filterable-gallery-lightbox-caption-description {
        font-size: 0.9em;
    }

    .sitsel-filterable-gallery-lightbox-post-link-label {
        display: inline-block;
        max-width: 88px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
