.faq-detail-page .rc-left {
  min-width: 0;
}
.resource-center-page .rc-side-box {
    margin-bottom: 20px;
}
.resource-center-page .rc-board {
    padding-top: 12px;
}
.resource-center-page .rc-board {
    padding-top: 20px !important;
}

.faq-detail-page .fd-breadcrumb {
  margin: 0 0 20px;
  font-size: 14px;
  color: #666666;
  line-height: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faq-detail-page .fd-breadcrumb a {
  color: #666666;
  text-decoration: none;
}
.resource-center-page .rc-layout {
    padding-bottom: 10px !important;
}

.faq-detail-page .fd-breadcrumb a:hover {
  color: #1264e2;
}

.faq-detail-page .fd-bc-sep {
  color: #666666;
}

.faq-detail-page .fd-bc-current {
  color: #666666;
}

.faq-detail-page .fd-question-card {
  background: #ffffff;
  box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.08);
  padding: 20px 21px 0;
}

.faq-detail-page .fd-question-head {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f5f5f5;
  margin-left: -21px;
  margin-right: -21px;
  padding-left: 21px;
  padding-right: 21px;
}

.faq-detail-page .fd-question-avatar {
  flex: 0 0 40px;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-detail-page .fd-question-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-detail-page .fd-question-avatar-img img {
  width: 40px;
  height: 40px;
  display: block;
}

.faq-detail-page .fd-question-avatar-name {
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: #999999;
  text-align: center;
  white-space: nowrap;
}

.faq-detail-page .fd-question-head-main {
  flex: 1;
  min-width: 0;
}

.faq-detail-page .fd-question-title {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: #333333;
}

.faq-detail-page .fd-question-desc {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 18px;
  color: #333333;
}

.faq-detail-page .fd-question-meta {
  margin-top: 0;
  padding: 17px 0 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 18px;
  color: #999999;
}

.faq-detail-page .fd-meta-item {
  display: inline-flex;
  align-items: center;
}

.faq-detail-page .fd-meta-author-icon {
  width: 23px;
  height: 23px;
  margin-right: 6px;
  flex: 0 0 23px;
}

.faq-detail-page .fd-meta-author-icon img {
  width: 100%;
  height: 100%;
  display: block;
  margin-top: 1px;
}

.faq-detail-page .fd-meta-author-text {
  display: inline-flex;
  align-items: center;
}

.faq-detail-page .fd-meta-em {
  font-style: normal;
  color: #999999;
  margin-left: 4px;
  font-size:12px;
}

.faq-detail-page .fd-meta-time::before{
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.faq-detail-page .fd-meta-view::before{
  content: "";
  width: 19px;
  height: 16px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 4px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 19px 16px;
}

.faq-detail-page .fd-meta-time::before {
  background-image: url("../img/knowledge-article-icon-time@2x.png");
  margin-top: 1px;
}

.faq-detail-page .fd-meta-view::before {
  background-image: url("../img/knowledge-article-icon-read@2x.png");
  margin-top: 2px;
}

.faq-detail-page .fd-answers {
  min-height: 373px;
  height: auto;
  margin-top: 20px;
  background: #ffffff;
  box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.08);
}

.faq-detail-page .fd-answers-head {
  padding: 20px 20px;
  font-size: 18px;
  color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #f5f5f5;
}

.faq-detail-page .fd-answers-count {
  color: #1264e2;
  font-weight: 700;
}

.faq-detail-page .fd-answer-item {
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
}

.faq-detail-page .fd-answer-top {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.faq-detail-page .fd-answer-avatar {
  flex: 0 0 40px;
  width: 40px;
}

.faq-detail-page .fd-answer-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  margin-top: 2px;
}

.faq-detail-page .fd-answer-main {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-detail-page .fd-answer-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.faq-detail-page .fd-answer-name {
  font-size: 14px;
  line-height: 23px;
  color: #333333;
}

.faq-detail-page .fd-answer-level {
  font-size: 12px;
  line-height: 18px;
  color: #ff6b00;
  font-weight: 700;
}

.faq-detail-page .fd-answer-badge {
  font-size: 9px;
  line-height: 17px;
  color: #ff6e31;
  border: 1px solid #ff6e31;
  border-radius: 9px;
  padding: 0 8px;
  height: 15px;
  display: inline-flex;
  align-items: center;
}

.faq-detail-page .fd-answer-time {
  margin-top: 0;
  font-size: 12px;
  line-height: 18px;
  color: #999999;
  display: inline-flex;
  align-items: center;
  position: relative;
  top: -1px; /* 轻微上移，让文字与左侧头像底边更对齐 */
}

.faq-detail-page .fd-answer-time::before {
  content: none; /* PC：不显示时间前图标 */
}

.faq-detail-page .fd-answer-time-label {
  color: #999999;
}

.faq-detail-page .fd-answer-time-value {
  margin-left: 4px;
  color: #666666;
}
.faq-detail-page .fd-answer-content {
  margin-top: 20px;
  font-size: 14px;
  line-height: 23px;
  color: #333333;
  width: 100%;
}

.faq-detail-page .fd-answer-content p {
  margin: 0 0 28px;
}

.faq-detail-page .fd-answer-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .faq-detail-page .rc-top-tabs-wrap,
  .faq-detail-page .rc-tabs-mask {
    display: none;
  }
  .resource-center-page.faq-page .rc-wrap.rc-board {
    padding-top: 0.35rem; /* 22px @ 1rem=37.5px */
  }

  /* 移动端：按截图的灰底 + 卡片布局（仅 faqDetail 生效） */
  .faq-detail-page .rc-content {
    background: #ffffff;
  }

  .faq-detail-page .rc-wrap.rc-board {
    padding: 0.4rem 0.32rem 0; /* 12px 12px 0 */
    box-sizing: border-box;
  }

  .faq-detail-page .rc-layout {
    gap: 0.32rem; /* 12px */
  }

  .faq-detail-page .rc-right {
    display: none;
  }

  .faq-detail-page .fd-breadcrumb {
    margin: 0 0 0.53333rem; /* 9px */
    font-size: 0.32rem; /* 12px */
    line-height: 0.48rem; /* 18px */
    color: #999999;
  }

  .faq-detail-page .fd-breadcrumb a,
  .faq-detail-page .fd-bc-sep,
  .faq-detail-page .fd-bc-current {
    color: #999999;
  }

  .faq-detail-page .fd-question-card,
  .faq-detail-page .fd-answers {
    border-radius: 0.13333rem; /* 8px */
    box-shadow: 0px 0px 0.08rem 0.013333rem rgba(0,0,0,0.08);
  }

  .faq-detail-page .fd-question-card {
    padding: 0.4rem 0.4rem 0; /* 15px */
  }

  .faq-detail-page .fd-question-head {
    gap: 0.32rem; /* 12px */
    padding-bottom: 0.293333rem; /* 15px */
    margin-left: -0.4rem;
    margin-right: -0.4rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    border-bottom: 0;
  }

  /* 提问区左侧头像：移动端 40px → rem（与回答区头像一致） */
  .faq-detail-page .fd-question-avatar {
    flex: 0 0 1.067rem; /* 40px @ 1rem=37.5px */
    width: 1.067rem;
  }

  .faq-detail-page .fd-question-avatar-img {
    width: 1.067rem;
    height: 1.067rem;
    border-radius: 0.053rem; /* 2px */
  }

  .faq-detail-page .fd-question-avatar-img img {
    width: 1.067rem;
    height: 1.067rem;
  }

  .faq-detail-page .fd-question-avatar-name {
    margin-top: 0.16rem; /* 6px */
    font-size: 0.32rem; /* 12px */
    line-height: 0.48rem; /* 18px */
  }

  .faq-detail-page .fd-question-title {
    font-size: 0.426667rem; /* 17px */
    line-height: 0.64rem; /* 24px */
  }

  .faq-detail-page .fd-question-desc {
    color: #333333;
    margin-top: 0.213rem; /* 8px */
    font-size: 0.373333rem; /* 14px @ 1rem=37.5px */
    line-height: 0.48rem; /* 18px @ 1rem=37.5px */
  }

  .faq-detail-page .fd-question-meta {
    padding-top: 0;
    padding-bottom: 0.28rem;
    gap: 0.533rem; /* 20px */
    justify-content: flex-start;
    text-align: left;
    padding-left: 1.387rem; /* 40px(1.067rem) + 12px(0.32rem) */
    font-size: 0.32rem; /* 12px @ 1rem=37.5px */
    line-height: 0.48rem; /* 18px */
  }

  .faq-detail-page .fd-meta-author {
    display: none;
  }

  .faq-detail-page .fd-meta-time-label {
    display: none;
  }

  /* 提问区：时间图标 15×15、浏览图标 18×15，文字 12px → 仅移动端 rem */
  .faq-detail-page .fd-meta-time::before {
    width: 0.4rem; /* 15px */
    height: 0.4rem;
    background-size: 0.4rem 0.4rem;
    margin-right: 0.106667rem; /* 4px */
    vertical-align: middle;
  }

  .faq-detail-page .fd-meta-view::before {
    width: 0.48rem; /* 18px */
    height: 0.4rem; /* 15px */
    background-size: 0.48rem 0.4rem;
    margin-right: 0.106667rem; /* 4px */
    vertical-align: middle;
  }

  .faq-detail-page .fd-meta-time-value {
    font-size: 0.32rem; /* 12px */
    line-height: 0.48rem; /* 18px */
  }

  .faq-detail-page .fd-meta-view {
    font-size: 0.32rem; /* 12px */
    line-height: 0.48rem; /* 18px */
  }

  .faq-detail-page .fd-answers {
    min-height: 13.44rem; /* 504px @ 1rem = 37.5px */
    height: auto; /* 移动端自适应高度 */
    margin-top: 0.32rem; /* 12px */
  }

  .faq-detail-page .fd-answers-head {
    padding: 0.4rem; /* 15px */
    font-size: 0.413333rem;
    border-bottom: 0;
  }

  .faq-detail-page .fd-answer-item {
    padding: 0.4rem; /* 15px */
    padding-top: 0;
    display: flex;
    flex-direction: column;
  }

  .faq-detail-page .fd-answer-top {
    display: flex;
    align-items: flex-start;
    gap: 0.187rem; /* 7px */
  }

  .faq-detail-page .fd-answer-avatar {
    width: 1.067rem;
    flex: none;
  }

  .faq-detail-page .fd-answer-avatar-img {
    width: 1.067rem;
    height: 1.067rem;
  }

  .faq-detail-page .fd-answer-main {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-top: 0.04rem;
  }

  /* 「发布于 + 时间」整行 11px → rem，仅移动端 */
  .faq-detail-page .fd-answer-time {
    font-size: 0.293333rem; /* 11px @ 1rem=37.5px */
    line-height: 0.426667rem; /* ~16px */
    top: 0; /* 取消 PC 端 optical 微调，避免移动端错位 */
  }

  .faq-detail-page .fd-answer-time-label,
  .faq-detail-page .fd-answer-time-value {
    font-size: inherit;
    line-height: inherit;
  }

  /* 与 PC 端 fd-answer-content 样式一致，数值转为 rem */
  .faq-detail-page .fd-answer-content {
    margin-top: 0.533333rem; /* 20px */
    font-size: 0.373333rem; /* 14px */
    line-height: 0.613333rem; /* 23px */
    color: #333333;
    width: 100%;
    padding-left: 0;
  }

  .faq-detail-page .fd-answer-content p {
    margin: 0 0 0.746667rem; /* 28px 段间距 */
  }

  .faq-detail-page .fd-answer-content p:last-child {
    margin-bottom: 0;
  }
  .faq-detail-page .fd-answer-name {
      font-size: 0.32rem;
      margin-right: 0.13333rem;
  }
  .faq-detail-page .fd-answer-user-row {
     gap: 0.173333rem;
     margin-top: 0.08rem;
  }
  .faq-detail-page .fd-answer-badge {
      border: 0.0266667rem solid #ff6e31;
      height: 0.3466667rem;
      padding: 0 0.2rem;  
      border-radius: 0.1733333rem;
      font-size: 0.213333rem;
      line-height: 0.3466667rem;    
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }
  .faq-detail-page .fd-answer-level {
      font-weight: 400;
      font-size: 0.32rem;
  }
}

