.timeline-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #000000;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-entry {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  z-index: 2;
}

.timeline-entry:last-child {
  margin-bottom: 0;
}

.timeline-entry-left {
  justify-content: flex-end;
}

.timeline-entry-right {
  justify-content: flex-start;
}

.timeline-marker {
  position: absolute;
  top: 30px;
  left: 49%;
  width: 30px;
  height: 30px;
  background-color: #ad2324;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.timeline-card {
  position: relative;
  width: 45%;
  background-color: #e8e8e9;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-entry-left .timeline-card {
  border-right: 8px solid #ad2324;
}

.timeline-entry-right .timeline-card {
  border-left: 8px solid #ad2324;
}

.timeline-entry-left .timeline-card::after {
  content: "";
  position: absolute;
  top: 30px;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid #e8e8e9;
}

.timeline-entry-right .timeline-card::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -15px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #e8e8e9;
}

.timeline-year {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 130%;
  color: #ad2324;
  margin-bottom: 15px;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-title {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
}

.timeline-description {
  font-family: PPNeueMontreal-Regular, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #030027;
  margin: 0;
}

@media (max-width: 992px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-entry {
    justify-content: flex-start;
    padding-left: 60px;
  }

  .timeline-marker {
    left: 16px;
  }

  .timeline-card {
    width: 100%;
    max-width: 600px;
    border-left: 0 !important;
    border-right: 8px solid #ad2324 !important;
  }

  .timeline-entry-left .timeline-card::after,
  .timeline-entry-right .timeline-card::after {
    left: -15px;
    right: auto;
    border-left: 0;
    border-right: 15px solid #e8e8e9;
  }

  .timeline-year {
    font-size: 36px;
  }

  .timeline-title {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .timeline-wrapper {
    padding: 30px 0;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-entry {
    padding-left: 40px;
    margin-bottom: 40px;
  }

  .timeline-marker {
    left: 9px;
    width: 24px;
    height: 24px;
    top: 20px;
  }

  .timeline-card {
    padding: 15px;
  }

  .timeline-year {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .timeline-title {
    font-size: 18px;
  }

  .timeline-description {
    font-size: 14px;
    line-height: 135%;
  }
}
