/* 帮助文档：侧栏 + 正文，风格与 me.html 一致 */
.help-page {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  padding-bottom: 64px;
  box-sizing: border-box;
}

.help_topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.help_topbar .me_brand_title {
  font-size: 28px;
}

.help_layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.help_sidebar {
  flex: 0 0 240px;
  position: sticky;
  top: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 20px 0;
  backdrop-filter: blur(6px);
}

.help_sidebar_title {
  margin: 0 20px 12px;
  font-size: 16px;
  font-weight: 800;
  color: #14142b;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.help_nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help_nav a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  color: #4a4a68;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}

.help_nav a:hover {
  background: rgba(13, 71, 161, 0.06);
  color: #0d47a1;
  text-decoration: none;
}

.help_nav a.is-active {
  background: rgba(13, 71, 161, 0.08);
  color: #0d47a1;
  font-weight: 700;
  border-left-color: #0d47a1;
}

.help_nav_back {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.help_nav_back a {
  font-size: 13px;
  color: #6b6b86;
}

.help_body {
  flex: 1;
  min-width: 0;
}

.help_article {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 32px 36px;
  backdrop-filter: blur(6px);
}

.help_article h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #14142b;
  line-height: 1.35;
}

.help_article .help_lead {
  margin: 0 0 24px;
  font-size: 15px;
  color: #6b6b86;
  line-height: 1.7;
}

.help_article h2 {
  margin: 28px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.help_article h2:first-of-type {
  margin-top: 0;
}

.help_article h3 {
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #2a2a45;
}

.help_article p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: #4a4a68;
}

.help_article ol,
.help_article ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #4a4a68;
  font-size: 15px;
  line-height: 1.85;
}

.help_article li {
  margin-bottom: 8px;
}

.help_article a {
  font-weight: 600;
  word-break: break-all;
}

.help_figure {
  margin: 16px 0 24px;
  text-align: center;
}

.help_figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.help_figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #6b6b86;
  line-height: 1.6;
}

.help_index_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.help_index_list li {
  margin-bottom: 12px;
}

.help_index_list a {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(13, 71, 161, 0.04);
  border: 1px solid rgba(13, 71, 161, 0.1);
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.help_index_list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.12);
  color: #0d47a1;
  text-decoration: none;
}

.help_index_list span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #6b6b86;
}

@media (max-width: 991px) {
  .help_layout {
    flex-direction: column;
  }
  .help_sidebar {
    position: static;
    width: 100%;
    flex: none;
  }
  .help_article {
    padding: 22px 20px;
  }
}
