/* ===================== 1. 基础重置 & 全局变量 ===================== */
:root {
  /* 主题色 */
  --primary-color: #98191B;    /* 主红色 */
  --secondary-color: #dc2626;  /* 辅助红 */
  --text-primary: #333333;     /* 主要文字 */
  --text-secondary: #6b7280;   /* 次要文字 */
  --text-tertiary: #9ca3af;    /* 第三级文字 */
  --white: #ffffff;            /* 白色 */
  --gray-light: #f2f2f2;       /* 浅灰 */
  --gray-medium: #e5e7eb;      /* 中灰 */
  --gray-dark: #2E2E2E;        /* 深灰 */
  
  /* 尺寸变量（保持px） */
  --container-max-width: 1440px; /* 容器最大宽度 */
  --spacing-sm: 8px;             /* 小间距 */
  --spacing-md: 16px;            /* 中等间距 */
  --spacing-lg: 32px;            /* 大间距 */
  --spacing-xl: 64px;            /* 超大间距 */
  
  /* 动画变量 */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --animation-duration: 0.8s;

  --font-main: "Microsoft YaHei", "SimHei", Arial, sans-serif;
}

/* 基础重置（统一盒模型 + 清除默认样式） */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box; /* 统一盒模型，避免宽度计算问题 */
}

html {
  color: var(--text-primary);
  width: 100%;
  margin: 0 auto;
  font-size: 10px; /* 保留基准但不再依赖，所有数值已转px */
}

body {
  background: var(--white);
  position: relative;
  font-size: 16px; /* 1.6rem → 16px */
  line-height: 1.6;  /* 统一行高 */
}

/* 通用重置 */
img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  max-width: 100%; /* 图片自适应 */
  height: auto;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none; /* 统一清除链接下划线 */
  color: inherit;       /* 继承父级颜色 */
}

button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

/* ===================== 2. 通用布局样式 ===================== */
/* 容器通用样式（统一复用） */
.container,
.custom-container,
.majors-section,
.majors-cms,
.campus-life-container,
.contact-us-content {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* 文字居中通用类 */
.text-center {
  text-align: center !important;
}

/* 清除滚动条通用类 */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ===================== 3. 头部样式 ===================== */
.wd {
  width: 1800px;
  margin: 0 auto;
}

.inhead {
  width: 100%;
  height: 100px;
  color: #000;
}

.head-wd {
  height: 100px;
  width: 1660px;
  display: flex;
}

.head-logo {
  width: 500px;
  padding-top: 20px;
  height: 80px;
  float: left;
  display: flex;
}

.logo-height {
  width: 486px;
  height: 66px;
  display: flex;
}

.head-dh {
  width: 840px;
  height: 100px;
  padding-left: 20px;
  float: left;
}

/* 导航链接样式 */
.nav-contes {
  display: flex;
  align-items: center;
  height: 100px;
}

.dh-nav-items-d {
  display: flex;
  list-style: none;
  gap: 4px;
  height: 92px;
}

.dh-nav-items-d li a {
  display: inline-block;
  width: 90px;
  height: 100px;
  padding-top: 46px;
  text-align: center;
  color: #4b5563;
  font-size: 14px; /* 1.4rem → 14px */
  font-weight: 500;
  transition: var(--transition-base);
}

.dh-nav-items-d li a:hover {
  background-color: var(--primary-color);
  height: 100px;
  color: var(--white);
}

.head-dm {
  float: right;
  text-align: right;
  width: 200px;
  padding: 45px 0 0;
  height: 55px;
  font-size: 20px; /* 1.8rem → 18px */
  font-weight: bold;
  color: var(--primary-color);
}

/* ===================== 4. Banner轮播样式 ===================== */
.banner {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
}

.banner-slider {
  position: absolute;
  inset: 0;
  background-color: #000;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
}

/* 轮播控制按钮 */
.carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-base);
  pointer-events: auto;
}

.prev-btn {
  left: var(--spacing-md);
}

.next-btn {
  right: var(--spacing-md);
}

.prev-btn:hover, .next-btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-base);
}

.indicator.active,
.indicator:hover {
  background-color: var(--white);
  width: 30px;
  border-radius: 6px;
}

/* ===================== 5. 学校概况样式 ===================== */
.box {
  width: 100%;
  height: 765px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./template/default/images/index/index-bg.jpg) no-repeat center/cover;
  opacity: 0.8;
  z-index: 0;
}

.school-profile {
  opacity: 1;
  position: relative;
  width: 100%;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
  background-color: #f8f9fa;
  background: url(/template/default/images/index/index-bg.jpg) no-repeat center/cover;
}

.school-profile-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--white);
  opacity: 0.9;
  z-index: 0;
}

