/* CSS变量定义 */
:root {
  --primary-color: #106674;
  --secondary-color: #106674;
  --foot-color: #0d4d57;
  --time-color: #e9f7f8;
  --text-dark: #1e293b;
  --text-light: #94a3b8;
  --bg-light: #ffffff;
  --bg-gray: #f8fafc;
  --container-max-width: 1526px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  padding-top: 116px;
}

body.has-hero {
  padding-top: 0;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部Header与导航栏容器 */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(50, 50, 50, 0.4), rgba(50, 50, 50, 0.03));
  transition: var(--transition);
}

/* 顶部丽水学院和搜索栏 */
.top-bar {
  background: transparent;
  padding: 10px 0 4px;
  color: white;
  transition: var(--transition);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.college-link,
.university-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  line-height: 30px;
}

.college-link:hover,
.university-link:hover {
  color: white;
}

.separator {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 30px;
}

.search-toggle-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 3px;
}

.search-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.search-icon::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-close {
  position: absolute;
  top: 24px;
  right: 30px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.search-overlay-panel {
  width: min(680px, 86vw);
}

.search-overlay-form {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.search-overlay-form input {
  flex: 1;
  height: 44px;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.98);
}

.search-submit-btn {
  width: 50px;
  border: none;
  background-color: #106674;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit-btn:hover {
  background-color: #0d4d57;
}

body.search-open {
  overflow: hidden;
}

/* 顶部Header与导航栏 */
.header {
  background-color: transparent;
  padding: 0 0 20px 0;
  transition: var(--transition);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img,
.logo img {
  height: 60px;
  width: auto !important;
  display: block;
  margin-right: 15px;
  filter: brightness(0) invert(1);
  transition: var(--transition);
  max-width: none;
  object-fit: contain;
}

/* 确保父级容器垂直居中 */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.head_nav {
  display: flex;
  align-items: center;
}

/* 如果 Logo 在滚动时需要缩小，可以在原有滚动逻辑中添加 */
.header.scrolled .logo-img,
.header.scrolled .logo img {
  height: 60px;
}

.nav .wp_nav {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav .wp_nav>li.nav-item,
.nav .wp_nav>li {
  margin-left: 30px;
  position: relative;
  /* 确保下拉菜单相对于此定位 */
}

.nav .wp_nav>li.nav-item>a,
.nav .wp_nav>li>a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  position: relative;
  transition: var(--transition);
  padding-left: 15px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  word-break: keep-all;
}

.nav .wp_nav>li.nav-item>a span.item-name,
.nav .wp_nav>li>a span.item-name {
  display: inline-block;
  white-space: nowrap;
  line-height: 1.1;
}

.nav .wp_nav>li.nav-item:hover>a,
.nav .wp_nav>li:hover>a {
  color: rgba(255, 255, 255, 0.85);
}

.nav .wp_nav>li.nav-item>a::before,
.nav .wp_nav>li>a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 0;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.nav .wp_nav>li.nav-item:hover>a::before,
.nav .wp_nav>li:hover>a::before {
  width: 4px;
}

/* 下拉菜单样式 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: var(--shadow-hover);
  border-radius: 4px;
  padding: 12px 0;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: block;
  list-style: none;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  /* 移除列表项的小圆点 */
}

.nav .wp_nav>li.nav-item:hover .dropdown,
.nav .wp_nav>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav .wp_nav>li.nav-item.is-focus .dropdown,
.nav .wp_nav>li.is-focus .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  margin: 0;
  padding: 0 12px;
  white-space: nowrap;
  display: block;
  float: none !important;
}

.dropdown .clear {
  display: none !important;
}

.dropdown li a {
  padding: 8px 10px;
  font-size: 15px;
  letter-spacing: 0.6px;
  /* 增加文字左右间距 */
  color: var(--text-dark) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: block;
  width: 100%;
  position: relative;
  border-radius: 2px;
}

.dropdown li a:hover {
  color: var(--primary-color) !important;
  background-color: rgba(16, 102, 116, 0.05);
  /* 使用新的主色调透明背景 */
}

.dropdown li a::before {
  display: none;
}

.header-wrapper.scrolled {
  background: #106674;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-wrapper.scrolled .top-bar {
  background: #106674;
}

.header-wrapper.non-home {
  background: #106674;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-wrapper.non-home .top-bar {
  background: #106674;
}

.nav-mobile-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

/* 全屏巨幅轮播 (Hero Banner) */
.hero-banner {
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel .focus-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-carousel .focus-item {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
}

.hero-carousel .focus-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel .focus-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 从上到下渐变：顶部微黑(0.4)到25%处就完全透明，保证顶部导航能看清，下面全透明 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%);
  z-index: 0;
  pointer-events: none;
}

.carousel-item {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.6s ease-in-out, visibility 0.6s !important;
  will-change: opacity !important;
}

.carousel-item.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 从上到下渐变：顶部微黑(0.4)到25%处就完全透明，保证顶部导航能看清，下面全透明 */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%);
  z-index: 0;
  pointer-events: none;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 800px;
}

