/* Timeline */
.timeline {
  padding: 1rem 0;
  width: 100%;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 3.2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-item {
  flex: 1;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.timeline-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.timeline-marker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #666;
}

.timeline-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.timeline-title {
  margin: 0.5rem 0;
}

.timeline-info {
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 1000px) {
  .timeline::before {
    top: 0;
    right: 5.25%;
    left: auto;
    width: 2px;
    height: 100%;
  }

  .timeline-list {
    flex-direction: column;
  }

  .timeline-item {
    padding: 1rem 0;
  }

  .timeline-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .timeline-marker-container {
    order: 1;
    flex: 1;
  }

  .timeline-date {
    text-align: center;
  }

  .timeline-info {
    flex: 8;
  }
}

@media (max-width: 480px) {
  .timeline-info {
    flex: 4;
  }

  .timeline::before {
    right: 8.75%;
  }

  .timeline-marker {
    width: 12px;
    height: 12px;
  }

  .timeline-date {
    font-size: 0.7rem;
  }

  .timeline-title {
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }

  .timeline-content {
    font-size: 0.8rem;
  }
}
