/* 内容页：使用指南 / 关于 */

.seo-page { background: radial-gradient(900px 520px at 92% -6%, rgba(231, 189, 87, 0.22), transparent 60%), radial-gradient(760px 460px at -8% 26%, rgba(126, 154, 131, 0.24), transparent 58%), var(--paper); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { transform: scaleX(1); }

.seo-hero {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 54px 40px 28px;
}
.seo-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.seo-hero h1 span { color: var(--accent); background: linear-gradient(180deg, transparent 67%, rgba(231, 189, 87, 0.4) 67%, rgba(231, 189, 87, 0.4) 93%, transparent 93%); padding-bottom: 0.04em; }
.seo-hero > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}
.seo-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 18px; color: var(--muted-light); font-size: 9.5px; }
.seo-meta span { display: inline-flex; align-items: center; gap: 5px; }
.seo-meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }

.article-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 80px), 980px);
  margin: 8px auto 44px;
  padding: 34px 46px 40px;
  border: 1px solid rgba(210, 196, 175, 0.85);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: var(--shadow-lg);
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
  padding: 13px 15px;
  border: 1px solid #e8ddcd;
  border-radius: 12px;
  background: #faf5ec;
}
.toc span { width: 100%; margin-bottom: 2px; color: var(--muted-light); font-size: 8px; font-weight: 700; letter-spacing: 0.12em; }
.toc a {
  padding: 5px 9px;
  border: 1px solid #e4d8c6;
  border-radius: 999px;
  background: #fffdf8;
  color: var(--muted);
  font-size: 9.5px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.toc a:hover { border-color: var(--accent); color: var(--accent-deep); }

.article-body { color: var(--ink-soft); font-size: 13.5px; line-height: 1.92; }
.article-body h2 {
  margin: 38px 0 12px;
  padding-top: 3px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 23px 0 7px; font-size: 15px; font-weight: 700; color: var(--ink); }
.article-body p { margin: 10px 0; }
.article-body ul, .article-body ol { margin: 10px 0; padding-left: 21px; }
.article-body li { margin: 5px 0; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--accent-deep); border-bottom: 1px solid rgba(217, 93, 69, 0.3); }
.article-body a:hover { border-color: var(--accent); }
.article-body code { padding: 1px 5px; border-radius: 4px; background: #f3ebdf; font-size: 11px; color: var(--ink); }

.article-callout {
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--sage);
  border-radius: 0 10px 10px 0;
  background: #f3f7f0;
  color: #5d6d61;
  font-size: 11.5px;
  line-height: 1.8;
}
.article-callout strong { color: var(--sage-deep); }
.article-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding: 19px 20px;
  border-radius: 14px;
  background: var(--forest);
  color: #f8f2e7;
}
.article-cta h3 { margin: 0; font-family: var(--font-serif); font-size: 20px; color: #fff9ec; }
.article-cta p { margin: 4px 0 0; color: #aebbb0; font-size: 9.5px; }
.article-cta a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--butter); color: #3d4535; font-size: 10px; font-weight: 700; }

.faq-list { margin-top: 14px; }
.faq-list details { border-top: 1px dashed #e6dbcb; }
.faq-list details:last-child { border-bottom: 1px dashed #e6dbcb; }
.faq-list summary { position: relative; padding: 13px 24px 13px 0; color: var(--ink); font-size: 12.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 11px; color: var(--muted-light); font-size: 17px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 14px; color: var(--muted); font-size: 11.5px; line-height: 1.8; }

.seo-related {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 80px), 980px);
  margin: 0 auto 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.seo-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.8);
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.seo-related a span { color: var(--accent); font-size: 15px; }
.seo-related a:hover { border-color: #d6b5a2; transform: translateY(-2px); }

@media (max-width: 860px) {
  .seo-hero { padding: 40px 20px 22px; }
  .seo-hero h1 { font-size: clamp(34px, 8vw, 50px); }
  .seo-hero > p { font-size: 13px; }
  .article-shell { width: calc(100% - 28px); padding: 24px 20px 28px; border-radius: 22px; }
  .article-body { font-size: 13px; }
  .article-body h2 { font-size: 24px; margin-top: 30px; }
  .seo-related { width: calc(100% - 28px); grid-template-columns: 1fr; margin-bottom: 42px; }
  .toc { margin-bottom: 22px; }
}
@media (max-width: 480px) {
  .seo-hero { padding-inline: 15px; }
  .article-shell { width: calc(100% - 20px); padding: 21px 15px 24px; }
  .article-cta { align-items: flex-start; }
  .article-cta a { width: 100%; justify-content: center; }
}
