
                .custom-gallery-progetti {
                    width: 100%;
                    display: grid;
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                    gap: 10px;
                }

                .custom-gallery-progetti__link {
                    display: block;
                    position: relative;
                    width: 100%;
                    aspect-ratio: 4 / 3;
                    overflow: hidden;
                    background: #f2f2f2;
                    cursor: zoom-in;
                }

                .custom-gallery-progetti__img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                    transition: transform 0.25s ease, filter 0.25s ease;
                }

                .custom-gallery-progetti__link:hover .custom-gallery-progetti__img {
                    transform: scale(1.03);
                    filter: brightness(0.92);
                }

                @supports not (aspect-ratio: 4 / 3) {
                    .custom-gallery-progetti__link::before {
                        content: "";
                        display: block;
                        padding-top: 75%;
                    }

                    .custom-gallery-progetti__img {
                        position: absolute;
                        inset: 0;
                    }
                }

                .cgp-lightbox {
                    position: fixed;
                    inset: 0;
                    z-index: 2147483647!important;
                    display: none;
                    align-items: center;
                    justify-content: center;
                    padding: 32px;
                    background: rgba(0, 0, 0, 0.88);
                }
				
			  .cgp-lightbox__img {
                   position: relative;
                   z-index: 2;
               }

.cgp-lightbox__close,
.cgp-lightbox__prev,
.cgp-lightbox__next {
    z-index: 3;
}	

                .cgp-lightbox.is-visible {
                    display: flex;
                }

                body.cgp-lightbox-open {
                    overflow: hidden;
                }

                .cgp-lightbox__img {
                    display: block;
                    max-width: min(96vw, 1400px);
                    max-height: 90vh;
                    width: auto;
                    height: auto;
                    object-fit: contain;
                    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
                }

                .cgp-lightbox__close,
                .cgp-lightbox__prev,
                .cgp-lightbox__next {
                    position: absolute;
                    border: 0;
                    background: rgba(255, 255, 255, 0.92);
                    color: #111;
                    cursor: pointer;
                    line-height: 1;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: background 0.2s ease, transform 0.2s ease;
                }

                .cgp-lightbox__close:hover,
                .cgp-lightbox__prev:hover,
                .cgp-lightbox__next:hover {
                    background: #fff;
                    transform: scale(1.04);
                }

                .cgp-lightbox__close {
                    top: 20px;
                    right: 20px;
                    width: 30px;
                    height: 30px;
                    border-radius: 999px;
                    font-size: 25px;
                }

                .cgp-lightbox__prev,
                .cgp-lightbox__next {
                    top: 50%;
                    width: 30px;
                    height: 30px;
                    border-radius: 999px;
                    font-size: 25px;
                    transform: translateY(-50%);
                }

                .cgp-lightbox__prev:hover,
                .cgp-lightbox__next:hover {
                    transform: translateY(-50%) scale(1.04);
                }

                .cgp-lightbox__prev {
                    left: 20px;
                }

                .cgp-lightbox__next {
                    right: 20px;
                }

                @media (max-width: 767px) {
                    .cgp-lightbox {
                        padding: 18px;
                    }

                    .cgp-lightbox__close {
                        top: 12px;
                        right: 12px;
                    }

                    .cgp-lightbox__prev {
                        left: 12px;
                    }

                    .cgp-lightbox__next {
                        right: 12px;
                    }
                }
            