[lightbox-toggle] {
  cursor: zoom-in;
}
[lightbox-toggle]:after {
  position: absolute;
  content: "";
  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;
  text-transform: uppercase;
  font-weight: normal;
}
.c-lightbox .c-lightbox__close:hover {
  color: var(--gray);
}
.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 {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: var(--mono-font);
  font-size: var(--sm-size);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  width: 25vw;
  height: 100%;
  margin-top: 0;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  transform: none;
  z-index: 10;
  color: white;
}
.c-lightbox .swiper-button-next {
  right: 0;
  justify-content: flex-end;
  padding-right: 30px;
}
.c-lightbox .swiper-button-prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 30px;
}
.c-lightbox .swiper-button-next:hover,
.c-lightbox .swiper-button-prev:hover {
  opacity: 1;
  color: var(--gray);
}
.c-lightbox .swiper-button-next:after {
  font-size: 15px;
  margin-left: 0.5rem;
  position: static;
}
.c-lightbox .swiper-button-prev:after {
  content: '';
}
.c-lightbox .swiper-button-prev:before {
  content: '';
  display: inline-block;
  width: calc(27px / 44 * 15);
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin-right: 0.5rem;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 44"><path d="M0,22L22,0l2.1,2.1L4.2,22l19.9,19.9L22,44L0,22L0,22L0,22z" fill="%23ffffff"/></svg>');
}
.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 .c-lightbox__video {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 75%;
  width: 75%;
  text-align: center;
  flex-direction: column;
}

.c-lightbox .c-lightbox__video video {
  width: auto;
  height: auto;
  max-height: 90vh;
  max-width: 90vw;
  padding: 10rem 0 5rem;
}

.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-video {
  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;
}

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

.c-lightbox .oembed-slide {
  background-color: var(--black);
  justify-content: center;
  align-items: center;
  display: flex;
}

.c-lightbox__oembed {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.c-lightbox__oembed iframe {
  border: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
}

figure.has-video {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}

figure.has-video.lightbox-hidden-video {
  display: none;
}

figure.has-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

figure.standalone-video {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  cursor: default;
}

figure.standalone-video video {
  width: 100%;
  height: 100%;
  border: 0;
}

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