
/* 独立样式，不影响页面其他元素 */
.honors-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: inherit;
  position: relative;
}
.honors-title {
  text-align: center;
  font-size: 56px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

/* 横向滚动容器 */
.honors-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.honors-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.honors-grid::-webkit-scrollbar {
  height: 6px;
}
.honors-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.honor-item {
  min-width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.honor-item:hover {
  transform: scale(1.03);
}

/* 左右箭头样式 */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.scroll-btn:hover {
  background: rgba(0,0,0,0.9);
}
.scroll-left {
  left: 0;
}
.scroll-right {
  right: 0;
}

/* 图片放大遮罩层 */
.honor-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.honor-modal.active {
  opacity: 1;
  visibility: visible;
}
.honor-modal-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 30px rgba(255,255,255,0.2);
}
