:root {
  color: #20242c;
  background: #f6f0e8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.app {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.site-header {
  margin-bottom: 24px;
}

.label {
  margin: 0 0 8px;
  color: #6f5d4e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
}

.status {
  margin: 18px 0;
  color: #6b625c;
  line-height: 1.7;
}

.events {
  display: grid;
  gap: 14px;
}

.month-heading {
  margin: 20px 0 0;
  color: #2a303a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.month-heading:first-child {
  margin-top: 0;
}

.event-card {
  border: 1px solid #dfd5ca;
  border-radius: 8px;
  background: #fffaf3;
  padding: 16px;
}

.event-date {
  margin: 0 0 8px;
  color: #8a4b37;
  font-size: 0.88rem;
  font-weight: 700;
}

.event-title {
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.event-meta,
.event-description {
  margin: 0;
  color: #504942;
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.event-link {
  display: inline-flex;
  margin-top: 14px;
  color: #1f5b91;
  font-weight: 700;
  text-decoration: none;
}

.event-link:focus,
.event-link:hover {
  text-decoration: underline;
}

@media (min-width: 720px) {
  .app {
    padding-top: 52px;
  }

  h1 {
    font-size: 2.6rem;
  }
}
