[lightbox-toggle] {
  cursor: zoom-in;
}
[lightbox-toggle]:after {
  position: absolute;
  content: url("data:image/svg+xml; utf8, ");
  height: 32px;
  width: 32px;
  bottom: 0;
  right: 0;
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.2s;
}
[lightbox-toggle]:hover:after {
  opacity: 1;
  filter: drop-shadow(2px 4px 6px black);
}

.c-lightbox {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  pointer-events: none;
  position: fixed;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9000000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.c-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.c-lightbox .c-lightbox__container {
  width: 100%;
  height: 100%;
}
.c-lightbox .c-lightbox__close {
  z-index: 999999;
  position: absolute;
  cursor: pointer;
  top: calc(3rem - 2rem);
  right: 1rem;
  font-family: var(--mono-font);
  font-size: var(--sm-size);
  padding: 20px;
  color: white;
}
.c-lightbox .c-lightbox__close:hover {
  color: red;
}
.c-lightbox .swiper-container {
  width: 100%;
  height: 100%;
}
.c-lightbox .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-lightbox .swiper-pagination {
  color: white;
}
.c-lightbox .swiper-button-next,
.c-lightbox .swiper-button-prev {
  color: white;
}
.c-lightbox .swiper-button-next:hover,
.c-lightbox .swiper-button-prev:hover {
  color: red;
}
.c-lightbox .swiper-button-next:after,
.c-lightbox .swiper-button-prev:after {
  font-size: 30px;
}
.c-lightbox .c-lightbox__image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 75%;
  width: 75%;
  text-align: center;
  flex-direction: column;
}
.c-lightbox .c-lightbox__image img {
  width: auto;
  height: auto;
  max-height: 90vh;
  max-width: 90vw;
  padding: 10rem 0 5rem;
}
.c-lightbox__caption {
  padding: 0 0 5rem;
  color: var(--background);
}

.c-lightbox .full-screen-slide {
  align-items: stretch;
  justify-content: stretch;
}

.c-lightbox .full-screen-container {
  height: 100vh !important;
  width: 100vw !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.c-lightbox .full-screen-image {
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
}

.c-lightbox .full-screen-container .c-lightbox__caption {
  display: none !important;
}

@media(max-width:768px) {
  .c-lightbox .c-lightbox__close {
    right: 0;
  }
}
