.vh-image-grid-block {
    width: 100%;
    margin: 0 auto;
}

.vh-image-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vh-image-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vh-image-grid-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.vh-image-grid-item img {
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 960px) {
    .vh-image-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vh-image-grid-row {
        grid-template-columns: 1fr;
    }
} 