/* cosmic_finance 页面专属覆盖 */

/* 覆盖 .choose>div { display:none } — 源站分类切换逻辑，只有一个分类时直接显示 */
.resources .choose > div {
  display: block !important;
}

/* 覆盖 product_easdetail.css 第二个 .resources li 的 float 布局（swiper 用 div.swiper-slide 而非 li） */
.resources .swiper-slide {
  float: none !important;
}

/* 覆盖 product_easdetail.css .resources .img { height:0; padding-bottom:39% }
   swiper-slide 里的 .img 需要有实际高度 */
.resources .swiper-slide .img {
  height: 180px;
  padding-bottom: 0;
}

/* FAQ 加减号：使用源站同款图标（已下载到本地 v0.1/images/system/） */
.answer .ans_tit {
  cursor: pointer;
}
.answer .ans_tit::before {
  content: "" !important;
  background: url('/static/cosmic_dev_assets/r/cms/www/default/v0.1/images/system/icona.png') !important;
  background-size: cover !important;
  display: block !important;
  border-radius: 50% !important;
}
.answer .ans_tit.ans_act::before {
  content: "" !important;
  background: url('/static/cosmic_dev_assets/r/cms/www/default/v0.1/images/system/iconb.png') !important;
  background-size: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

/* EPM 产品推荐：完全复刻源站
   - 卡片/分页样式由 product_easdetail.css + swiper.min.css 提供（与源站同文件）
   - 此处补充源站 head 内联规则 */
.epm_des {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
}
.epm {
  container-name: epm;
  container-type: inline-size;
}
@container epm (max-width: 1439px) {
  .epm .w1440 {
    width: 95% !important;
  }
}
