/* Shared multi-event navigation: event switcher + status bar.
   Relies on the page defining --gold, --gold-light, --text, --text-muted, --bg-card, --border, --border-bright. */

.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

/* EVENT SWITCHER */
.event-switcher { position: relative; }
.event-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.event-switcher-btn:hover,
.event-switcher.open .event-switcher-btn { border-color: var(--border-bright); background: rgba(201, 168, 76, 0.12); }
.event-switcher-btn .es-caret { color: var(--gold); font-size: 0.6rem; transition: transform 0.2s; }
.event-switcher.open .es-caret { transform: rotate(180deg); }
.event-switcher-btn .es-current { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

.event-switcher-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  padding: 8px;
  display: none;
  z-index: 200;
}
.event-switcher.open .event-switcher-menu { display: block; }
.es-menu-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px 6px;
}
.es-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.es-item:hover { background: rgba(201, 168, 76, 0.08); border-left-color: var(--gold); }
.es-item[aria-current="page"] { background: rgba(201, 168, 76, 0.1); border-left-color: var(--gold); }
.es-item-name { font-family: 'Cinzel', serif; font-size: 0.82rem; font-weight: 700; line-height: 1.3; }
.es-item-sub { display: block; font-family: 'Raleway', sans-serif; font-size: 0.72rem; color: var(--text-muted); font-weight: 400; margin-top: 2px; }
.es-item-all { border-top: 1px solid rgba(255, 255, 255, 0.06); margin-top: 6px; padding-top: 12px; font-size: 0.75rem; color: var(--gold); letter-spacing: 0.08em; }

/* STATUS BADGES (switcher, hub cards, status bar) */
.esb-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.esb-badge.concluded { background: rgba(136, 153, 187, 0.12); color: #aab6d3; border: 1px solid rgba(136, 153, 187, 0.3); }
.esb-badge.interest { background: rgba(122, 92, 255, 0.14); color: #b9a8ff; border: 1px solid rgba(122, 92, 255, 0.4); }
.esb-badge.live { background: rgba(0, 212, 170, 0.1); color: #00d4aa; border: 1px solid rgba(0, 212, 170, 0.3); }

/* EVENT STATUS BAR (sits under the fixed 64px nav) */
.event-status-bar {
  position: relative;
  z-index: 50;
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  padding: 10px 20px;
  background: rgba(13, 18, 40, 0.92);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
.event-status-bar a { color: var(--gold); text-decoration: none; font-weight: 600; white-space: nowrap; }
.event-status-bar a:hover { color: var(--gold-light); }
.event-status-bar .esb-next { color: #b9a8ff; }
.event-status-bar .esb-next:hover { color: #d6ccff; }
.event-status-bar + .hero { min-height: calc(100vh - 110px); padding-top: 60px; }

@media (max-width: 700px) {
  .nav-left { gap: 10px; }
  .nav-left .nav-logo { font-size: 0.9rem; }
  .event-switcher-btn { padding: 6px 9px; font-size: 0.62rem; }
  .event-switcher-btn .es-current { max-width: 120px; }
  .event-switcher-menu { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; max-width: none; }
}