/* 保证内容在遮罩层上方 */
.school-profile .content {
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.school-profile-content {
  max-width: 1400px;
  margin: 0 auto 120px;
  text-align: center;
  transform-origin: center;
  animation: scaleOut var(--animation-duration) ease-out forwards;
}

.school-profile-subtitle {
  margin: 40px 0 8px;
  color: var(--text-secondary);
  font-size: 18px; /* 1.8rem → 18px */
  text-align: center;
}

.school-profile-title {
  font-size: 46px; /* 4.6rem → 46px */
  font-weight: bold;
  margin-bottom: var(--spacing-md);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.2s;
  text-align: center;
}

.school-profile-slogan {
  font-size: 36px; /* 3.6rem → 36px */
  font-weight: 600;
  color: var(--secondary-color);
  margin: 36px 0 32px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

.school-profile-text {
  color: var(--text-secondary);
  margin: 40px auto 20px;
  line-height: 2;
  font-size: 18px; 
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.6s;
  max-width: 1260px;
  text-align: left !important;
}

/* 直接使用PC端4列布局 */
.school-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.8s;
  margin: 10px 0 30px 0;
}

.school-profile-stat {
  text-align: center;
}

.school-profile-stat-number {
  font-size: 80px; /* 8rem → 80px */
  font-weight: bold;
  color: var(--primary-color);
  margin: 40px 0 8px;
}

.school-profile-stat-text {
  color: var(--text-secondary);
  font-size: 20px; /* 2rem → 20px */
}

/* ===================== 6. 教师风采模块 ===================== */
.index-box-s1 {
  height: 80px;
  font-size: 16px; /* 1.6rem → 16px */
  width: 100%;
  display: flex;
  text-align: center;
  display: block;
  float: left;
}

.text-center{text-align:center!important}
.custom-container {
  width: 100%; /* 小屏占满宽度（container的默认行为） */
  max-width: 1440px; /* 对应max-w-4xl，≈1024px */
  margin-left: auto; /* 对应mx-auto */
  margin-right: auto;
  padding: 0.5rem; /* 对应p-2，≈8px */
}
.custom-style {
  text-align: center; /* 对应text-center */
  margin-bottom: 0.75rem; /* 对应mb-3，1rem=16px，0.75×16=12px */
}

.teachers-container {
  /* Flex布局核心 */
  display: flex;
  flex-wrap: nowrap; /* 不换行 */
  /* 滚动相关 */
  overflow-x: auto; /* 横向滚动 */
  scroll-snap-type: x mandatory; /* 横向强制吸附 */
  scroll-behavior: smooth; /* 顺滑滚动 */
  /* 样式 */
  padding-bottom: 20px; /* pb-4 */
  cursor: grab; /* 抓取光标 */
  /* 隐藏滚动条 */
  -ms-overflow-style: none; /* IE/Edge隐藏滚动条 */
  scrollbar-width: none; /* Firefox隐藏滚动条 */
  margin-top: 40px;
}
/* Chrome/Safari隐藏滚动条（scrollbar-hide的核心） */
.teachers-container::-webkit-scrollbar {
  display: none;
}
/* 拖动时光标样式（补充） */
.teachers-container:active {
  cursor: grabbing;
}

.teacher-card {
  /* 核心布局 */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0; /* 禁止压缩 */
  /* 间距 */
  margin-left: 12px;
  margin-right: 12px;
  /* 滚动吸附 */
  scroll-snap-align: start;
  /* 宽度 */
  width: calc(18% - 16px);
}

.horizontal-card {
  /* 核心布局：禁止压缩 + 垂直居中 */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 间距 */
  margin-left: 1rem;
  margin-right: 1rem;
  /* 滚动吸附 */
  scroll-snap-align: start;
  /* 宽度（修正后） */
  width: calc(18% - 32px);
}

.teacher-card-link {
  /* 基础布局 */
  position: relative;
  width: 100%;
  aspect-ratio: 3/4; /* 3:4宽高比 */
  border-radius: 10px; /* rounded-lg */
  overflow: hidden; /* 裁剪溢出内容 */
  /* 过渡动画 */
  transition: all 300ms; /* transition-all + duration-300 */
}
/* 悬浮状态 */
.teacher-card-link:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-xl */
  transform: scale(1.02); /* scale-[1.02] */
}
/* 点击按下状态 */
.teacher-card-link:active {
  transform: scale(0.98); /* scale-[0.98] */
}

.ratio-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4; /* 3:4宽高比 */
  border-radius: 10px; /* rounded-lg */
  overflow: hidden; /* 裁剪溢出内容 */
  /* 过渡动画 */
  transition: all 300ms; /* transition-all + duration-300 */
}

.teacher-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 核心：不变形铺满容器 */
}

