:root {
  --green: #0c5c38;
  --green-deep: #08442a;
  --green-mid: #1a7a4c;
  --green-soft: #e8f3ec;
  --ink: #1b2a22;
  --muted: #5d6d65;
  --line: #e4ece7;
  --paper: #f6f8f6;
  --card: #fff;
  --shadow: 0 10px 30px rgba(12, 60, 36, 0.08);
  --wrap: 1120px;
  --fs-body: 16px;
  --fs-brand: 16px;
  --fs-nav: 15px;
  --fs-h1: 26px;
  --fs-h2: 20px;
  --fs-side: 16px;
  --fs-small: 13px;
  --fs-prose: 16px;
  --fs-footer: 14px;
  --fs-copy: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.75;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green); }
button, input, textarea, select { font-family: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.head-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand img { height: 36px; width: auto; object-fit: contain; flex: none; }
.brand span { font-size: var(--fs-brand); font-weight: 600; line-height: 1.4; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}
.site-nav { background: #084e30; }
.nav-inner { display: flex; align-items: stretch; gap: 2px; min-height: 46px; }
.site-nav a {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0 18px;
  font-size: var(--fs-nav);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.on { background: rgba(255, 255, 255, 0.1); color: #fff; border-bottom-color: #fff; }

.hero { background: var(--green-deep); }
.hero img, .page-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.crumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.crumb .wrap { padding: 12px 0; color: var(--muted); font-size: var(--fs-small); }
.crumb a { color: var(--green-mid); }
.crumb a:hover { color: var(--green); text-decoration: underline; }
.crumb span { color: var(--ink); }

.page { padding: 36px 0 56px; }
.panel {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px 32px;
}
.panel > h1 {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  font-size: var(--fs-h1);
  line-height: 1.4;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}
.section-head h2 { margin: 0; font-size: var(--fs-h2); font-weight: 600; }
.section-head a { font-size: var(--fs-small); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.news-list a { color: var(--ink); flex: 1; min-width: 0; font-size: var(--fs-body); }
.news-list a:hover { color: var(--green); }
.news-list time { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
.empty {
  margin: 8px 0 4px;
  padding: 36px 16px;
  border: 1px dashed #d5e3db;
  border-radius: 12px;
  background: #f7fbf8;
  color: var(--muted);
  text-align: center;
  font-size: var(--fs-body);
}

.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.layout > * { min-width: 0; }
.side-card, .main-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.side-card { padding: 18px 12px; }
.side-card h2 {
  margin: 4px 12px 12px;
  font-size: var(--fs-side);
  color: var(--green);
}
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink);
  font-size: var(--fs-nav);
}
.side-nav a:hover, .side-nav a.on { background: var(--green-soft); color: var(--green); }
.main-card { padding: 28px 32px; min-width: 0; }
.main-card h1 {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-h1);
  line-height: 1.4;
  font-weight: 600;
}
.back-link { display: inline-block; margin-bottom: 8px; font-size: var(--fs-small); }

.article-meta {
  margin: -6px 0 20px;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 400;
}

.prose { color: #24312b; font-size: var(--fs-prose); line-height: 1.85; overflow-wrap: anywhere; }
.prose p, .prose li { font-size: inherit; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 1.3em; }
.prose h3 { font-size: 1.15em; }
.prose h4 { font-size: 1.05em; }
.prose h2, .prose h3, .prose h4 { margin: 1.2em 0 0.5em; line-height: 1.4; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose::after { content: ""; display: table; clear: both; }
.prose img, .prose video, .prose iframe { display: block; max-width: 100%; height: auto; margin: 0 0 12px; }
.prose img[style*="float:left"], .prose img[style*="float: left"] { float: left; margin: 4px 16px 8px 0; }
.prose img[style*="float:right"], .prose img[style*="float: right"] { float: right; margin: 4px 0 8px 16px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.downloads { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--line); }
.downloads h2 { margin: 0 0 10px; font-size: 18px; }
.downloads ul { list-style: none; margin: 0; padding: 0; }
.downloads li { border-bottom: 1px solid var(--line); }
.downloads a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.downloads em { color: var(--muted); font-style: normal; font-size: 13px; }

.contact-card h1 { border: 0; margin-bottom: 8px; }
.contact-people { display: flex; flex-direction: column; gap: 16px; }
.contact-list { list-style: none; margin: 0; padding: 4px 18px 8px; border: 1px solid var(--line); border-radius: 12px; background: #f7fbf8; }
.contact-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 0; }
.contact-list span { color: var(--muted); font-size: var(--fs-small); }
.contact-list strong { font-size: var(--fs-body); font-weight: 600; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.pagination li a, .pagination li span {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #d5e3da;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-small);
}
.pagination li.active span, .pagination li a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.pagination li.disabled span { color: #a3b0a8; background: #f3f5f4; }

.site-footer { background: var(--green-deep); color: #e7f3ec; margin-top: 8px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 0; }
.footer-logo { display: block; flex: none; margin: 0; }
.footer-logo img { height: 36px; width: auto; max-width: 100%; }
.footer-contact { text-align: left; margin-right: 180px; }
.site-footer h2 { margin: 0 0 12px; font-size: var(--fs-h2); font-weight: 600; color: #fff; }
.site-footer p { margin: 0; line-height: 1.9; font-size: var(--fs-footer); }
.footer-person + .footer-person { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.site-footer a { color: #fff; }
.copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 18px;
  background: #062e1c;
  color: #c9ddd2;
  text-align: center;
  font-size: var(--fs-copy);
  line-height: 1.6;
  padding: 14px 16px;
}
.copy a { color: inherit; }
.copy a:hover { color: #fff; }
.copy img { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; }

.missing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #0c5c38, #14784a 55%, #f6f8f6 55%);
}
.missing-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
}
.missing-card h1 { margin: 0 0 8px; font-size: var(--fs-h1); }
.missing-card p { color: var(--muted); font-size: var(--fs-body); }
.missing-card a {
  display: inline-block;
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
}
.missing-card a:hover { color: #fff; background: var(--green-mid); }

@media (max-width: 1024px) {
  :root {
    --fs-body: 15px;
    --fs-brand: 15px;
    --fs-nav: 14px;
    --fs-h1: 22px;
    --fs-h2: 18px;
    --fs-side: 16px;
    --fs-prose: 15px;
    --fs-small: 13px;
    --fs-footer: 14px;
  }
  .site-nav a { padding: 0 14px; }
}

.page-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(246, 248, 246, 0.78);
}
.page-loading.is-on { display: flex; }
.page-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 128px;
  padding: 22px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(12, 60, 36, 0.12);
  color: #0c5c38;
  font-size: 14px;
  line-height: 1.4;
}
.page-loading-spin {
  width: 34px;
  height: 34px;
  border: 3px solid #d7e6dc;
  border-top-color: #0c5c38;
  border-radius: 50%;
  animation: gef-spin 0.7s linear infinite;
}
@keyframes gef-spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .brand img { height: 32px; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-contact { margin-right: 0; }
  .footer-logo img { height: 32px; }
  .head-bar { min-height: 60px; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-inner { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 4px 0 8px; }
  .site-nav a { min-height: 40px; padding: 0 12px; border-bottom: 0; border-radius: 8px; }
  .layout { grid-template-columns: 1fr; }
  .side-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; overflow: visible; }
  .side-nav a { white-space: normal; background: #f3f6f4; }
  .panel, .main-card { padding: 22px 18px; }
}

@media (max-width: 640px) {
  :root {
    --fs-body: 14px;
    --fs-brand: 14px;
    --fs-nav: 14px;
    --fs-h1: 18px;
    --fs-h2: 16px;
    --fs-side: 15px;
    --fs-prose: 14px;
    --fs-small: 12px;
    --fs-footer: 13px;
    --fs-copy: 12px;
  }
  .wrap { width: min(var(--wrap), calc(100% - 24px)); }
  .brand img { height: 30px; }
  .news-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .page { padding: 20px 0 40px; }
}
