@charset "UTF-8";
/**
 * Bootstrap 5.3 – Variabili SCSS di base
 * @see https://getbootstrap.com/docs/5.3/customize/sass/
 */
/* ----------------------------------------------------------
 * SPACING
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * COLOR SYSTEM
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BODY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TYPOGRAPHY
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * LINK
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * BORDER RADIUS
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * ACCORDION
 * ---------------------------------------------------------- */
/* ----------------------------------------------------------
 * TABS
 * ---------------------------------------------------------- */
@media (min-width: 768px) {
  .block__media-gallery .masonry-staggered .col:nth-child(even) {
    transform: translateY(4rem);
  }
}
.block__media-gallery .gallery-item .img-wrapper .gallery-img {
  aspect-ratio: 4/5;
  background-color: #f8f9fa;
  transition: transform 0.4s ease;
}
.block__media-gallery .gallery-item .img-wrapper .zoom-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.block__media-gallery .gallery-item .img-wrapper .single-download-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.8rem;
  border-radius: 50%;
  background-color: #fff;
  margin: 1rem;
  z-index: 2;
}
.block__media-gallery .gallery-item .img-wrapper .single-download-btn:hover {
  background-color: #f8f9fa !important;
  transform: scale(1.05);
}
.block__media-gallery .gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.block__media-gallery .gallery-item:hover .zoom-overlay {
  opacity: 1;
}
.block__media-gallery .gallery-item:hover .single-download-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-lightbox {
  background-color: rgba(0, 0, 0, 0.85);
}
.gallery-lightbox .modal-body img {
  max-height: 90vh;
  width: auto;
  object-fit: contain;
}