.teacher-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px); /* 背景模糊 */
  padding: 0.5rem;
  transition: all 300ms;
  opacity: 1;
  text-align: center;
  /* 补充：文字设为白色，保证黑底上可读 */
  color: white;
}
/* 优化：鼠标悬浮父容器（图片容器）时隐藏遮罩（而非悬浮遮罩本身） */
.ratio-container:hover .teacher-image-overlay {
  opacity: 0;
}
.teacher-title {
  font-size: 22px; /* 对应text-xl，≈20px */
  font-weight: 600;    /* 对应font-semibold */
  color: white;        /* 对应text-white */
}
.teacher-ext {font-size: 18px; color:#fff;}

/* 全屏悬浮遮罩层基础样式 */
.full-overlay {
  position: absolute;
  inset: 0; /* 等价于top/right/bottom/left: 0 */
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  padding: 1rem;
  transition: all 300ms;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  /* 补充：文字设为白色，保证深色背景下可读 */
  color: white;
  /* 优化：默认不拦截点击，悬浮时允许交互 */
  pointer-events: none;
}

/* 关键：鼠标悬浮父图片容器时显示遮罩（原代码hover仅对遮罩自身生效，会失效） */
.ratio-container:hover .full-overlay {
  opacity: 1;
  pointer-events: auto; /* 悬浮时可选中/复制内部文字 */
}

.teacher-extp {
  color: white; /* text-white */
  margin-bottom: 8px; /* mb-3 */
  text-align: center; /* text-center */
  font-size: 18px;
}

.teacher-text {
  color: white;
  font-size: 16px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  overflow: hidden;
  line-height: 1.4;
}

.teacher-titles {
  font-size: 24px;  /* text-xl */
  font-weight: 600;     /* font-semibold */
  color: white;         /* text-white */
  margin-bottom: 10px; /* mb-1 */
  margin-top: 30px;
  text-align: center;   
  line-height: 1.4;
}

.teacher-container {
  text-align: center;   
  margin-top: 40px;  
  margin-left: auto;
  margin-right: auto; 
  margin-bottom: 40px;
  line-height: 35px;
}

.teachers-link {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #98191B;
  font-size: 20px;
 
   /* 过渡+变换 */
  transition: all 300ms;
  transform: none;
  /* 补充：重置链接默认样式 */
  text-decoration: none; /* 去掉下划线 */
  cursor: pointer;
}
/* 悬浮状态 */
.teachers-link:hover {
  font-weight: 600;
  text-decoration: none; /* 悬浮也不加下划线 */
}
/* 点击按下状态（可选，强化反馈） */
.teachers-link:active {
  transform: translateY(0); /* 按下回到原位置 */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.teach-img {width:35px; height: 35px; float: left;}

/* ===================== 7. 开设专业模块 ===================== */
.majors-box {
  width: 100%;
  height: auto;
  padding-bottom: 30px;
  background: url(/template/default/images/index/column2bg.jpg) no-repeat center/cover;
}

.majors-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.majors-subtitle {
  font-size: 18px; /* 1.8rem → 18px */
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.majors-title {
  font-size: 36px; /* 3.6rem → 36px */
  font-weight: bold;
  color: #1f2937;
  margin: 0;
}

/* 直接使用PC端4列布局 */
.majors-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.major-card {
  height: 740px;
  overflow: hidden;
  position: relative;
}

.major-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.major-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
  filter: brightness(0.8);
}

.major-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 不同卡片的渐变遮罩 */
.majors-container .major-card:nth-child(1) .major-card-overlay {
  background: linear-gradient(180deg, rgba(251,191,36,0.2) 0%, rgba(251,191,36,0.7) 100%);
}

.majors-container .major-card:nth-child(2) .major-card-overlay {
  background: linear-gradient(180deg, rgba(30,58,138,0.2) 0%, rgba(30,58,138,0.7) 100%);
}

.majors-container .major-card:nth-child(3) .major-card-overlay {
  background: linear-gradient(180deg, rgba(220,38,38,0.2) 0%, rgba(10, 182, 255, 0.893) 100%);
}

.majors-container .major-card:nth-child(4) .major-card-overlay {
  background: linear-gradient(180deg, rgba(139,92,246,0.2) 0%, rgba(139,92,246,0.7) 100%);
}

.major-card-title {
  position: absolute;
  top: 60px;
  left: 40px;
  font-size: 30px; /* 3rem → 30px */
  font-weight: bold;
  color: var(--white);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 8px;
  z-index: 2;
}

.major-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  color: var(--white);
  transform: translateY(100%);
  opacity: 0;
  transition: var(--transition-slow);
  z-index: 3;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

.major-card-content-title {
  font-size: 26px; /* 2.6rem → 26px */
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.major-card-content-description {
  font-size: 16px; /* 1.6rem → 16px */
  line-height: 1.6;
  margin-bottom: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.major-card-button {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px; /* 1.4rem → 14px */
  transition: var(--transition-base);
}

.major-card-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

/* 专业卡片悬停效果 */
.major-card:hover .major-card-bg {
  transform: scale(1.1) translateY(-5%);
  filter: brightness(1);
}

.major-card:hover .major-card-content {
  transform: translateY(0);
  opacity: 1;
}

/* ===================== 8. 校园动态样式 ===================== */
.news-box {
  width: 100%;
  height: auto;
  margin-top: 20px;
  background: var(--gray-light);
}

.campus-news {
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.campus-news-header {
  text-align: center;
  margin-bottom: 40px;
}

.campus-news-title {
  font-size: 30px; /* 3rem → 30px */
  font-weight: bold;
  color: #1f2937;
  margin: 0;
}

/* 直接使用PC端2列布局 */
.campus-news-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* 左侧视频区 */
.campus-news-video-section {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.campus-news-video-section.animate-slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.campus-news-main-video {
  margin-bottom: 20px;
  background-color: var(--white);
  border-bottom: 4px solid var(--primary-color);
  background: url(/template/default/images/index/col1rbg.png);
}

.campus-news-main-video-inner {
  position: relative;
  width: 100%;
  height: 392px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  background: var(--white);
  padding: 10px;
}

.campus-news-main-video-title {
  font-size: 22px; /* 2.2rem → 22px */
  font-weight: bold;
  color: var(--primary-color);
  margin: 12px 0;
  text-align: center;
}

/* 视频缩略图 */
.campus-news-video-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.campus-news-video-thumbnail {
  display: block;
  transition: var(--transition-base);
  background-color: var(--white);
  padding: 8px;
  border-bottom: 4px solid var(--primary-color);
}

.campus-news-video-thumbnail:hover {
  transform: translateY(-2px);
}

.campus-news-video-thumbnail-inner {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
}

.campus-news-video-thumbnail-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-news-video-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.campus-news-video-thumbnail:hover .campus-news-video-thumbnail-inner img {
  transform: scale(1.05);
}

.campus-news-video-thumbnail-title {
  font-size: 14px; /* 1.4rem → 14px */
  color: var(--text-secondary);
  margin: 8px 0;
  text-align: center;
}

/* 右侧新闻区 */
.campus-news-news-section {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
  transition-delay: 0.2s;
}

.campus-news-news-section.animate-slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* 新闻网格 */
.campus-news-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.campus-news-news-item {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
  background: url(/template/default/images/index/col1rbg.png);
  padding: 8px;
  border-bottom: 4px solid var(--primary-color);
}

.campus-news-news-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.campus-news-news-item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.campus-news-news-item-image-container {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.campus-news-news-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}



.campus-news-news-item:hover .campus-news-news-item-image {
  transform: scale(1.1);
}

.campus-news-news-item-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

.campus-news-news-item-date {
  font-size: 12px; /* 1.2rem → 12px */
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.campus-news-news-item-title {
  font-size: 16px; /* 1.6rem → 16px */
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.campus-news-news-item-description {
  font-size: 14px; /* 1.4rem → 14px */
  color: var(--text-secondary);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 校园生活栏目样式 */
.campus-life {
  background-color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  background: url(/template/default/images/index/column4bg.jpg) no-repeat center/cover;
}

.campus-life-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 左侧标题和描述 */
.campus-life-left {
  text-align: center;
  margin-bottom: 20px;
}

.campus-life-title {
  font-size: 30px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
}

.campus-life-description {
  font-size: 16px;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 右侧学生管理大图 */
.campus-life-right {
  width: 100%;
  height: 300px;
}

.campus-life-large-item {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.campus-life-large-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.campus-life-large-item-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.campus-life-large-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.campus-life-large-item:hover .campus-life-large-item-image img {
  transform: scale(1.05);
}

.campus-life-large-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
  transition: all 0.5s ease;
}

.campus-life-large-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}



.campus-life-large-item-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #fff;
  font-size: 20px;
}

.campus-life-large-item-title {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin: 0;
}


/* 直接使用PC端3列布局 */
.campus-life-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


.campus-life-bottom-item {
  display: block;
  height: 200px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.campus-life-bottom-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 底部卡片背景色区分 */
.campus-life-bottom-item:nth-child(1) .campus-life-bottom-item-inner {
  background-color: #e5e7eb;
}

.campus-life-bottom-item:nth-child(2) .campus-life-bottom-item-inner {
  background-color: var(--secondary-color);
}

.campus-life-bottom-item:nth-child(3) .campus-life-bottom-item-inner {
  background-color: #9ca3af;
}

.campus-life-bottom-item-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.9;
}

.campus-life-bottom-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.campus-life-bottom-item:hover .campus-life-bottom-item-image img {
  transform: translateY(-10px);
}

.campus-life-bottom-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  transition: var(--transition-slow);
}

.campus-life-bottom-item-content {
  position: absolute;
  inset: 0;
  padding: 20px;
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.campus-life-bottom-item-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 16px; /* 1.6rem → 16px */
}

.campus-life-bottom-item-title {
  font-size: 20px; /* 2rem → 20px */
  font-weight: bold;
  color: var(--white);
  margin: 0;
}

.campus-life-bottom-item-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 24px; /* 2.4rem → 24px */
  opacity: 0;
  transition: var(--transition-base);
}

.campus-life-bottom-item:hover .campus-life-bottom-item-arrow {
  opacity: 1;
  right: 20px;
}

/* ===================== 10. 通用组件样式（按钮/弹窗等） ===================== */
/* 按钮样式 */
.GJL-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--transition-base);
  display: inline-block;
  text-align: center;
}

.GJL-btn-blue {
  background-color: #3b82f6;
  color: var(--white);
}

.GJL-btn-blue:hover {
  background-color: #2563eb;
}

.GJL-btn-green {
  background-color: #22c55e;
  color: var(--white);
}

.GJL-btn-green:hover {
  background-color: #16a34a;
}

.GJL-btn-gray {
  background-color: #f3f4f6;
  color: #1f2937;
}

.GJL-btn-gray:hover {
  background-color: #e5e7eb;
}

/* 联系工具栏（仅保留PC端） */
.GJL-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.GJL-contact-item:hover {
  transform: scale(1.1);
}

.GJL-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.GJL-contact-label {
  font-size: 14px; /* 1.4rem → 14px */
  color: var(--text-secondary);
}

/* 二维码容器 */
.GJL-qr-code-container {
  position: fixed;
  right: 100px;
  top: 50%;
  z-index: 50;
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.GJL-qr-code-card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 24px;
  width: 256px;
  height: 320px;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.GJL-qr-code-title {
  font-size: 20px; /* 2rem → 20px */
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 16px;
}

.GJL-qr-code-image-container {
  width: 192px;
  height: 192px;
  margin-bottom: 16px;
  background-color: var(--white);
  padding: 8px;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
}

.GJL-qr-code-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.GJL-qr-code-description {
  color: var(--text-secondary);
  text-align: center;
}

/* 二维码小三角 */
.GJL-qr-code-triangle {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--white);
}

.GJL-qr-code-container.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* 电话号码弹窗 */
.GJL-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: fadeIn 0.3s ease-out;
}

.GJL-modal-content {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  margin: 0 16px;
  border: 1px solid #f3f4f6;
  animation: slideUp 0.3s ease-out;
}

.GJL-modal-title {
  font-size: 20px; /* 2rem → 20px */
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 24px;
  text-align: center;
}

.GJL-phone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.GJL-phone-item-blue {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
}

.GJL-phone-item-green {
  background-color: #dcfce7;
  border: 1px solid #bbf7d0;
}

.GJL-phone-name {
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 4px;
}

.GJL-phone-number-blue {
  color: #3b82f6;
}

.GJL-phone-number-green {
  color: #22c55e;
}

/* 二维码弹窗 */
.qrcode-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.qrcode-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.qrcode-modal-content {
  position: relative;
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  max-width: 300px;
  width: 90%;
  z-index: 10;
}

.qrcode-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.qrcode-modal-close:hover {
  background-color: #e5e7eb;
}

.qrcode-modal-title {
  font-size: 18px; /* 1.8rem → 18px */
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 20px;
}

.qrcode-modal-image {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f9fafb;
  border-radius: 4px;
}

.qrcode-modal-text {
  font-size: 14px; /* 1.4rem → 14px */
  color: var(--text-secondary);
}

/* ===================== 11. 联系我们样式 ===================== */
.contact-us {
  background-image: url('/template/default/images/index/footerbg.png');
  color: var(--white);
  padding: 45px 0;
  position: relative;
  overflow: hidden;
}
.contact-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: repeat;
  opacity: 0.05;
  z-index: 0;
}

.contact-us-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 100px;
  position: relative;
  z-index: 1;
}

.contact-us-left,
.contact-us-center,
.contact-us-right {
  flex: 1;
}

.contact-us-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-us-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
}

