.progetti-lightbox {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 999999;
}

.progetti-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.progetti-lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: cover;
    animation: zoom .25s ease;
}

.progetti-lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #000;
    font-size: 45px;
    cursor: pointer;
    line-height: 1;
}

@keyframes zoom {
    from {
        transform: scale(.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wp-block-image img {
    cursor: zoom-in;
}