/* 主容器样式 */
.index-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  margin-top: 50px;
}

/* 行布局 */
.index-container .row {
  display: flex;
  /* margin-bottom: 20px; */
  gap: 20px;
}

/* 区块样式 */
.index-container .section {
  /* background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  /* overflow: hidden; */
  flex: 1;
  /* padding: 20px; */
  height: 300px;
}

.index-container .section.full-width {
  flex: 1 1 50%;
  /* max-width: 800px; */
  width: 100%;
}

/* 区块头部 */
.section-header {
  /* background: #f8f9fa; */
  /* padding: 15px 20px; */
  border-bottom: 1px solid #275999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
}

.section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #275999;
  border-bottom: 4px solid #275999;
  padding-bottom: 8px;
  display: inline-block;
}

.more-link {
  color: #275999;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  padding-top: 15px;
}

.more-link:before {
  content: "→";
  position: absolute;
  top: 0;
  left: 66%;
  transform: translateX(-50%);
  font-size: 20px;
  color: #275999;
}

.more-link:hover {
  color: #0056b3;
}

.more-link:hover:before {
  color: #0056b3;
}

.index-video {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

/* 区块内容 */
.section-content {
  /* padding: 20px; */
  background: #fff;
  height: 220px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.content-box {
  /* min-height: 200px; */
  padding: 20px;
  /* background: #f9f9f9; */
  border-radius: 4px;
  color: #666;
  line-height: 1.6;
  /* height: 200px; */
}

/* 横向滚动容器 */
.scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0;
  /* 隐藏横向滚动条 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.scroll-content {
  display: flex;
  gap: 20px;
  min-width: max-content;
  animation: scrollAnimation 20s linear infinite;
}

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

/* 奖励项目样式 */
.award-item,
.material-item {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.505);
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 200px;
}

.award-item:hover,
.material-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.award-item img,
.material-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.award-item p,
.material-item p {
  padding: 5px;
  margin: 0;
  font-size: 14px;
  color: #333;
  text-align: center;
  background: #fff;
}

/* 滚动动画 */
@keyframes scrollAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .index-container .row {
    flex-direction: column;
  }

  .award-item,
  .material-item {
    width: 150px;
  }

  .section-header {
    padding: 10px 15px;
  }

  .section-content {
    padding: 15px;
  }
}

/* 滚动条样式 */
.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}