.contact-us-phone i {
  font-size: 24px;
}

.contact-us-address {
  font-size: 14px;
  opacity: 0.9;
}

.contact-us-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.school-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.school-logo-image {
  width: 700px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
  padding: 10px;
}

.school-name {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.contact-us-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 24px;
  margin-bottom: 5px;
}

.social-icon-text {
  font-size: 12px;
  opacity: 0.9;
}

.friend-links {
  position: relative;
}

.friend-links-select {
  padding: 8px 30px 8px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  min-width: 150px;
}

.friend-links-select option {
  background-color: #98191B;
  color: #fff;
}

.friend-links-select::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-us-footer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 1;
  background-color: #2E2E2E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.9;
  text-align: center;
}

.contact-us-copyright {
  flex: 1;
  color: #fff;
}

.contact-us-tech {
  text-align: right;
}

/* ===================== 12. 动画关键帧（统一管理） ===================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleOut {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===================== 13. PC端工具栏样式（仅保留） ===================== */
.GJL-pc-toolbar {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  gap: 24px;
}

/* 移除所有移动端工具栏相关样式 */
.GJL-mobile-toolbar,
.GJL-mobile-toolbar-item,
.GJL-mobile-toolbar-label {
  display: none !important;
}

/* 保留1800px以上的样式（仅调整字体大小，非移动端适配） */
@media (min-width: 1800px) {
  .school-profile-title {
    font-size: 46px; /* 4.6rem → 46px */
  }
}


