/* ============================================================
   MOAT 研究详情页（research/<slug>.html × 7）
   深读排版：max-width 720px 文章列、1.9 行高、章节点缀
   ============================================================ */

/* ---------- 详情页文章排版（深读） ---------- */
.moat-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 0;
}
.moat-article-body {
  font-size: 1.04rem;
  line-height: 1.9;
  color: #26282b;
  font-family: "Geist Sans Variable", "PingFang SC", "Microsoft YaHei", serif;
}
.moat-article-body h2 {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: #1e2124;
  margin: 3em 0 1em;
}
.moat-article-body h2:first-child {
  margin-top: 0;
}
.moat-article-body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e2124;
  margin: 2.2em 0 0.8em;
}
.moat-article-body p {
  margin: 0 0 1.5em;
}
.moat-article-body ul,
.moat-article-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}
.moat-article-body li {
  margin-bottom: 0.6em;
}
.moat-article-body ul li::marker {
  color: #2b5945;
}
.moat-article-body blockquote {
  margin: 2em 0;
  padding: 18px 24px;
  background: #f7f7f7;
  border-left: 3px solid #2b5945;
  border-radius: 0 8px 8px 0;
}
.moat-article-body blockquote p {
  margin: 0;
  font-size: 1rem;
  color: #4a4d51;
}
.moat-article-body strong {
  font-weight: 650;
  color: #1e2124;
}

/* ---------- 详情页底部翻页（v8.5：仅下一篇；v8.7：去边框按钮改为 hairline 分隔纯文字入口；
   v8.14：双向翻页（上一篇 + 下一篇）、大幅增加 gap 与底部留白、hover 去绿） ---------- */
.moat-research-prevnext {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 96px 24px 140px;
}
.moat-research-pn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(30, 33, 36, 0.12);
  text-decoration: none;
  transition: border-color 0.25s ease;
}
.moat-research-pn:hover {
  border-top-color: #1e2124;
}
.moat-research-pn-label {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #8a8a8a;
  white-space: nowrap;
}
.moat-research-pn-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e2124;
  line-height: 1.45;
  text-align: right;
  transition: color 0.25s ease;
}
.moat-research-pn:hover .moat-research-pn-title {
  color: #1e2124;
}

/* ---------- 详情页论文格式（v7.0：题名 + 英文标题 + 元信息行 + 摘要块 + 关键词 + 章节正文） ---------- */
.moat-paper {
  /* v8.6：64px → 128px——hero 删除后标题此前紧贴吸顶 navbar（实测 h1 距 navbar 底仅 64px），
     下移让标题完整落在导航栏下方并保留从容的顶部节奏 */
  padding-top: 128px;
}
.moat-paper-head {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(30, 33, 36, 0.12);
}
.moat-paper-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1e2124;
  margin: 0;
}
.moat-paper-title-en {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: #8a8a8a;
  margin: 14px 0 0;
}
.moat-paper-meta {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  margin: 20px 0 0;
}
.moat-paper-abstract {
  margin: 36px 0 0;
  padding: 26px 30px;
  background: #f7f7f7;
  border-left: 3px solid #1e2124;
  border-radius: 0 10px 10px 0;
}
.moat-paper-abstract h2 {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #1e2124;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.moat-paper-abstract p {
  font-size: 1.02rem;
  line-height: 1.95;
  color: #26282b;
  margin: 0;
}
.moat-paper-keywords {
  margin: 20px 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #4a4d51;
}
.moat-paper-keywords::before {
  content: "关键词：";
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: #8a8a8a;
  margin-right: 8px;
}
.moat-paper-rule {
  border: none;
  border-top: 1px solid rgba(30, 33, 36, 0.12);
  margin: 44px 0 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .moat-article {
    padding: 36px 20px 0;
  }
  .moat-article-body {
    font-size: 1rem;
  }
  .moat-paper {
    padding-top: 88px;
  }
  .moat-paper-abstract {
    padding: 22px 22px;
  }
}

/* ---------- v8.13：摘要块换设计（去左侧黑竖线 → 独立浅灰圆角面板，
   眉标淡灰化与关键词眉标同层级，正文不动） ---------- */
.moat-paper-abstract {
  border-left: none;
  border-radius: 12px;
  padding: 28px 32px;
}
.moat-paper-abstract h2 {
  color: #8a8a8a;
  font-weight: 500;
}

/* ---------- v9.0：研究中心 hub（research/index.html）论文列表 ----------
   与详情页同一套语言：hairline 分隔行、mono 眉标、绿色点缀仅出现在 hover */
.moat-hub-list {
  margin: 52px 0 0;
}
.moat-hub-item {
  display: block;
  padding: 30px 6px;
  border-top: 1px solid rgba(30, 33, 36, 0.12);
  text-decoration: none;
}
.moat-hub-item:last-child {
  border-bottom: 1px solid rgba(30, 33, 36, 0.12);
}
.moat-hub-row {
  display: flex;
  align-items: baseline;
  gap: 26px;
}
.moat-hub-no {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #8a8a8a;
  min-width: 26px;
  transition: color 0.25s ease;
}
.moat-hub-main {
  flex: 1;
  min-width: 0;
}
.moat-hub-title {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.5;
  color: #1e2124;
  margin: 0;
}
.moat-hub-sum {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #4a4d51;
  margin: 8px 0 0;
}
.moat-hub-meta {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #8a8a8a;
  margin: 10px 0 0;
}
.moat-hub-arrow {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.95rem;
  color: rgba(43, 89, 69, 0);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.moat-hub-item:hover .moat-hub-no,
.moat-hub-item:hover .moat-hub-arrow {
  color: #2b5945;
}

@media (max-width: 768px) {
  .moat-hub-row {
    gap: 16px;
  }
  .moat-hub-title {
    font-size: 1.02rem;
  }
  .moat-hub-sum {
    font-size: 0.9rem;
  }
}

/* ---------- v9.1：术语库（glossary.html）----------
   与 hub 同构：hairline 分隔行；词条 = 中文名 + 英文 mono + 定义 + 出处 */
.moat-gloss-list {
  margin: 52px 0 0;
}
.moat-gloss-item {
  padding: 34px 6px;
  border-top: 1px solid rgba(30, 33, 36, 0.12);
}
.moat-gloss-item:last-child {
  border-bottom: 1px solid rgba(30, 33, 36, 0.12);
}
.moat-gloss-term {
  font-size: 1.14rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #1e2124;
  margin: 0;
}
.moat-gloss-en {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #8a8a8a;
  margin: 6px 0 0;
}
.moat-gloss-def {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #26282b;
  margin: 12px 0 0;
}
.moat-gloss-src {
  font-family: "Geist Mono Variable", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin: 12px 0 0;
}
.moat-gloss-src a {
  color: #2b5945;
  text-decoration: none;
}
.moat-gloss-src a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .moat-gloss-item {
    padding: 28px 4px;
  }
  .moat-gloss-term {
    font-size: 1.04rem;
  }
}
