/* Extracted from frontend/gallery/styles.blade.php */
.reference-gallery-page .in-gallery { padding: 0; list-style: none; }
    .reference-gallery-page .in-gal-img { position: relative; overflow: hidden; }
    .reference-gallery-page .gallery-thumbnail { width: 100%; height: 100%; object-fit: cover; }
    .reference-gallery-page .in-gal-img .fa-image { position: absolute; right: 0; bottom: 0; }
    .reference-gallery-page .in-gal-img .vidplay { position: absolute; z-index: 1; }
    .reference-gallery-page .gallery-empty { flex-basis: 100%; max-width: 100%; }
    .reference-gallery-page .pagination {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px;
        float: none;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        padding: 8px;
        list-style: none;
        background: #3931861a;
        border-radius: 24px;
    }
    .reference-gallery-page .pagination .page-item { margin: 0; padding: 0; }
    .reference-gallery-page .pagination .page-item .page-link {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 36px;
        height: 36px;
        margin: 0;
        padding: 0 8px;
        border: 1px solid transparent;
        border-radius: 18px;
        background: transparent;
        color: #383278;
        font-size: 0.95rem;
        text-decoration: none;
    }
    .reference-gallery-page .pagination .page-item a.page-link:hover {
        background: #fff;
    }
    .reference-gallery-page .pagination .page-item a.page-link:focus-visible {
        outline: 2px solid #383278;
        outline-offset: 2px;
    }
    .reference-gallery-page .pagination .page-item.active .page-link,
    .reference-gallery-page .pagination .page-item:first-child:not(.disabled) .page-link,
    .reference-gallery-page .pagination .page-item:last-child:not(.disabled) .page-link {
        background: #383278;
        color: #fff;
    }
    .reference-gallery-page .pagination .page-item.disabled .page-link {
        color: #777;
        background: transparent;
        cursor: default;
    }
    @media (max-width: 425px) {
        .reference-gallery-page .pagination { gap: 2px; padding: 6px; }
        .reference-gallery-page .pagination .page-item .page-link { min-width: 32px; padding: 0 6px; }
    }
