/* ---------- EVENTS SECTION ---------- */
.events-section {
  background: var(--bg-primary);
}

.events-grid {
  display: grid;
  grid-template-columns: minmax(300px, 640px);
  justify-content: center;
  gap: 24px;
}

/* Deliberately no hover state: the card holds a gallery you interact with,
   so it shouldn't lift or light up under the cursor. */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.event-gallery {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #0a0f1a;
}

.event-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.event-gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.event-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-gallery-thumbs {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(10, 15, 26, 0.85);
  padding: 5px 10px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: auto;
}

.event-thumb-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  pointer-events: auto;
}

.event-thumb-btn.active,
.event-thumb-btn:hover {
  background: var(--bull-green);
  transform: scale(1.15);
  box-shadow: none;
}

.event-body {
  padding: 24px;
}

.event-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bull-green);
  margin-bottom: 10px;
}

.event-meta-info .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.event-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.event-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Rides the far right of the meta line, clear of the date and venue. */
.event-site-link {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.event-site-link:hover {
  color: var(--bull-green);
}

.event-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border: 1px solid rgba(0, 200, 83, 0.4);
  border-radius: 3px;
  color: var(--bull-green);
  font-weight: 600;
}
