.block-image-grid{

}

.block-image-grid .row{
    --bs-gutter-x: 1px;
    --bs-gutter-y: 1px;
}

.block-image-grid .image{
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 1px;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: block;
}

.block-image-grid__overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, .5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.block-image-grid__overlay svg{
    fill: white;
    width: 2.4rem;
    height: 2.4rem;
}

.block-image-grid .image:hover .block-image-grid__overlay {
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

@media screen and (min-width: 992px) {
    .block-image-grid .image{
        aspect-ratio: initial;
        height: 60vh;
    }
}

@media screen and (min-width: 1200px) {
    .block-image-grid .image{
        height: 60vh;
    }
}
