.rbi-photo-gallery {
    margin-top: 2rem;
}

.rbi-photo-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.rbi-photo-gallery__grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3f5;
}

.rbi-photo-gallery__grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .2s ease;
}

.rbi-photo-gallery__grid a:hover img,
.rbi-photo-gallery__grid a:focus img {
    transform: scale(1.02);
}

.rbi-related-gallery {
    margin-top: 2rem;
}

