/* BrickCycle Modern Events Styles (Theme 2026) */
:root {
  --bc-blue: #2563eb;
  --bc-blue-dark: #1d4ed8;
  --bc-yellow: #facc15;
  --bc-ink: #0f172a;
  --bc-muted: #64748b;
  --bc-border: #e2e8f0;
}

.events-main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* Events Hero Banner (Matching Panel 6) */
.events-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  border-radius: 20px;
  padding: 44px 40px;
  color: #ffffff;
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.22);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.events-hero-copy h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

.events-hero-copy h1 span {
  color: #fde047;
}

.events-hero-copy p {
  font-size: 15px;
  color: #dbeafe;
  margin: 0 0 20px;
  max-width: 580px;
}

/* Category Filter Pills (Matching Panel 6) */
.event-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.event-tab {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.15s ease;
}

.event-tab:hover {
  border-color: #cbd5e1;
  color: #2563eb;
}

.event-tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Events Grid & Cards */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.event-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.event-card time {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.event-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.event-card p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.45;
  flex: 1;
}

.event-card dl {
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin: 0 0 16px;
}

.event-card dt {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.event-card dd {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 2px 0 8px;
}

.event-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: all 0.15s ease;
}

.event-action:hover {
  background: #1d4ed8;
}

.empty-events {
  grid-column: 1 / -1;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 50px 24px;
}

.empty-events b {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  display: block;
}

.empty-events p {
  color: #64748b;
  font-size: 14px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .events-hero {
    padding: 32px 20px;
  }
}
