/* Lightbox (assets/js/lightbox.js) */

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
}

.lb-overlay[hidden] {
  display: none;
}

.lb-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-image {
  max-width: 92vw;
  max-height: 78vh;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 0 20px #000;
}

.lb-caption {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.lb-button {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font: 30px/48px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.lb-button:hover,
.lb-button:focus {
  background: rgba(255, 255, 255, 0.4);
  outline: 2px solid #FFDC80;
}

.lb-close {
  top: 14px;
  right: 14px;
}

.lb-prev {
  left: 14px;
  top: 50%;
  margin-top: -24px;
}

.lb-next {
  right: 14px;
  top: 50%;
  margin-top: -24px;
}

.lb-button[hidden] {
  display: none;
}

a.lightbox {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 14px;
    margin-top: 0;
  }
}
