:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #66716b;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --green: #176b4d;
  --green-soft: #e4efe9;
  --line: #dfe3dc;
  --shadow: 0 12px 34px rgba(34, 45, 39, .04);
  --shadow-hover: 0 16px 36px rgba(34, 45, 39, .08);
  --radius: 20px;
  --shell: min(1180px, calc(100% - 48px));
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
}

* { 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; }
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, .94);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-3);
}
.brand { font-size: 20px; font-weight: 800; text-decoration: none; }
nav { display: flex; gap: var(--space-3); }
nav a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
nav a:hover,
nav a:focus-visible { color: var(--green); }

main { min-height: calc(100vh - 170px); }
.site-footer {
  padding: var(--space-4) 0;
  color: var(--muted);
  text-align: center;
}
.site-footer p { margin: 0 0 8px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a + a { margin-left: 16px; }

.home-hero {
  padding: 72px 0 48px;
}
.home-hero h1 {
  max-width: 760px;
  margin: 12px 0 20px;
  font: 800 clamp(40px, 6vw, 72px)/1.1 serif;
}
.home-hero > .shell > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  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: var(--green-soft); }
.text-button { padding: 0; min-height: 44px; color: var(--green); background: transparent; }
button:disabled { cursor: wait; opacity: .65; }

.home-section { padding: var(--space-5) 0; }
.home-section h2 { margin: 0 0 24px; font: 700 clamp(28px, 4vw, 40px)/1.2 serif; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.content-card, .card, .event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

a.content-card,
a.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.content-card:hover,
a.content-card:focus-visible,
a.event-card:hover,
a.event-card:focus-visible {
  border-color: #b7cfc2;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  outline: none;
}

.content-card h2,
.event-card h2 {
  margin: 4px 0 8px;
  line-height: 1.35;
  font-size: 22px;
}
.card-summary,
.event-card p:not(.eyebrow),
.muted { color: var(--muted); }
.card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0 0 16px;
}
.content-card .meta,
.event-card .meta { margin-top: auto; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }

.card-cover {
  margin: -24px -24px 16px;
  height: 148px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, #d7e8df, #eef4ee);
}
.card-cover img,
.parking-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-cover-placeholder,
.parking-cover-placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 107, 77, .16), transparent 42%),
    linear-gradient(135deg, #d7e8df, #eef4ee);
}

.page-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}
.event-hero { padding: 8px 0 28px; }
.event-hero h1, .simple-page h1 {
  margin: 8px 0 18px;
  font: 750 clamp(34px, 6vw, 56px)/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; max-width: 68ch; }
.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; }

.parking-cover {
  height: 220px;
  margin-bottom: 20px;
  border-radius: 16px;
}
.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; }
.empty { color: var(--muted); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 960px); }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  .site-header-inner { min-height: 56px; }
  nav { gap: 14px; font-size: 14px; }
  .content-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 48px 0 32px; }
  .home-section { padding: 40px 0; }
  .pictures { grid-template-columns: 1fr; }
  .poll li div { align-items: flex-start; flex-direction: column; gap: 0; }
  .page-shell { width: calc(100% - 32px); padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