/* 新闻页主容器 */
.news-box{width: 100%; height: 100%; margin: 0 auto; background-color: #F2F2F2;}
.news-main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部横幅样式 */
.news-banner {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.news-banner-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.news-banner-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.news-banner-wave {
    position: absolute;
    bottom: -70px; /* 贴父盒子底部 */
    left: 0; /* 贴父盒子左侧 */
    /* 尺寸：匹配原波浪/图片的尺寸，可根据实际调整 */
    width: 1541px; /* 或设为固定宽度，比如300px；若想自适应父盒宽度则设100% */
    height: 287px; /* 匹配图片/原SVG高度 */
    /* 防止动画/定位时溢出父盒子 */
    overflow: hidden;
    /* 层级：确保不被父盒子内其他元素遮挡（可根据需要调整z-index） */
    z-index: 10;
}

/* 背景图片容器：承载指定图片+动画 */
.wave-bg-image {
    width: 100%;
    height: 100%;
    background: url(/template/default/images/xwlm/subbbg.png) no-repeat center center;
    background-size: cover; /* 图片覆盖容器 */
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
    will-change: transform;
}

/* 鼠标悬浮：起伏效果（自然的上下移动+轻微缩放） */
.wave-bg-image:hover {
    transform: translateY(-8px) scale(1.02); /* 向上起伏+轻微放大 */

}

.news-banner-title {
width:1390px;
height: 30px;
margin: 0px auto;
padding-top: 350px;
padding-left: 50px;
z-index: 999;
}

.news-banner-title h1 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    color: #FFFFFF;
    position: relative;
    z-index: 10;
}

.news-main-nav {
    background-color: #FFFFFF;
    box-shadow: 0 3px 4px 3px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #E5E7EB;
    width: 100%;
}

.news-nav-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.news-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.news-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.news-nav-link {
    color: #4B5563;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.news-nav-link:hover {
    color: #DC2626;
}

.news-nav-link.news-active {
    color: #DC2626;
    border-bottom: 2px solid #DC2626;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
}

.news-breadcrumb-link {
    color: #6B7280;
    text-decoration: none;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

.news-breadcrumb-link:hover {
    color: #DC2626;
}

.news-breadcrumb-separator {
    margin-left: 8px;
    margin-right: 8px;
}

.news-breadcrumb-current {
    color: #4B5563;
}

/* 主要内容区域 */
.news-content-container {
    flex: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 32px;
    padding-right: 32px;
}

.news-article-content {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 48px;
}

.news-article-title {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    color: #1F2937;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.25;
}

.news-article-meta {
    text-align: center;
    color: #6B7280;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E7EB;
}

.news-article-body {
    color: #374151;
    line-height: 2;
    font-size: 16px;
    font-family: "Microsoft YaHei", "SimHei", "Heiti SC", Arial, sans-serif !important;
    text-align: left;
}

.news-article-body p {
    margin-bottom: 20px;
    font-size: 16px;
    font-family: "Microsoft YaHei", "SimHei", "Heiti SC", Arial, sans-serif !important;
}

.news-article-body p:last-child {
    margin-bottom: 0;
    font-size: 16px;
    font-family: "Microsoft YaHei", "SimHei", "Heiti SC", Arial, sans-serif !important;
}

.news-article-body * {
    font-family: "Microsoft YaHei", "SimHei", "Heiti SC", Arial, sans-serif !important;
}

.news-article-body img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.news-box-s5 {width: 100%; height: auto; padding-bottom: 30px;}
.news-box-s5 p {width:50%; float: left;  line-height: 30px; font-size: 16px; color: #98191B;}

.sonsort {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-family: "Microsoft YaHei", sans-serif;
    align-items: flex-end;
    height: 100%;
}

.sonsort-mt4 {
    margin-top: 14px;
}

.sonsort-mb2 {
    margin-bottom: 0px;
}

.sonsort-btn {
    display: block;
    padding: 10px 5px 12px 5px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    color: #000000;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: normal;
    transition: all 0.2s ease;
}

.sonsort-btn-normal {
}

.sonsort-btn-active {
    color: #98191B;
    font-weight: bold;
    border-bottom: 2px solid #98191B;
}

.sonsort-btn:hover {
    color: #98191B;
    font-weight: bold;
    border-bottom: 2px solid #98191B;
}

.sonsort-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    border-radius: 10px;
    margin-left: 6px;
    background-color: #98191B;
    color: #ffffff;
}

.position-container {
    text-align: right;
    margin-top: 12px;
    font-size: 14px;
    color: #6B7280;
    font-family: "Microsoft YaHei", sans-serif;
}

.newslist-article-content {
    max-width: 1400px;
}

/* 新闻列表容器 */
.newslist-container {
    width: 100%;
    max-width: 1400px;
    margin: 30px auto 0px auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* 单个新闻项（核心：新增阴影过渡） */
.newslist-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    margin-bottom: 16px;
    background-color: #ffffff;
    /* 核心：添加右下角背景图片 + 样式控制 */
    background-image: url("/template/default/images/index/col1rbg.png"); /* 替换为实际图片路径 */
    background-repeat: no-repeat; /* 禁止图片重复 */
    background-position: right bottom; /* 固定在右下角 */
    background-size: auto 100%; /* 图片高度为元素60%，宽度自适应（可自定义） */
    background-origin: content-box; /* 背景图片从内边距区域开始显示，不被padding遮挡 */
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    /* 新增：确保内容不会被背景图片遮挡 */
    position: relative;
    overflow: hidden; /* 可选：防止图片超出圆角范围 */
}

/* 图片容器（用于裁剪和缩放） */
.newslist-img-wrap {
    width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

.zyszlist-img-wrap {
    width: 400px;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

/* 新闻图片 */
.newslist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 新闻内容区 */
.newslist-content {
    flex: 1;
}

/* 新闻标题 */
.newslist-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 20px 12px 0;
    transition: all 0.3s ease;
}

.zyszlist-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 20px 12px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
   flex-wrap: wrap;
   gap: 8px;
}

.ZY-program-tag {
    padding: 2px 10px;
    font-size: 12px;
    color: #FFFFFF;
    background-color: #98191B;
    border-radius: 9999px;
    white-space: nowrap;
    align-self: center;
}

.title-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newslist-time {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px 0;
}

.newslist-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 2;
    margin: 0 20px 0 0;
}

.newslist-btns {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.newslist-btn {
    padding: 8px 16px;
    background-color: #1e88e5;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.newslist-btn:last-child {
    background-color: #ff9800;
}
.newslist-btn:hover {
    opacity: 0.9;
    color: white;
}

.newslist-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.newslist-item:hover .newslist-img {
    transform: scale(1.1);
}
.newslist-item:hover .newslist-title {
    color: #98191B;
    font-weight: bold;
}


.newslist-img {width:16px; height: 16px; float: left;}

.pagination-wrap {
    margin: 24px 0;
    width: 100%;
}

/* 分页列表：居中排列+清除默认样式 */
.pagination-wrap {
    margin: 24px 0;
    width: 100%;
}

/* 分页列表：居中排列+清除默认样式 */
.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
}

/* 统一所有分页按钮基础样式 */
.pagination-item,
.pagination-num-wrap * {
    display: inline-block !important;
    padding: 8px 16px !important;
    margin: 0 2px !important;
    font-size: 14px !important;
    color: #4B5563 !important;
    text-decoration: none !important;
    background-color: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: "Microsoft YaHei", sans-serif !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    height: auto !important;
}

.pagination-item:hover,
.pagination-num-wrap *:hover {
    background-color: #F3F4F6 !important;
    color: #98191B !important;
    border-color: #98191B !important;
}

.pagination-num-wrap li.active,
.pagination-num-wrap li.active a,
.pagination-num-wrap a.active,
.pagination-item.active {
    background-color: #98191B !important; 
    color: #FFFFFF !important; 
    border-color: #98191B !important;
    font-weight: bold !important; 
}

/* 清除numbar内li的默认样式 */
.pagination-num-wrap li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

/* 无数据提示样式 */
.no-data-tip {
    text-align: center;
    margin: 48px 0;
    color: #6B7280;
    font-size: 14px;
    font-family: "Microsoft YaHei", sans-serif;
}

.productlist-box {
    width: 1240px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
    padding-bottom: 20px;
}

.productlist-box-s1 {
    width: 100%;
    height: auto;
    padding-bottom: 40px;
    overflow: hidden; 
}

.productlist-box-s1-tp {
    padding:15px;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease; 
    cursor: pointer;
    width: calc(25% - 30px); 
    height: auto;
    float: left;
    margin: 15px 10px;
    overflow: hidden;
    position: relative;
    border-bottom: solid 3px #98191B;
    background: url(/template/default/images/index/col1rbg.png);
}

/* 产品图片容器：优化布局 + 裁剪放大的图片（关键） */
.productlist-box-img {
    height: 160px; 
    overflow: hidden !important; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

/* 产品图片：优化显示 + 新增过渡动画 */
.productlist-box-img img {
    width: 100%;
    height: 100%;
    border-radius: 6px; /* 0.375rem=6px */
    object-fit: cover;
    display: block;
    vertical-align: middle;
    /* 新增：图片缩放过渡，和卡片transition时长一致，动画顺滑 */
    transition: transform 0.3s ease-in-out;
    /* 防止图片缩放时变形 */
    transform-origin: center center;
}

/* 核心特效：鼠标悬浮到产品项时，图片放大1.05倍（可调整） */
.productlist-box-s1-tp:hover .productlist-box-img img {
    transform: scale(1.05); /* 放大1.05倍，建议1.05-1.1之间，避免过度放大 */
}

/* 可选增强：悬浮时卡片阴影加深，提升交互层次感 */
.productlist-box-s1-tp:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 阴影加深，比默认更明显 */
    transform: translateY(-2px); /* 轻微上浮，增强立体感（可选，可删除） */
}

/* 产品标题：修复溢出 */
.productlist-box-title {
    height: 44px; /* 1.5rem=24px */
    line-height: 34px;
    padding-top: 16px; /* 1rem=16px */
    text-align: center;
    font-size: 16px; /* 1rem=16px */
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

/* 产品描述容器：自适应高度 */
.productlist-box-s1-xp {
    width: 100%;
    min-height: 48px; /* 3rem=48px */
    height: auto;
    overflow: hidden;
}

/* 产品容器2：自适应高度 */
.productlist-box2 {
    width: 100%;
    min-height: 64px; /* 4rem=64px */
    height: auto;
    overflow: hidden;
}

/* 产品容器3：自适应高度 */
.productlist-box3 {
    width: 100%;
    min-height: 32px; /* 2rem=32px */
    height: auto;
    overflow: hidden;
}

/* 排序导航：统一单位 */
.productlist-sortnav {
    padding-left: 16px; /* 1rem=16px */
}

/* 教师列表图片容器：固定尺寸，避免错位 */
.teacherlist-box-img {
    width: 100% !important;
    height: 360px; /* 20rem=320px */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

/* 教师列表图片：统一单位 */
.teacherlist-box-img img {
    width: 100% !important;
    height: 100%;
    border-radius: 6px; /* 0.375rem=6px */
    object-fit: cover;
    display: block;
    vertical-align: middle;
}

/* 主图片容器 */
.teacher-main-container {
  position: relative;
  max-width: 550px;
  max-height: 90vh;
  margin: 0 20px;
}

/* 图片显示区域 */
.teacher-image-container {
  width: 100%;
  height: 70vh;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f4f6;
}

/* 教师列表卡片遮罩层样式 - 复用全局变量 */
.productlist-box-s1-tp {
  position: relative; /* 遮罩层定位基准 */
  overflow: hidden;   /* 防止内容溢出 */
  cursor: pointer;    /* 鼠标手型 */
  transition: var(--transition-base); /* 复用全局过渡动画 */
}

/* 图片容器样式适配 */
.teacherlist-box-img {
  width: 100%;
  height: 360px;
  position: relative;
}

.teacherlist-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例 */
  transition: var(--transition-base);
}

/* 遮罩层核心样式 */
.teacher-mask-layer {
  position: absolute;
  inset: 0; /* 等价于top/right/bottom/left: 0 */
  background-color: rgba(0, 0, 0, 0.7); /* 半透明黑，可调整透明度 */
  color: var(--white); /* 文字白色，复用全局变量 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-lg); /* 复用全局间距 */
  opacity: 0; /* 默认隐藏 */
  transition: var(--transition-base); /* 复用全局过渡动画 */
  pointer-events: none; /* 默认不拦截点击 */
}

/* 遮罩层文字样式 */
.teacher-mask-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: var(--spacing-md);
  text-align: center;
}



.teacher-mask-desc {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 10; /* 最多显示6行，超出省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 鼠标悬浮显示遮罩 */
.productlist-box-s1-tp:hover .teacher-mask-layer {
  opacity: 1;
  pointer-events: auto;
}

/* 悬浮时图片轻微缩放（增强交互） */
.productlist-box-s1-tp:hover .teacherlist-box-img img {
  transform: scale(1.03);
}


.teacher-image-viewer {
  position: fixed;
  inset: 0;
  background-color: #7f1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1000;
}

/* 主容器 */
.product-image-viewer {
  position: fixed;
  inset: 0;
  background-color: #7f1d1d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1000;
}

.teacher-image-container img {
  width: 550px;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* 主图片容器 */
.product-main-container {
  position: relative;
  max-width: 94%;
  max-height: 90vh;
  margin: 0 20px;
}

/* 图片显示区域 */
.product-image-container {
  width: 100%;
  height: 70vh;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f4f6;
}



/* 图片显示区域 */
.teacher-image-container {
  width: 100%;
  height: 70vh;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f4f6;
}
.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* 图片信息覆盖层 */
.product-school-name {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
}

.product-image-title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
}

.teacher-image-title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right:16px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
}

/* 缩略图导航 */
.product-thumbnail-nav {
  margin-top: 16px;
  background-color: white;
  padding: 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.product-thumbnail-btn {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-thumbnail-btn.active {
  border-color: #b91c1c;
}

.product-thumbnail-btn:hover {
  border-color: #d1d5db;
}

.product-thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  .thumbnail-wrapper {
    flex: 1;
    overflow: hidden;
  }
  .thumbnail-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
  }

/* 缩略图翻页按钮 */
  .thumbnail-nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f2f2f2;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  .thumbnail-nav-btn:hover {
    background: #e5e7eb;
  }
  .thumbnail-nav-btn:disabled {
    background: #fafafa;
    color: #ccc;
    cursor: not-allowed;
  }
/* 图片类型导航 */
.product-category-nav {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: #d1d5db;
}

.product-category-btn {
  padding: 8px 12px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  color: inherit;
  cursor: pointer;
}

.product-category-btn.active {
  background-color: rgba(0, 0, 0, 0.3);
}

/* 翻页按钮 */
.product-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 20px;
}

.product-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.product-prev-btn {
  left: 20px;
}

.product-next-btn {
  right: 20px;
}

/* 关闭按钮 */
.product-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* 快捷操作 */
.product-quick-actions {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 8px;
  border-radius: 6px;
}

.product-action-btn {
  width: 40px;
  height: 40px;
  background-color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  transition: all 0.3s ease;
}

.product-action-btn:hover {
  background-color: #e5e7eb;
}

/* 用户头像 */
.product-user-avatar {
  position: absolute;
  right: 16px;
  bottom: 96px;
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  overflow: hidden;
}

.product-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 首页样式 */
.product-home-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  padding: 16px;
}

