.block-history {
  position: relative;
  z-index: 1;
}

.block-history::before {
  content: "";
  position: absolute;
  top: 17%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-swiper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.swiper-wrapper {
  display: flex;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.year-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.year {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.icon {
  font-size: 20px;
  color: #f4c542;
  margin-top: 5px;
}

.icon img {
  height: 28px;
}

.timeline-card {
  background-color: #4a356d;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.description {
  font-size: 16px;
  margin-bottom: 15px;
  padding: 16px;
}

.timeline-card img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.swiper-pagination {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .timeline-item {
    margin-bottom: 40px;
  }
}
