@charset "UTF-8";

/*
 * 首页视觉升级（协会站常见做法）
 * - 不改动原有 float / 宽高 / 模块排布
 * - 浅底白块、标题左强调线、列表分隔与悬停
 * 参考：中国农学会等科技社团门户
 */

/* ---------- 页面底色与文字 ---------- */
body {
  background: #f4f6f5;
  color: #222;
}

.con {
  background: transparent;
}

/* ---------- 顶栏 / 导航（轻量，不改尺寸结构） ---------- */
.nav_bg {
  background: linear-gradient(90deg, #006636 0%, #00733c 55%, #008344 100%);
}

.search {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav {
  box-shadow: 0 2px 8px rgba(0, 40, 20, 0.12);
}

.nav_con .active {
  border-bottom-color: #e8b84a;
}

.nav ul li:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- 模块标题（协会站：左对齐短横线） ---------- */
.boxTitle .title {
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.boxTitle .title:after {
  left: 0;
  transform: none;
  width: 32px;
  height: 3px;
  border-radius: 1px;
  background: #009d52;
}

.news .boxTitle .title:after {
  top: auto;
  bottom: 0;
  left: 0;
  transform: none;
}

.boxTitle .title2 {
  color: #888;
  transition: color 0.2s ease;
}

.boxTitle .title2:hover {
  color: #009d52;
}

.boxTitle .gd a {
  color: #999;
  transition: color 0.2s ease;
}

.boxTitle .gd a:hover {
  color: #009d52;
  text-decoration: none;
}

.greenHover:hover {
  color: #009d52 !important;
  text-decoration: none !important;
}

/* ---------- 轮播图 ---------- */
.con .sN .sw .swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 50, 30, 0.08);
}

.con .sN .sw .swiper-container .swiper-slide {
  position: relative;
  overflow: hidden;
}

.con .sN .sw .swiper-container .swiper-slide > a {
  display: block;
  height: 385px;
}

.con .sN .sw .swiper-container .swiper-slide img {
  width: 100%;
  height: 385px;
  object-fit: cover;
  display: block;
}

.con .sN .sw .swiper-container .swiper-slide .bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 70px;
  margin-top: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  z-index: 9;
  color: #fff;
  box-sizing: border-box;
}

.con .sN .sw .swiper-container .swiper-slide .bottom .title {
  display: block;
  margin: 0;
  line-height: 1.5;
  text-align: left;
  padding: 22px 16px 0;
  font-size: 15px;
  color: #fff;
  box-sizing: border-box;
}

.con .sN .sw .swiper-container .swiper-pagination-bullet-active {
  width: 20px;
  height: 10px;
  background: #009d52 !important;
  border-radius: 23px;
}

/* ---------- 新闻列表 ---------- */
.con .sN .news .newsList ul {
  list-style: none;
  padding-left: 0;
  color: inherit;
}

.con .sN .news .newsList ul li {
  border-bottom: 1px dashed #e5ebe7;
  box-sizing: border-box;
  overflow: hidden;
}

.con .sN .news .newsList ul li:last-child {
  border-bottom: none;
}

.con .sN .news .newsList ul li a {
  color: #222;
  transition: color 0.2s ease;
}

.con .sN .news .newsList ul a:hover {
  color: #009d52;
  text-decoration: none;
}

.con .sN .news .newsList ul .ty-date {
  color: #999;
  font-size: 13px;
}

/* ---------- 党建工作 ---------- */
.workAndNotice {
  overflow: hidden;
}

.workAndNotice .work .workList .hot {
  overflow: hidden;
}

