/* resourcesDetail.html 页面专用样式
   仅作用于 .resource-center-detail-page，避免影响其它页面 */

/* ========== 资源中心详情页 ========== */
.resource-center-detail-page .rc-detail-toolbar {
  display: none !important;
}

.resource-center-detail-page .rc-detail-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.resource-center-detail-page .rc-detail-breadcrumb {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666666;
}

.resource-center-detail-page .rc-detail-breadcrumb a {
  color: #666666;
  text-decoration: none;
}

.resource-center-detail-page .rc-detail-breadcrumb a:hover {
  color: #186cea;
}

.resource-center-detail-page .rc-breadcrumb-sep {
  margin: 0;
  color: #999;
}

.resource-center-detail-page .rc-breadcrumb-current {
  color: #666666;
}

.resource-center-detail-page .rc-detail-report-block {
  background: linear-gradient(135deg, #e8f0fe 0%, #f0f7ff 100%);
  border: 1px dashed #b8d4f0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

/* 详情页：资源详情信息卡片（PC 左图右文） */
.resource-center-detail-page .rc-detail-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
}

.resource-center-detail-page .rc-detail-hero-cover {
  flex: 0 0 400px;
  width: 400px;
  max-width: 100%;
  text-decoration: none;
}

.resource-center-detail-page .rc-detail-hero-cover-inner {
  width: 400px;
  height: 196px;
  background: #eaf3ff url("../img/knowledge-resources-list-bg1@2x.png") center center / cover no-repeat;
  padding: 15px 14px;
  box-sizing: border-box;
  border-radius: 0px;
  box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.08);
}

.resource-center-detail-page .rc-detail-hero-logo {
  width: 52px;
  height: auto;
  display: block;
}

.resource-center-detail-page .rc-detail-hero-title-main {
  margin-top: 26px;
  text-align: center;
  color: #2b3a55;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.resource-center-detail-page .rc-detail-hero-download {
  margin-top: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #333333;
  font-size: 15px;
  text-decoration: underline;
}

.resource-center-detail-page .rc-detail-hero-download img {
  width: 18px;
  height: 18px;
  display: block;
}

.resource-center-detail-page .rc-detail-hero-download span {
  font-weight: 400;
}

.resource-center-detail-page .rc-detail-hero-main {
  flex: 1 1 0;
  margin-left: 0;
  padding-left: 0;
}

.resource-center-detail-page .rc-detail-hero-title {
  margin: 0 0 12px;
  margin-left: -8px;
  font-size: 18px;
  font-weight: 400;
  color: #333333;
}

.resource-center-detail-page .rc-detail-hero-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  padding-right: 12px;
  padding-left: 12px;
  background: #F0F4FC;
  color: #4983f2;
  font-size: 14px;
  text-decoration: none;
}

.resource-center-detail-page .rc-detail-hero-meta {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 10px 0 12px;
  color: #999999;
  font-size: 12px;
}

.resource-center-detail-page .rc-detail-hero-submeta {
  margin: 0 0 12px;
}


.resource-center-detail-page .rc-detail-hero-meta-time-icon {
  margin-top: 1.5px;
  width: 16px;
  height: 16px;
  background: url("../img/knowledge-article-icon-time@2x.png") center center no-repeat;
  background-size: 16px 16px;
  flex-shrink: 0;
}

.resource-center-detail-page .rc-detail-hero-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

/* 封面：移动端“立即咨询”按钮（默认隐藏；是否启用由本页 JS/CSS 决定） */
.resource-center-detail-page .rc-detail-hero-primary-btn {
  display: none;
}

/* ========== 移动端样式：只在 ≤768px 下生效，PC 不受影响 ========== */
@media (max-width: 768px) {
  .resource-center-detail-page .rc-wrap.rc-detail-board {
    padding-left: 0.26667rem;
    padding-right: 0.26667rem;
    box-sizing: border-box;
  }

  .resource-center-detail-page .rc-detail-hero {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0 0 0.533333rem;
  }

  .resource-center-detail-page .rc-detail-hero-cover {
    flex: none;
    /* 与 resourceCenter.css 同方案：统一按 1rem=37.5px 的固定 rem 尺寸 */
    width: 9.467rem;   /* 355px */
    height: 4.64rem;   /* 174px */
  }

  .resource-center-detail-page .rc-detail-hero-cover-inner {
    width: 100%;
    height: 100%;
    padding: 0.346667rem 0.346667rem 0.21333rem;
    border-radius: 0.16rem;
    position: relative; /* 右下角“免费下载”定位参考 */
  }

  .resource-center-detail-page .rc-detail-hero-logo {
    width: 1.227rem;   /* 46px */
  }

  .resource-center-detail-page .rc-detail-hero-title-main {
    margin-top: 0.48rem;
    font-size: 0.507rem;  /* 19px */
  }

  .resource-center-detail-page .rc-detail-hero-primary-btn {
    display: inline-flex;
  }

  .resource-center-detail-page .rc-detail-hero-download {
    position: absolute;
    right: 0.267rem;  /* 10px */
    bottom: 0.267rem; /* 10px */
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.347rem; /* 13px */
    color: #333333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .resource-center-detail-page .rc-detail-hero-download img {
    width: 0.48rem;  /* 18px */
    height: 0.48rem; /* 18px */
    margin-right: 0.013rem; /* 0.5px */
  }

  .resource-center-detail-page .rc-detail-hero-download span {
    font-weight: 400;
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 0.05em;
  }

  .resource-center-detail-page .rc-detail-hero-main {
    width: 100%;
    min-width: 0;
  }

  .resource-center-detail-page .rc-detail-hero-title {
    margin: 0 0 0.32rem;
    margin-left: 0;
    font-size: 0.427rem;
  }

  .resource-center-detail-page .rc-detail-hero-meta {
    margin: 0.16rem 0 0.32rem;
    font-size: 0.32rem;
  }

  .resource-center-detail-page .rc-detail-hero-desc {
    font-size: 0.373rem;
    line-height: 0.6rem;
  }

  .resource-center-detail-page .rc-detail-hero-meta-time-icon {
    width: 0.4rem;
    height: 0.4rem;
    background-size: 0.4rem 0.4rem;
  }
}

