/* download.css - 门户下载中心（cms_template 106，Type=4）
 * 配套模板：~/Pages/Web/Templates/Download/List.cshtml
 *
 * 说明：模板 106 的 CssPath 只登记了本文件，因此这里除下载列表卡片样式外，
 * 还内联了「关于我们」设计壳层中被本页复用的尺寸类（group_4/group_5/box_4/
 * text-wrapper_4/text-wrapper_5 等，取自 /css/huagong/xiehuijianjie/index.css），
 * 保证下载页在不额外引入 index.css 的情况下与门户其它栏目页视觉一致。
 */

/* ===== 设计壳层（复用「关于我们」版式）===== */
.group_4 {
  background-color: rgba(237, 237, 237, 1);
  width: 1193px;
  height: 14px;
  margin: 24px 0 0 361px;
}

.group_5 {
  width: 1198px;
  height: 61px;
  margin: 27px 0 0 361px;
}

.text_19 {
  width: 88px;
  height: 30px;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: 22px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 30px;
  margin: 16px 0 0 93px;
}

.box_3 {
  width: 890px;
  height: 33px;
  margin-top: 7px;
}

.text_20 {
  width: auto;
  max-width: 700px;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 22px;
  overflow-wrap: break-word;
  color: rgba(102, 102, 102, 1);
  font-size: 16px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 22px;
  margin-left: 413px;
}

.image_5 {
  width: 886px;
  height: 1px;
  margin-top: 10px;
}

.group_6 {
  width: 1184px;
  margin: 0 0 136px 361px;
}

.box_4 {
  background-color: rgba(255, 243, 243, 1);
  width: 274px;
  height: 463px;
}

.block_1 {
  width: 215px;
  height: 25px;
  margin: 20px 0 0 30px;
}

.text_21 {
  width: 72px;
  height: 25px;
  overflow-wrap: break-word;
  color: rgba(213, 16, 13, 1);
  font-size: 18px;
  font-family: PingFang-SC-Bold;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 25px;
}

.thumbnail_6 {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.image_6 {
  width: 216px;
  height: 1px;
  margin: 20px 0 0 30px;
}

.image-text_1 {
  width: 215px;
  height: 25px;
  margin: 20px 0 33px 30px;
}

.text-group_1 {
  width: 180px;
  height: 25px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  line-height: 25px;
}

.thumbnail_12 {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.text-wrapper_4 {
  width: 873px;
  height: 100%;
  overflow-wrap: break-word;
  font-size: 0;
  font-family: PingFangSC-Regular;
  font-weight: normal;
  text-align: left;
  line-height: 34px;
  margin-top: 6px;
}

.text-wrapper_5 {
  background-color: rgba(213, 16, 13, 1);
  height: 40px;
  width: auto;
  min-width: 114px;
  padding: 0 16px;
  box-sizing: border-box;
  position: absolute;
  left: 670px;
  top: 334px;
}

.text_35 {
  width: auto;
  max-width: 320px;
  height: 25px;
  overflow-wrap: break-word;
  color: rgba(255, 228, 181, 1);
  font-size: 18px;
  font-family: PingFang-SC-Bold;
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  margin: 7px 0 0 0;
}

/* ===== 左侧子导航（_SubNav.cshtml）自适应 ===== */
.box_4.cms-about-nav {
  height: auto;
  min-height: 463px;
  padding-bottom: 24px;
}

.cms-about-nav__item {
  text-decoration: none;
  cursor: pointer;
  margin: 20px 0 0 30px;
}

.cms-about-nav__item:last-child {
  margin-bottom: 33px;
}

/* 子导航标题过长时省略 */
.cms-about-nav .text_21 {
  width: auto;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-about-nav__item .text-group_1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.cms-about-nav__item:hover .text-group_1 {
  color: rgba(213, 16, 13, 1);
}

.cms-about-nav--active .text-group_1 {
  color: rgba(213, 16, 13, 1);
  font-family: PingFang-SC-Bold, PingFangSC-Regular, Microsoft YaHei, sans-serif;
  font-weight: bold;
}

/* ===== 下载列表 ===== */
.text-wrapper_4.cms-download-list {
  height: auto;
  min-height: 463px;
  font-size: 14px;
  line-height: 24px;
  color: rgba(51, 51, 51, 1);
}

.cms-download-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid rgba(235, 235, 235, 1);
  background-color: rgba(250, 250, 250, 1);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.cms-download-item:hover {
  border-color: rgba(0, 104, 183, 0.45);
  background-color: rgba(245, 250, 255, 1);
  box-shadow: 0 2px 8px rgba(0, 104, 183, 0.08);
}

.cms-download-item__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  margin-right: 16px;
}

.cms-download-item__title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  line-height: 26px;
  font-family: PingFang-SC-Bold, PingFangSC-Regular, Microsoft YaHei, sans-serif;
  font-weight: bold;
  color: rgba(51, 51, 51, 1);
}

.cms-download-item__sub {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 22px;
  color: rgba(136, 136, 136, 1);
}

.cms-download-item__meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cms-download-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 2px;
  background-color: rgba(240, 240, 240, 1);
  color: rgba(136, 136, 136, 1);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.cms-download-tag--type {
  background-color: rgba(0, 104, 183, 0.1);
  color: rgba(0, 104, 183, 1);
  text-transform: uppercase;
}

.cms-download-tag--scope {
  background-color: rgba(213, 16, 13, 0.08);
  color: rgba(213, 16, 13, 1);
}

.cms-download-item__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* ===== 按钮 ===== */
.cms-btn {
  display: inline-block;
  height: 38px;
  padding: 0 22px;
  border: 1px solid rgba(0, 104, 183, 1);
  border-radius: 2px;
  background-color: #fff;
  color: rgba(0, 104, 183, 1);
  font-size: 15px;
  line-height: 36px;
  font-family: PingFangSC-Regular, Microsoft YaHei, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.cms-btn:hover {
  background-color: rgba(0, 104, 183, 0.08);
}

.cms-btn--primary {
  background-color: rgba(0, 104, 183, 1);
  color: #fff;
}

.cms-btn--primary:hover {
  background-color: rgba(0, 88, 155, 1);
  color: #fff;
}

.cms-btn--sm {
  height: 32px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 30px;
}

.cms-btn--locked,
.cms-btn--locked:hover {
  border-color: rgba(190, 150, 40, 1);
  background-color: rgba(255, 251, 230, 1);
  color: rgba(138, 109, 31, 1);
}

.cms-lock-icon {
  margin-right: 4px;
  font-size: 12px;
}

/* ===== 空态 ===== */
.cms-empty {
  padding: 80px 0;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: rgba(153, 153, 153, 1);
}
