:root {
  --zw-paper: #f7f4ef;
  --zw-ink: #1c1917;
  --zw-ink-soft: #4a453e;
  --zw-muted: #7a746a;
  --zw-line: rgba(28, 25, 23, 0.1);
  --zw-cta: #cc785c;
  --zw-cta-hover: #a9583e;
  --zw-warm-soft: rgba(204, 120, 92, 0.12);
  --zw-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --zw-display: "Space Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 36% at 78% -4%, rgba(240, 196, 168, 0.35) 0%, transparent 55%),
    var(--zw-paper);
  color: var(--zw-ink);
  font-family: var(--zw-font);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; }

.site-header,
.site-footer,
.news-list,
.article {
  width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--zw-ink);
  font-family: var(--zw-display);
  font-weight: 700;
  text-decoration: none;
}

.brand img { height: 36px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-nav a {
  color: var(--zw-ink-soft);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover { color: var(--zw-cta-hover); }

.site-footer {
  padding: 28px 0 40px;
  color: var(--zw-muted);
  font-size: 13px;
}

.site-footer a { color: var(--zw-ink-soft); }

.news-hero {
  width: min(720px, calc(100% - 48px));
  margin: 24px auto 12px;
  text-align: center;
}

.news-hero__brand {
  margin: 0 0 12px;
  font-family: var(--zw-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-hero h1 {
  margin: 0 0 12px;
  font-family: var(--zw-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.news-hero p { margin: 0; color: var(--zw-ink-soft); }

.news-list { padding: 28px 0 64px; }

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.news-tabs a {
  padding: 8px 14px;
  border: 1px solid var(--zw-line);
  border-radius: 999px;
  background: #fff;
  color: var(--zw-ink-soft);
  text-decoration: none;
  font-size: 14px;
}

.news-tabs a[aria-current="page"] {
  background: var(--zw-cta);
  border-color: var(--zw-cta);
  color: #fff;
}

.news-list__heading {
  margin: 0 0 16px;
  font-family: var(--zw-display);
  font-size: 26px;
}

.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.news-pager a,
.news-pager span {
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid var(--zw-line);
  border-radius: 999px;
  background: #fff;
  color: var(--zw-ink-soft);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}

.news-pager a[aria-current="page"],
.news-pager span[aria-current="page"] {
  background: var(--zw-cta);
  border-color: var(--zw-cta);
  color: #fff;
}

.news-pager .is-disabled,
.news-pager .news-pager__gap,
.news-pager .news-pager__status {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--zw-muted);
}

.news-group { margin-bottom: 36px; }

.news-group h2 {
  margin: 0 0 16px;
  font-family: var(--zw-display);
  font-size: 26px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--zw-line);
  border-top: 2px solid rgba(204, 120, 92, 0.35);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(60, 40, 20, 0.06);
}

.news-card__tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--zw-warm-soft);
  color: var(--zw-cta-hover);
  font-size: 12px;
  font-weight: 600;
}

.news-card__title {
  margin-bottom: 12px;
  font-family: var(--zw-display);
  font-size: 18px;
  line-height: 1.45;
}

.news-card__excerpt {
  color: var(--zw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.news-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--zw-line);
  color: var(--zw-muted);
  font-size: 12px;
}

.news-card__foot span:last-child {
  color: var(--zw-cta);
  font-size: 14px;
  font-weight: 600;
}

.article { padding: 12px 0 72px; max-width: 800px; }

.crumbs { color: var(--zw-muted); font-size: 14px; }

.crumbs a { color: var(--zw-cta-hover); text-decoration: none; }

.article-kicker {
  display: inline-block;
  margin: 8px 0;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--zw-warm-soft);
  color: var(--zw-cta-hover);
  font-size: 12px;
  font-weight: 600;
}

.article h1 {
  margin: 0 0 12px;
  font-family: var(--zw-display);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.3;
}

.article-meta,
.article-summary { color: var(--zw-muted); }

.article-body h2,
.article-faq h2 { margin: 28px 0 12px; font-size: 22px; line-height: 1.4; }

.article-body h3,
.article-faq h3 { margin: 22px 0 8px; font-size: 18px; }

.article-body p,
.article-faq p { margin: 0 0 14px; }

.article-body ul,
.article-body ol { margin: 0 0 16px; padding-left: 22px; }

.article-body a { color: #1478b0; }

.article-body img { max-width: 100%; height: auto; }

.article-back a {
  color: var(--zw-cta);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .news-list,
  .article { width: calc(100% - 32px); }
  .site-header { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
}