.product-home-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 32px;
}

.product-home-card {
  width: 100%;
  max-width: 800px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.product-home-card-content {
  padding: 24px;
}

.product-home-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.product-home-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.product-home-image-container {
  aspect-ratio: 16/9;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.product-home-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-home-text-content h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.product-home-text-content p {
  color: #6b7280;
  margin-bottom: 16px;
}

.product-view-details-btn {
  display: inline-block;
  background-color: #7f1d1d;
  color: white;
  padding: 8px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.product-view-details-btn:hover {
  background-color: #b91c1c;
}

.product-home-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.product-home-footer p {
  color: #6b7280;
  font-size: 0.875rem;
}

.search-container {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  /* 临时加背景色，方便定位容器 */
  background-color: #f0f0f0;
}
.form-group {
  margin-bottom: 8px;
  margin-left: 12px;
  margin-right: 12px;
  flex: 1;
}
.search-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease-in-out;
}
.search-input:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(128, 189, 255, 0.25);
}
.search-btn {
  padding: 8px 16px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  background-color: #17a2b8;
  border: 1px solid #17a2b8;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.search-btn:hover {
  background-color: #138496;
  border-color: #117a8b;
}
.search-btn:active {
  background-color: #117a8b;
  border-color: #0f6c7c;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

/* 滚动内容模块样式 */
.scrollable-content {
    background-image: url('/template/default/images/about/survey1bg.jpg');
    padding: 20px 0;
    width: 100%;
}

.scroll-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    max-height: 800px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.contact-content {
    padding: 2rem;
    width: 100%;
    background: #F4F4F4;
    max-width: 750px;
}

.contact-container {
    width: 100%;
    margin: 0 auto;
    max-height: auto;
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.about-profile-header {
    text-align: center;
    margin-bottom: 32px;
}

.about-school-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}



.about-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.about-section-title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 24px;
        text-shadow: 1px 1px 0px white, 
                 -1px -1px 0px white, 
                 1px -1px 0px white, 
                 -1px 1px 0px white;
}

.about-section-cos {
    font-size: 20px;
    line-height: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 24px;
        text-shadow: 1px 1px 0px white, 
                 -1px -1px 0px white, 
                 1px -1px 0px white, 
                 -1px 1px 0px white;
}

.profile-content {
    color: #333;
    line-height: 1.8;
    text-shadow: 1px 1px 0px white, 
                 -1px -1px 0px white, 
                 1px -1px 0px white, 
                 -1px 1px 0px white;
    overflow-y: hidden; 
    overflow-x: hidden; 
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 适配Chrome/Edge/Safari（webkit内核）隐藏滚动条 */
.profile-content::-webkit-scrollbar {
    display: none;
}

.profile-content p {
    margin-bottom: 24px;
    text-align: justify;
}

.profile-content h4 {
    font-size: 12px;
    color: #333;
    margin: 24px 0 16px;
    font-weight: bold;
}

.image-scroll-section {
    padding: 32px;
    margin: 0 auto; /* 核心：水平居中（需配合固定宽度） */
    width: 92%; /* 固定宽度是margin:0 auto生效的前提 */
    max-width: 1200px; /* 可选：限制大屏下最大宽度，居中更美观 */
    overflow: hidden;
    box-sizing: border-box; /* 关键：让padding包含在宽度内，避免宽度溢出 */
}

.image-scroll-container {
    width: 100%;
    position: relative;
}

.image-scroll-track {
    display: flex;
    width: fit-content;
    animation: scrollLeft 30s linear infinite;
}

.image-item {
    margin-right: 24px;
    width: 200px;
    flex-shrink: 0;
}

.image-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 8px 8px;
}

.image-caption {
    text-align: center;
    padding: 16px;
    border-radius: 0 0 8px 8px;
    text-shadow: 1px 1px 0px white, 
                 -1px -1px 0px white, 
                 1px -1px 0px white, 
                 -1px 1px 0px white;
    font-weight: bold;
}

.image-caption h3 {
    font-size: 19.2px;
    margin-bottom: 8px;
    font-weight: bold;
}

.image-caption p {
    font-size: 16px;
    line-height: 1.4;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 校史沿革模块样式 */
.history-section {
    background-image: url('/template/default/images/about/about_bg3.jpg');
    padding: 48px 0;
    width: 100%;
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.history-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.history-header h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

.history-header h3 {
    font-size: 22px;
    font-weight: normal;
    font-weight: bold;
}

.history-slider {
    overflow: hidden;
    position: relative;
}

.history-track {
    display: flex;
    width: fit-content;
    cursor: grab;
    user-select: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.history-track:active {
    cursor: grabbing;
}

.history-item {
    min-width: 100%;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.history-time {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.history-list {
    list-style-type: none;
    color: white;
    line-height: 1.8;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.history-list li {
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.history-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    font-size: 19.2px;
}

.history-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    text-align: center;
}

.history-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.history-image p {
    color: white;
    margin-top: 12.8px;
    font-size: 17.6px;
}

.history-scroll-hint {
    text-align: center;
    margin-top: 32px;
    color: white;
    font-size: 16px;
}

.about-ls {
    width: 288px;
    height: 100%;
    float: left;
    overflow: hidden;
}
.about-ls-a {
    height: 22px;
    background-image: url('/template/default/images/about/lsxt.png');
    background-position: center;
}
.about-ls-b {
    height: 144px;
    margin-top: 16px;
    padding-right: 8px;
}

/* 当代荣誉页面样式 */
.honors-page-header {
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.honors-page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.honors-page-header .container {
  position: relative;
  z-index: 1;
}

.honors-page-title {
  font-size: 36px;
  font-weight: bold;
  color: #1f2937;
  position: relative;
  display: inline-block;
}


.honors-page-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-top: 30px;
}

/* 当代荣誉主要内容 */
.honors-main-content {
  padding: 40px 0;
  background-color: #fff;
  position: relative;
}

.honors-main-content::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 10px;
  background-repeat: repeat-y;
  background-size: contain;
  opacity: 0.1;
}

.honors-main-content .container {
  display: flex;
  gap: 10px;
  width:1200px;
}

/* 左侧证书展示区 */
.certificates-section {
  flex: 1;
}

.certificate-main-image {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}


.certificate-image-large {
  width: 100%;
  max-width: 656px;
  height: auto;
  border-radius: 4px;
  margin: 0 auto 15px;
}


.certificate-main-label {
  font-size: 16px;
  color: #4b5563;
  font-weight: 500;
}

/* 右侧荣誉列表 */
.honors-list-section {
  flex: 1;
  max-width: 500px;
  height: 600px; /* 固定高度 */
  overflow: hidden; /* 隐藏溢出内容 */
}

.honors-list {
  max-height: 100%; /* 最大高度为父容器高度 */
  overflow-y: auto; /* 启用垂直滚动条 */
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 10px; /* 为滚动条留出空间 */
}

/* 自定义滚动条样式 */
.honors-list::-webkit-scrollbar {
  width: 8px; /* 滚动条宽度 */
}

.honors-list::-webkit-scrollbar-track {
  background: #f1f1f1; /* 滚动条背景 */
  border-radius: 4px;
}

.honors-list::-webkit-scrollbar-thumb {
  background: #888; /* 滚动条滑块 */
  border-radius: 4px;
}

.honors-list::-webkit-scrollbar-thumb:hover {
  background: #555; /* 滚动条滑块悬停状态 */
}

.honor-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.honor-item:hover {
  transform: translateX(5px);
  border-left-color: #94070A;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.honor-year {
  display: inline-block;
  background-color: #94070A;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.honor-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .qrcode-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .qrcode-item:nth-child(n+4) {
    grid-column: span 2;
  }
  
  .qrcode-item:nth-child(5) {
    grid-column: 2 / 4;
  }
  
  .honors-main-content .container {
    flex-direction: column;
  }
  
  .honors-list-section {
    max-width: 100%;
  }
  
  .honors-list {
    max-height: none;
    overflow-y: visible;
  }
}

/* 专业部介绍模块样式 */
.departments-section {
    background-color: #f8f9fa;
    padding: 48px 0;
    width: 100%;
}

.departments-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.departments-header {
    text-align: center;
    margin-bottom: 48px;
}

.departments-header h2 {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

.departments-header h3 {
    font-size: 16px;
    color: #555;
    font-weight: normal;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    justify-content: center;
}

.department-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 320px;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.department-icon {
    width: 120px;
    height: 100px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.department-img {
    width: 120px;
    height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.department-img.orange-filter {
    filter: hue-rotate(-45deg) saturate(1.5);
}

.department-name {
    font-size: 20.8px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
}

.department-names {
    font-size: 20.8px;
    font-weight: bold;
    color: #333;
}

.department-desc {
    color: #666;
    line-height: 1.6;
    font-size: 15.2px;
}

/* 联系我们主要内容 */
.contact-main-content {
  padding: 60px;

  background-color: #F2F2F2;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info-card {
  padding: 40px;
  background: url(/template/default/images/index/col1rbg.png);
  border-radius: 5px;
  border-bottom: 4px solid #98191B;
  transition: all 0.3s ease;
  /* 核心修改：设置flex布局，让图标和文字横向排列 */
  display: flex;
  align-items: flex-start; /* 图标和文字顶部对齐，更美观 */
  gap: 20px; /* 图标和文字之间的间距，可按需调整（比如15px/25px） */
}

.contact-info-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.contact-icon-wrapper {
  width: 60px;
  height: 60px;
  margin-top: 30px;
  background-color: #98191B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  /* 关键修改：删除原有的margin-bottom，新增margin-right（无需，因为父级gap已控制间距） */
  margin-bottom: 0; 
  /* 若不想用gap，可替换为：margin-right: 20px; */
}

.contact-info-title {
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 15px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
}

.contact-info-list li {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* 可选：给文字部分包一个容器（若需要更灵活控制） */
.contact-info-content {
  flex: 1; /* 让文字部分占满剩余宽度 */
}

.contact-address {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.6;
}

/* 二维码展示区 */
.qrcode-section {
  margin-bottom: 60px;
}

.qrcode-section-title {
  font-size: 24px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.qrcode-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #98191B;
}

.qrcode-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.qrcode-item {
  text-align: center;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 5px;
  background: url(/template/default/images/index/col1rbg.png);
  border-bottom: 4px solid #98191B;
}

.qrcode-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.qrcode-image {
  width: 200px;
  height: 220px;
  margin: 0 auto 15px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qrcode-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qrcode-label {
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
}

/* 地图区域 */
.map-section {
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-container {
  width: 100% !important;
  height: 500px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

/* iframe：强制铺满，覆盖内嵌页面的默认样式 */
.map-image {
  width: 100% !important;
  height: 500px !important;
  border: none !important;
  display: block !important;
  max-width: 100% !important;
  transform: scale(1); 
  transform-origin: 0 0;
}

/* 兜底：针对百度地图内嵌页面的特殊处理 */
.map-container iframe body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 乘车路线 */
.transportation-section {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
  border-top: 3px solid #98191B;
}

.transportation-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.transportation-icon {
  width: 50px;
  height: 50px;
  background-color: #98191B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.transportation-details {
  flex-grow: 1;
}

.transportation-title {
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 15px;
}

.transportation-list {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.transportation-list li {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.transportation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #98191B;
  border-radius: 50%;
}

.school-address-bottom {
  font-size: 16px;
  color: #4b5563;
  font-weight: 500;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.school-span {color: #98191B;}


/* 在线报名模块样式 */
.registration-section {
    background-color: #1e88e5;
    padding: 48px 0; 
    width: 100%;
}

.registration-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px; 
}

.registration-form {
    background-color: #1e88e5;
    padding: 32px; 
    border-radius: 12px;
}

.registration-form h2 {
    color: white;
    text-align: center;
    font-size: 28.8px; 
    margin-bottom: 32px;
    font-weight: bold;
}

.registration-form form {
    display: flex;
    flex-direction: column;
    gap: 24px; 
}

.registration-form input,
.registration-form select {
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.registration-form input:focus,
.registration-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.3);
}

.registration-form button {
    background-color: #ff9800;
    color: white;
    padding: 16px; 
    border: none;
    border-radius: 8px;
    font-size: 17.6px; 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.registration-form button:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}