.resource-center-detail-page .rc-detail-report-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.resource-center-detail-page .rc-detail-report-logo img {
  width: 60px;
  height: auto;
  display: block;
}

.resource-center-detail-page .rc-detail-report-title {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.resource-center-detail-page .rc-detail-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #186cea;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, opacity 0.2s;
}

.resource-center-detail-page .rc-detail-download-btn:hover {
  background: #1456c4;
}

.resource-center-detail-page .rc-detail-download-btn img {
  width: 18px;
  height: 18px;
}

.resource-center-detail-page .rc-detail-content-overview {
  margin-top: 0;
}

.resource-center-detail-page .rc-detail-content-heading {
  margin: 0 0 16px 0;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  border-left: 4px solid #186cea;
  line-height: 1.1;
}

.resource-center-detail-page .rc-detail-content-heading::after {
  content: none;
}

.resource-center-detail-page .rc-detail-content-divider {
  height: 1px;
  background: #eeeeee;
  margin-bottom: 15px;
}

.resource-center-detail-page .rc-detail-content-body {
  font-size: 14px;
  line-height: 23px;
  color: #333333;
}

.resource-center-detail-page .rc-detail-content-tip {
  margin-top: 24px;
  margin-bottom: 27px;
  text-align: center;
  font-size: 14px;
  color: #333333;
}

.resource-center-detail-page .rc-detail-content-tip-download {
  color: #196cea;
  text-decoration: underline;
}

.resource-center-detail-page .rc-detail-content-tip-quote {
  color: #333333;
  text-decoration: none;
}

.resource-center-detail-page .rc-detail-content-tip-free {
  color: #196cea;
  font-weight: 700;
}

.resource-center-detail-page .rc-detail-content-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.resource-center-detail-page .rc-detail-content-body video,
.resource-center-detail-page .rc-detail-content-body iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.resource-center-detail-page .rc-detail-side-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}

.resource-center-detail-page .rc-detail-side-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.resource-center-detail-page .rc-detail-side-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e8f0fe;
  color: #186cea;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.resource-center-detail-page .rc-detail-side-meta {
  margin: 0 0 12px 0;
  font-size: 12px;
  color: #999;
}

