/* Event / meeting article page styles */

.event-page {
  padding: 64px 0 96px;
}

.event-header {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.event-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.event-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.event-date {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.event-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.event-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.event-company {
  color: var(--blue);
  font-weight: 600;
}

.event-sep { opacity: 0.4; }

.event-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 56px;
}

.event-nav--bottom {
  margin: 56px auto 0;
}

.event-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s, border-color 0.15s;
}
.event-nav__btn:hover { color: var(--white); border-color: var(--blue); }

.event-nav__all {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.event-nav__all:hover { color: var(--white); }

.event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto 56px;
  border-radius: var(--radius);
  overflow: hidden;
}

.event-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.event-gallery img.lightbox-trigger {
  cursor: zoom-in;
}
.event-gallery img.lightbox-trigger:hover {
  transform: scale(1.03);
  opacity: 0.88;
}

/* Single image: full width */
.event-gallery:has(img:only-child) {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.event-gallery:has(img:only-child) img { height: 400px; }

.event-article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.event-article h2,
.event-article h3 {
  color: var(--white);
  font-weight: 700;
  margin: 36px 0 12px;
}
.event-article h2 { font-size: 22px; }
.event-article h3 { font-size: 18px; color: var(--blue); }
.event-article h4 { font-size: 15px; font-weight: 600; color: var(--text-muted); margin: 20px 0 8px; }

.event-article p { margin-bottom: 18px; }
.event-article strong { color: var(--white); font-weight: 600; }
.event-article em { color: var(--text-muted); }
.event-article a { color: var(--blue); text-decoration: underline; }
.event-article a:hover { color: var(--white); }
.event-article ul, .event-article ol { margin: 12px 0 20px 24px; }
.event-article li { margin-bottom: 6px; }
.event-article hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.event-article br + br { display: none; }

.event-author {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Lightbox ─────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 10, 25, 0.96);
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.lightbox.is-open { display: flex; }

.lightbox__img-wrap {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 8px 64px rgba(0,0,0,0.7);
  display: block;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  line-height: 1;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.18); }

.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 18px;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(0,0,0,0.4);
  padding: 4px 14px;
  border-radius: 100px;
}

@media (max-width: 680px) {
  .lightbox__img-wrap { max-width: 100vw; }
  .lightbox__prev,
  .lightbox__next { width: 40px; height: 40px; font-size: 20px; }
}

/* ─── Responsive ───────────────────────── */
@media (max-width: 680px) {
  .event-article { padding: 28px 20px; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-gallery img { height: 200px; }
}
