/* 关于我们专属样式 */
.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #c00;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin: 30px 0;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -22px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -22px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100% !important;
        padding-left: 50px;
        text-align: left !important;
    }
    
    .timeline-icon {
        left: -5px !important;
        right: auto !important;
    }
}

/* 在about.css中添加 */
@media (min-width: 992px) {
    .timeline {
        padding: 60px 0;
    }
    
    .timeline-item {
        margin: 50px 0;
    }
}

@media (max-width: 375px) {
    .timeline-item {
        padding-left: 35px;
    }
    
    .timeline-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}