.timeline-container {
  overflow: hidden;
}

.timeline-container.timeline-style2 {
  overflow: visible;
}

.timeline-list {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.timeline-item {
  position: relative;
  -webkit-flex: 0 0 25%;
  /* 适用于旧版 Safari */
  -ms-flex: 0 0 25%;
  /* 适用于旧版 Internet Explorer (IE10) */
  flex: 0 0 25%;

  @media (max-width: 900px) {
    -webkit-flex: 0 0 45%;
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
  }

  @media (max-width: 490px) {
    -webkit-flex: 0 0 90%;
    -ms-flex: 0 0 90%;
    flex: 0 0 90%;
  }
}

.timeline-item:not(.active) .timeline-marker-bg {
  background-color: #D0D6DE!important;
}

.timeline-block {
  display: grid;
  gap: 12px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 92%;
  margin-top: 24px;
}

.timeline-block img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}


.timeline-line {
  position: absolute;
  width: 100%;
  left: 0;
  height: 2px;
  top: 20px;
  background: #D0D6DE;
  z-index: 2;
}

.timeline-inner-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: auto;
  z-index: 2;
}

.timeline-marker {
  position: relative;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-time {
  display: inline-block;
  transform: translateY(-45px);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4rem;
  color: #000;
  font-family: var(--e-global-typography-primary-font-family);
}

.timeline-marker.timeline-inside .timeline-time {
  transform: none;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-title {
  font-size: 16px;
  line-height: 1.4rem;
  color: #000;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 700;
}

.timeline-description {
  font-size: 14px;
  line-height: 1.4rem;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 500;
  color: #666;
}