/* ======================================================
   全局基础配置
====================================================== */
@charset "utf-8";

/* ======================================================
   1. 网站导航切换样式（点击、鼠标切换）
====================================================== */
.tb_ {
  background-color: #FFF;
}
.tb_ ul {
  height: 50px;
  width: 100%;
}
.tb_ li {
  float: left;
  height: 50px;
  line-height: 50px;
  width: 120px;
  cursor: pointer;
  text-align: center;
}

/* 导航默认状态样式 */
.normaltab a {
  font-size: 18px;
  color: #003399;
}
/* 导航选中/鼠标经过状态样式 */
.hovertab {
  background: #003399;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.hovertab a {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: bold;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

/* 导航鼠标经过二次效果 */
.hovertab_hover {
  background: #0F409E;
  color: #FFFFFF;
}
.dis {
  display: block;
}
.undis {
  display: none;
}

/* ======================================================
   2. 全局Banner & 通用背景样式
====================================================== */
.banner {
  width: 100%;
  display: block;
  clear: both;
  overflow: hidden;
}

/* 科研专项背景区域 */
.zjkx {
  height: 900px;
  padding-top: 15px;
  background: url(../images/zjkx.jpg) #0056a9;
  background-size: cover;
  margin: 0px;
}


.lianxi_bg{
	height:350px;
	padding-top:15px;
	background:url("../images/lianxi_bg.jpg") no-repeat center center #3351a3;
	background-attachment:fixed;
	background-size:cover;
}

/* 首页联系我们 */
.index_lianxi {
  float: left;
  width: 33%;
  text-align: center;
  color: #FFF;
}
.index_lianxi i {
  font-size: 50px;
  line-height: 50px;
  margin-bottom: 30px;
}

/* ======================================================
   3. 党建工作模块样式
====================================================== */
.dcgz {
  padding-top: 15px;       /* 顶部内边距 */
  background: url(../images/dcgz.jpg) #F0F0F0; /* 背景图 + 背景色 */
  background-size: cover;  /* 背景图铺满 */
  margin: 0px;             /* 外边距清零 */
  margin-top: 20px;        /* 顶部外边距 */
}

.dcgz_wrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin:20px 0px;
}

.dcgz_box {
  width: calc(20% - 20px);
  height: 190px;
  background: rgba(255,50,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 8px;
}

/* 修复链接：图标文字分行 + 永久白色 */
.dcgz_box a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  gap: 12px;
}

/* 强制链接所有状态白色，彻底解决变灰 */
.dcgz_box a:link,
.dcgz_box a:visited,
.dcgz_box a:hover,
.dcgz_box a:active {
  color: #fff;
}

/* 党建模块图标大小 */
.dcgz_box i {
  font-size: 50px;
}

/* 党建模块文字样式 */
.dcgz_box span {
  font-size: 25px;
}

/* 党建模块鼠标效果 */
.dcgz_box:hover {
  background: #c0392b;
  color: #fff;
  transform: translateY(-5px);
  cursor: pointer;
}
/* ======================================================
   5. 专业设置模块样式（一排3个）
====================================================== */
/* 父容器 */
.zhuanye {
  width: 1380px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  box-sizing: border-box;
}

/* 只选中a标签，忽略空白文本节点 */
.zhuanye > a {
  height: 80px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #222;
  box-sizing: border-box;
  transition: 0.3s;
}

.zhuanye > a:hover {
  background: #cc3300;
  color: #fff;
  transform: translateY(-5px);
}

/* ======================================================
   6. 招生模块样式（一排3个，第7个独占一行）
====================================================== */
/* 招生容器 */
.zhaosheng {
  width: 690px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 招生子盒子 */
.zhaosheng_box {
  width: calc(33.333% - 13.333px);
  height: 120px;
  background: rgba(0, 80, 160, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: 0.3s;
  cursor: pointer;
  border-radius: 8px;
}

/* 最后一个盒子通栏（对应：录取通知书验证） */
.zhaosheng_box:nth-child(7) {
  width: 100%;
}

/* 核心：解决链接变灰 强制分行 */
.zhaosheng_box a:link,
.zhaosheng_box a:visited,
.zhaosheng_box a:hover,
.zhaosheng_box a:active {
  color: #FFF;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 图标样式 */
.zhaosheng_box i {
  font-size: 32px;
}

/* 鼠标效果 */
.zhaosheng_box:hover {
  background: #0056a9;
  transform: translateY(-5px);
}
/* ======================================================
   7. 毕业生风采模块（一排4个，图片鼠标放大）
====================================================== */
.bysfc {
  width: 1380px;
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* 毕业生子盒子 */
.bysfc_box {
  width: calc(25% - 15px);
  height: 280px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* 毕业生图片样式 */
.bysfc_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-position: center;
  transition: transform 0.5s ease;
}
/* 图片鼠标中心放大 */
.bysfc_box:hover img {
  transform: scale(1.1);
}
/* 毕业生底部文字栏 */
.bysfc_box span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(0, 80, 160, 0.8);
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 2;
}