/* ========================================
   织网 (WebWeave) - 组织时间线样式
   ======================================== */

/* === 时间线容器 === */
.timeline-page {
  padding: 30px;
}

.timeline-container {
  position: relative;
  padding: 40px 0;
}

/* === 时间线项目 === */
.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item.left {
  flex-direction: row;
}

.timeline-item.right {
  flex-direction: row-reverse;
}

/* === 时间线标记 === */
.timeline-marker {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 3px solid var(--divine-gold);
  box-shadow: var(--holy-glow-soft);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.3), rgba(184, 134, 11, 0.2));
  z-index: 2;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 60px;
  bottom: -40px;
  width: 3px;
  background: linear-gradient(to bottom, var(--sacred-gold), transparent);
  z-index: 1;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

/* === 时间线内容 === */
.timeline-content {
  flex: 1;
  margin: 0 30px;
  padding: 25px;
  position: relative;
  cursor: pointer;
  transition: all var(--duration-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--holy-glow-medium);
  border-color: var(--divine-gold);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.timeline-date {
  color: var(--sacred-gold);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* === 响应式 === */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
  }
  
  .timeline-marker {
    width: 100%;
    flex-direction: row;
    margin-bottom: 20px;
  }
  
  .timeline-line {
    left: 30px;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--sacred-gold), transparent);
  }
  
  .timeline-content {
    margin: 0;
  }
}
