:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #66716b;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --green: #176b4d;
  --line: #dfe3dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, .94);
}
.brand { font-size: 20px; font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; }
main { min-height: calc(100vh - 150px); }
footer { padding: 32px 6vw; color: var(--muted); text-align: center; }
.home-hero, .simple-page {
  max-width: 1120px;
  margin: auto;
  padding: 110px 6vw;
}
.home-hero h1 { max-width: 780px; margin: 12px 0 24px; font: 800 clamp(48px, 8vw, 96px)/1.08 serif; }
.home-hero > p:not(.eyebrow) { max-width: 620px; margin-bottom: 36px; color: var(--muted); font-size: 20px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.button, button { display: inline-block; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.primary { color: white; background: var(--green); }
.secondary { color: var(--green); background: #e4efe9; }
.text-button { padding: 0; color: var(--green); background: transparent; }
button:disabled { cursor: wait; opacity: .65; }
.home-section { max-width: 1120px; margin: auto; padding: 70px 6vw; }
.home-section > h2 { margin: 0 0 28px; font: 700 42px/1.2 serif; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event-card, .card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(34, 45, 39, .04);
}
.event-card h2 { margin: 4px 0 8px; line-height: 1.35; }
.event-card h2 a { text-decoration: none; }
.event-card p:not(.eyebrow), .muted { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.event-page { max-width: 820px; margin: auto; padding: 70px 20px; }
.event-hero { padding: 22px 8px 38px; }
.event-hero h1, .simple-page h1 { margin: 8px 0 18px; font: 750 clamp(38px, 7vw, 64px)/1.2 serif; }
.summary { color: #3f4c45; font-size: 20px; }
.card { margin: 18px 0; }
.card h2 { margin: 4px 0 16px; font: 700 30px/1.3 serif; }
.content { overflow-wrap: anywhere; white-space: normal; }
.pictures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.pictures img { width: 100%; max-height: 520px; border-radius: 12px; object-fit: cover; }
.timeline { margin-top: 24px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding-bottom: 30px; }
.timeline-item::before { position: absolute; top: 12px; bottom: -5px; left: 5px; width: 2px; content: ""; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { z-index: 1; width: 12px; height: 12px; margin-top: 7px; border: 3px solid var(--card); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.timeline-item h3 { margin: 0 0 8px; font-size: 21px; }
.poll ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.poll li { position: relative; overflow: hidden; border-radius: 10px; padding: 10px 12px; background: #eef1ed; }
.poll li div { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; }
.poll li i { position: absolute; inset: 0 auto 0 0; background: #cfe3d8; }
.poll li strong { white-space: nowrap; font-size: 13px; }
.actions > div { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-fallback { color: #9b4d32; }
.simple-page { max-width: 800px; }
.empty { color: var(--muted); }

@media (max-width: 680px) {
  nav { gap: 14px; font-size: 14px; }
  .event-grid { grid-template-columns: 1fr; }
  .home-hero { padding-top: 72px; }
  .pictures { grid-template-columns: 1fr; }
  .poll li div { align-items: flex-start; flex-direction: column; gap: 0; }
}
