.history-timeline-section .history-content {
  width: 100%;
}
.history-timeline-section .history-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--grid-gap-extra-large);
}
.history-timeline-section .history-item.pic_text {
  flex-direction: row-reverse;
}
.history-timeline-section .history-item-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--section-space-small);
  width: 50%;
  align-self: stretch;
}
.history-timeline-section .history-item-left .history-item-year {
  margin-bottom: 12px;
}
.history-timeline-section .history-item-right {
  flex: 1;
}
.history-timeline-section .history-item img,
.history-timeline-section .history-item video {
  width: 100%;
  height: 100%;
}
.history-timeline-section .history-timeline-nav {
  margin-top: var(--section-content-space-large);
  display: flex;
  gap: var(--section-content-space-large);
  align-items: center;
}
.history-timeline-section .timeline-line {
  position: absolute;
  top: calc(var(--btn-xl-font-size) / 2);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  transform: translateY(-1px);
  z-index: 1;
}

.history-timeline-section .timeline-dots {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 0 var(--section-content-space-small);
  flex: 1;
}

.history-timeline-section .timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-content-space-small);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  flex: 1;
}

.history-timeline-section .timeline-dot {
  position: relative;
  width: var(--btn-xl-font-size);
  height: var(--btn-xl-font-size);
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid var(--title-text-color);
  transition: all 0.3s ease;
}

.history-timeline-section .timeline-year {
  text-align: center;
  width: 100%;
  word-break: break-word;
  text-align: center;
}

.history-timeline-section .timeline-item.active .timeline-dot {
  background: var(--title-text-color);
}

.history-timeline-section .timeline-item.active .timeline-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--title-text-color);
  animation: timeline-pulse 2s ease-in-out infinite;
}

@keyframes timeline-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

.history-timeline-section .timeline-swiper-btn {
  display: flex;
  gap: 6px;
}


.history-timeline-section .timeline-swiper-btn .swiper-button-prev,
.history-timeline-section .timeline-swiper-btn .swiper-button-next {
  position: static;
  margin: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .history-timeline-section .timeline-swiper-btn .swiper-button-prev,
  .history-timeline-section .timeline-swiper-btn .swiper-button-next {
    display: none;
  }

  .history-timeline-section .history-item {
    flex-direction: column !important;
  }

  .history-timeline-section .history-item.pic_text {
    flex-direction: column-reverse !important;
  }
  
  .history-timeline-section .history-item-left,
  .history-timeline-section .history-item-right {
    width: 100% !important;
  }
}