.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}

.img {
    position: relative;
    overflow: hidden;
}

.img img {
    width: 100%;
    transition: .3s;
    scale: 1.04;
}

.ov {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: #fff
}

.card:hover .ov {
    opacity: 1
}

.card:hover img {
    transform: scale(1.05);
}

.title {
    padding: 16px;
    color: #0c5345;
    font-family: "Playfair Display", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

#lightbox {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.lightboxOverlay {
    opacity: 87% !important;
}

body.overflow-hidden {
  overflow: hidden;
}

@media(max-width:992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
         gap: 20px;
    }
}

@media(max-width:480px) {
    .grid {
        grid-template-columns: 1fr;
    }
}