   
    /* 时间轴容器 */
    .timeline {
      max-width: 1200px;
      margin: 80px auto;
      position: relative;
      padding: 0 20px;
    }

    /* 中间竖线 */
    .timeline::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(to bottom, #c91a1a, #9b0000);
      transform: translateX(-50%);
      border-radius: 4px;
    }
    .timeline::after {
      content: '...'; /* FontAwesome 对勾图标 */
      font-weight: 900;
      position: absolute;
      bottom: -46px;
      left: 48%;

      width: 48px;
      height: 48px;
      background: #fff;
      border: 5px solid #b40000;
      border-radius: 50%;
      z-index: 2;
      line-height: 28px;
      color: #b40000;
      text-align: center;
    }

    /* 时间轴项目 */
    .timeline-item {
      position: relative;
      margin-bottom: 0px;
      display: flex;
      justify-content: space-between;
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s ease;
    }

    /* 滚动显示动画 */
    .timeline-item.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* 左右布局 */
    .timeline-item.left {
      justify-content: flex-start;
    }

    .timeline-item.right {
      justify-content: flex-end;
    }

    /* 年份圆点 */
    .timeline-dot {
      position: absolute;
      left: 50%;
      top: 10px;
      width: 24px;
      height: 24px;
      background: #fff;
      border: 5px solid #b40000;
      border-radius: 50%;
      transform: translateX(-50%);
      z-index: 2;
    }

    /* 内容卡片 */
    .timeline-content {
      width: 46%;
      background: #fff;
      padding: 15px 20px;
      border-radius: 12px;
      border: 1px solid #b40000; /* 金色外层 */
      outline: 1px solid #b40000;
      outline-offset: 6px; /* 边框间距 */
      position: relative;
      transition: 0.3s;
       box-shadow: 0 10px 30px rgba(200, 0, 0, 0.12);
    }
    
  

    .timeline-content:hover {

      inset: -2px; /* 边框宽度 */
    
      border-radius: 12px;
      background: linear-gradient(45deg, #ffc400, #b40000, #b40000, #ffc400);
      background-size: 300% 300%;
      animation: gradientFlow 6s ease infinite;
      transform: translateY(-5px);
    }
    .timeline-content:hover .timeline-year{
        color: #fff;
    }
      .timeline-content:hover li{
        color: #fff;
    }
     .timeline-content:hover li::before {
        color: #fff;
    }
    
    @keyframes gradientFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
        
    /* 年份标题 */
    .timeline-year {
      font-size: 24px;
      font-weight: bold;
      color: #c91a1a;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* 内容列表 */
    .timeline-content ul {
      list-style: none;
    }

    .timeline-content li {
      font-size: 15px;
      color: #444;
      margin-bottom: 8px;
      padding-left: 16px;
      position: relative;
    }

    .timeline-content li::before {
      content: "●";
      position: absolute;
      left: 0;
      color: #c91a1a;
      font-weight: bold;
    }

    /* 小箭头 */
    .timeline-item.left .timeline-content::after {
      content: "";
      position: absolute;
      right: -20px;
      top: 16px;
      width: 0;
      height: 0;
    
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      border-left: 12px solid #b40000;
    }

    .timeline-item.right .timeline-content::after {
      content: "";
      position: absolute;
      left: -20px;
      top: 16px;
      width: 0;
      height: 0;
      border-top: 12px solid transparent;
      border-bottom: 12px solid transparent;
      border-right: 12px solid #b40000;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .timeline::before {
        left: 20px;
      }

      .timeline-item {
          width: 80% !important;
        display: block;
        margin-bottom:40px;
      }

      .timeline-dot {
        left: 20px;
      }

      .timeline-content {
        width: 100%;
        margin-left: 50px;
      }

      .timeline-item.left .timeline-content::after,
      .timeline-item.right .timeline-content::after {
        left: -12px;
        border-right: 12px solid #fff;
        border-left: none;
      }
    }