.gallery-wrapper .gallery-filter__select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.gallery-wrapper .gallery-filter__pill {
    margin-left: 0;
    margin-top: 0 !important;
    background-color: #eef2f8;
    font-weight: 400;
    color: var(--text-color);
    padding: 20px;
}

.gallery-wrapper .gallery-filter__pill::after {
    display: none;
}

.gallery-wrapper .media-gallery__item-link {
    display: block;
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    border: 0;
}

.gallery-wrapper .media-gallery__item-img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;    
}

.gallery-wrapper .media-gallery__item-title {
    position: absolute;
    bottom: -999px;
    left: 0;
    width: 100%;
    background: #000000b5;
    text-align: center;
    color: #fff;
    font-weight: 300;
    padding: 10px;
}

.gallery-wrapper .media-gallery__item-link:hover .media-gallery__item-title {
    bottom: 0;
}

.gallery-wrapper .media-gallery__item-title p {
    margin: 0;
    font-size: 14px;
}

.gallery-wrapper .gallery-filter__pill.js-active {
    background-color: #d5e2f6;
    font-weight: 600;
}

.gallery-wrapper .gallery-filter__pill.js-active:before {
    content:'\e923';
    color: var(--secondary);
    font-family: 'cabinet-systems-icon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 20px;
}

.fxgallery-loadmore {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.fxgallery-loadmore .fxgallery-loadmore__counter
.fxgallery-loadmore .fxgallery-loadmore__progress {
    display: none;
}