@charset "UTF-8";
/**
 * Taobao 主题 — 帮助中心 / 资讯文章页
 * 路由示例：service-410.html → home/helpcenter/view
 */

.tb-article-page {
  padding-bottom: 40px;
  background: var(--tb-bg, #f5f5f5);
}

/* 面包屑 */
.tb-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}
.tb-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 16px;
  font-size: 13px;
  color: #999;
}
.tb-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}
.tb-breadcrumb a:hover {
  color: #ff5000;
}
.tb-breadcrumb-sep {
  color: #ddd;
  margin: 0 2px;
}
.tb-breadcrumb-muted {
  color: #999;
}
.tb-breadcrumb-current {
  color: #333;
  font-weight: 500;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 双栏布局 */
.tb-article-layout,
.help-box {
  width: min(var(--tb-container, 1190px), 100% - 32px);
  margin: 0 auto;
  min-height: 520px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tb-article-side,
.help-left {
  width: 240px;
  flex-shrink: 0;
  float: none;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.tb-article-side-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ff5000, #ff7733);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.tb-article-side-icon {
  display: flex;
  opacity: 0.95;
}
.h-title,
.b-99,
.b-lg {
  display: none;
}

/* 左侧菜单 */
.tb-article-menu,
#parent {
  list-style: none;
  margin: 0;
  padding: 8px 0 12px;
}
.tb-menu-group {
  border-bottom: 1px solid #f5f5f5;
}
.tb-menu-group:last-child {
  border-bottom: none;
}
.tb-menu-group-title,
.h-cat > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #fafafa;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-bottom: none;
}
.tb-menu-group-title:hover,
.h-cat > span:hover {
  background: #fff5f0;
  color: #ff5000;
}
.tb-menu-arrow,
.h-cat > span p {
  width: 0;
  height: 0;
  margin: 0;
  float: none;
  border: 5px solid transparent;
  border-top-color: #bbb;
  transition: transform 0.2s;
}
.h-show .tb-menu-arrow,
.h-show > span p {
  transform: rotate(180deg);
  border-top-color: #ff5000;
}
.h-hide ul,
.h-hide .tb-menu-list {
  display: none;
}
.h-show ul,
.h-show .tb-menu-list {
  display: block;
}
.tb-menu-list,
.h-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px;
  border: none;
}
.tb-menu-list li,
.h-list li {
  margin: 0;
  padding: 0;
  width: auto;
  line-height: normal;
  cursor: default;
}
.tb-menu-list a,
.h-list a {
  display: block;
  padding: 10px 16px 10px 28px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s, background 0.15s;
  border-left: 3px solid transparent;
}
.tb-menu-list a:hover,
.h-list a:hover li {
  color: #ff5000;
  background: #fff8f5;
  font-weight: normal;
}
.tb-menu-list li.h-curr a,
.h-list .h-curr a,
.h-curr {
  color: #ff5000 !important;
  font-weight: 600 !important;
  background: #fff1eb !important;
  border-left-color: #ff5000;
  margin-left: 0;
  border-image: none;
  border-width: 0;
  border-left-width: 3px;
  border-style: solid;
}

/* 正文区 */
.tb-article-main,
.help-right {
  flex: 1;
  min-width: 0;
  float: none;
  width: auto;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: none;
}
.tb-article-header {
  padding: 24px 32px 0;
  border-bottom: 1px solid #f5f5f5;
}
.tb-article-title,
.h-right-title h4 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  float: none;
}
.h-right-title {
  display: none;
}
#square {
  display: none;
}

.tb-article-body,
.h-content {
  padding: 24px 32px 32px;
  width: auto;
  min-height: 280px;
  text-indent: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow-x: auto;
}
.tb-article-body img,
.h-content img,
.n-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}
.tb-article-body h1,
.tb-article-body h2,
.tb-article-body h3,
.h-content h1,
.h-content h2,
.h-content h3 {
  color: #111;
  margin: 1.2em 0 0.6em;
  font-weight: 700;
}
.tb-article-body h1,
.h-content h1 {
  text-align: left;
  font-size: 22px;
}
.tb-article-body p,
.h-content p {
  margin: 0 0 1em;
}
.tb-article-body a {
  color: #ff5000;
  text-decoration: none;
}
.tb-article-body a:hover {
  text-decoration: underline;
}
.tb-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.tb-article-body table th,
.tb-article-body table td {
  border: 1px solid #eee;
  padding: 10px 12px;
}
.tb-article-body table th {
  background: #fafafa;
  font-weight: 600;
}

/* 反馈区 */
.tb-article-feedback,
.h-record {
  margin: 0;
  padding: 20px 32px 28px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  height: auto;
  width: auto;
}
.tb-article-feedback-q,
.h-record > p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #666;
  padding: 0;
}
.tb-article-feedback-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 36px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
}
.tb-btn-primary,
.h-button:first-of-type {
  background: linear-gradient(135deg, #ff5000, #ff7733);
  color: #fff !important;
  border: none;
  margin-left: 0;
  width: auto;
  height: 36px;
}
.tb-btn-primary:hover {
  opacity: 0.92;
}
.tb-btn-outline,
.h-button:last-of-type {
  background: #fff;
  color: #666 !important;
  border: 1px solid #ddd;
  width: auto;
  height: 36px;
  margin-left: 0;
}

/* 资讯列表 */
.help-right .head {
  display: none;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.news-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}
.news-list li:last-child {
  border-bottom: none;
}
#g-square {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5000;
  float: none;
  margin: 0;
}
.news-list a {
  flex: 1;
  font-size: 15px;
  color: #333;
  text-decoration: none;
  letter-spacing: normal;
  transition: color 0.15s;
}
.news-list a:hover {
  color: #ff5000;
  font-size: 15px;
  letter-spacing: normal;
}
.list-time {
  float: none;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
}
.cat-time {
  text-align: left;
  padding: 0 0 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  color: #999;
}
.n-content {
  width: 100%;
  min-height: 200px;
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

/* 分页 */
.h-page {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 60px;
  padding: 20px 0;
  background: none;
  text-align: center;
}
.h-page .pagination {
  position: static;
  top: auto;
  left: auto;
  display: inline-flex;
  gap: 8px;
  width: auto;
  height: auto;
  justify-content: center;
}
.h-page .pagination li {
  float: none;
  margin: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
}
.h-page .pagination li a,
.h-page .pagination .active span,
.h-page .pagination .disabled span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  padding: 0;
  left: auto;
}
.h-page .pagination .active {
  background: #ff5000;
  border-color: #ff5000;
  color: #fff;
}

/* 隐藏旧面包屑 */
.bc-nav {
  display: none;
}
.c,
.wst-clear {
  clear: both;
}

@media (max-width: 900px) {
  .tb-article-layout,
  .help-box {
    flex-direction: column;
  }
  .tb-article-side,
  .help-left {
    width: 100%;
  }
  .tb-article-header,
  .tb-article-body,
  .h-content,
  .tb-article-feedback,
  .h-record {
    padding-left: 20px;
    padding-right: 20px;
  }
}
