.zhiting-company-history {
  position: relative;
  padding: 20px 0 0;
  background-color: #F8F8F8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.zhiting-company-history .container {
  position: relative;
  z-index: 1;
}

/* 标题 */
.zhiting-company-history-header {
  margin-bottom: var(--gap-50);
}

.zhiting-company-history-title {
  color: #000;
  font-family: var(--zhiting-font-accent);
  font-size: var(--font-48);
  font-weight: 700;
  line-height: normal;
}

/* 内容区 */
.zhiting-company-history-content {
  display: flex;
  align-items: stretch;
  gap: 70px;
}

/* 左侧 */
.zhiting-company-history-left {
  flex-shrink: 0;
  width: 537px;
}

.zhiting-company-history-title-swiper {
  height: 600px;
  overflow: hidden;
}

.zhiting-company-history-title-slide {
  height: 200px !important;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.zhiting-company-history-title-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.3s ease;
}

.zhiting-company-history-title-text {
  color: rgba(0, 0, 0, 0.5);
  font-family: var(--zhiting-font-accent);
  font-size: var(--font-32);
  font-weight: 400;
  line-height: normal;
  transition: all 0.3s ease;
}

.zhiting-company-history-title-slide.swiper-slide-active .zhiting-company-history-title-text{
  font-size: var(--font-42);
  background: var(--zhiting-accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.zhiting-company-history-title-slide.swiper-slide-active .zhiting-company-history-title-text::after{
  content: '';
  width: 53px;
  height: 2px;
  background: var(--zhiting-accent-gradient);
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: initial;
  position: absolute;
  top: 50%;
  left: -123px;
  transform: translateY(-50%);
}

/* 中间分割线 */
.zhiting-company-history-separator {
  flex-shrink: 0;
  width: 1px;
  background: #818181;
  position: relative;
}

.zhiting-company-history-separator::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100%;
  background: #818181;
}

/* 右侧 */
.zhiting-company-history-right {
  flex: 1;
  min-width: 0;
  position: relative;
}

.zhiting-company-history-detail-group {
  display: none;
}

.zhiting-company-history-detail-group.is-active {
  display: block;
}

.zhiting-company-history-detail-swiper {
  height: 600px;
  overflow: hidden;
}

.zhiting-company-history-detail-slide {
  height: auto !important;
}

.zhiting-company-history-detail-item {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  opacity: 0.5;
}

.zhiting-company-history-detail-slide.swiper-slide-active .zhiting-company-history-detail-item {
  align-items: center;
  opacity: 1;
}

.zhiting-company-history-detail-info {
  flex-shrink: 0;
  width: 300px;
}

.zhiting-company-history-detail-year {
  margin-bottom: 15px;
  color: #454545;
  font-family: var(--zhiting-font-accent);
  font-size: var(--font-48);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  transition: all 0.3s ease;
}

.zhiting-company-history-detail-subtitle {
  margin-bottom: 12px;
  color: #454545;
  font-family: var(--zhiting-font-accent);
  font-size: var(--font-22);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  transition: all 0.3s ease;
}

.zhiting-company-history-detail-slide.swiper-slide-active .zhiting-company-history-detail-year,
.zhiting-company-history-detail-slide.swiper-slide-active .zhiting-company-history-detail-subtitle {
  background: var(--zhiting-accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.zhiting-company-history-detail-content {
  color: #454545;
  font-family: var(--zhiting-font-accent);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5; /* 24px */
}

.zhiting-company-history-detail-pic {
  flex: 1;
  aspect-ratio: 632/355;
  border-radius: 5px;
}

.zhiting-company-history-detail-pic img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  transform: scale(0.9);
  transform-origin: center center;
  transition: transform 0.5s ease;
}

.zhiting-company-history-detail-slide.swiper-slide-active .zhiting-company-history-detail-pic img {
  transform: scale(1);
}

/* 响应式 */
@media screen and (max-width: 1500px) {
  .zhiting-company-history-left{
    width: 33%;
  }
  .zhiting-company-history-content{
    gap: 50px;
  }
  .zhiting-company-history-title-slide.swiper-slide-active .zhiting-company-history-title-text::after{
    left: -80px;
  }
}

@media screen and (max-width: 992px) {
  .zhiting-company-history-content {
    flex-direction: column;
    gap: 30px;
  }

  .zhiting-company-history-left {
    width: 100%;
  }

  .zhiting-company-history-title-swiper {
    height: auto;
  }

  .zhiting-company-history-title-slide {
    height: auto !important;
    margin-right: 20px;
  }

  .zhiting-company-history-title-slide.swiper-slide-active .zhiting-company-history-title-text::after {
    display: none;
  }

  .zhiting-company-history-separator {
    width: 100%;
    height: 1px;
  }

  .zhiting-company-history-detail-swiper {
    height: auto;
  }

  .zhiting-company-history-detail-item {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .zhiting-company-history-detail-pic {
    width: 100%;
  }

  .zhiting-company-history-detail-info {
    width: 100%;
  }

  .zhiting-company-history-title-item{
    justify-content: center;
  }

  .zhiting-company-history-detail-pic img {
    transform: scale(1);
  }

  .zhiting-company-history-detail-slide.swiper-slide-active .zhiting-company-history-detail-pic img {
    transform: scale(1);
  }

  .zhiting-company-history-header{
    margin-bottom: 30px;
  }
}
