@charset 'utf-8';
/* ============================================================
   一级页面/css/notice.css —— 通知公告 页面样式（新闻中心-通知公告）
   说明：
   1. 1rem = 100px（与 common.css 自适应换算一致）
   2. 兼容 IE11：Flexbox 均书写 -ms- 前缀；关键尺寸提供 px 兜底
   3. 禁止 CSS Grid；头尾/面包屑/分页复用 common/topbottom-hh.css
   ============================================================ */

/* ---------- 内容区 ---------- */
.notice-main {
  width: 1530px;
  width: 15.3rem;
  margin: 0 auto;
  padding-bottom: 10px;
  padding-bottom: 0.1rem;
}

/* ---------- 通知公告列表 ---------- */
.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}
.notice-item {
  position: relative;
  height: 205px;
  height: 2.05rem;
  box-sizing: border-box;
  border-bottom: 1px solid #ececec;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}
/* 鼠标悬停：紫色渐变高亮 */
.notice-item:hover {
  background: linear-gradient(90deg, #6845c4 0%, #977fd3 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF6845C4', endColorstr='#FF977FD3', GradientType=1);
  border-bottom: none;
  border-radius: 0 40px 0 40px;
  border-radius: 0 0.4rem 0 0.4rem;
  box-shadow: 0 4px 10px 0 rgba(104, 69, 196, 0.5);
}
/* 日期块 */
.notice-date {
  width: 86px;
  width: 0.86rem;
  margin-right: 48px;
  margin-right: 0.48rem;
  text-align: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.notice-date .day {
  display: block;
  font-family: "Microsoft YaHei";
  font-size: 48px;
  font-size: 0.48rem;
  font-weight: 700;
  line-height: 1.3;
  color: #6845c4;
}
.notice-item:hover .notice-date .day {
  color: #ffffff;
}
.notice-date .ym {
  display: block;
  font-family: "Microsoft YaHei";
  font-size: 20px;
  font-size: 0.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: #333333;
}
.notice-item:hover .notice-date .ym {
  color: #ffffff;
}
/* 分隔竖线 */
.notice-line {
  width: 1px;
  height: 140px;
  height: 1.4rem;
  background: #ececec;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.notice-item:hover .notice-line {
  background: rgba(255, 255, 255, 0.5);
}
/* 内容块 */
.notice-body {
  width: 980px;
  width: 9.8rem;
  margin-left: 58px;
  margin-left: 0.58rem;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.notice-title {
  display: block;
  font-family: "Microsoft YaHei";
  font-size: 20px;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #080707;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.09em;
}
.notice-item:hover .notice-title {
  color: #ffffff;
}
.notice-desc {
  margin-top: 20px;
  margin-top: 0.2rem;
  font-family: "Microsoft YaHei";
  font-size: 16px;
  font-size: 0.16rem;
  line-height: 167.25%;
  color: #666666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  max-height: 52px;
  max-height: 0.52rem;
  letter-spacing: 0.09em;
}
.notice-item:hover .notice-desc {
  color: #ffffff;
}
/* 查看詳情按钮 */
.notice-btn {
  width: 170px;
  width: 1.7rem;
  height: 46px;
  height: 0.46rem;
  margin-left: 59px;
  margin-left: 0.59rem;
  border-radius: 24px;
  border-radius: 0.24rem;
  background: #6845c4;
  color: #ffffff;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: "Microsoft YaHei";
  font-size: 20px;
  font-size: 0.2rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
}
.notice-item:hover .notice-btn {
  background: #ffffff;
  color: #6845c4;
}
/* 按钮箭头：默认白箭头（紫底），hover 切紫箭头（白底） */
.notice-btn .arr-w {
  display: inline-block;
}
.notice-btn .arr-p {
  display: none;
}
.notice-item:hover .notice-btn .arr-w {
  display: none;
}
.notice-item:hover .notice-btn .arr-p {
  display: inline-block;
}
.notice-btn img {
  width: 17px;
  width: 0.17rem;
  height: 11px;
  height: 0.11rem;
  margin-left: 10px;
  margin-left: 0.1rem;
  display: inline-block;
}
.notice-item:hover .notice-btn {
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-transition: background 0.3s ease, color 0.3s ease;
}

/* ---------- 响应式（平板/移动端 ≤768px） ---------- */
@media screen and (max-width: 768px) {
  .notice-main {
    width: 100%;
    padding: 0 0.2rem 0.1rem;
    box-sizing: border-box;
  }
  .notice-item {
    height: auto;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0.3rem 0.2rem;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .notice-date {
    width: 1.2rem;
    margin-right: 0.3rem;
  }
  .notice-date .day {
    font-size: 0.4rem;
  }
  .notice-date .ym {
    font-size: 0.26rem;
  }
  .notice-line {
    display: none;
  }
  .notice-body {
    width: calc(100% - 1.5rem);
    width: -webkit-calc(100% - 1.5rem);
    margin-left: 0;
  }
  .notice-title {
    font-size: 0.26rem;
  }
  .notice-desc {
    font-size: 0.26rem;
    max-height: inherit;
  }
  .notice-btn {
    width: 1.6rem;
    height: 0.5rem;
    margin-left: 0;
    margin-top: 0.2rem;
    font-size: 0.26rem;
    margin-left: 5rem;
    width: auto;
    padding: 0 0.1rem;
  }
}
