body {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    padding: 20px;
    box-sizing: border-box;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}
.gallery-item {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
        z-index 0s;
    flex-basis: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    box-sizing: border-box;
    position: relative;
}

@media (max-width: 900px) {
    .gallery-item {
        flex-basis: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .gallery-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}
.gallery-link {
    display: block;
    height: 100%;
    text-decoration: none;
}
.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.basicLightbox__placeholder {
    background-color: rgba(46, 47, 66, 0.8);
}
.basicLightbox__placeholder img {
    max-width: 1728px;
    max-height: 972px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