.workAndNotice .work .workList .hot .hotImg {
  width: 240px;
  height: 160px;
  border-radius: 6px;
  border: 4px solid #c8161d;
  float: left;
  padding: 4px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.workAndNotice .work .workList .hot .hotImg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.workAndNotice .work .workList .hot .hotImg .subscript {
  width: 110px;
  background: #c8161d;
  position: absolute;
  top: 8px;
  left: -30px;
  transform: rotate(-45deg);
  color: #fff;
  height: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 13px;
}

.workAndNotice .work .workList .hot .hotInfo {
  width: 510px;
  height: 160px;
  float: right;
  overflow: hidden;
}

.workAndNotice .work .workList .list {
  overflow: hidden;
}

.workAndNotice .work .workList .list li {
  border-bottom-color: #e8ece9;
  transition: background 0.15s ease;
}

.workAndNotice .work .workList .list li .ty-date {
  color: #999;
  font-size: 12px;
}

.workAndNotice .work .workList .list li .ty-title2 {
  color: #333;
}

/* ---------- 通知公告 ---------- */
.workAndNotice .notice .noticeList .list li {
  overflow: hidden;
}

.workAndNotice .notice .noticeList .list li > a {
  display: block;
  height: 60px;
  overflow: hidden;
}

.workAndNotice .notice .noticeList .list .date {
  float: left;
  width: 70px;
  overflow: hidden;
  border-radius: 4px;
}

.workAndNotice .notice .noticeList .list .date .m {
  width: 70px;
  height: 30px;
  background: #008253;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.workAndNotice .notice .noticeList .list .date .y {
  width: 70px;
  height: 30px;
  border: 1px solid #008253;
  box-sizing: border-box;
  color: #888;
  line-height: 28px;
  font-size: 12px;
  text-align: center;
  background: #fff;
}

.workAndNotice .notice .noticeList .list .info {
  float: right;
  width: 300px;
  height: 60px;
  line-height: 30px;
  overflow: hidden;
  color: #333;
}

/* 信息公开：标题左、日期右，与标题左对齐 */
.workAndNotice .notice .noticeList .ulDian {
  margin-top: 15px;
  list-style: none;
  padding-left: 0;
  box-sizing: border-box;
}

.workAndNotice .notice .noticeList .ulDian li {
  height: auto;
  min-height: 24px;
  margin-bottom: 20px;
  overflow: hidden;
  border-bottom: 1px dashed #e5ebe7;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.workAndNotice .notice .noticeList .ulDian li:last-child {
  border-bottom: none;
}

.workAndNotice .notice .noticeList .ulDian li > span {
  float: left;
  width: 250px;
}

.workAndNotice .notice .noticeList .ulDian li .ty-date {
  float: right;
  width: 90px;
  text-align: right;
  line-height: 20px;
  color: #999;
  font-size: 13px;
}

/* ---------- 双图入口 ---------- */
.imgTwo img {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 50, 30, 0.08);
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.imgTwo a:hover img {
  opacity: 0.94;
  box-shadow: 0 6px 18px rgba(0, 50, 30, 0.12);
}

/* ---------- 政策法规 / 评价标准 / 媒体宣传 ---------- */
.threeRows {
  overflow: hidden;
}

.threeRows .noe ul,
.threeRows .twoList ul {
  margin-top: 15px;
  list-style: none;
  padding-left: 0;
  box-sizing: border-box;
}

.threeRows .noe li,
.threeRows .twoList li {
  margin-bottom: 0;
  padding: 11px 0;
  overflow: hidden;
  height: auto;
  min-height: 22px;
  line-height: 22px;
  border-bottom: 1px dashed #e5ebe7;
  box-sizing: border-box;
}

.threeRows .noe li:last-child,
.threeRows .twoList li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.threeRows .noe li > span,
.threeRows .twoList li > span {
  float: left;
  width: 270px;
}

.threeRows .noe li > span a,
.threeRows .twoList li > span a {
  display: block;
  width: 100%;
  color: #333;
}

.threeRows .noe li .ty-date,
.threeRows .twoList li .ty-date {
  float: right;
  width: 90px;
  text-align: right;
  line-height: 22px;
  color: #999;
  font-size: 13px;
}

.threeRows .threeList li {
  border-bottom: 1px dashed #e5ebe7;
  box-sizing: border-box;
  padding-bottom: 8px;
}

.threeRows .threeList li:last-child {
  border-bottom: none;
}

.threeRows .threeList li .img,
.threeRows .threeList li .img img {
  border-radius: 4px;
  overflow: hidden;
}

/* ---------- 成果展示 ---------- */
.achievement {
  background: #eef3f1;
  padding: 36px 0 40px;
  box-sizing: border-box;
}

.achievement .box .da,
.achievement .box .xiao {
  box-shadow: 0 4px 14px rgba(0, 50, 30, 0.06);
  transition: box-shadow 0.2s ease;
}

.achievement .box .da:hover,
.achievement .box .xiao:hover {
  box-shadow: 0 8px 20px rgba(0, 50, 30, 0.1);
}

.achievement .box .list .tabs {
  background: rgba(0, 157, 82, 0.1);
  color: #006144;
}

/* ---------- 合作伙伴轮播 ---------- */
.fsw {
  height: auto;
  min-height: 220px;
  background: #fff;
  border-top: 1px solid #e8efea;
}

.fsw .box {
  height: auto;
  padding: 36px 0;
}

.fsw .swiper-container {
  padding: 0 56px;
  position: relative;
  box-sizing: border-box;
}

.fsw .swiper-wrapper {
  padding-top: 0;
}

.fsw .swiper-slide {
  height: 148px;
  box-sizing: border-box;
}

.fsw .swiper-slide > a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 16px;
  box-sizing: border-box;
  background: #f7faf8;
  border: 1px solid #e6eee9;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  /* 垂直居中图片：用 line-height 兼容旧浏览器，不改 float 主布局 */
  line-height: 116px;
}

.fsw .swiper-slide > a:hover {
  border-color: rgba(0, 157, 82, 0.4);
  box-shadow: 0 6px 16px rgba(0, 80, 40, 0.08);
  background: #fff;
}

.fsw .box img,
.fsw .swiper-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 110px;
  vertical-align: middle;
  object-fit: contain;
}

.fsw .swiper-button-next2,
.fsw .swiper-button-prev2 {
  width: 36px;
  height: 36px;
  line-height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #009d52;
  border: 1px solid #cfe6d8;
  box-shadow: 0 2px 8px rgba(0, 80, 40, 0.08);
  font-size: 0;
  font-weight: 400;
  text-align: center;
  position: absolute;
  top: 50%;
  margin-top: -18px;
  z-index: 5;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fsw .swiper-button-prev2::before,
.fsw .swiper-button-next2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  vertical-align: middle;
}

.fsw .swiper-button-prev2::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.fsw .swiper-button-next2::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.fsw .swiper-button-next2:hover,
.fsw .swiper-button-prev2:hover {
  background: #009d52;
  color: #fff;
  border-color: #009d52;
}

.fsw .swiper-button-disabled,
.fsw .swiper-button-disabled:hover {
  color: #9bb8a8;
  background: #f0f5f2;
  border-color: #dce8e1;
  box-shadow: none;
  cursor: default;
}

#fsw-button-prev {
  left: 0;
  top: 50%;
  z-index: 5;
}

#fsw-button-next {
  right: 0;
  top: 50%;
  z-index: 5;
}

/* ---------- 页脚 ---------- */
.footer {
  background: linear-gradient(180deg, #00733c 0%, #006336 100%);
}

.footer .box .yqlj .yq .select {
  border-radius: 4px;
}
