/* Timeline styles — css/main/timeline.css */

.timeline {
  width: 100%;
  margin: 2.5rem 0;
  padding: 2rem 0;
}

.timeline-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.timeline-title {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5em;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  position: relative;
  z-index: 2;
}

.timeline-item__date {
  width: 160px;
  min-width: 120px;
  text-align: right;
  color: #cfcfcf;
  font-weight: 600;
  padding-top: 0.3rem;
  font-size: 1.2rem;
}

.timeline-item__card {
  background: #1c1c1c;
  color: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(100, 237, 139, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  flex: 1;
}

.timeline-item__title {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.timeline-item__meta {
  color: #9db7c9;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.timeline-item__desc {
  color: #ffffff;
  line-height: 1.55;
  font-size: 1.4rem;
}

.timeline-item__desc ul {
  margin: 0.45rem 0 0 1rem;
  padding: 0;
}

.timeline-item__desc li {
  margin-bottom: 0.35rem;
}

/* Responsive adjustments */
@media (max-width: 820px) {
  .timeline-item__date {
    width: 110px;
    text-align: right;
    font-size: 0.95rem;
  }
  .timeline-title {
    font-size: 1.3rem;
  }
  .timeline-item__title {
    font-size: 1.25rem;
  }
  .timeline-item__meta {
    font-size: 1rem;
  }
  .timeline-item__desc {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .timeline-item {
    flex-direction: column;
    gap: 0.6rem;
  }
  .timeline-item__date {
    width: auto;
    text-align: left;
    font-size: 1rem;
  }

  .timeline-item__card {
    padding: 0.9rem;
  }
  .timeline-title {
    font-size: 1.15rem;
  }
  .timeline-item__title {
    font-size: 1.05rem;
  }
  .timeline-item__meta {
    font-size: 0.9rem;
  }
  .timeline-item__desc {
    font-size: 0.95rem;
  }
}

.timeline .hl {
  color: #64ed8b;
  font-weight: 700;
}
