.lightbox {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(0,60,52,1);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 80vw;
  max-height: 85vh;
  overflow: visible;
  padding: 0;
  cursor: pointer;
  background: transparent;
  pointer-events: none;
}

.lightbox-image {
  display: block;
  max-width: 80vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  cursor: default;
  pointer-events: auto;
}

/* Keep sensible defaults on small screens */
@media (max-width: 640px) {
  .lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    padding: 10px;
  }
  .lightbox-image {
    max-width: 100%;
    max-height: 90vh;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  opacity: 0.8;
  transition: color 0.2s ease, opacity 0.2s;
  z-index: 100;
}

.lightbox-close:hover {
  opacity: 1;
  color: #f6630c;
}

.accreditation-media {
  cursor: pointer;
  transition: opacity 0.2s;
}

.accreditation-media:hover {
  opacity: 0.9;
}

/* DIT Navigation Styles */
/* Desktop: arrows on each side */
.dit-nav-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  transform: translateY(-50%);
}

  @media (max-width: 700px) {
    .dit-nav-container {
      position: fixed;
      top: auto;
      bottom: 2.5vh;
      left: 0;
      right: 0;
      transform: none;
      z-index: 1000;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      padding-left: 2vw;
      padding-right: 2vw;
    }
  
}

.dit-nav-btn {
  background: none;
  color: #fff;
  border: none;
  width: auto;
  height: auto;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dit-nav-btn:hover {
  color: #f6630c;
  transform: scale(1.2);
}

.dit-caption {
  display: none !important;
}