/* 微言时间线样式 */
.weiyan-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-year,
.timeline-file {
  margin-bottom: 40px;
}

.year-title {
  font-size: 1.5rem;
  color: #667eea;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 4px solid #667eea;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #667eea;
}

.timeline-event {
  position: relative;
  margin-bottom: 20px;
  padding-left: 30px;
  display: block;
}

.timeline-content {
  display: block;
  width: 100%;
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.timeline-date {
  font-size: 0.9rem;
  color: #667eea;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.timeline-content p {
  color: #666;
  line-height: 1.5;
  margin: 0 0 10px 0;
  display: block;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/* 暗黑模式微言时间线样式 */
.dark-mode .year-title {
  color: #667eea;
  border-left-color: #667eea;
}

.dark-mode .timeline::before {
  background-color: #4a5bd8;
}

.dark-mode .timeline-event::before {
  background-color: #4a5bd8;
  box-shadow: 0 0 0 4px rgba(74, 91, 216, 0.2);
}

.dark-mode .timeline-date {
  color: #667eea;
}

.dark-mode .timeline-content h3 {
  color: #e0e0e0;
}

.dark-mode .timeline-content p {
  color: #b0b0b0;
  margin: 0 0 10px 0;
  display: block;
}

.dark-mode .timeline-content p:last-child {
  margin-bottom: 0;
}
