

/* 标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header > div:first-child,
.section-header > div:last-child {
    height: 1px;
    width: 100px;
    background-color: #333;
    margin: 0 15px;
}

.section-header > div:nth-child(2) {
    display: inline-block;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.section-header p {
    font-size: 18px;
    color: #666;
    margin: 5px 0 0;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    padding: 20px 0;
    margin-left: 140px;
    border-left: 1px solid #000;
}

/* 时间轴项目 */
.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    border-left: none;
}

/* 日期样式 */
.timeline-date {
    width: 120px;
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
    position: relative;
    margin-left: -140px;
}

.timeline-date .year {
    font-size: 16px;
    font-weight: 500;
    color: #999;
}

.timeline-date .month {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
    font-weight: bold;
}

/* 线条样式 */
.timeline-line {
    position: relative;
    width: 40px;
    flex-shrink: 0;
    margin-left: -20px;
}

.timeline-line .vertical-line {
    display: none; /* 隐藏多余的垂直线 */
}

.timeline-line .horizontal-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: #000;
    z-index: 2;
}

/* 内容样式 */
.timeline-content {
    display: flex;
    flex-grow: 1;
    padding: 20px;
    border-left: none;
    position: relative;
    background-color: #fff;
    border-radius: 0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.timeline-text {
    flex: 1;
    padding-left: 20px;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-image {
    flex: 0 0 300px;
    margin-top: 0;
    overflow: hidden;
    order: -1; /* 将图片放在左侧 */
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline {
        margin-left: 0;
        border-left: none;
        padding: 0;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-bottom: 30px;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
    }
    
    .timeline-date, .timeline-line {
        display: none; /* 在移动端隐藏时间轴和连接线 */
    }
    
    .timeline-content {
        flex-direction: column;
        padding: 15px;
        border: none;
        /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    }
    
    .timeline-image {
        order: -1; /* 保持图片在上方 */
        flex: none;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .timeline-text {
        padding-left: 0;
    }
    
    .timeline-content h3 {
        font-size: 16px;
    }
    
    .timeline-content p {
        font-size: 13px;
    }
}