
/* ===== CSS Variables ===== */
:root {
  --red: #B2141A;
  --red-dark: #8B0F14;
  --red-light: rgba(178, 20, 26, 0.06);
  --text-dark: #1A1A1A;
  --text-body: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-pink: #FFF8F8;
  --white: #FFFFFF;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 6px 24px rgba(178,20,26,0.1);
  --section-padding: 80px 0;
  --max-width: 1200px;
  --nav-blue: #1a3a6b;
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text-body);
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-title {
  font-size: 42px; font-weight: 500; color: var(--text-dark);
  text-align: center; margin-bottom: 48px; line-height: 1.3;
}

/* ===== Navbar — 滚动后蓝色背景 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; display: flex; align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
  padding: 0 40px;
  background: transparent;
}
.navbar.scrolled {
  background: var(--nav-blue);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-width); margin: 0 auto;
}
.navbar-logo { display: flex; align-items: center; }
.navbar-logo img { height: 44px; width: auto; }
.navbar-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
  margin-left: auto;
}
.navbar-links a {
  color: rgba(255,255,255,0.9); text-decoration: none;
  font-size: 15px; transition: color 0.3s; position: relative;
}
.navbar-links a:hover, .navbar-links a.active { color: #fff; }

/* 搜索框 */
.navbar-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 5px 14px 5px 16px;
  transition: all 0.3s;
}
.navbar-search:focus-within {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.navbar-search input {
  border: none; outline: none; background: transparent;
  color: #fff; font-size: 14px; width: 140px; font-family: inherit;
}
.navbar-search:focus-within input { color: #333; }
.navbar-search input::placeholder { color: rgba(255,255,255,0.7); }
.navbar-search:focus-within input::placeholder { color: #999; }
.navbar-search .search-icon {
  color: rgba(255,255,255,0.85); cursor: pointer;
  font-size: 14px; flex-shrink: 0; margin-left: 4px;
  transition: color 0.3s;
}
.navbar-search:focus-within .search-icon { color: #666; }

.navbar-actions { display: flex; align-items: center; gap: 14px; }
.navbar-actions .lang-switch { font-size: 14px; color: rgba(255,255,255,0.85); cursor: pointer; }
.navbar-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
}
.navbar-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--nav-blue); padding: 20px 40px; z-index: 999;
  flex-direction: column; gap: 16px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 17px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(26,58,107,0.15) 40%, rgba(26,58,107,0.32) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: var(--max-width); width: 100%; padding: 120px 20px 160px;
}
.hero-title-img { max-width: 520px; width: 85%; margin: 0 auto 24px; }
.hero-subtitle {
  font-size: 21px; color: rgba(255,255,255,0.95); letter-spacing: 7px;
  margin-bottom: 30px; font-weight: 800;
}
.hero-year {
  display: inline-flex; align-items: center; gap: 16px;
  border: 1px solid rgba(255,255,255,0.55); border-radius: 40px;
  padding: 11px 34px; background: rgba(255,255,255,0.09);
  backdrop-filter: blur(4px);
}
.hero-year span {
  font-size: 27px; font-weight: 500; color: #fff; letter-spacing: 4px;
}
.hero-scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.65); font-size: 12px; cursor: pointer;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100%{transform:translateX(-50%)translateY(0)}
  40%{transform:translateX(-50%)translateY(-10px)} 60%{transform:translateX(-50%)translateY(-5px)}
}

/* ===== Intro Section ===== */
.intro-section { padding: var(--section-padding); background: #fff; }
.intro-grid { display: flex; gap: 56px; align-items: center; }
.intro-image { flex: 0 0 500px; }
.intro-image img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-card); display: block; }
.intro-text { flex: 1; }
.intro-text p { font-size: 16px; color: var(--text-body); line-height: 2; margin-bottom: 16px; text-align: justify; }

