@charset "utf-8";
/* ============================================================
   学习贯彻党的二十届五中全会精神
   兼容：IE10 及以上（未使用 flex、CSS 变量、calc 排版、vw 排版）
   PC  ：内容区固定 1200px 居中，单位 px
   移动：以 750px 设计稿为基准，1rem = 100px，单位 rem
   ============================================================ */

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font: 14px/1.6 "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #333333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

li {
  list-style: none;
}

a {
  color: #333333;
  text-decoration: none;
  display: inline-block;
}

a:hover {
  color: #d91e02;
}
.e1 {
  white-space: nowrap; /* 禁止文本换行 */
  overflow: hidden; /* 隐藏超出容器的内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
}
.e2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.e3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
img {
  border: 0;
  vertical-align: middle;
}

.clearfix {
  *zoom: 1;
}

.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  overflow: hidden;
}

/* ---------------- 内容容器背景 ---------------- */
.wzqh {
  background: #fef6eb url(wzqh_bg.png) no-repeat center top;
  background-size: 100% auto;
}

/* ---------------- 头部横幅 ---------------- */
/* 背景图放在整个内容容器 .wzqh 上，.banner 用 padding-top 撑出与背景图一致的横幅高度 */
.banner {
  padding: 90px 0 65px;
}

/* logo 用图片原始宽度，水平居中，不使用 position 定位；
   负 margin 把 logo 拉回横幅顶部（logo 顶距 42 / 1920 ≈ 2.19%） */
.banner-logo {
  display: block;
  margin: 0 auto;
}

.banner-logo-h5 {
  display: none;
}

/* ---------------- 副标题条 ---------------- */
.subtitle {
  width: 1200px;
  margin: 0 auto;
}

.subtitle-in {
  height: 121px;
  padding: 0 40px;
  background: #fdf0e1 url(wzqh_tt_bg.png) no-repeat center center;
  background-size: 100% 100%;
}

.subtitle-in a {
  display: block;
  font-size: 38px;
  line-height: 121px;
  font-weight: bold;
  text-align: center;
  color: #c8161d;
}

/* ---------------- 首屏：左图 + 右要闻 ---------------- */
.main {
  width: 1200px;
  margin: 57px auto 0;
}

.top-pic {
  float: left;
  width: 589px;
}

.top-news {
  float: right;
  width: 589px;
}

/* 图片轮播（Swiper3） */
.pic-slider {
  position: relative;
  height: 403px;
  overflow: hidden;
}

.pic-slider .swiper-wrapper,
.pic-slider .swiper-slide {
  height: 403px;
}

.pic-slider .swiper-slide {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.pic-link {
  display: block;
  height: 403px;
}
.pic-link img {
  width: 100%;
  height: 100%;
  display: block;
}

/* 图片底部标题条（覆盖在图片下沿） */
.pic-txt {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  padding: 0 100px 0 18px;
  font-size: 17px;
  line-height: 62px;
  color: #fff;
  background-image: linear-gradient(
    -90deg,
    rgba(255, 110, 110, 0.9) 0%,
    rgba(219, 15, 15.9) 100%
  );
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 分页圆点：覆盖 swiper3.min.css 的默认分页样式 */
.pic-slider .pic-dots {
  position: absolute;
  left: auto;
  right: 16px;
  bottom: 22px;
  width: auto;
  z-index: 5;
  font-size: 0;
  text-align: left;
}

.pic-slider .pic-dots .swiper-pagination-bullet {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: #db0f0f;
  margin: 0 0 0 7px;
  border-radius: 50%;
  filter: alpha(opacity=45);
  cursor: pointer;
}

.pic-slider .pic-dots .swiper-pagination-bullet-active {
  background-color: #ffd851;
  filter: alpha(opacity=100);
}

/* 要闻报道面板 */
.ywbd {
  height: 403px;
  background: #ffebda url(wzqh_xwbg_bg.png) no-repeat center top;
  background-size: 100% auto;
}

.ywbd-hd {
  position: relative;
  height: 50px;
}

.ywbd-tit {
  display: block;
  position: absolute;
  left: 22px;
  top: 9px;
  width: 120px;
  height: 30px;
  background: url(wzqh_tit_ywbd.png) no-repeat center center;
  background-size: 100% 100%;
}

.ywbd-hd .more {
  position: absolute;
  right: 12px;
  top: 14px;
  font-size: 13px;
  color: #afafaf;
}

.ywbd-hd .more:hover {
  color: #d50808;
}

.ywbd-list {
  padding: 12px 0 14px;
}

.ywbd-list a {
  position: relative;
  padding: 10px 20px 10px 34px;
  font-size: 17px;
  line-height: 21px;
  color: #7b4023;
  height: 62px;
  display: flex;
  align-items: center;
}
.ywbd-list a p,
.kxdt-list li a {
  max-height: 42px;
}
.ywbd-list a:before {
  content: "";
  position: absolute;
  left: 19px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #db0f0f;
}
.ywbd-list a:hover::before {
  background-color: #fff;
}
.ywbd-list a:hover {
  background: #d50808;
  color: #fff;
  font-weight: bold;
}

/* ---------------- 栏目通用（标题 + 查看更多） ---------------- */
.sec {
  width: 1200px;
  margin: 0 auto;
}

.sec-hd {
  position: relative;
  display: block;
  margin-top: 79px;
  margin-bottom: 46px;
}

.sec-tit {
  display: block;
  width: 100%;
  height: 93px;
  background: url(wzqh_tit1.png) no-repeat center center;
  background-size: 100% 100%;
}

.tit-kxdt {
  height: 92px;
  background-image: url(wzqh_tit2.png);
}

.sec-hd .more {
  position: absolute;
  right: 14px;
  bottom: 0;
  font-size: 13px;
  color: #c39c8c;
}

.sec-hd .more:hover {
  color: #d50808;
}

/* ---------------- 学习贯彻 ---------------- */
.xxgc-top {
  display: block;
  min-height: 144px;
  margin-top: 6px;
  padding: 27px 50px 12px;
  font-size: 25px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
  color: #d50808;
  background: url(wzqh_xxgc_bg.png) no-repeat center top;
  background-size: 100% 100%;
}
.xxgc-top p {
  max-height: 84px;
}
.xxgc-top:hover {
  color: #a50d14;
}

.xxgc-list {
  padding-top: 29px;
}

.xxgc-list a {
  float: left;
  width: 585px; /* 设计稿每行 2 个（585px × 2 + 间距 = 1200px） */
  margin-bottom: 24px;
  padding: 16px 18px;
  height: 100px;
  font-size: 17px;
  line-height: 23px;
  background: url(wzqh_xxgc_itembg.png) no-repeat center top;
  background-size: 100% 100%;
  padding: 27px 30px 30px;
}
.xxgc-list a p {
  max-height: 46px;
}
.xxgc-list a:nth-of-type(2n + 1) {
  margin-right: 30px;
}
.xxgc-list a:hover {
  color: #fff;
  background-image: url(wzqh_xxgc_itembg_cur.png);
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* ---------------- 科协动态（书页） ---------------- */
.page-foot {
  padding-bottom: 130px;
  background: url(wzqh_kxdt_bg.png) no-repeat center bottom;
  background-size: 100% auto;
}
.page-foot .sec-hd {
  margin-top: 36px;
  margin-bottom: 52px;
}
.kxdt {
  height: 697px;
  padding: 80px 0 80px;
  background: url(wzqh_kxdt_ct_bg.png) no-repeat center top;
  background-size: 100% 100%;
}

.kxdt-left {
  float: left;
  width: 40%;
  margin-left: 10%;
  padding-right: 30px;
}

.kxdt-right {
  float: right;
  width: 43%;
  margin-right: 7%;
  padding-left: 30px;
}

.kxdt-list li {
  position: relative;
  padding: 0 0 0 20px;
  font-size: 17px;
  line-height: 21px;
  margin-bottom: 30px;
  height: 42px;
  align-items: center;
}

.kxdt-list li a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 9px;
  border-radius: 50%;
  background: url(./wzqh_kxdt_dot.png);
  background-size: 100% 100%;
}
.kxdt-list li.cur a {
  color: #d91e02;
  font-weight: bold;
}
.kxdt-right h3 {
  margin-bottom: 30px;
  font-size: 21px;
  line-height: 30px;
  letter-spacing: 1px;
  font-weight: bold;
  text-align: center;
  color: #d91e02;
}

.kxdt-right {
  font-size: 17px;
  line-height: 29px;
  text-align: justify;
  color: #666666;
}
.ct-scroll {
  overflow-y: auto;
  height: 547px;
  padding-right: 25px;
  /* Firefox 滚动条 */
  scrollbar-width: thin;
  scrollbar-color: #d91e02 #fdf0e1;
}

/* 右侧内容块：默认隐藏，仅显示与左侧选中项对应的一块 */
.ct-item {
  display: none;
}
.ct-item * {
  max-width: 100% !important;
}
.ct-item.cur {
  display: block;
}

/* 滚动条样式（Chrome / Edge / Safari，IE10 不支持时回退为默认滚动条） */
.ct-scroll::-webkit-scrollbar {
  width: 8px;
}

.ct-scroll::-webkit-scrollbar-track {
  background: #fdf0e1;
  border-radius: 4px;
}

.ct-scroll::-webkit-scrollbar-thumb {
  background: #d91e02;
  border-radius: 4px;
}

.ct-scroll::-webkit-scrollbar-thumb:hover {
  background: #b81502;
}

/* PC 端保证固定内容区完整显示 */
@media screen and (min-width: 769px) {
  body {
    min-width: 1200px;
  }
}

/* ============================================================
   移动端（<= 768px）：以 750px 设计稿为基准，1px = 0.01rem
   ============================================================ */
@media screen and (max-width: 768px) {
  html {
    font-size: calc(100vw / 7.5);
    font-size: -webkit-calc(13.33333333vw);
  }

  body {
    font-size: 0.26rem;
    overflow-x: hidden;
  }

  /* 头部：背景图切换为移动端资源，banner 用 padding 撑出横幅高度 */
  .wzqh {
    background-image: url(wzqh_bg_h5.png);
    padding: 0 0.1rem;
  }

  .banner {
    padding: 0.6rem 0 0.88rem; /* 顶部 362/750；底部间距按设计稿 65px 转 rem，随宽度缩放 */
  }

  .banner-logo {
    display: none;
  }

  /* 移动端使用独立 h5 logo，水平居中并限制最大宽度 */
  .banner-logo-h5 {
    display: block;
    width: 6rem;
    margin: 0 auto;
  }

  /* 副标题条 */
  .subtitle {
    width: 100%;
    margin: 0;
  }

  .subtitle-in {
    height: 1rem;
    padding: 0.14rem 0.25rem 0;
    background-image: url(wzqh_tt_bg_h5.png);
  }

  .subtitle-in a {
    display: block;
    font-size: 0.28rem;
    line-height: 0.35rem; /* 高度 1rem - 上内边距 0.14rem，垂直居中且不溢出 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }

  /* 首屏 */
  .main {
    width: 100%;
    margin: 0;
  }
  .top-pic {
    margin-top: 0.37rem;
  }
  .top-pic,
  .top-news {
    float: none;
    width: 100%;
  }

  .pic-slider,
  .pic-slider .swiper-wrapper,
  .pic-slider .swiper-slide,
  .pic-link {
    height: 5rem;
  }

  .pic-txt {
    height: 0.68rem;
    padding: 0 1rem 0 0.2rem;
    font-size: 0.21rem;
    line-height: 0.68rem;
  }

  .pic-slider .pic-dots {
    right: 0.2rem;
    bottom: 0.2rem;
  }

  .pic-slider .pic-dots .swiper-pagination-bullet {
    width: 0.2rem;
    height: 0.2rem;
    margin-left: 0.1rem;
  }

  /* 要闻报道 */
  .ywbd {
    height: auto; /* 取消 PC 端固定 403px 高度，移动端按内容自适应 */
    min-height: 0;
    margin-top: 0.37rem;
    background-image: url(wzqh_xwbg_bg_h5.png);
  }

  .ywbd-hd {
    height: 0.64rem;
  }

  .ywbd-tit {
    left: 0.28rem;
    top: 0.13rem;
    width: 1.3rem;
    height: 0.33rem;
    background-image: url(wzqh_tit_ywbd_h5.png);
  }

  .ywbd-hd .more {
    right: 0.2rem;
    top: 0.18rem;
    font-size: 0.16rem;
  }

  .ywbd-list {
    padding: 0.2rem 0 0.1rem;
  }

  .ywbd-list a {
    padding: 0.1rem 0.2rem 0.1rem 0.36rem;
    font-size: 0.26rem;
    line-height: 1.5;
    margin-bottom: 0.05rem;
    height: auto;
  }
  .ywbd-list a:before {
    left: 0.2rem;
    top: 0.25rem;
    width: 0.08rem;
    height: 0.08rem;
  }
  .ywbd-list a p,
  .xxgc-top p,
  .xxgc-list a p,
  .kxdt-list li a {
    max-height: none;
  }

  /* 栏目标题 */
  .sec {
    width: 100%;
    padding: 0 0.15rem;
  }

  .sec-hd {
    margin: 0 0 0.45rem; /* 清除 PC 端 79px / 46px 固定间距 */
    margin-top: 0.65rem;
  }

  .page-foot .sec-hd {
    margin: 0 0 0.35rem; /* 清除 PC 端 36px / 52px 固定间距 */
  }

  .sec-tit {
    height: 0.84rem;
    background-image: url(wzqh_tit1_h5.png);
  }

  .tit-kxdt {
    height: 0.8rem;
    background-image: url(wzqh_tit2_bg.png);
  }

  .sec-hd .more {
    right: 0.05rem;
    bottom: 0.4rem;
    font-size: 0.16rem;
  }

  /* 学习贯彻 */
  .xxgc-top {
    min-height: 1.31rem;
    padding: 0.2rem 0.35rem 0.1rem;
    font-size: 0.3rem;
    line-height: 0.42rem;
    background-image: url(wzqh_xxgc_bg_h5.png);
  }

  .xxgc-list {
    padding-top: 0.3rem;
  }

  .xxgc-list a {
    float: none;
    display: block;
    width: 100%;
    height: auto; /* 取消 PC 端 100px 固定高度 */
    min-height: 1.25rem;
    margin: 0 0 0.24rem;
    padding: 0.16rem 0.3rem;
    font-size: 0.26rem;
    line-height: 1.5;
    background-image: url(wzqh_xxgc_itembg_h5.png);
  }

  .xxgc-list a:nth-of-type(2n + 1) {
    margin-right: 0; /* 清除 PC 端两列布局的 30px 右间距 */
  }

  .xxgc-list a:hover {
    font-size: 0.26rem; /* 移动端 hover 不放大字号，只换背景并加粗 */
    background-image: url(wzqh_xxgc_itembg_cur_h5.png);
  }

  /* 科协动态 */
  .page-foot {
    margin-top: 0.4rem;
    padding-bottom: 0.5rem;
    background-image: url(wzqh_kxdt_bg_h5.png);
  }

  .kxdt {
    height: auto; /* 取消 PC 端 697px 固定高度，移动端按列表内容自适应 */
    min-height: 0;
    padding: 0.45rem 0.7rem 0.45rem;
    background-image: url(wzqh_kxdt_ct_bg_h5.png);
  }

  .kxdt-left {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .kxdt-right {
    display: none; /* 移动端设计稿仅保留列表页 */
  }

  .kxdt-list li {
    padding: 0.07rem 0 0.07rem 0.25rem;
    font-size: 0.26rem;
    line-height: 1.7;
    margin-bottom: 0.1rem;
  }

  .kxdt-list li:before {
    top: 0.19rem;
    width: 0.1rem;
    height: 0.1rem;
  }
}