.banner-content h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: white;
  width: 20px;
  border-radius: 5px;
}

/* Hero Banner 按钮 */
.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  /* 视觉微调 */
}

.hero-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.hero-btn.prev {
  left: 40px;
}

.hero-btn.next {
  right: 40px;
}

/* 核心新闻区 (左右分栏布局) */
.news-section {
  padding: 50px 0 90px 0;
}

.news-section .container {
  display: flex;
  gap: 30px;
}

/* ========== 图片新闻区 ========== */
.news-left {
  width: 50%;
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* 强制图片新闻组件填满容器 */
.news-left [frag="面板31"],
.news-left [frag="窗口31"],
.news-left [frag="窗口内容"],
.news-left .dtjt8_div_img,
.news-left .focus,
.news-left .focus-box,
.news-left .focus-container {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.news-left .dtjt8_div_img {
  position: relative !important;
}

.news-left .focus-item,
.news-left .dtjt8_div_img,
.news-left .focus-item a,
.news-left .dtjt8_div_img a {
  width: 100% !important;
  height: 100% !important;
}

.news-left .focus-item img,
.news-left .dtjt8_div_img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.news-left .focus-container .focus-item {
  will-change: left;
}

/* 数字导航指示器位置覆盖 */
.news-left .dtjt8_div_img .number,
.news-left .focus-pagination {
  position: absolute !important;
  bottom: 15px !important;
  right: 15px !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* focus 标题隐藏 */
.news-left .focus-title-bar,
.news-left .focus-title-bg,
.news-left .focus-title {
  display: none !important;
}

/* focus / number 分页指示器：复刻 Hero 小圆点动画 */
.news-left .focus-page,
.news-left .number a {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  line-height: 10px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  margin: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  border: none !important;
  padding: 0 !important;
  color: transparent !important;
  transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease !important;
}

.news-left .focus-page-active,
.news-left .number a.current {
  width: 20px !important;
  border-radius: 5px !important;
  background-color: #fff !important;
  border: none !important;
}

/* ========== 学院新闻列表 ========== */
.news-right {
  width: 50%;
  height: 420px;
  /* 与左侧保持一致 */
  display: flex;
  flex-direction: column;
}

/* 透传 flex-direction: column 给 wp_article_list */
.news-right>div,
.news-right .post1,
.news-right .con,
.news-right div[frag="窗口内容"],
.info-cards .post1,
.info-cards .con,
.info-cards div[frag="窗口内容"] {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.more-link {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: var(--transition);
}

.more-link:hover {
  color: #106674;
}

.con-more a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: var(--transition);
}

.con-more a:hover {
  color: #106674;
}

.latest-news {
  margin-bottom: 6px;
  margin-top: 6px;
  flex-shrink: 0;
}

.latest-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.latest-title a {
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.latest-title a:hover {
  color: var(--primary-color);
}

.latest-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: -5px;
  /* 负边距缩小与下方列表的间隔 */
}

/* 移除多余的 news-divider 样式 */
.news-divider {
  display: none;
}

.news-list {
  list-style: none;
  flex: 1;
  /* 占据剩余空间 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 均匀分布列表项 */
  padding: 0;
  margin: 0;
}

.news-list li {
  margin-bottom: 0;
  /* 由 justify-content 控制间距 */
  transition: var(--transition);
}

.news-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  padding: 16px 0;
  /* 增加内边距 */
  border-bottom: 1px solid #edf2f7;
  transition: var(--transition);
}

/* 为第一个新闻项添加顶部边框 */
.news-list li:first-child a {
  border-top: none;
}

.news-list li:hover {
  transform: translateX(5px);
}

.news-list a:hover .news-title {
  color: var(--primary-color);
}

.news-date {
  font-size: 14px;
  color: var(--primary-color);
  background-color: rgba(16, 102, 116, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  margin-right: 20px;
  white-space: nowrap;
  font-weight: 500;
  transition: var(--transition);
  flex: 0 0 auto;
}

.news-list a:hover .news-date {
  background-color: var(--primary-color);
  color: white;
}

.news-title {
  flex: 1;
  font-size: 16px;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   普通列表项兜底 (For info-cards)
   ========================================== */
.info-cards .post1 .wp_article_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-cards .post1 .wp_article_list .list_item {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  min-width: 0 !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
  transition: var(--transition) !important;
  margin-bottom: 0 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  line-height: 1.6 !important;
  margin-left: 0 !important;
}

.info-cards .post1 .wp_article_list .list_item:first-child {
  border-top: none !important;
}

.info-cards .post1 .wp_article_list .list_item:hover {
  transform: translateX(5px) !important;
}

.info-cards .post1 .wp_article_list .list_item .Article_Index {
  display: none !important;
}

.info-cards .post1 .wp_article_list .list_item .pr_fields,
.info-cards .post1 .wp_article_list .list_item .ex_fields {
  display: contents !important;
}

.info-cards .post1 .wp_article_list .list_item .Article_PublishDate {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  margin-right: 20px !important;
  font-size: 14px;
  color: var(--primary-color) !important;
  background-color: rgba(16, 102, 116, 0.1) !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  order: 1 !important;
  height: auto !important;
  line-height: 1.6 !important;
  margin-left: 0 !important;
}

.info-cards .post1 .wp_article_list .list_item:hover .Article_PublishDate {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.info-cards .post1 .wp_article_list .list_item .Article_Title {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  order: 2 !important;
}

.info-cards .post1 .wp_article_list .list_item .Article_Title a,
.info-cards .post1 .wp_article_list .list_item>a {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 15px !important;
  color: var(--text-dark) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  height: auto !important;
  line-height: 1.6 !important;
}

.info-cards .post1 .wp_article_list .list_item:hover .Article_Title a,
.info-cards .post1 .wp_article_list .list_item:hover>a {
  color: var(--primary-color) !important;
}

.info-cards .post1 .wp_article_list .list_item br {
  display: none !important;
}

/* 底部三栏信息卡片区 */
.info-cards {
  padding: 80px 0;
  /* 基础背景色，在图片加载失败时显示 */
  background-color: #106674;
  /* 仅使用图片背景 */
  background-image: url('../img/cardBg.png');
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.info-cards .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

.card {
  background-color: var(--bg-light);
  /* 如果你想卡片本身有背景，保留；如果不想要背景变成透明可以改 */
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  /* 加深阴影 */
  padding: 40px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 0;
  color: #1e293b;
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
  letter-spacing: 1px;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* 数智先锋模块 (特色卡片列) */
.pioneer-section {
  padding: 50px 0;
}

.section-main-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 20px;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.pioneer-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.pioneer-container {
  display: flex;
  gap: 40px;
  width: max-content;
  /* 确保容器足够宽，不会折行 */
  flex-wrap: nowrap;
}

.pioneer-card {
  flex: 0 0 300px;
  /* 默认宽度，JS会覆盖 */
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pioneer-card:hover {
  box-shadow: var(--shadow-hover);
}

.pioneer-img {
  height: 300px;
  overflow: hidden;
}

.pioneer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pioneer-card:hover .pioneer-img img {
  transform: scale(1.08);
}

.pioneer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(16, 102, 116, 0.85);
  color: white;
  padding: 20px;
  transition: var(--transition);
}

.pioneer-info h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.pioneer-info p {
  font-size: 14px;
  line-height: 1.4;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* 页脚 */
.footer {
  background: linear-gradient(to bottom, #106674, #0d4d57);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo {
  height: 60px;
  filter: brightness(0) invert(1);
  /* 适配深色背景，将logo转为白色 */
}

.footer-contact {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-right: 15%;
  /* 将联系方式区域整体向左偏移 */
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.contact-info li:last-child {
  margin-bottom: 0;
}

.footer-qrcode {
  flex: 0 0 auto;
  text-align: center;
}

.qrcode-img {
  width: 90px;
  height: 90px;
  background-color: #fff;
  padding: 5px;
  border-radius: 4px;
  display: block;
  margin-bottom: 4px;
}

.footer-qrcode p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0;
}

.footer-bottom {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-align: center;
}

.login-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s;
}

.login-link:hover {
  color: #fff;
}

.icp-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.icp-link:hover {
  color: #fff;
}

body.listcolumn-page {
  background-color: #fff;
}

.listcolumn-page #container {
  background-color: #fff;
}

.listcolumn-page .overview-section .main-content a {
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-contact {
    justify-content: center;
    margin-right: 0;
    /* 移动端取消左移，保持居中 */
  }

  .footer-copyright {
    flex-direction: column;
    gap: 8px;
  }

  .header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .head_nav {
    position: relative;
  }

  .nav-mobile-toggle {
    display: inline-flex;
  }

  .nav .wp_nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    flex-direction: column;
    min-width: 220px;
    background: #106674;
    padding: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    display: none;
    z-index: 1001;
  }

  .nav .wp_nav[data-expanded="true"] {
    display: flex;
  }

  .nav li.nav-item,
  .nav .wp_nav>li {
    margin: 0;
    width: 100%;
  }

  .nav .wp_nav>li.nav-item>a,
  .nav .wp_nav>li>a {
    font-size: 16px;
    line-height: 36px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.96);
    margin-top: 8px;
    width: 100%;
  }

  .top-right {
    gap: 10px;
  }

  .news-section .container {
    flex-direction: column;
  }

  .news-left,
  .news-right {
    width: 100%;
  }

  .info-cards .container {
    grid-template-columns: 1fr;
  }

  .pioneer-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 480px) {
  .pioneer-card {
    flex: 0 0 calc(100% - 12px);
  }

  .hero-banner {
    height: 300px;
  }

  .banner-content h2 {
    font-size: 24px;
  }

  .section-main-title {
    font-size: 24px;
  }
}

/* 页面底部飘窗 */
.sudy-float {
  position: fixed;
  z-index: 9999;
}

.sudy-float .float-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-decoration: none;
}

.sudy-float .float-close:hover {
  background: rgba(0, 0, 0, 0.8);
}