.faq-knowledge-body,
html {
  margin: 0;
  padding: 0;
}

.faq-knowledge-body {
  background: rgba(245, 246, 247, 1);
  color: rgba(31, 41, 55, 1);
  font-family: "AlibabaPuHuiTi-Regular", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
}

.faq-knowledge-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: rgba(245, 246, 247, 1);
  --faq-knowledge-sticky-offset: 0px;
}

.faq-knowledge-page * {
  box-sizing: border-box;
}

.faq-knowledge-shell {
  width: min(1200px, calc(100vw - 48px));
  min-width: 0;
  padding: 0;
}

.faq-knowledge-breadcrumb {
  display: flex;
  justify-content: center;
  background: rgba(242, 242, 242, 1);
}

.faq-knowledge-breadcrumb__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(153, 153, 153, 1);
  font-size: 14px;
  line-height: 16px;
}

.faq-knowledge-breadcrumb__link,
.faq-knowledge-breadcrumb__link:visited,
.faq-knowledge-breadcrumb__link:hover,
.faq-knowledge-breadcrumb__link:active {
  text-decoration: none;
  color: rgba(153, 153, 153, 1);
}

.faq-knowledge-breadcrumb__current,
.faq-knowledge-breadcrumb__current:visited,
.faq-knowledge-breadcrumb__current:hover,
.faq-knowledge-breadcrumb__current:active {
  color: rgba(153, 153, 153, 1);
  text-decoration: none;
}

.faq-knowledge-tabs-sentinel {
  height: 0;
}

.faq-knowledge-tabs {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  margin-bottom: 6px;
  position: sticky;
  top: var(--faq-knowledge-sticky-offset);
  z-index: 40;
}

.faq-knowledge-tabs.faq-knowledge-tabs-stuck {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.faq-knowledge-tabs__inner {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 0;
}

.faq-knowledge-tabs__item {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 153px;
  padding-inline: 14px;
  border-bottom: 1px solid rgba(218, 36, 29, 1);
  color: rgba(0, 0, 0, 1);
  font-family: "SourceHanSansCN-Regular", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.faq-knowledge-tabs__item--active {
  color: rgba(218, 36, 29, 1);
  border: 1px solid rgba(218, 36, 29, 1);
  border-bottom: 0;
}

.faq-knowledge-tabs__line {
  min-height: 34px;
  flex: 1 1 auto;
  border-bottom: 1px solid rgba(218, 36, 29, 1);
}

.faq-knowledge-main {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  padding: 34px 0 90px;
}

.faq-knowledge-list {
  padding-top: 0;
}

.faq-knowledge-list__inner {
  display: flex;
  flex-direction: column;
  gap: 21px;
  box-sizing: border-box;
}

.faq-knowledge-list__inner:hover .faq-knowledge-list__empty-title{
  color: #2563eb;
}

.faq-knowledge-list__title {
  color: rgba(31, 41, 55, 1);
  font-family: "AlibabaPuHuiTi-Bold", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}

.faq-knowledge-list__item {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(196, 196, 196, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.faq-knowledge-list__item:first-of-type {
  padding-block-start: 26px;
}

.faq-knowledge-list__item--empty {
  min-height: 64px;
  padding: 19px 7px 19px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.faq-knowledge-list__item--empty:first-of-type {
  padding-block-start: 19px;
}

.faq-knowledge-list__item-title {
  color: rgba(31, 41, 55, 1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.faq-knowledge-list__empty-title {
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  font-family: "SourceHanSansCN-Regular", "AlibabaPuHuiTi-Regular", sans-serif;
}

.faq-knowledge-list__empty-date {
  color: rgba(102, 102, 102, 1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  font-family: "SourceHanSansCN-Regular", "AlibabaPuHuiTi-Regular", sans-serif;
  white-space: nowrap;
}

.faq-knowledge-list__item:hover .faq-knowledge-list__item-title,
.faq-knowledge-list__item:focus-visible .faq-knowledge-list__item-title {
  color: #2563EB;
}

.faq-knowledge-list__item-meta {
  display: flex;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.faq-knowledge-list__meta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-knowledge-list__meta-text {
  color: rgba(153, 153, 153, 1);
  font-size: 14px;
  line-height: 20px;
}

.faq-common-problems-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 39px 0 0;
  flex-wrap: wrap;
}

.faq-common-problems-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0;
}

.faq-common-problems-page-chip,
.faq-common-problems-page-total {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 238, 238, 1);
  background: rgba(255, 255, 255, 1);
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-weight: 400;
  line-height: 38px;
  white-space: nowrap;
}

.faq-common-problems-page-chip {
  min-width: 39.8px;
  padding: 0 15px;
  cursor: pointer;
}

.faq-common-problems-page-chip-nav {
  min-width: 60.8px;
}

.faq-common-problems-page-chip-wide {
  min-width: 47.58px;
}

.faq-common-problems-page-chip-active {
  border-color: rgba(221, 33, 40, 1);
  background: rgba(221, 33, 40, 1);
  color: rgba(255, 255, 255, 1);
}

.faq-common-problems-page-chip-disabled {
  color: rgba(210, 210, 210, 1);
  cursor: default;
}

.faq-common-problems-page-chip:disabled {
  pointer-events: none;
}

.faq-common-problems-page-chip-ellipsis {
  cursor: default;
}

.faq-common-problems-page-total {
  width: 85px;
  border-left: 0;
}

@media (max-width: 1200px) {
  .faq-knowledge-tabs__inner {
    flex-wrap: wrap;
    padding-block: 11px;
  }

  .faq-knowledge-tabs__item {
    width: auto;
  }

  .faq-knowledge-tabs__line {
    display: none;
  }
}

@media (max-width: 1279px) {
  .faq-knowledge-shell {
    width: min(1200px, calc(100vw - 32px));
  }
}

@media (max-width: 768px) {
  .faq-knowledge-shell {
    width: calc(100vw - 24px);
  }

  .faq-knowledge-breadcrumb__inner {
    min-height: 44px;
    line-height: 20px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .faq-knowledge-main {
    padding: 28px 0 56px;
  }

  .faq-knowledge-list {
    padding-top: 0;
  }

  .faq-knowledge-list__title {
    font-size: 22px;
    line-height: 32px;
  }

  .faq-knowledge-list__item-meta {
    gap: 18px;
  }

  .faq-common-problems-pagination {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .faq-common-problems-pagination-pages {
    flex-wrap: wrap;
  }

  .faq-common-problems-page-total {
    width: auto;
    min-width: 85px;
    padding: 0 12px;
    border-left: 1px solid rgba(238, 238, 238, 1);
  }
}
