.gallery-heading {
    color: #183b5b;
    font-weight: 700;
}

.gallery-subtitle {
    color: #777;
}

.facebook-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f2f2;
    cursor: pointer;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .facebook-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .facebook-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}
