/* ===================== MEDIA PAGE ===================== */
/* Shared staff-admin UI lives in admin.css */

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.filter-btn {
  background: none;
  border: 2px solid rgba(0,0,0,0.15);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  color: #333;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #00b36b;
  color: #00b36b;
}

.filter-btn.active {
  background: #00b36b;
  border-color: #00b36b;
  color: white;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 1.1rem;
  color: #888;
  padding: 3rem;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.04);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0,179,107,0.88);
  color: white;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  padding-left: 4px;
}

.gallery-caption {
  background: white;
  padding: 0.6rem 0.8rem;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 0.92rem;
  color: #444;
  border-top: 2px solid #00b36b;
  min-height: 2.4rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lb-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

.lb-video-wrap {
  display: none;
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.lb-video {
  width: 100%;
  height: 100%;
}

.lb-caption {
  color: rgba(255,255,255,0.8);
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  text-align: center;
  max-width: 700px;
}

.lb-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  z-index: 1001;
}

.lb-close:hover { opacity: 1; color: #00b36b; }

.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  padding: 1rem;
  z-index: 1001;
}

.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { opacity: 1; color: #00b36b; }

/* Admin live-preview shows a gallery card without the scroll-reveal fade */
.evt-preview .gallery-item {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1rem;
  }

  .lb-prev, .lb-next { font-size: 1.6rem; }
  .lb-img { max-width: 95vw; }
}

@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ===================== SPOTLIGHT BANNER ===================== */
.spotlight-banner {
  max-width: 1000px;
  margin: 1.75rem auto 0.75rem;
  padding: 0 1rem;
  text-align: center;
}
.spotlight-eyebrow {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00b36b;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}
.spotlight-caption {
  font-family: Garamond, Georgia, serif;
  font-size: 2rem;
  color: #222;
  margin: 0 0 0.9rem;
  line-height: 1.2;
}
.spotlight-img {
  width: 100%;
  height: 440px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.16);
  transition: transform 0.2s, box-shadow 0.2s;
}
.spotlight-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
}
.spotlight-hint {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 0.95rem;
  color: #888;
  margin: 0.85rem 0 0;
}
@media (max-width: 700px) {
  .spotlight-caption { font-size: 1.5rem; }
  .spotlight-img { height: 250px; }
}
