:root {
  --primary: #223a70;
  --border: #e5e5e5;
  --text: #333;
  --muted: #666;
  --bg: #fafafa;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.main-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.2em;
}

.section-title {
  font-size: 1.4rem;
  margin: 2em 0 1em;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
}

/* event card */
.event-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.event-title {
  color: var(--primary);
  margin-bottom: 10px;
}

.event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-left: 0;
  list-style: none;
}

.label {
  font-weight: bold;
  color: var(--muted);
}

/* past event */
.event-card.past {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-status {
  background: #ddd;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* external links */
.external-links {
  list-style: none;
  padding: 0;
}

.external-links li {
  margin-bottom: 10px;
}

.external-links a {
  color: var(--primary);
  text-decoration: none;
}

.external-links a:hover {
  text-decoration: underline;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}
