/* GALERIA */
.showcase img {
  display: block;
  width: 100%;
  /*height: auto;*/
  cursor: zoom-in;
  border: 1px solid light-dark(#0000001f, #ffffff45);
}

/* FUNDO DO LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgb(0, 0, 0);
  justify-content: center;
  align-items: center;
  /*padding: 40px 20px;*/
}

/* LIGHTBOX VISÍVEL */
.lightbox.active {
  display: flex;
}

/* CONTEÚDO */
.lightbox-content {
  text-align: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-content p {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
}

/* BOTÃO FECHAR */
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}
/* ICONS */
.lightbox-nav {
  position: absolute;
  /*top: 50%;
  transform: translateY(-50%);*/
  border: none;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: background 0.2s ease;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 22px;
    padding: 10px;
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}