.teacher-highlights {
  padding: 20px 0 30px;
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.5) 0%, rgba(255, 228, 235, 0.3) 100%);
  position: relative;
}

.teacher-highlights .container {
  position: relative;
  z-index: 1;
}
.guid_title {
  transition: transform 0.3s ease;
  display: inline-block;
}
.guid_title:hover {
  transform: scale(1.05);
}
.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;
  padding: 0;
  padding-right: 10px;
}
.teacher-item {
  width: 100%;
  perspective: 1000px;
}
.teacher-flip-card {
  position: relative;
  width: 100%;
  height: 220px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.teacher-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
.teacher-item:hover .teacher-flip-card-inner {
  transform: rotateY(180deg);
}
.teacher-flip-card-front,
.teacher-flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
}
.teacher-flip-card-front {
  background: transparent;
}
.teacher-flip-card-back {
  background: linear-gradient(135deg, rgba(155, 0, 0, 0.95) 0%, rgba(200, 50, 50, 0.95) 100%);
  transform: rotateY(180deg);
  color: white;
  padding: 20px;
}
.teacher-card {
  display: flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  gap: 15px;
  height: 100%;
  padding: 10px;
}
.teacher-img-wrapper {
  flex-shrink: 0;
  width: 140px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(155, 0, 0, 0.15);
}
.teacher-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.teacher-card:hover .teacher-avatar {
  transform: scale(1.05);
}
.teacher-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.teacher-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.teacher-desc {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}
.teacher-back-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.teacher-flip-card-back .teacher-name {
  color: white;
  font-size: 18px;
  padding-bottom: 12px;
  text-align: center;
}
.teacher-full-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  overflow-y: auto;
  max-height: 160px;
}
.teacher-full-desc::-webkit-scrollbar {
  width: 4px;
}
.teacher-full-desc::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.teacher-full-desc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.teacher-full-desc::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.teacher-navigation {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-right: 10px;
}
.teacher-prev,
.teacher-next {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(155, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.teacher-prev:hover,
.teacher-next:hover {
  background: var(--blue-color);
  border-color: var(--blue-color);
  box-shadow: 0 2px 8px rgba(155, 0, 0, 0.2);
  color: white;
}
.teacher-prev:hover svg,
.teacher-next:hover svg {
  color: white;
}
.teacher-prev svg,
.teacher-next svg {
  font-size: 16px;
  color: #666;
  transition: color 0.3s ease;
}
/* 教师风采手机端单行轮播样式 */
.teacher-mobile-carousel {
  display: none;
  overflow: hidden;
  position: relative;
}

.teacher-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.teacher-mobile-item {
  flex: 0 0 100%;
  padding: 0 5px;
}

.teacher-mobile-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  height: 140px;
}

.teacher-mobile-img {
  flex-shrink: 0;
  width: 90px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
}

.teacher-mobile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-mobile-info {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.teacher-mobile-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
}

.teacher-mobile-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  overflow-y: auto;
  flex: 1;
  max-height: 80px;
}

.teacher-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.teacher-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.teacher-carousel-dots .dot.active {
  background: var(--blue-color);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 576px) {
  .teacher-mobile-carousel {
    display: block;
  }
  
  .teacher-desktop-swiper {
    display: none;
  }
  
  .teacher-highlights .teacher-swiper {
    display: none;
  }
  
  .teacher-navigation {
    display: none;
  }
}

