/* ============================================================
   电子工程学院、集成电路学院 首页样式
   设计稿: 1920 x 2426 / 内容区 1500
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fafbff;
  min-width: 1520px;
  color: #333;
}
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; vertical-align: middle; }
.w1500 { width: 1500px; margin: 0 auto; }

/* 区块标题（蓝色宋体大标题） */
.sec-title {
  font-family: "STZhongsong", "SimSun", "Songti SC", serif;
  font-weight:600;
  font-size: 37px;
  color: #0b3a7d;
  letter-spacing: 1px;
}
.sec-sub {
  display: block;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: #9aa3b5;
  letter-spacing: 2px;
}
/* "更多 ——◯" 装饰 */
.more-deco {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
  flex-shrink: 0;
}
.more-deco::before {
  content: "";
  width: 43px;
  height: 1px;
  background: #13509e;
  margin: 0 2px 0 10px;
}
.more-deco::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #13509e;
  border-radius: 50%;
  background: radial-gradient(circle, #13509e 0 4px, transparent 4.5px) center / 60% 60% no-repeat;
}
.more-deco:hover { color: #13509e; }

/* ==================== 顶部 Header ==================== */
.top-header {
  height: 125px;
  /* 原设计含电路纹理装饰底图（可从 PS 切图后替换为本行注释下方的背景图） */
  background: linear-gradient(90deg, #052a6b 0%, #083583 45%, #083583 100%);
  background:url(../images/top-bg.jpg) top center;
}
.header-inner { position: relative; height: 100%; display: flex; align-items: center; }
.top-header .logo { margin-left: 1px; }
.top-header .logo img { width: 333px; height: 78px; }
.v-line { width: 3px; height: 53px; background: rgba(255, 255, 255, .45); margin: 0 22px 0 15px; }
.school-name .cn { font-size: 24px; color: #fff; letter-spacing: 2px; line-height: 1; }
.school-name .en {
  margin-top: 9px;
  font-size: 10px;
  color: #9db3d8;
  letter-spacing: .5px;
  line-height: 1;
  transform: scale(.8);
  transform-origin: left center;
  white-space: nowrap;
}
.header-right { position: absolute; right: 0; top: 40px; display: flex; align-items: center; }
.hd-link { display: flex; align-items: center; font-size: 14px; color: #fff; margin-right: 27px; }
.hd-link img { margin-right: 5px; }
.hd-link:hover { opacity: .85; }
.search-box {
  width: 144px;
  height: 43px;
  background: #fff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 20px;
}
.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 14px;
  color: #0b3a7d;
  background: transparent;
}
.search-box input::placeholder { color: #0b3a7d; }
.search-box button { border: 0; background: none; cursor: pointer; padding: 2px; }

/* ==================== 导航 ==================== */
.main-nav { height: 52px; background: linear-gradient(90deg, #0e498f 0%, #0b3a7d 50%, #092a69 100%); position: relative; z-index: 100; }
.main-nav > ul { height: 100%; display: flex; justify-content: space-between; padding: 0 52px; }
.main-nav > ul > li { height: 100%; position: relative; }
.main-nav > ul > li > a {
  display: block;
  height: 52px;
  line-height: 52px;
  font-size: 16px;
  color: #fff;
  padding: 0 8px;
}
.main-nav > ul > li > a:hover { color: #cfe0ff; }
.main-nav > ul > li.on > a { font-weight: bold; }
.main-nav > ul > li.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -13px;
  width: 26px;
  height: 5px;
  background: #fff;
}
/* 下拉子菜单 */
.sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 52px;
  margin-left: -94px;
  width: 188px;
  background: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 24px rgba(8, 40, 100, .25);
  padding: 6px 0;
  z-index: 99;
}
.sub-menu li a {
  display: block;
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-size: 14px;
  color: #333;
}
.sub-menu li a:hover { background: #f2f6ff; color: #083583; }

/* ==================== Banner 轮播 ==================== */
.banner { height: 596px; position: relative; overflow: hidden; }
.banner-list { height: 100%; position: relative; }
.banner-list li {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .8s;
}
.banner-list li.active { opacity: 1; }
.banner-text { height: 100%; }
.banner-logo { display: block; width: 253px; height: 59px; margin: 124px 0 0 225px; }
.banner-text h2 {
  margin-left: 287px;
  font-size: 78px;
  line-height: 104px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 4px 18px rgba(6, 50, 120, .35);
}
.banner-text h2:first-of-type { margin-top: 35px; }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.banner-arrow.prev { left: 0; }
.banner-arrow.next { right: 0; }
.banner-arrow img { width: 10px; height: 19px; }
.banner-arrow:hover { background: rgba(255, 255, 255, .18); }
.banner-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  z-index: 5;
}
.banner-dots span {
  width: 52px;
  height: 8px;
  margin: 0 4px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: background .3s;
}
.banner-dots span.on { background: #fff; }

/* ==================== 学院新闻 ==================== */
.news-section { padding: 55px 0 0; }
.news-wrap { display: flex; justify-content: space-between; }
.news-photo { position: relative; width: 752px; height: 442px; flex-shrink: 0; overflow: hidden; background: #e9edf5; }
/* 图片新闻轮播 */
.news-photo .np-slides { position: relative; height: 100%; }
.news-photo .np-slides li { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.news-photo .np-slides li.active { opacity: 1; }
.news-photo .np-slides li a, .news-photo .np-slides li img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 轮播指示点（位于说明条上方右侧） */
.np-dots { position: absolute; right: 14px; bottom: 59px; z-index: 6; display: flex; }
.np-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  margin-left: 8px;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.np-dots span.on { background: #fff; transform: scale(1.15); }
.photo-date {
  position: absolute;
  left: 13px;
  top: 0;
  width: 125px;
  height: 37px;
  line-height: 37px;
  text-align: center;
  background: #083583;
  color: #fff;
  font-size: 20px;
  font-family: Arial, sans-serif;
}
.photo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 47px;
  line-height: 47px;
  padding-left: 29px;
  background: rgba(15, 25, 40, .55);
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-list { width: 693px; }
.news-list .sec-head { display: flex; justify-content: space-between; align-items: baseline; }
.news-list .sec-head .more-deco { align-self: center; }
.news-list ul { margin-top: 24px; }
.news-list li { height: 47px; display: flex; justify-content: space-between; align-items: center; }
.news-list li a {
  font-size: 17px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 40px;
  transition: color .2s;
}
.news-list li a:hover { color: #083583; }
.news-list li.first a { color: #083583; font-weight: bold; }
.news-list li span { font-size: 14px; color: #999; font-family: Arial, sans-serif; flex-shrink: 0; }

/* ==================== 通知公告 / 学术活动 ==================== */
.notice-section {
  position: relative;
  margin-top: 47px;
  height: 393px;
  background: url(../images/notice-bg.jpg) center / cover no-repeat;
}
.notice-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 251, 255, .97) 0%, rgba(250, 251, 255, .93) 35%, rgba(250, 251, 255, .84) 70%, rgba(250, 251, 255, .88) 100%);
}
.notice-wrap { position: relative; display: flex; justify-content: space-between; padding-top: 56px; }
.notice-col { width: 750px; }
.notice-col:last-child { width: 690px; }
.notice-col .sec-head { display: flex; justify-content: space-between; align-items: flex-end; }
.notice-col .sec-head .more-deco { margin-bottom: 9px; }
.notice-col .sec-title { font-size: 36px; margin-top: 2px; }
.notice-col ul { margin-top: 32px; }
.notice-col li {
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 25px;
  background: url(../images/icon-list.png) left center no-repeat;
}
.notice-col li a {
  flex: 1;
  font-size: 16px;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .2s;
}
.notice-col li a:hover { opacity: .75; }
.notice-col li span { font-size: 16px; color: #222; font-family: Arial, sans-serif; margin-left: 20px; flex-shrink: 0; }

/* ==================== 快捷通道 ==================== */
.quick-section { padding: 38px 0 54px; }
.sec-head-left .sec-title { font-size: 36px; margin-top: 2px; }
.quick-cards { display: flex; justify-content: space-between; margin-top: 30px; }
.q-card {
  position: relative;
  width: 351px;
  height: 138px;
  display: flex;
  align-items: center;
  padding-left: 74px;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(10, 40, 90, .28);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
}
.q-card:nth-child(1) { background: url(../images/card1.png) center / cover no-repeat; }
.q-card:nth-child(2) { background: url(../images/card2.png) center / cover no-repeat; }
.q-card:nth-child(3) { background: url(../images/card3.png) center / cover no-repeat; }
.q-card:nth-child(4) { background: url(../images/card4.png) center / cover no-repeat; }
.q-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(10, 40, 90, .38); }
.q-icon { width: 65px; height: 52px; object-fit: contain; flex-shrink: 0; }
.q-txt { margin-left: 20px; }
.q-txt p { font-size: 22px; color: #fff; font-weight: bold; letter-spacing: 2px; line-height: 1; }
.q-txt em {
  display: block;
  margin-top: 9px;
  font-style: normal;
  font-size: 10px;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .5px;
  line-height: 1;
  font-family: Arial, sans-serif;
}

/* ==================== Footer ==================== */
.footer {
  height: 359px;
  background: #041430 url(../images/footer-bg.jpg) center / cover no-repeat;
}
.footer-inner { padding-top: 45px; }
.footer-top { display: flex; align-items: center; }
.footer .logo img { width: 333px; height: 78px; }
.footer .v-line { height: 50px; margin: 0 22px 0 14px; }
.school-name .cn2 { font-size: 20px; color: #fff; letter-spacing: 2px; line-height: 24px; }
.footer-line { width: 703px; height: 1px; background: rgba(255, 255, 255, .18); margin-top: 37px; }
.footer-link { display: flex; align-items: center; margin-top: 27px; }
.footer-link span { font-size: 14px; color: #fff; margin-right: 13px; }
.footer-link select {
  width: 200px;
  height: 33px;
  border: 0;
  border-radius: 3px;
  padding: 0 10px;
  font-size: 12px;
  color: #333;
  outline: none;
  cursor: pointer;
}
.copyright { margin-top: 32px; font-size: 14px; color: rgba(255, 255, 255, .85); line-height: 1; font-family: "Microsoft YaHei", sans-serif; }
.copyright + .copyright { margin-top: 23px; }