.resource-center-detail-page .rc-detail-side-desc {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.resource-center-detail-page .rc-detail-side-consult {
  display: block;
  text-align: center;
  padding: 10px;
  background: #1264E2;
  border-radius: 3px 3px 3px 3px;
  color: #fff;
  font-size: 16px;
  width: 125px;
  height: 39px;
}

.resource-center-detail-page .rc-detail-side-consult:hover {
  background: #1456c4;
}

@media (max-width: 768px) {
  /* 移动端：详情页不展示顶部 rc-hero（不影响 PC） */
  .resource-center-detail-page .rc-hero {
    display: none;
  }

  /* 移动端：顶部保留 73px 间距（不影响 PC） */
  .resource-center-detail-page .rc-main {
    padding-top: 1.4rem; /* 73px */
  }

  .resource-center-detail-page .rc-detail-breadcrumb {
    margin-bottom: 0.346667rem;
    font-size: 0.32rem; /* 12px */
    color: #999999;
  }

  .resource-center-detail-page .rc-detail-breadcrumb a,
  .resource-center-detail-page .rc-breadcrumb-sep,
  .resource-center-detail-page .rc-breadcrumb-current {
    font-size: 0.32rem; /* 12px */
    color: #999999;
  }

  /* 移动端封面：固定尺寸 + 左右 10px 边距（统一所有移动视口） */
  .resource-center-detail-page .rc-detail-hero-cover-inner {
    width: 9.467rem;  /* 355px */
    height: 4.64rem;  /* 174px */
    min-height: 4.64rem; /* 覆盖 PC 端 min-height:196px，确保固定为 174px */
    box-sizing: border-box;
  }

  /* 移动端：封面内“立即咨询”按钮统一样式（不影响 PC） */
  .resource-center-detail-page .rc-detail-hero-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;     /* 97.5px */
    height: 0.827rem;  /* 31px */
    margin: 0.427rem auto 0; /* 距标题 16px，水平居中 */
    background: #1264E2;
    border-radius: 0.133rem; /* 5px */
    color: #ffffff;
    font-size: 0.347rem; /* 13px */
    line-height: 1;
    cursor: pointer;
    user-select: none;
  }

  .resource-center-detail-page .rc-detail-hero-primary-btn::before {
    content: "";
    width: 0.48rem;  /* 18px */
    height: 0.48rem; /* 18px */
    margin-right: 0.187rem; /* 7px */
    background: url("../img/knowledge-article-icon-consult@2x.png") center center no-repeat;
    background-size: 0.48rem 0.48rem;
    flex-shrink: 0;
  }
  .resource-center-detail-page .rc-detail-report-block {
    padding: 0.64rem;
    margin-bottom: 0.64rem;
  }
  .resource-center-detail-page .rc-detail-report-inner {
    gap: 0.427rem;
  }
  .resource-center-detail-page .rc-detail-report-logo img {
    width: 1.6rem;
  }
  .resource-center-detail-page .rc-detail-report-title {
    font-size: 0.533rem;
  }
  .resource-center-detail-page .rc-detail-download-btn {
    padding: 0.267rem 0.533rem;
    font-size: 0.373rem;
  }
  .resource-center-detail-page .rc-detail-download-btn img {
    width: 0.48rem;
    height: 0.48rem;
  }
  .resource-center-detail-page .rc-detail-content-heading {
    margin-bottom: 0.266667rem;  /* 13px */
    padding-left: 0.266667rem;      /* 3px 与蓝色竖线的间距 */
    font-size: 0.4rem;
    border-left-width: 0.107rem;
    line-height: 1.1;
  }
  .resource-center-detail-page .rc-detail-content-body {
    font-size: 0.373rem;
  }

  /* 移动端：rc-detail-content-tip 文案字号（PC 14px → rem） */
  .resource-center-detail-page .rc-detail-content-tip {
    font-size: 0.373333rem; /* 14px @ 1rem=37.5px */
  }
  .resource-center-detail-page .rc-detail-side-card {
    padding: 0.533rem;
    margin-bottom: 0.64rem;
  }
  .resource-center-detail-page .rc-detail-side-title {
    font-size: 0.427rem;
  }
  .resource-center-detail-page .rc-detail-side-consult {
    padding: 0.267rem;
    font-size: 0.373rem;
  }

  .resource-center-detail-page .rc-detail-content-divider {
    margin-bottom: 0.34667rem; /* 13px */
  }

  /* 移动端：提示文案在“内容，”后换行，PC 不换行 */
  .resource-center-detail-page .rc-detail-content-tip-prefix::after {
    content: "\A";
    white-space: pre;
  }

  /* 移动端：隐藏右侧重复标题（不影响 PC） */
  .resource-center-detail-page .rc-detail-hero-title {
    display: none;
  }

  /* 移动端：隐藏“方案咨询”按钮（不影响 PC） */
  .resource-center-detail-page .rc-detail-side-consult {
    display: none;
  }

  /* 移动端：描述与“日期/标签”上下顺序对调（不影响 PC） */
  .resource-center-detail-page .rc-detail-hero-main {
    display: flex;
    flex-direction: column;
  }

  .resource-center-detail-page .rc-detail-hero-desc {
    order: 1;
  }

  .resource-center-detail-page .rc-detail-hero-submeta {
    order: 2;
  }

  /* 移动端：时间 + 标签同一行（标签跟在时间后 15px） */
  .resource-center-detail-page .rc-detail-hero-submeta {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 0.32rem; /* 12px */
    color: #999999;
  }

  .resource-center-detail-page .rc-detail-hero-submeta .rc-detail-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.106667rem;
    margin: 0;
    font-size: 0.32rem;
    color: #999999;
    order: 1;
    min-width: 0;
  }

  .resource-center-detail-page .rc-detail-hero-meta-time {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .resource-center-detail-page .rc-detail-hero-submeta .rc-detail-hero-tag {
    order: 2;
    flex-shrink: 0;
    margin: 0 0 0 0.4rem; /* 15px */
    padding: 0.107rem 0.16rem; /* 4px 6px */
    background: #F0F4FC;
    color: #1264e2;
    font-size: 0.32rem; /* 12px */
    border-radius: 0;
  }

  .resource-center-detail-page .rc-detail-hero-desc {
    margin-bottom: 0.18667rem; /* 10px */
  }
}

/* 兼容：PC 小窗（769px~1024px）不要套用移动端封面 355x174 */
@media (min-width: 769px) and (max-width: 1024px) {
  .resource-center-detail-page .rc-detail-hero-cover-inner {
    width: 9.467rem;
    height: 4.64rem;
    min-height: 4.64rem;
    box-sizing: border-box;
  }
}

