:root {
  --ink: #1f2a37;
  --muted: #627182;
  --line: #e2e8ef;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --brand: #0f6e56;
  --brand-soft: #e1f5ee;
  --accent: #185fa5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

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

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; flex-wrap: wrap; }
.brand { font-size: 18px; font-weight: 600; color: var(--brand); text-decoration: none; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.on { background: var(--brand-soft); color: var(--brand); }

main { padding: 40px 0 64px; }
h1 { font-size: 30px; line-height: 1.35; margin: 0 0 16px; }
h2 { font-size: 21px; margin: 36px 0 14px; }
h3 { font-size: 17px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); font-size: 13px; }

.hero { background: var(--soft); border-radius: 16px; padding: 44px 36px; margin-bottom: 12px; }
.hero h1 { max-width: 640px; }
.cta { display: inline-block; margin-top: 12px; background: var(--brand); color: #fff; text-decoration: none; padding: 12px 24px; border-radius: 10px; font-size: 15px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--bg); }
.card a { color: var(--ink); text-decoration: none; }
.card a:hover { color: var(--brand); }
.card h3 a { font-size: 16px; }
.card .meta { color: var(--muted); font-size: 12px; margin-top: 10px; }
.card p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.step { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--soft); }
.step b { display: block; color: var(--brand); font-size: 13px; margin-bottom: 6px; }

table { width: 100%; border-collapse: collapse; margin: 18px 0; }
th, td { border: 1px solid var(--line); padding: 13px 14px; text-align: left; font-size: 14px; vertical-align: top; }
th { background: var(--soft); font-weight: 600; }
td:first-child { font-weight: 600; white-space: nowrap; }

.tag { display: inline-block; background: var(--brand-soft); color: var(--brand); border-radius: 20px; padding: 2px 10px; font-size: 12px; margin: 0 6px 6px 0; }
.notice { border-left: 3px solid var(--accent); background: var(--soft); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 14px; }
.source { font-size: 12px; color: var(--muted); margin-top: 12px; }
.source a { color: var(--accent); }

.article { max-width: 760px; }
.article .body { font-size: 16px; }
.article .body p { margin-bottom: 18px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 14px; text-decoration: none; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 8px; }
.pager a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; background: var(--bg); }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.current { background: var(--brand); border-color: var(--brand); color: #fff; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); padding: 26px 0; }
.site-footer p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }

.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }

@media (max-width: 820px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 32px 24px; }
  h1 { font-size: 25px; }
  .wrap { padding: 0 16px; }
  table { font-size: 13px; }
  th, td { padding: 10px; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 8px; font-size: 13px; }
}

.hero { display: flex; align-items: center; gap: 32px; }
.hero-copy { flex: 1; min-width: 0; }
.hero-art { width: 300px; max-width: 40%; height: auto; flex: none; }
.card-art { width: 100%; height: auto; display: block; margin-bottom: 12px; border-radius: 8px; }
.article-body { max-width: 760px; font-size: 16px; line-height: 1.9; margin: 18px 0 22px; }

@media (max-width: 820px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-art { max-width: 100%; width: 260px; }
}
