.teacher-highlights {
  padding: 60px 0;
}
.teacher-highlights .guid_title {
  transition: transform 0.3s ease;
  display: inline-block;
}
.teacher-highlights .guid_title:hover {
  transform: scale(1.05);
}
.teacher-highlights .guidbuding_body {
  display: block;
  grid-template-columns: none;
  grid-gap: 0;
}
.teacher-swiper {
  position: relative;
  width: 100%;
  margin-top: 30px;
}
.teacher-swiper .swiper-wrapper {
  display: flex;
}
.teacher-swiper .swiper-slide {
  flex-shrink: 0;
}
.teacher-item {
  transition: transform 0.3s ease;
  width: 100%;
}
.teacher-item:hover {
  transform: translateY(-10px);
}
.teacher-img-container {
  position: relative;
  width: 100%;
  padding-bottom: 150%; /* 1:1.5 宽高比例 */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.teacher-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.teacher-item:hover .teacher-img-container img {
  transform: scale(1.05);
}
.teacher-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px 15px;
  transition: all 0.3s ease;
  text-align: left;
  min-height: 160px;
  max-height: 240px;
}
.teacher-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}
.teacher-desc {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 63px; /* 3行 * 21px行高 */
}
.teacher-prev,
.teacher-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.teacher-prev:hover,
.teacher-next:hover {
  background: rgba(155, 0, 0, 1);
  box-shadow: 0 2px 8px rgba(155, 0, 0, 0.2);
  color: white;
}
.teacher-prev {
  left: 20px;
}
.teacher-next {
  right: 20px;
}
@media (max-width: 768px) {
  .teacher-prev,
  .teacher-next {
    width: 30px;
    height: 30px;
  }
  .teacher-prev {
    left: 15px;
  }
  .teacher-next {
    right: 15px;
  }
  .teacher-name {
    font-size: 16px;
  }
  .teacher-desc {
    font-size: 12px;
  }
}

/* 通知公告模块样式 */
.main_announcement .announce_item {
  transition: transform 0.3s ease;
}
.main_announcement .announce_item:hover {
  transform: scale(1.02);
}
.main_announcement .announce_item a {
  display: flex;
  align-items: center;
  width: 100%;
}
.main_announcement .announce_item .right_content {
  flex: 1;
  padding-left: 15px;
}
.main_announcement .announce_item .right_content p.text-ellipsis-2 {
  margin: 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

/* 校内资讯模块样式 */
.timeline_activity .flex_item {
  transition: transform 0.3s ease;
  width: 100%;
}
.timeline_activity .flex_item:hover {
  transform: scale(1.02);
}
.timeline_activity .flex_item a {
  display: flex;
  align-items: center;
  width: 100%;
  transition: all 0.3s ease;
}
.timeline_activity .flex_item .title {
  flex: 1;
  margin: 0 10px;
  transition: all 0.3s ease;
}

/* 党建引领模块样式 */
.party-box {
  background: #f9f9f9;
}
.guidbuding .list_txt_body a {
  transition: transform 0.3s ease;
  display: block;
  padding: 10px 0;
}
.guidbuding .list_txt_body a:hover {
  transform: scale(1.02);
  padding-left: 10px;
}
.guidbuding .list_img_body a {
  transition: transform 0.3s ease;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
}
.guidbuding .list_img_body a:hover {
  transform: scale(1.05);
}
.guidbuding .list_img_body a img {
  transition: transform 0.3s ease;
}
.guidbuding .list_img_body a:hover img {
  transform: scale(1.1);
}

/* 媒体风采模块样式 */
/* 已取消鼠标经过放大效果 */

/* 学校荣誉模块样式 */
.school-honors {
  padding: 60px 0;
  background-color: #fff;
}
.school-honors .guid_title {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-bottom: 30px;
}
.school-honors .guid_title:hover {
  transform: scale(1.05);
}
.school-honors .guidbuding_body {
  display: block;
  grid-template-columns: none;
}
.school-honors .swiper {
  position: relative;
  width: 100%;
  height: 100%;
}
.school-honors .swiper-wrapper {
  align-items: center;
}
.school-honors .honor-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.school-honors .honor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.school-honors .honor-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.school-honors .honor-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.school-honors .honor-item:hover img {
  transform: scale(1.05);
}
.school-honors .honor-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transition: all 0.3s ease;
}
.school-honors .honor-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 5px 0;
  line-height: 1.2;
}
.school-honors .honor-date {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}
.school-honors .swiper-button-prev,
.school-honors .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.school-honors .swiper-button-prev:hover,
.school-honors .swiper-button-next:hover {
  background: rgba(155, 0, 0, 1);
  box-shadow: 0 2px 8px rgba(155, 0, 0, 0.2);
  color: white;
}
.school-honors .swiper-button-prev {
  left: 20px;
}
.school-honors .swiper-button-next {
  right: 20px;
}
.school-honors .swiper-pagination {
  bottom: 10px;
}
.school-honors .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}
.school-honors .swiper-pagination-bullet-active {
  background: rgba(155, 0, 0, 1);
  width: 30px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .school-honors {
    padding: 40px 0;
  }
  .school-honors .swiper-button-prev,
  .school-honors .swiper-button-next {
    width: 30px;
    height: 30px;
  }
  .school-honors .swiper-button-prev {
    left: 15px;
  }
  .school-honors .swiper-button-next {
    right: 15px;
  }
  .school-honors .honor-title {
    font-size: 16px;
  }
  .school-honors .honor-date {
    font-size: 12px;
  }
  .school-honors .honor-item img {
    height: 150px;
  }
}

/* 视频模块样式 */
.video-container {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
  min-height: 500px;
}
.left-video {
  flex: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}
.right-videos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 500px;
}
.small-video {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.left-video .video-title,
.small-video .video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 14px;
  z-index: 10;
}
.left-video video,
.small-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.left-video .visNext,
.left-video .visPrev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.left-video .visPrev {
  left: 20px;
}
.left-video .visNext {
  right: 20px;
}
@media (max-width: 992px) {
  .video-container {
    flex-direction: column;
    min-height: 600px;
  }
  .left-video {
    min-height: 400px;
  }
  .right-videos {
    flex-direction: row;
    min-height: 200px;
  }
  .small-video {
    flex: 1;
    min-height: 200px;
  }
}
@media (max-width: 768px) {
  .video-container {
    min-height: 600px;
  }
  .left-video {
    min-height: 300px;
  }
  .right-videos {
    flex-direction: column;
    min-height: 300px;
  }
  .small-video {
    min-height: 140px;
  }
}