.artist-gallery.justified-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 50px;
}

.justified-gallery.is-measuring .artist-gallery-item {
    visibility: hidden;
}

.justified-gallery .artist-gallery-item {
    flex: none;
    margin: 0;
    min-width: 0;
}

.justified-gallery .artist-gallery-item > a,
.justified-gallery .card {
    display: block;
    height: 100%;
}

.justified-gallery .card {
    margin-bottom: 0;
    container-type: inline-size;
}

.justified-gallery .card-title {
    inset: 0;
    width: auto;
    margin: 0;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp( 10px, 12cqw, 18px );
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.justified-gallery .card-img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

@media screen and ( max-width: 520px ) {
    .artist-gallery.justified-gallery {
        gap: 6px;
    }
}
