/* Algemene foto-grid layout */
.foto_lightbox_grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.foto_lightbox_item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.foto_lightbox_item a:hover img {
  transform: scale(1.03);
}

.foto_lightbox_item figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #555;
  margin-top: 0.5rem;
}

/* Lightbox overlay */
.lightbox-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  padding: 1rem 80px;
}

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

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  text-align: center;
  color: white;
}

.lightbox-img {
  max-width: 100%;
  width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  -o-object-fit: cover;
     object-fit: cover;
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: #ddd;
}

/* Sluitknop */
.lightbox-close {
  position: absolute;
  top: -35px;
  right: -35px;
  background: unset;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 44px;
  height: 44px;
  transition: background 0.3s;
}
.lightbox-close svg {
  max-width: 20px;
  width: 100%;
  fill: #ffffff;
}

/* Navigatieknoppen */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: unset;
  color: #ffffff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  transition: background 0.3s;
  border-radius: 100px;
}
.lightbox-prev svg,
.lightbox-next svg {
  max-width: 20px;
  width: 100%;
  fill: #ffffff;
}

.lightbox-prev {
  left: -50px;
}

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

.lightbox-prev:hover,
.lightbox-next:hover {
  background: unset;
}

/* Mobile optimalisatie */
@media (max-width: 600px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 1.5rem;
    padding: 0.2rem 0.5rem;
  }
  .lightbox-prev {
    left: -40px;
  }
  .lightbox-next {
    right: -40px;
  }
  .lightbox-caption {
    font-size: 0.875rem;
  }
  .lightbox-overlay {
    padding: 1rem 50px;
  }
}
.foto_lightbox_inner {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}

.foto_lightbox_title {
  font-family: "ClashDisplay", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 30px;
  max-width: 540px;
  line-height: 40px;
}

.foto_lightbox_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 0px;
}
.foto_lightbox_wrapper a {
  flex: 30%;
  width: 33%;
  max-width: 515px;
}
.foto_lightbox_wrapper a img {
  width: 100%;
  height: 330px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

@media only screen and (max-width: 1200px) and (min-width: 800px) {
  .foto_lightbox_inner {
    padding-top: 60px;
  }
  .foto_lightbox_wrapper {
    gap: 30px;
    flex-wrap: wrap;
  }
  .foto_lightbox_wrapper a {
    flex: 34%;
    width: 100%;
    max-width: 100%;
  }
}
@media only screen and (max-width: 799px) and (min-width: 500px) {
  .foto_lightbox_inner {
    padding-top: 60px;
  }
  .foto_lightbox_wrapper {
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 50px;
  }
  .foto_lightbox_wrapper a {
    flex: 34%;
    width: 100%;
    max-width: 100%;
  }
  .foto_lightbox_wrapper a img {
    height: 230px;
  }
  .foto_lightbox_title {
    font-size: 26px;
  }
}
@media only screen and (max-width: 499px) and (min-width: 300px) {
  .foto_lightbox_inner {
    padding-top: 60px;
  }
  .foto_lightbox_wrapper {
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 30px;
  }
  .foto_lightbox_wrapper a img {
    height: 230px;
    width: 100%;
  }
  .foto_lightbox_wrapper a {
    width: 100%;
    flex: 100%;
  }
  .foto_lightbox_title {
    font-size: 22px;
    line-height: 25px;
  }
}/*# sourceMappingURL=photo_lightbox.css.map */