/* ============================================================
   clashsg.com · 术语表页专属样式
   依赖 base.css / components.css 的设计令牌与组件。
   ============================================================ */

/* 页顶标题区:比普通区块头更大的一级标题 */
.gls-head{
  padding-top:52px;
  padding-bottom:12px;
}
.gls-title{
  margin-top:8px;
  font-family:var(--font-display);
  font-size:clamp(26px,4.2vw,34px);
  font-weight:800;
  letter-spacing:-.015em;
  line-height:1.25;
  color:var(--text);
}
.gls-toc{
  margin-top:24px;
}

/* 正文内联链接(sec-lead / term-desc 中使用) */
.gls-link{
  color:var(--accent-dark);
  text-decoration:underline;
  text-decoration-color:var(--border);
  text-underline-offset:3px;
}
.gls-link:hover{
  text-decoration-color:var(--accent-dark);
}

/* 锚点落点留出呼吸空间 */
section[id],
.term-card[id]{
  scroll-margin-top:24px;
}

/* 页尾引导面板:左文右按钮 */
.gls-more{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.gls-more-title{
  font-family:var(--font-display);
  font-size:17px;
  font-weight:700;
  color:var(--text);
}
.gls-more-text{
  margin-top:6px;
  max-width:52ch;
  font-size:13.5px;
  line-height:1.75;
  color:var(--text-muted);
}
.gls-more-acts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

@media (max-width:760px){
  .gls-head{padding-top:40px;}
}