/* ── EVENT PAGE STYLES ── */

.event-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.event-back {
  margin-bottom: 40px;
}
.event-back a {
  color: rgba(26,26,26,0.4);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.event-back a:hover { color: #1a1a1a; }

.event-hero {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16/9;
  background: #f0f0f0;
}
.event-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  margin-bottom: 64px;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.event-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
  color: #1a1a1a;
}
.event-lead {
  font-size: 1.15rem;
  color: rgba(26,26,26,0.65);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 400;
}
.event-content p {
  font-size: 0.975rem;
  color: rgba(26,26,26,0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}
.event-link-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid rgba(244,114,182,0.5);
  border-radius: 30px;
  color: #e8198a;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.event-link-btn:hover {
  background: rgba(244,114,182,0.08);
  border-color: #f472b6;
  color: #c4177a;
}

/* Gallery */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.event-gallery.single {
  grid-template-columns: 1fr;
  max-width: 600px;
}
.event-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.event-gallery img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .event-page { padding: 100px 20px 60px; }
  .event-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .event-gallery.single { max-width: 100%; }
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  gap: 16px;
}
#lightbox.open {
  display: flex;
}
.lb-img-wrap {
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lbImg {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  cursor: default;
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(26,26,26,0.06);
  border: 1px solid rgba(26,26,26,0.12);
  color: #1a1a1a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
.lb-close:hover { background: rgba(26,26,26,0.1); }
.lb-prev, .lb-next {
  background: rgba(26,26,26,0.05);
  border: 1px solid rgba(26,26,26,0.1);
  color: rgba(26,26,26,0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.lb-prev:hover, .lb-next:hover {
  background: rgba(26,26,26,0.1);
  color: #1a1a1a;
}
.lb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(26,26,26,0.4);
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 38px; height: 38px; font-size: 1.4rem; }
  .lb-img-wrap { max-width: 96vw; }
}