/* ===== Dean Section — 对齐蓝湖设计 ===== */
.dean-section {
  padding: var(--section-padding);
  background: url('assets/asset_00.jpg') center/cover no-repeat;
  position: relative;
}
.dean-section::before {
  content: '';
  position: absolute; inset: 0;
}
.dean-section .section-title { color: #000; position: relative; z-index: 1; }
.dean-grid {
  display: flex; gap: 120px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.dean-card {
  background: #fff; border-radius: 12px;
  padding: 10px;
  width: 370px; box-shadow: 0 6px 30px rgba(0,0,0,0.18);
  transition: transform 0.35s, box-shadow 0.35s;
}
.dean-card:hover { transform: translateY(-8px); box-shadow: 0 12px 48px rgba(0,0,0,0.26); }
/* 照片区域 — 近正方形，对齐设计稿；卡片内边距约 10px，照片自带圆角 */
.dean-photo-wrap {
  position: relative; width: 100%; height: 340px; overflow: hidden;
  border-radius: 8px;
  background: #D8D8D8;
}
.dean-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 红色姓名标签 — 圆角矩形，覆盖照片底部左下角（设计稿 144×72） */
.dean-name-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: var(--red); color: #fff;
  font-size: 22px; font-weight: 600; padding: 9px 26px; border-radius: 8px;
  z-index: 2; letter-spacing: 2px;
}
/* 白色信息区 — 仅描述文字，无职称标签 */
.dean-info { padding: 24px 28px 28px; }
.dean-info p {
  font-size: 14.5px; color: #1a1a1a; line-height: 2;
}

/* ===== News Section (Swiper 4条/页 × 4页) ===== */
.news-section { padding: var(--section-padding); background: #fff; overflow: hidden; }
.news-swiper { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 0 64px; overflow: hidden; }
.news-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.news-card {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
/* 图片区 + 日期徽章覆盖在图片右下角 */
.news-img-wrap {
  position: relative; width: 100%; height: 190px; overflow: hidden;
  background: #E8E8E8;
}
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-date-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--red); color: #fff; border-radius: 4px;
  text-align: center; padding: 5px 10px; min-width: 46px;
  z-index: 2;
}
.news-date-badge .dd { font-size: 20px; font-weight: 700; line-height: 1.1; }
.news-date-badge .mm { font-size: 11px; line-height: 1.2; opacity: 0.9; }
/* 卡片内容 */
.news-body { padding: 18px; flex: 1; display: flex; flex-direction: column; min-height:125px}
.news-source {
  display: inline-block; align-self: flex-start;
  font-size: 11px; line-height: 1.4; color: var(--red); margin-bottom: 10px;
  background: var(--red-light); border: 1px solid rgba(178,20,26,0.22);
  border-radius: 999px; padding: 2px 10px; letter-spacing: 0.3px;
}
.news-body h3 {
  font-size: 16px; color: var(--text-dark); line-height: 1.55;
  margin-bottom: 8px; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-body h3.red { color: var(--red); }
.news-body p {
  font-size: 13px; color: var(--text-gray); line-height: 1.65;
  margin-top: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Swiper dots — 下移避免遮盖内容区 (底部分隔区>30px) */
.swiper-pagination-bullet {
  width: 12px !important; height: 12px !important;
  background: rgba(187,183,178,0.3) !important;
  opacity: 1 !important; border-radius: 50% !important;
  transition: all 0.3s ease !important;
}
.swiper-pagination-bullet-active {
  background: var(--red) !important;
  width: 40px !important; border-radius: 6px !important;
}
/* 分页点整体下移，留出与内容的间距 */
.news-swiper .swiper-pagination,
.mentor-swiper .swiper-pagination {
  bottom: 14px !important;
}
/* 上一张/下一张 切换按钮 — 位于底部分隔区，不覆盖卡片 */
.swiper-button-prev, .swiper-button-next {
  top: auto !important;
  bottom: 8px !important;
  width: 38px !important; height: 38px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--red) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
  transition: all 0.3s ease !important;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
  background: var(--red) !important;
  color: #fff !important;
  transform: scale(1.08);
}
.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 16px !important; font-weight: 700;
}

/* ===== Committee Section (方形头像 10px radius) ===== */
.committee-section {
  padding: var(--section-padding);
  background: url('assets/asset_02.jpg') center/cover no-repeat;
  position: relative;
}
.committee-section::before {
  content: '';
  position: absolute; inset: 0;
}
.committee-subtitle {
  text-align: center; font-size: 17px; color: var(--text-gray); margin-bottom: 44px;
  position: relative; z-index: 1;
}
.committee-section .section-title { position: relative; z-index: 1; }
/* 主任行 */
.committee-leaders {
  display: flex; justify-content: center; gap: 56px; margin-bottom: 44px;
  position: relative; z-index: 1;
}
.committee-leader { text-align: center; width: 200px; }
/* 方形头像 10px圆角 */
.committee-leader-avatar {
  width: 170px; height: 210px; border-radius: 10px; overflow: hidden;
  margin: 0 auto 14px; background: #D8D8D8;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.committee-leader-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.committee-leader-avatar .placeholder {
  width: 100%; height: 100%; background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 16px;
}
/* 红色标签覆盖在头像底部 */
.leader-tag-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--red); color: #fff;
  font-size: 14px; font-weight: 600; padding: 6px 0; text-align: center;
}
.committee-leader-name { font-size: 20px; color: var(--text-dark); margin-bottom: 4px; }
/* 委员网格 */
.committee-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  position: relative; z-index: 1;
}
.committee-member { text-align: center; }
/* 方形头像 10px圆角 */
.member-avatar {
  width: 130px; height: 150px; border-radius: 10px; overflow: hidden;
  margin: 0 auto 12px; background: rgba(178,20,26,0.08);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.member-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-avatar .placeholder {
  font-size: 22px; color: var(--red); font-weight: 500;
}
.member-tag-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--red); color: #fff;
  font-size: 12px; font-weight: 600; padding: 4px 0; text-align: center;
}
.member-name { font-size: 16px; color: var(--text-dark); margin-bottom: 4px; }

