.next-event {
  font-size: 0.95rem;
  line-height: 1.3;
}

.event-title {
  font-family: Arial, sans-serif; /* fits the clean site style */
  font-size: 1.12rem;
  line-height: 1.18;
  margin-bottom: 0.3em;
  border-left: 3px solid #336699; /* subtle accent line */
  padding-left: 0.55em;
}

.event-date {
  font-weight: 700;
  font-size: 0.98em;
  color: #336699; /* similar to default link blue */
  margin-right: 0.35em;
}

.event-title strong {
  font-weight: 700;
  color: #111;
  font-size: 1.05em;
}

.event-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.25em;

  padding: 0.35em 0.4em;     /* adds a subtle band */
  background: #f7f8fa;       /* very light gray */
  border-radius: 8px;
}


.event-links a,
.event-links .status {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin-right: 0.5em;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Links look like buttons ===== */
.event-links a {
  padding: 0.2em 0.55em;
  border-radius: 999px;
  background: #eef5fb;
  color: #004a80;
  text-decoration: none;
  border: 1px solid #cfe0ef;
}

.event-links a:hover {
  background: #004a80;
  color: #fff;
  border-color: #004a80;
}

.event-links a.primary {
  background: #004a80;
  color: #fff;
  border-color: #004a80;
}

/* ===== Status tags NOT buttons ===== */
.event-links .status {
  padding: 0 0.25em;
  border-radius: 3px;
  font-weight: 600;
  background: transparent;
}

/* Cancelled tag */
.event-links .cancelled {
  color: #777;
  background: #f4f4f4;
}

/* Underway tag */
.event-links .underway {
  color: #c00;
  background: #ffe6e6;
}
