/* 帮助中心（article/ 列表页 + 详情页）共用样式，2026-09-24 从两页 <style> 块合并；详情页手机端侧栏下沉用 .help-container--article */
.help-container {
  width: 1320px;
  margin: 0 auto;
  padding: 40px 0 60px;
  display: flex;
  gap: 24px;
}
.help-sidebar {
  width: 280px;
  flex-shrink: 0;
}
.help-sidebar__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.help-sidebar__header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.help-sidebar__header svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.help-sidebar__header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.help-sidebar__header h3 a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.help-sidebar__header h3 a:hover {
  opacity: .85;
}
.help-sidebar__nav {
  padding: 12px 0;
}
.help-sidebar__item {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  transition: all .25s ease;
  border-left: 3px solid transparent;
  position: relative;
}
.help-sidebar__item:hover {
  background: linear-gradient(90deg, rgba(4,125,233,.08) 0%, transparent 100%);
  color: #047de9;
  border-left-color: #047de9;
}
.help-sidebar__item.active {
  background: linear-gradient(90deg, rgba(4,125,233,.12) 0%, transparent 100%);
  color: #047de9;
  border-left-color: #047de9;
  font-weight: 600;
}
.help-sidebar__item svg {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  opacity: .6;
}
.help-sidebar__item:hover svg {
  opacity: 1;
}
.help-sidebar__item span {
  flex: 1;
}
.help-sidebar__item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid #cbd5e0;
  border-right: 2px solid #cbd5e0;
  transform: rotate(45deg);
  transition: all .25s;
}
.help-sidebar__item:hover::after {
  border-color: #047de9;
  transform: rotate(45deg) translateX(3px);
}
.help-content {
  flex: 1;
  min-width: 0;
}
.help-content__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  overflow: hidden;
}
.help-content__header {
  padding: 20px 28px;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.help-content__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 10px;
}
.help-content__title svg {
  width: 22px;
  height: 22px;
  fill: #047de9;
}
.help-content__count {
  font-size: 13px;
  color: #718096;
  background: #edf2f7;
  padding: 4px 12px;
  border-radius: 20px;
}
.article-list {
  padding: 8px 0;
}
.article-item {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  text-decoration: none;
  transition: all .2s ease;
  border-bottom: 1px solid #f7fafc;
}
.article-item:last-child {
  border-bottom: none;
}
.article-item:hover {
  background: linear-gradient(90deg, rgba(4,125,233,.04) 0%, transparent 100%);
}
.article-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}
.article-item__icon svg {
  width: 18px;
  height: 18px;
  fill: #047de9;
}
.article-item__content {
  flex: 1;
  min-width: 0;
}
.article-item__title {
  font-size: 15px;
  color: #2d3748;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.article-item:hover .article-item__title {
  color: #047de9;
}
.article-item__date {
  font-size: 13px;
  color: #a0aec0;
  flex-shrink: 0;
  margin-left: 20px;
}
.article-item__arrow {
  width: 20px;
  height: 20px;
  margin-left: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all .2s;
}
.article-item__arrow svg {
  width: 100%;
  height: 100%;
  fill: #047de9;
}
.article-item:hover .article-item__arrow {
  opacity: 1;
  transform: translateX(0);
}
.empty-state {
  padding: 60px 28px;
  text-align: center;
}
.empty-state__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #f7fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state__icon svg {
  width: 40px;
  height: 40px;
  fill: #cbd5e0;
}
.empty-state__text {
  font-size: 15px;
  color: #718096;
}
.pagination {
  padding: 24px 28px;
  display: flex;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid #edf2f7;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #f7fafc;
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: all .2s;
}
.pagination__btn:hover {
  background: #047de9;
  color: #fff;
}
.pagination__btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.article-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.article-header__title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.4;
  position: relative;
}
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.article-header__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.article-header__meta-item svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,.7);
}
.article-body {
  padding: 36px;
  line-height: 1.9;
  font-size: 15px;
  color: #374151;
}
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.article-body p {
  margin: 0 0 16px;
}
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  color: #1f2937;
  margin: 28px 0 16px;
  font-weight: 600;
}
.article-body h2 {
  font-size: 20px;
}
.article-body h3 {
  font-size: 18px;
}
.article-body a {
  color: #047de9;
  text-decoration: none;
}
.article-body a:hover {
  text-decoration: underline;
}
.article-body ul, .article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-body li {
  margin: 8px 0;
}
.article-body pre, .article-body code {
  background: #f3f4f6;
  border-radius: 6px;
  font-family: Consolas, Monaco, monospace;
}
.article-body pre {
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
}
.article-body code {
  padding: 2px 6px;
  font-size: 14px;
}
.article-body blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: #f8fafc;
  border-left: 4px solid #047de9;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
}
.article-body th {
  background: #f9fafb;
  font-weight: 600;
}
.article-footer {
  padding: 24px 36px;
  border-top: 1px solid #edf2f7;
  display: flex;
  justify-content: center;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #047de9 0%, #0366d6 100%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(4,125,233,.25);
}
.article-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4,125,233,.35);
}
.article-back svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.banner3 .b_bzzx {
  text-align: center;
}
.banner3 .b_bzzx h2 {
  text-align: center;
}
.search-banner {
  width: 720px;
  margin: 30px auto 0;
  position: relative;
}
.search-banner form {
  display: flex;
  background: #fff;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.search-banner input[type="text"] {
  flex: 1;
  border: none;
  padding: 18px 28px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: #333;
}
.search-banner input[type="text"]::placeholder {
  color: #a0aec0;
}
.search-banner button {
  border: none;
  background: linear-gradient(135deg, #047de9 0%, #0366d6 100%);
  color: #fff;
  padding: 18px 36px;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-banner button:hover {
  background: linear-gradient(135deg, #0366d6 0%, #024ea4 100%);
}
.search-banner button svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

@media (max-width: 1400px) {
  .help-container {
    width: 95%;
    padding: 30px 0 50px;
  }
}

@media (max-width: 992px) {
  .help-container {
    flex-direction: column;
  }
  .help-sidebar {
    width: 100%;
  }
  .help-container--article .help-sidebar {
    order: 2;
  }
  .help-container--article .help-content {
    order: 1;
  }
  .help-sidebar__card {
    position: static;
  }
  .search-banner {
    width: 90%;
  }
  .article-header {
    padding: 24px;
  }
  .article-body {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .help-container {
    width: 100%;
    padding: 20px 12px 40px;
    gap: 16px;
  }
  .search-banner {
    width: calc(100% - 24px);
  }
  .search-banner input[type="text"] {
    padding: 14px 20px;
    font-size: 14px;
  }
  .search-banner button {
    padding: 14px 24px;
    font-size: 14px;
  }
  .help-content__header {
    padding: 16px 20px;
  }
  .article-item {
    padding: 14px 20px;
  }
  .article-item__date {
    display: none;
  }
  .article-item__icon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
  }
  .article-item__icon svg {
    width: 16px;
    height: 16px;
  }
  .pagination {
    padding: 20px 16px;
  }
  .article-header {
    padding: 20px;
  }
  .article-header__title {
    font-size: 20px;
  }
  .article-header__meta {
    flex-wrap: wrap;
    gap: 12px;
  }
  .article-body {
    padding: 20px;
    font-size: 14px;
  }
  .article-footer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .help-container {
    padding: 16px 10px 30px;
  }
  .search-banner {
    width: calc(100% - 20px);
    margin: 20px auto 0;
  }
  .search-banner input[type="text"] {
    padding: 12px 16px;
    font-size: 13px;
    min-width: 0;
  }
  .search-banner button {
    padding: 12px 18px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .search-banner button svg {
    width: 16px;
    height: 16px;
  }
  .help-sidebar__header {
    padding: 16px 20px;
  }
  .help-sidebar__header h3 {
    font-size: 16px;
  }
  .help-sidebar__item {
    padding: 12px 20px;
    font-size: 14px;
  }
  .help-content__header {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .help-content__title {
    font-size: 16px;
  }
  .article-item {
    padding: 12px 16px;
  }
  .article-item__title {
    font-size: 14px;
  }
  .pagination__btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .article-header {
    padding: 16px;
  }
  .article-header__title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .article-header__meta-item {
    font-size: 12px;
  }
  .article-body {
    padding: 16px;
    line-height: 1.8;
  }
  .article-body h2 {
    font-size: 18px;
  }
  .article-body h3 {
    font-size: 16px;
  }
  .article-footer {
    padding: 16px;
  }
  .article-back {
    padding: 10px 20px;
    font-size: 13px;
  }
}
