/* Upcoming Events (home page) */
#upcoming-events { display: none; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #eef1f7;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.event-type {
  display: inline-block;
  background: #eef5ff;
  color: #1a5fb4;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.event-type.batch { background: #fff4e5; color: #c77800; }
.event-type.demo { background: #e8f8f0; color: #1b7a4b; }
.event-type.webinar { background: #f3eefc; color: #6b3fa0; }

.event-date-badge {
  text-align: center;
  min-width: 58px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 8px 6px;
  line-height: 1.1;
}

.event-date-badge .day {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
}

.event-date-badge .month {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.event-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--gray);
  font-size: 0.88rem;
}

.event-meta i {
  color: var(--secondary);
  margin-right: 6px;
}

.event-card p {
  margin: 0;
  color: var(--gray);
  font-size: 0.92rem;
  flex: 1;
}

.event-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .events-grid { grid-template-columns: 1fr; }
}
