/* ══ CHAMPIONS GALLERY PAGE ════════════════════════════════ */

#champions-main {
  background: var(--ink);
  padding: 64px 0 88px;
}

.champ-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ── Intro / lead ── */
.champ-lead {
  text-align: center; max-width: 640px; margin: 0 auto 28px;
}
.champ-lead .section-tag { color: var(--gold); }
.champ-lead .section-title { color: var(--parchment); }
.champ-lead p {
  font-family: 'Noto Serif', serif; font-style: italic;
  font-size: 0.98rem; color: rgba(245,237,216,0.62);
  line-height: 1.75; margin-top: 6px;
}

/* ── Event jump bar (sticky; sits under the fixed site nav) ── */
.champ-nav {
  position: sticky; top: 72px; z-index: 800;
  display: flex; align-items: center; gap: 14px;
  margin: 0 -28px 40px; padding: 12px 28px;
  background: rgba(21,13,7,0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(201,147,58,.18);
  border-bottom: 1px solid rgba(201,147,58,.28);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: thin;
}
.champ-nav .cn-label {
  font-family: 'Cinzel', serif; font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,237,216,.5); flex: 0 0 auto;
}
.champ-nav .cn-group { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.champ-nav .cn-year {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--gold); margin: 0 2px 0 6px;
}
.champ-nav .cn-chip {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 0.04em; color: var(--gold-lt); text-decoration: none;
  background: transparent; border: 1px solid rgba(201,147,58,.4); border-radius: 2px;
  padding: 6px 14px; transition: background .2s, color .2s, border-color .2s;
}
.champ-nav .cn-chip:hover { border-color: var(--gold); color: #fff; }
.champ-nav .cn-chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ── Event section ── */
.champ-event { margin-bottom: 64px; scroll-margin-top: 140px; }
.champ-event:last-child { margin-bottom: 0; }
.champ-event-head { margin-bottom: 26px; }
.champ-event-head .ee-date {
  font-family: 'Cinzel', serif; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 8px;
}
.champ-event-head .ee-name {
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--parchment); line-height: 1.2;
}
.champ-event-head .ee-count {
  display: inline-block; margin-top: 8px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,237,216,.5);
}
.champ-event-head::after {
  content: ""; display: block; width: 60px; height: 3px; margin-top: 16px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}

/* ── Card wall (masonry via CSS columns — cards pack tight despite uneven heights) ── */
.champ-grid {
  column-count: 3;
  column-gap: 26px;
}

.champ-card {
  position: relative; cursor: pointer;
  background: #150d07; border: 1px solid rgba(201,147,58,.22);
  box-shadow: 0 4px 22px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  overflow: hidden;
  /* masonry item */
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  width: 100%; margin: 0 0 26px;
}
.champ-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
  border-color: rgba(201,147,58,.55);
}
.champ-card img { width: 100%; height: auto; display: block; }

/* hover caption */
.champ-meta {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(10,6,3,.94) 0%, rgba(10,6,3,.55) 60%, transparent 100%);
  padding: 30px 18px 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.champ-card:hover .champ-meta { opacity: 1; transform: none; }
.champ-meta .cm-name {
  font-family: 'Cinzel', serif; font-size: 0.95rem; font-weight: 600;
  color: #fff; line-height: 1.2;
}
.champ-meta .cm-sub {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-lt); margin-top: 4px;
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
}
.cm-team {
  font-size: 0.62rem; letter-spacing: 0.12em;
  background: var(--crimson); color: #fff;
  padding: 2px 7px; border-radius: 2px;
}

/* ── Empty state ── */
.champ-empty {
  text-align: center; max-width: 460px; margin: 40px auto 0;
  color: rgba(245,237,216,0.6);
}
.champ-empty .ce-mark { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.champ-empty p { font-family: 'Noto Serif', serif; font-style: italic; line-height: 1.7; }

/* ── Lightbox ── */
.lb-wrap {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.lb-wrap.active { visibility: visible; opacity: 1; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10,5,2,0.95); }

.lb-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 92vw; max-height: 90vh;
}
#lb-img {
  max-width: 100%; max-height: 74vh; object-fit: contain;
  display: block; box-shadow: 0 8px 60px rgba(0,0,0,.7);
}
.lb-info { text-align: center; margin-top: 16px; }
.lb-info .lb-name {
  font-family: 'Cinzel', serif; font-size: 1rem; color: #fff; letter-spacing: 0.04em;
}
.lb-info .lb-detail {
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-lt); margin-top: 6px;
}
.lb-info .lb-awards {
  font-family: 'Noto Serif', serif; font-style: italic; font-size: 0.86rem;
  color: rgba(245,237,216,0.7); margin-top: 8px; max-width: 520px;
}
.lb-download {
  display: inline-block; margin-top: 16px;
  font-family: 'Cinzel', serif; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-lt); border: 1px solid var(--gold);
  padding: 9px 22px; border-radius: 2px; text-decoration: none;
  transition: background .2s, color .2s;
}
.lb-download:hover { background: var(--gold); color: var(--ink); }

.lb-close, .lb-prev, .lb-next {
  position: fixed; background: none; border: none;
  color: rgba(245,237,216,0.7); cursor: pointer; z-index: 2;
  transition: color .2s; padding: 12px; line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold-lt); }
.lb-close { top: 20px; right: 28px; font-size: 2rem; }
.lb-prev  { top: 50%; left: 16px; transform: translateY(-50%); font-size: 2.4rem; }
.lb-next  { top: 50%; right: 16px; transform: translateY(-50%); font-size: 2.4rem; }

/* ── CTA strip (shared look with gallery) ── */
#cta-strip { background: var(--crimson); padding: 56px 24px; text-align: center; }
#cta-strip h3 { font-family: 'Cinzel', serif; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
#cta-strip p { color: rgba(255,255,255,.75); font-family: 'Noto Serif', serif; font-style: italic; margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .champ-grid { column-count: 2; column-gap: 20px; }
  .champ-card { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .champ-grid { column-count: 1; }
  .champ-card { margin-bottom: 22px; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; }
}
