/* 帮助文章详情：面包屑路径 */
.help-article-v3-page .help-article-v3__breadcrumb-nav {
  margin-bottom: 1.75rem;
}

.help-article-v3__breadcrumb {
  --help-crumb-divider: #cbd5e1;
  --help-crumb-bg: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 55%, #eef2f7 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0.7rem 1rem 0.7rem 1.1rem;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.45;
  background: var(--help-crumb-bg);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}

.help-article-v3__breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding-left: 0;
}

/* 覆盖 Bootstrap 默认分隔符，使用更轻的斜杠 */
.help-article-v3__breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

.help-article-v3__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  float: none;
  padding-right: 0.55rem;
  padding-left: 0;
  color: var(--help-crumb-divider);
  font-weight: 500;
  font-size: 0.95em;
}

.help-article-v3__crumb-link {
  color: #0b63c9;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  padding: 0.15rem 0.25rem;
  margin: -0.15rem -0.25rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.help-article-v3__crumb-link:hover {
  color: #074a96;
  background-color: rgba(0, 100, 207, 0.08);
  text-decoration: none;
}

.help-article-v3__crumb-icon {
  font-size: 0.95em;
  margin-right: 0.3rem;
  opacity: 0.9;
  vertical-align: -0.06em;
}

.help-article-v3__crumb-muted {
  color: #64748b;
  font-weight: 500;
}

.help-article-v3__breadcrumb .help-article-v3__crumb-current,
.help-article-v3__breadcrumb .breadcrumb-item.active {
  color: #1e293b;
  font-weight: 700;
}

.help-article-v3__breadcrumb .help-article-v3__crumb-current span {
  display: inline-block;
  max-width: min(100%, 36rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

@media (max-width: 576px) {
  .help-article-v3__breadcrumb {
    font-size: 0.82rem;
    padding: 0.6rem 0.75rem;
  }

  .help-article-v3__breadcrumb .help-article-v3__crumb-current span {
    white-space: normal;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 帮助中心 v3：与 policy 页相同的文档可读性，增加卡片与侧栏视觉层次 */
.help-center-v3 {
  font-family: "Inter", "Arial", sans-serif;
  color: #333;
}

.help-center-v3 .lead {
  color: #5c6670;
}

.help-center-v3__section-title {
  color: #0d47a1;
  font-weight: 600;
  border-left: 4px solid #0064cf;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

.help-center-v3 .help-card__cover {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-bottom: 1px solid #e8eef3;
  background: #f4f7fb;
}

.help-center-v3 .card {
  border: 1px solid #e8eef3;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.help-center-v3 .card:hover {
  border-color: #b3d4fc;
  box-shadow: 0 0.35rem 1rem rgba(0, 100, 207, 0.08);
}

.help-center-v3 .card-title {
  color: #1a2b3c;
  font-size: 1.05rem;
}

.help-article-v3__body {
  line-height: 1.75;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.help-article-v3__body img {
  max-width: 100%;
  height: auto;
}

.help-article-v3__body h2,
.help-article-v3__body h3 {
  margin-top: 1.5rem;
  color: #2c3e50;
}

/* 富文本表格：与后台 Quill 所见基本一致（Bootstrap 默认无表格边框） */
.help-article-v3__body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
  border: 1px solid #dee2e6;
  background: #fff;
}

.help-article-v3__body th,
.help-article-v3__body td {
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.help-article-v3__body thead th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}

.help-article-v3__body tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.help-article-v3__body caption {
  caption-side: bottom;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #64748b;
}

/* Quill / 部分编辑器会带 ql-syntax、pre 代码块 */
.help-article-v3__body pre,
.help-article-v3__body .ql-syntax {
  background: #f4f4f5;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  margin: 1rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.help-article-v3__body pre code,
.help-article-v3__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.help-article-v3__body p > code,
.help-article-v3__body li > code {
  background: #f4f4f5;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}