@media (max-width: 768px) {
  .teacher-flip-card {
    height: 180px;
  }
  .teacher-card {
    padding: 12px;
    gap: 12px;
  }
  .teacher-img-wrapper {
    width: 80px;
    height: 100px;
  }
  .teacher-name {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .teacher-desc {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }
  .teacher-flip-card-back {
    padding: 15px;
  }
  .teacher-flip-card-back .teacher-name {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .teacher-full-desc {
    font-size: 12px;
    max-height: 120px;
  }
  .teacher-navigation {
    justify-content: center;
    padding-right: 0;
  }
  .teacher-prev,
  .teacher-next {
    width: 32px;
    height: 32px;
  }
  .teacher-prev svg,
  .teacher-next svg {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .teacher-flip-card {
    height: 250px;
  }
  .teacher-flip-card-inner {
    transform-style: preserve-3d;
  }
  .teacher-item:hover .teacher-flip-card-inner {
    transform: rotateY(180deg);
  }
  .teacher-flip-card-front,
  .teacher-flip-card-back {
    backface-visibility: hidden;
  }
  .teacher-flip-card-back {
    transform: rotateY(180deg);
    padding: 15px;
  }
  .teacher-card {
    flex-direction: column;
    padding: 15px;
    justify-content: center;
  }
  .teacher-img-wrapper {
    width: 140px;
    height: 180px;
  }
  .teacher-content {
    width: 100%;
    text-align: left;
  }
  .teacher-name {
    font-size: 15px;
  }
  .teacher-desc {
    font-size: 12px;
  }
  .teacher-back-content {
    padding: 10px;
  }
  .teacher-flip-card-back .teacher-name {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .teacher-full-desc {
    font-size: 12px;
    max-height: 180px;
  }
}

/* 通知公告模块样式 */
.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: 40px 0;
  background-color: #fff;
}
.school-honors .guid_title {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-bottom: 25px;
}
.school-honors .guid_title:hover {
  transform: scale(1.05);
}
.honors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
}
.honors-grid::-webkit-scrollbar {
  width: 6px;
}
.honors-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}
.honors-grid::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.honors-grid::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
.honors-grid .honor-item {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.honors-grid .honor-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}
.honors-grid .honor-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.honors-grid .honor-item img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.honors-grid .honor-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 1200px) {
  .honors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-height: 380px;
  }
}
@media (max-width: 992px) {
  .honors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-height: 350px;
  }
}
@media (max-width: 768px) {
  .school-honors {
    padding: 30px 0;
  }
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 320px;
  }
  .honors-grid .honor-item {
    border-radius: 5px;
  }
}
@media (max-width: 576px) {
  .honors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-height: 300px;
  }
}

/* 学校荣誉手机端轮播样式 */
.honors-mobile-carousel {
  display: none;
  overflow: hidden;
  position: relative;
}

.honors-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.honors-mobile-carousel .honor-item {
  flex: 0 0 100%;
  height: 180px;
  padding: 0 5px;
}

.honors-mobile-carousel .honor-item:first-child {
  padding-left: 0;
}

.honors-mobile-carousel .honor-item:last-child {
  padding-right: 0;
}

.honors-mobile-carousel .honor-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
}

.honors-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.honors-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.honors-carousel-dots .dot.active {
  background: var(--blue-color);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 576px) {
  .honors-mobile-carousel {
    display: block;
  }
  
  .honors-desktop-grid {
    display: none;
  }
  
  .school-honors .honors-grid {
    display: none;
  }
}

/* 校园映像左一大右两小布局样式 */
.video-container {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
}

.video-left {
  flex: 0 0 60%;
  height: 100%;
}

.video-right {
  flex: 0 0 calc(40% - 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.video-right .video-item {
  flex: 1;
  height: calc(50% - 10px);
}

.video-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  min-height: 100px;
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-item .video-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  z-index: 10;
  pointer-events: none;
}

/* 大视频样式 - 高度等于右侧两个小视频总高度 */
.video-item.large-video {
  height: 100%;
}

.video-item.large-video .video-js-wrap {
  height: 100%;
  position: relative;
  min-height: 200px;
}

.video-item.large-video .video-js {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
  min-height: 200px !important;
}

/* 小视频样式 - 两个小视频平分右侧空间 */
.video-item.small-video {
  flex: 1;
  min-height: 0;
  height: calc(50% - 10px);
}

.video-item.small-video .video-js-wrap {
  height: 100%;
  position: relative;
  min-height: 100px;
}

.video-item.small-video .video-js {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0;
  left: 0;
  min-height: 100px !important;
}

.video-js .vjs-control-bar {
  background: rgba(0, 0, 0, 0.7) !important;
}

.video-js .vjs-play-progress {
  background: #9b0000 !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .video-container {
    gap: 15px;
    height: 450px;
  }
}

