/* 内容板块样式 */
.content-sections {
  width: 1280px;
  margin: 30px auto;
  padding: 20px 0;
}

/* 行布局 */
.section-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.section-row.full-width {
  flex-direction: column;
}

/* 板块项目 */
.section-item {
  flex: 1;
  background: #ffffff;
  /* border: 1px solid #d0d0d0; */
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

/* .section-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
} */

.honor-section {
  flex: none;
}

/* 板块头部 */
.section-header {
  /* background: linear-gradient(135deg, #1e72be, #4a90e2); */
  color: white;
  /* padding: 15px 20px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.section-title {
    background-image: url(./../images/bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-size: 88px 48px; */
    width: 120px;
    height: 50px;
    margin-bottom: -1px;
    z-index: 999;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.section-header h3 {
  line-height: 50px;
  text-align: center;
  font-size: 22px !important;
  font-weight: 350 !important;
  margin: 0;
  /* font-size: 18px; */
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.more-link {
  color: #0d6bb8;
  text-decoration: none;
  font-size: 14px;
  padding: 12px 15px 0px 5px;
  border: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  font-weight: normal;
  font-weight: bolder;
  display: inline-block;
  margin-bottom: -11px;
}

.more-link::before {
  content: "→";
  position: absolute;
  top: 2px;
  left: 63%;
  transform: translateX(-50%);
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* .more-link:hover {
  background-color: #ffffff;
  transform: translateX(3px);
} */

/* .more-link:hover::before {
  transform: translateX(-50%) translateY(-2px);
} */

/* 板块内容 */
.section-content {
  border-top: #1e72be 2px solid;
  border-bottom: #1e72be 2px solid;
  height: 240px;

  padding: 10px;
  min-height: 200px;
  /* background: #ffffff; */
  /* 四边内阴影 */
  /* box-shadow: inset 4px 4px 4px 4px rgba(0, 0, 0, 0.1); */
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* 内阴影 */
  /* box-shadow: inset 4px 4px 4px 4px rgba(0, 0, 0, 0.1); */
}

.section-content p {
  color: #666;
  line-height: 1.8;
  margin: 0;
  font-size: 14px;
  text-align: justify;
}

/* 视频播放区域 */
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: #f5f7fa;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background: linear-gradient(135deg, #1e72be, #4a90e2);
  color: white;
}

.video-icon {
  font-size: 40px;
  color: #1e72be;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.video-placeholder:hover .video-icon {
  color: white;
  transform: scale(1.1);
}

.video-placeholder p {
  margin: 0;
  font-size: 14px;
  color: #666;
  transition: color 0.3s ease;
}

.video-placeholder:hover p {
  color: white;
}

/* 教师信息 */
.teacher-info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.teacher-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1e72be, #4a90e2);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  border: 2px solid #d0d0d0;
}

.teacher-avatar::after {
  content: "👨‍🏫";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.teacher-desc h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.teacher-desc p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

/* 荣誉展示滚动容器 */
.honor-scroll-container {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-radius: 0;
  background: #f8f9fa;
  width: 100%;
  border: 1px solid #d0d0d0;
}

.honor-scroll-wrapper {
  display: flex;
  animation: honorScroll 25s linear infinite;
  gap: 10px;
  align-items: center;
  height: 100%;
  width: fit-content;
  /* 确保一开始就有内容显示 */
  transform: translateX(0);
}

.honor-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  text-align: center;
  background: white;
  /* padding: 15px; */
  border-radius: 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* .honor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
} */

.honor-item img {
  width: 190px;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #d0d0d0;
}

.honor-item p {
  margin: 0;
  font-size: 12px;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* 滚动动画 - 从当前位置开始向左滚动 */
@keyframes honorScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 鼠标悬停时暂停动画 */
.honor-scroll-container:hover .honor-scroll-wrapper {
  animation-play-state: paused;
}

/* 响应式设计 */
@media (max-width: 1000px) {
  .content-sections {
    width: 95%;
    padding: 20px 15px;
  }

  .section-row {
    flex-direction: column;
    gap: 15px;
  }

  .section-header h3 {
    font-size: 16px;
  }

  .section-content {
    padding: 15px;
    min-height: 120px;
  }

  .honor-item {
    width: 120px;
  }

  .honor-item img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .teacher-info {
    flex-direction: column;
    text-align: center;
  }

  .teacher-avatar {
    align-self: center;
  }

  .honor-scroll-wrapper {
    animation: honorScrollMobile 15s linear infinite;
  }
}

@keyframes honorScrollMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
