/* Past and Upcoming Events (BKL-1547). */
.events-page {
  padding-bottom: 42px;
}

.events-hero,
.events-list-section {
  margin: 32px 0 24px;
  padding: 30px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10, 20, 36, 0.95), rgba(5, 9, 18, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), 0 0 28px rgba(0, 229, 255, 0.12);
}

.events-eyebrow {
  margin: 0 0 10px;
  color: #00e5ff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.events-hero h1 {
  margin: 0;
  color: #f7fbff;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.05;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.4), 0 0 34px rgba(255, 45, 214, 0.2);
}

.events-lede {
  max-width: 820px;
  margin: 18px 0 0;
  color: #cfe8f4;
  font-size: 1.08rem;
  line-height: 1.65;
}

.events-list-section h2 {
  margin: 0 0 16px;
  color: #f7fbff;
}

.events-list-section h2 + .events-list,
.events-list-section h2 + .events-empty {
  margin-bottom: 30px;
}

.events-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.events-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 8, 16, 0.7);
}

.events-item--now {
  border-color: rgba(53, 242, 131, 0.7);
  box-shadow: 0 0 22px rgba(53, 242, 131, 0.18);
}

.events-cover {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 6px;
  object-fit: cover;
}

.events-cover--none {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(255, 45, 214, 0.25));
}

.events-text {
  min-width: 0;
}

.events-when {
  margin: 0;
  color: #00e5ff;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.events-name {
  margin: 4px 0 6px;
  font-size: 1.35rem;
}

.events-name a {
  color: #f7fbff;
}

.events-summary,
.events-companions,
.events-sponsor,
.events-spotlight,
.events-empty,
.events-updated {
  margin: 0;
  color: #c4d7e4;
  line-height: 1.5;
}

.events-sponsor,
.events-spotlight {
  margin-top: 6px;
  color: #35f283;
  font-weight: 700;
}

.events-updated {
  margin-top: 18px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .events-hero,
  .events-list-section {
    padding: 20px;
  }
  .events-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* BKL-1861: companion pages listed with an event. */
.events-companions a {
  color: #7cf0ff;
  font-weight: 700;
}
