/* custom-lightbox.css */

/* Cursor for linkable images */
.image-is-link img { /* Apply cursor to the image if it's wrapped in a link */
  cursor: pointer; /* Standard pointer for links */
}

/* Cursor for enlargeable images */
.image-is-enlargeable {
  cursor: zoom-in;
}

/* Lightbox Overlay */
.custom-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* Darker overlay */
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000; /* Ensure it's on top */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.custom-lightbox-overlay.active {
  display: flex; /* Use flex to center content */
  opacity: 1;
}

/* Lightbox Image */
.custom-lightbox-image {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 4px; /* Optional: slight rounding */
  transition: transform 0.3s ease-in-out;
}

/* Body class when lightbox is active */
body.lightbox-active {
  overflow: hidden; /* Prevent background scrolling */
}
