:root {
  --ink: #222831;
  --muted: #6c737c;
  --line: #e7e8ea;
  --accent: #aa6a2f;
  --warm: #f8f3ec;
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 82px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(25,34,45,.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--shell), calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.article-logo {
  flex: 0 0 78px;
  height: 68px;
  display: flex;
  align-items: center;
}
.article-logo img {
  width: 78px;
  height: 68px;
  object-fit: contain;
}
.article-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; white-space: nowrap; }
.article-nav a { position: relative; padding: 35px 0 33px; }
.article-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 23px;
  width: 0; height: 1px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .22s ease;
}
.article-nav a:hover::after, .article-nav a:focus-visible::after { width: 100%; }
.article-menu { display: none; }

.article-main { overflow: hidden; }
.page-label {
  width: min(var(--shell), calc(100% - 56px));
  margin: 0 auto;
  padding: 92px 0 50px;
}
.page-label h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); letter-spacing: .02em; }
.page-label p { margin: 8px 0 0; font-size: 15px; letter-spacing: .08em; color: #3d434b; }

.article-shell { width: min(1120px, calc(100% - 56px)); margin: 0 auto; padding-top: 86px; }
.article-heading { text-align: center; max-width: 1020px; margin: 0 auto; }
.article-heading .category {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}
.article-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: -.015em;
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 24px 0 42px;
  color: var(--muted);
  font-size: 14px;
}
.article-meta span + span::before { content: "·"; margin-right: 18px; color: #b8bdc2; }
.article-banner {
  position: relative;
  margin: 0 auto 58px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 22px 55px rgba(70,50,28,.12);
}
.article-banner img { width: 100%; height: auto; }

.article-body { max-width: 900px; margin: 0 auto; padding-bottom: 90px; }
.article-body p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 2;
  color: #333941;
  text-align: justify;
}
.article-body .lead { font-size: 18px; line-height: 2.05; color: #252b32; }
.article-section { margin-top: 62px; }
.article-section h3 {
  position: relative;
  margin: 0 0 26px;
  padding-top: 24px;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.45;
  font-weight: 650;
}
.article-section h3::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #d69546, #f0c37d);
}
.species-list { display: grid; gap: 14px; margin: 28px 0; }
.species-list p {
  margin: 0;
  padding: 20px 24px;
  border-left: 3px solid #d7a05a;
  background: linear-gradient(90deg, var(--warm), #fff);
}
.closing {
  margin-top: 54px !important;
  padding: 30px 34px;
  background: #f7f5f1;
  border-top: 1px solid #e5d4bc;
  border-bottom: 1px solid #e5d4bc;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--accent);
  font-size: 14px;
}
.article-back:hover { text-decoration: underline; }

.article-footer { background: #171b20; color: rgba(255,255,255,.72); }
.footer-inner {
  width: min(var(--shell), calc(100% - 56px));
  margin: 0 auto;
  padding: 48px 0 28px;
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.footer-brand img {
  width: 182px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-brand p { margin: 18px 0 0; font-size: 13px; line-height: 1.8; }
.footer-links { display: flex; gap: 28px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

@media (max-width: 1100px) {
  .article-nav { gap: 18px; font-size: 14px; }
}

@media (max-width: 820px) {
  .article-header { height: 72px; }
  .header-inner, .page-label, .article-shell, .footer-inner { width: min(100% - 36px, var(--shell)); }
  .article-logo { flex-basis: 70px; height: 58px; }
  .article-logo img { width: 70px; height: 58px; }
  .article-nav { display: none; }
  .article-menu { display: block; position: relative; }
  .article-menu summary { list-style: none; cursor: pointer; font-size: 14px; padding: 12px 0 12px 16px; }
  .article-menu summary::-webkit-details-marker { display: none; }
  .article-menu nav {
    position: absolute;
    top: 48px; right: 0;
    width: 210px;
    padding: 14px;
    display: grid;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
  }
  .article-menu nav a { padding: 10px 12px; }
  .article-shell { padding-top: 58px; }
  .article-meta { margin-bottom: 28px; }
  .article-banner { margin-bottom: 40px; border-radius: 0; }
  .article-body p { font-size: 16px; line-height: 1.9; text-align: left; }
  .article-section { margin-top: 48px; }
  .footer-top { display: grid; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
}

@media (max-width: 520px) {
  .header-inner, .page-label, .article-shell, .footer-inner { width: calc(100% - 28px); }
  .article-shell { padding-top: 44px; }
  .article-heading h2 { font-size: 28px; }
  .article-meta { display: block; line-height: 1.8; }
  .article-meta span { display: block; }
  .article-meta span + span::before { display: none; }
  .article-banner { width: calc(100% + 28px); margin-left: -14px; }
  .article-body { padding-bottom: 64px; }
  .article-body .lead { font-size: 17px; }
  .article-section h3 { font-size: 23px; }
  .species-list p, .closing { padding: 20px; }
}
