* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
}

.history-wrapper {
  width:95%;
  background: url("pcshouye/historyshan.jpg")
  no-repeat center / cover;
  position: relative;
  overflow: hidden;
  margin:4rem auto;
}

.history-mask {
  position: absolute;
  inset: 0;
}

.history-container {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding: 6rem 7.5rem;
  max-width: 62.5rem;
  margin-left: 10%;
  margin-top:220px;
}

/* 左侧年份 */
.year-column {
  width: 12.5rem;
  height: calc(3.75rem * 7); /* 一屏7个 */
  overflow: hidden;
}

.year-column ul {
  list-style: none;
  transition: transform 0.6s ease;
}

.year-column li {
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: left;
  transition: all 0.4s ease;
}

.year-column li.active {
  color: #d80c18;
  font-size: 68px;
  font-weight: bold;
}

/* 右侧内容 */
.content-column {
  flex: 1;
  padding-left: 5rem;
  flex-direction: column;
  justify-content: center;
  font-size:1.125rem;
  margin-top:-20px;
}

.arroww {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  cursor: pointer;
  font-size: 1.125rem;
  color: #666;
  user-select: none;
}

.arroww:hover {
  color: #d80c18;
  
}

.content {
  padding: 10px 0;
  height: 23.75rem;
  
}

.content h3 {
  color: #d80c18;
  margin-bottom: 1rem;
  font-size:1.75rem;
}

.content ul {
  list-style: none;
}

.content li {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.5;
  margin:1.25rem 0;
}

.history-bg {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-position: center;
  transition: opacity 0.8s ease;
  opacity: 1;
  z-index: 0;
}

.history-title {
  position: absolute;
  top: 4rem;           /* 可按设计稿调整 */
  left: 7.5rem;
  z-index: 3;          /* 一定要高于背景和 mask */
  color: #3f3f3f;
  pointer-events: none; /* 不影响下面交互（推荐） */
  margin-left: 10%;
}

.history-title h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 14px;
  
}

.history-title p {
  font-size: 1.2rem;
  opacity: 0.8;
  letter-spacing: 2px;
  color:#212121;
}

@media screen and (max-width: 1366px) {
  .history-container {
    padding: 4rem;
  }
}

@media screen and (min-width: 2560px) {
  .history-container {
    max-width: 2200px;
    margin: 0 auto;
  }
}

    /* ===== 顶部 Tabs ===== */
    .honor-tabs {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin: 30px 0;
      margin-top:-170px;
    }

    .honor-tab {
      padding: 8px 20px;
      border-radius: 20px;
      border: 1px solid #ddd;
      background: #fff;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.3s;
    }

    .honor-tab.active {
      background: #d80c18;
      color: #fff;
      border-color: #d80c18;
    }

    /* ===== 轮播区域 ===== */
    .honor-content {
      width: 1200px;
      margin: 0 auto;
      position: relative;
      display: none;
    }

    .honor-content.active {
      display: block;
    }

    .carousel {
  position: relative;
  width: 1200px;
  height: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.item-title {
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  color: #333;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  transform-origin: center center;
  transition:
    transform 0.6s ease,
    opacity 0.6s ease,
    filter 0.6s ease;
}
    .carousel-item.active {
      opacity: 1;
      transform: scale(1.05);
    }

 .carousel-item img {
  width: 100%;
  display: block;
  box-shadow: 0 15px 8px rgb(0 0 0 / 20%);
}


    /* ===== 左右箭头 ===== */
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #d80c18;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      user-select: none;
      z-index: 10;
    }

    .arrow.left {
      left: -50px;
    }

    .arrow.right {
      right: -50px;
    }