@media (max-width: 992px) {
  .video-container {
    flex-direction: column;
    gap: 15px;
    height: auto;
  }
  
  .video-right {
    flex-direction: row;
    height: 280px;
  }
  
  .video-left {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .video-container {
    flex-direction: column;
    gap: 12px;
    height: auto;
  }
  
  .video-right {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  
  .video-left {
    height: 250px;
  }
  
  .video-item.large-video {
    height: 250px !important;
  }
  
  .video-item.small-video {
    height: 250px !important;
  }
  
  .video-item.large-video .video-js-wrap {
    min-height: 200px;
  }
  
  .video-item.large-video .video-js {
    min-height: 200px !important;
  }
  
  .video-item.small-video .video-js-wrap {
    min-height: 200px;
  }
  
  .video-item.small-video .video-js {
    min-height: 200px !important;
  }
}

@media (max-width: 576px) {
  .video-container {
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 0 5px;
  }
  
  .video-right {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  
  .video-left {
    height: 280px;
  }
  
  .video-item.large-video {
    /* height: 280px !important; */
  }
  
  .video-item.small-video {
    height: 280px !important;
  }
  
  .video-item.large-video .video-js-wrap {
    min-height: 230px;
  }
  
  .video-item.large-video .video-js {
    min-height: 230px !important;
  }
  
  .video-item.small-video .video-js-wrap {
    min-height: 230px;
  }
  
  .video-item.small-video .video-js {
    min-height: 230px !important;
  }
  
  .video-item .video-title {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 375px) {
  .video-container {
    gap: 8px;
    padding: 0 3px;
  }
  
  .video-right {
    gap: 8px;
  }
  
  .video-left {
    height: 250px;
  }
  
  .video-item.large-video {
    height: 250px !important;
  }
  
  .video-item.small-video {
    height: 250px !important;
  }
  
  .video-item.large-video .video-js-wrap {
    min-height: 200px;
  }
  
  .video-item.large-video .video-js {
    min-height: 200px !important;
  }
  
  .video-item.small-video .video-js-wrap {
    min-height: 200px;
  }
  
  .video-item.small-video .video-js {
    min-height: 200px !important;
  }
  
  .video-item .video-title {
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* 视频播放控制优化 */
.video-item:hover .video-js .vjs-control-bar {
  opacity: 1 !important;
}

.video-js .vjs-big-play-button {
  background: rgba(155, 0, 0, 0.8) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 60px !important;
  height: 60px !important;
  line-height: 60px !important;
  margin-left: -30px !important;
  margin-top: -30px !important;
}

.video-js .vjs-big-play-button:hover {
  background: rgba(155, 0, 0, 1) !important;
  transform: scale(1.1);
}

.video-js .vjs-play-progress:before {
  display: none !important;
}

/* 移动端视频优化 */
@media (max-width: 768px) {
  .video-js .vjs-control-bar {
    font-size: 12px !important;
  }
  
  .video-js .vjs-big-play-button {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    margin-left: -25px !important;
    margin-top: -25px !important;
  }
  
  .video-js .vjs-time-control {
    font-size: 10px !important;
  }
}

@media (max-width: 576px) {
  .video-js .vjs-control-bar {
    font-size: 11px !important;
    height: 30px !important;
  }
  
  .video-js .vjs-big-play-button {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    margin-left: -20px !important;
    margin-top: -20px !important;
  }
  
  .video-js .vjs-time-control {
    font-size: 9px !important;
    padding: 0 4px !important;
  }
  
  .video-js .vjs-volume-panel,
  .video-js .vjs-playback-rate {
    display: none !important;
  }
}