/* 自定义 Swiper 样式 */
.swiper-pagination-bullet {
  background: white !important;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.4);
  background: #DA251C !important;
}

/* 首页图片缩放 */
.swiper-slide .bg-image {
  /* 默认状态：放大 1.1 倍 */
  transform: scale(1.1);
  /* 过渡时间要长于 Swiper 切换时间，保证平滑 */
  transition: transform 6s ease-out;
  will-change: transform;
}

/* 激活状态：缩小回 1.0 */
.swiper-slide-active .bg-image {
  transform: scale(1);
}

/* 列表项通用交互 */
.list-item-hover {
  transition: all 0.3s ease;
}
/* 亮色模式下的悬停 */
.bg-white .list-item-hover:hover {
  background-color: #fef2f2;
  padding-left: 1.5rem;
  border-left-color: #DA251C;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* 暗色模式（带背景图）下的悬停 */
.dark-section .list-item-hover:hover {
  background-color: rgba(255, 255, 255, 0.2);
  padding-left: 1.5rem;
  border-left-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.nav-item {
  white-space: nowrap;
}

/* 新闻轮播图分页器自定义位置 (右下角) */
.newsSwiper .swiper-pagination {
  bottom: 15px !important;
  right: 15px !important;
  left: auto !important;
  width: auto !important;
  display: flex;
  gap: 8px;
}
.newsSwiper .swiper-pagination-bullet {
  background: white !important;
  opacity: 0.7;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.newsSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #DA251C !important;
  transform: scale(1.2);
}

/* 走马灯隐藏控件 */
.marquee-swiper .swiper-pagination,
.marquee-swiper .swiper-button-next,
.marquee-swiper .swiper-button-prev {
    display: none;
}


/* 主容器 - 应用方案一的水墨背景 */
.graduates-section {
  background-color: #f9f7f2;
  background-image:
    linear-gradient(to bottom, rgba(249, 247, 242, 0.85), rgba(249, 247, 242, 0.95)),
    url('../images/bg7.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.news-list > :first-child {
  display: none;
}