.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}
.lightbox-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  padding: 0px 20px;
  max-width: 748px;
}
.lightbox-nav {
  aspect-ratio: 1;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  background: #0b062b;
  border: 1px solid #ffffff;
  border-radius: 84px;
  color: #fff;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 9px 11px;
}

.lightbox-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.image-info {
  text-align: center;
  margin-top: 20px;
  color: #666;
}

.didascalia {
  padding: 16px;
  color: #fff;
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  color: #fff9f9;
}
