/* ============================================================
   网站地图页（sitemap.html）
   仅作用于 <body class="ep sm">，沿用 editorial.css 的编辑式排版
   ============================================================ */

body.ep.sm .ep-head { padding-bottom: var(--space-7); }

body.ep.sm .sm-main {
  padding: var(--space-7) 0 var(--sec-y-lg);
  background: #fff;
  border-top: 1px solid var(--ep-line-light);
}

/* 双栏瀑布：分组各自不跨栏，长分组不会把另一栏拉出大片空白 */
body.ep.sm .sm-cols { columns: 2; column-gap: 72px; }

body.ep.sm .sm-group {
  break-inside: avoid;
  margin: 0 0 46px;
}

body.ep.sm .sm-title {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ep-ink);
  font-size: var(--fs-18);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ep-ink);
}

body.ep.sm .sm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ep.sm .sm-list li { border-bottom: 1px solid var(--ep-line-light); }

body.ep.sm .sm-list a {
  display: block;
  padding: 10px 0;
  font-size: var(--fs-15);
  line-height: 1.6;
  color: var(--ep-body);
  transition: color 0.18s ease;
}

body.ep.sm .sm-list a:hover,
body.ep.sm .sm-list a:focus-visible {
  color: var(--ep-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

@media (max-width: 900px) {
  body.ep.sm .sm-cols { columns: 1; }
  body.ep.sm .sm-group { margin-bottom: 36px; }
  body.ep.sm .sm-title { font-size: var(--fs-16); }
  body.ep.sm .sm-list a { font-size: var(--fs-14); padding: 9px 0; }
}