/* ===== Mentor Section (Swiper) ===== */
.mentor-section { padding: var(--section-padding); background: #fff; overflow: hidden; }
.mentor-swiper { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 0 64px; overflow: hidden; }
.mentor-slide-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
/* 卡片：米白底 + 红色照片区在左，宽高比约 538:252 */
.mentor-card {
  background: #FBFAF8; border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; align-items: stretch;
  min-height: 210px;
  border: 1px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(178,20,26,0.16);
  border-color: rgba(178,20,26,0.28);
}
/* 左侧红色图片区 (约占宽度 37%) */
.mentor-photo {
  flex: 0 0 37%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.mentor-photo::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(139,15,20,0); transition: background 0.35s ease;
}
.mentor-card:hover .mentor-photo::after { background: rgba(139,15,20,0.22); }
.mentor-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.mentor-card:hover .mentor-photo img { transform: scale(1.09); }
.mentor-photo .placeholder {
  color: rgba(255,255,255,0.7); font-size: 15px; writing-mode: vertical-rl;
}
/* 右侧信息区 */
.mentor-info {
  flex: 1; padding: 26px 22px; display: flex; flex-direction: column;
  justify-content: center; min-width: 0;
}
.mentor-info .m-name {
  font-size: 24px; color: var(--text-dark); font-weight: 500;
  line-height: 1.2; margin-bottom: 4px;
  transition: color 0.3s ease;
}
.mentor-card:hover .mentor-info .m-name { color: var(--red); }
.mentor-info .m-tag {
  display: block; font-size: 14px; color: var(--text-light);
  margin-bottom: 16px; letter-spacing: 0.5px;
}
.mentor-info .m-detail {
  font-size: 13px; color: var(--text-gray); margin-bottom: 11px;
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.7;
  word-break: break-word; overflow-wrap: anywhere;
}
.mentor-info .m-detail:last-child { margin-bottom: 0; }
.mentor-info .m-detail .ic {
  color: var(--text-light); flex-shrink: 0; margin-top: 1px; font-size: 13px;
}

/* ===== Footer — 对齐蓝湖设计（单行PC布局）===== */
.footer {
  background: url('assets/footer-bg.png') center/cover no-repeat;
  color: rgba(255,255,255,0.88); position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(178,20,26,0.92) 0%, rgba(139,15,20,0.95) 100%);
}
.footer-main {
  position: relative; z-index: 1; padding: 56px 0 44px;
}
.footer-main .container {
  /* PC端单行布局: Logo+联系方式 | 常用链接 | 关注我们 */
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}
/* 左列: Logo + 联系方式 */
.footer-brand {}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 48px; width: auto; }
.footer-contact-info p {
  font-size: 14px; line-height: 2.1; color: rgba(255,255,255,0.82);
  margin-bottom: 2px;
}
/* 中列: 常用链接 */
.footer-col h4 {
  font-size: 17px; color: #fff; margin-bottom: 18px; font-weight: 500;
}
.footer-col a, .footer-col p {
  display: block; color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 14px; margin-bottom: 10px; transition: color 0.3s; line-height: 1.7;
}
.footer-col a:hover { color: #fff; }
/* 右列: 关注我们 + 二维码 */
.footer-qr-group { display: flex; gap: 16px; margin-top: 4px; }
.footer-qr-item {
  width: 96px; height: 96px; background: #fff;
  border-radius: 6px; overflow: hidden; padding: 4px;
}
.footer-qr-item img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr-label {
  font-size: 12px; color: rgba(255,255,255,0.75); text-align: center;
  margin-top: 6px;
}
/* 底部版权栏 */
.footer-bottom {
  position: relative; z-index: 1; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom p {
  font-size: 13px; color: rgba(255,255,255,0.65); text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: repeat(3, 1fr); }
  .mentor-slide-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { flex-direction: column; }
  .intro-image { flex: none; width: 100%; max-width: 560px; margin: 0 auto; }
  .footer-main .container { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .news-section, .mentor-section { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 768px) {
  :root { --section-padding: 48px 0; }
  .section-title { font-size: 28px; margin-bottom: 32px; }
  .navbar { padding: 0 16px; height: 56px; }
  .navbar-links { display: none; }
  .navbar-search { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-logo img { height: 34px; }
  .hero { height: 100vh; min-height: auto; }
  .hero-content { padding: 96px 16px 110px; }
  .hero-subtitle { font-size: 15px; letter-spacing: 3px; }
  .hero-year { padding: 7px 20px; }
  .hero-year span { font-size: 19px; }
  .dean-grid { gap: 16px; }
  .dean-card { width: calc(50% - 8px); padding: 6px; }
  .dean-photo-wrap { height: 200px; }
  .dean-name-tag { font-size: 16px; padding: 6px 16px; bottom: 10px; left: 10px; }
  .dean-info { padding: 16px 12px 18px; }
  .dean-info p { font-size: 12px; line-height: 1.7; }
  .committee-leaders { gap: 24px; }
  .committee-leader { width: 154px; }
  .committee-leader-avatar { width: 130px; height: 160px; }
  .committee-leader-name { font-size: 17px; }
  .dean-name-tag, .leader-tag-overlay { font-size: 12px; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .member-avatar { width: 110px; height: 128px; }
  .mentor-slide-grid { grid-template-columns: 1fr; }
  .mentor-card { flex-direction: column; min-height: auto; }
  .mentor-photo { flex: none; height: 160px; }
  .intro-grid { flex-direction: column; gap: 24px; }
  .footer-main .container { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-logo img { height: auto; max-width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .news-section, .mentor-section { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .dean-card { padding: 4px; }
  .dean-photo-wrap { height: 160px; }
  .dean-name-tag { font-size: 13px; padding: 4px 12px; bottom: 6px; left: 6px; }
  .dean-info { padding: 10px 10px 14px; }
  .dean-info p { font-size: 11px; line-height: 1.6; }
  .committee-leaders { gap: 14px; }
  .committee-leader { width: 130px; }
  .committee-leader-avatar { width: 110px; height: 140px; }
  .committee-leader-name { font-size: 15px; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .member-avatar { width: 90px; height: 108px; }
  .member-name { font-size: 14px; }
  .news-body h3 { font-size: 15px; }
  .news-body p { font-size: 12px; }
}
