/* Tunnel Of Laffs shared lightbox */
.tol-lightbox[hidden] {
  display: none;
}

.tol-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 54px 72px 34px;
  color: #f4f7d8;
  background: rgba(0, 0, 0, 0.9);
  font-family: Arial, Helvetica, sans-serif;
}

.tol-lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  max-height: 100%;
  margin: 0;
}

.tol-lightbox-title {
  max-width: 920px;
  margin: 0 0 12px;
  color: #ff3b68;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: bold;
  line-height: 1.05;
  text-align: center;
}


.tol-lightbox-image[hidden],
.tol-lightbox-video[hidden] {
  display: none !important;
}
.tol-lightbox-video,
.tol-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border: 2px solid #99cc00;
  border-radius: 6px;
  background: #050505;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.68);
  object-fit: contain;
}

.tol-lightbox-caption {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  min-height: 1.4em;
  margin-top: 12px;
  color: #f4f7d8;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.tol-lightbox button {
  border: 1px solid #99cc00;
  color: #f4f7d8;
  background: rgba(18, 28, 12, 0.9);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
}

.tol-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 12px;
  border-radius: 999px;
}

.tol-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 58px;
  margin-top: -29px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.tol-lightbox-prev {
  left: 16px;
}

.tol-lightbox-next {
  right: 16px;
}

.tol-lightbox button:hover,
.tol-lightbox button:focus-visible {
  background: rgba(54, 76, 27, 0.98);
  outline: 2px solid #e8ff9a;
}

.tol-lightbox-trigger {
  cursor: zoom-in;
  overflow: hidden;
}

.tol-lightbox-trigger img {
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tol-lightbox-trigger:hover img,
.tol-lightbox-trigger:focus img {
  filter: brightness(1.08) contrast(1.04);
  transform: scale(1.012);
  box-shadow: 0 0 0 2px rgba(153, 204, 0, 0.48), 0 6px 16px rgba(0, 0, 0, 0.28);
}

@media (max-width: 760px) {
  .tol-lightbox {
    padding: 48px 12px 28px;
  }

  .tol-lightbox-video,
  .tol-lightbox-image {
    max-height: calc(100vh - 138px);
  }

  .tol-lightbox-caption {
    padding: 0 42px;
    font-size: 12px;
  }

  .tol-lightbox-nav {
    width: 36px;
    height: 36px;
    margin-top: -18px;
    font-size: 22px;
  }

  .tol-lightbox-prev {
    left: 12px;
  }

  .tol-lightbox-next {
    right: 12px;
  }
}
