/* 荣誉资质部分样式 */
/* .honor-section {
  padding: 40px 0;
  background-color: #f7f8fa;
} */
/* 
.honor-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
} */

.honor-header {
  text-align: center;
  margin-bottom: 24px;
}

.honor-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.honor-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: #888;
}

/* PC 端：4 列网格 */
.honor-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 卡片样式 */
.honor-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 图片区域，保持比例 */
.honor-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.honor-name {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
  line-height: 1.4;
}

/* 手机上改成横向滚动 */
@media (max-width: 768px) {
  .honor-section {
    padding: 24px 0;
  }

  .honor-list {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory; /* 滑动有“卡段感”，可删 */
  }

  .honor-card {
    flex: 0 0 70%; /* 每个卡片占视口宽度的 70%，可调 60~80% */
    min-width: 220px;
    scroll-snap-align: start;
  }

  /* 隐藏滚动条（可选） */
  .honor-list::-webkit-scrollbar {
    height: 4px;
  }
  .honor-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
}
