.history {
    background-color: #fff;
    position: relative;
    height: auto;
    padding-top: 6.5rem;
    padding-bottom: 14rem;
}

.history .container-init {
    width:90vw !important;
}

/* 时间线核心 */
.history .history-timeline {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* 中间竖线 */
.history .history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #F32735;
    transform: translateX(-50%);
}

/* 单个时间线项：左右同一水平线 */
.history .timeline-item {
    position: relative;
    width:50%;


}

/* 中间圆点 */
.history .timeline-left::after {
    content: '';
    position: absolute;
    right: -1.8rem;
    top: 50%; /* 关键：圆点在项目垂直中间 */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #F32735;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.history .timeline-right::after {
    content: '';
    position: absolute;
    left: 0%;
    top: 10%; /* 关键：圆点在项目垂直中间 */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #F32735;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.history .timeline-left{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right:5rem;
}
.history .timeline-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left:5rem;
}

/* 左右布局 */
.history .timeline-left .timeline-content,
.history .timeline-right .timeline-content {
    display: flex;
    flex-direction: column; /* 让内部上下排列 */
}
.history .timeline-left .timeline-img,
.history .timeline-right .timeline-img {
    width: 69rem;
}

/* 左侧：图片在上，文字在下 */
.history .timeline-left .timeline-content {
    order: 2;
}
.history .timeline-left .timeline-img {
    order: 1;
}

/* 右侧：文字在上，图片在下 */
.history .timeline-right .timeline-content {
    order: 1;
}
.history .timeline-right .timeline-img {
    order: 2;
}

/* 文字样式：和原图匹配 */
.history .timeline-year {
    font-family: 'Arial';
    font-weight: 700;
    font-size: 7rem;
    color: #F32735;
    text-align: left;
    font-style: normal;
    text-transform: none;
    line-height: 1;
    margin-top: 9rem;
}
.history .timeline-title {
    line-height: 1;
    font-family: 'Bahnschrift';
    font-weight: 700;
    font-size: 7rem;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
    font-stretch: semi-condensed;
    margin-top: 4rem;

}
.history .timeline-desc {
    font-family: 'Bahnschrift';
    font-weight: 600;
    font-size: 4rem;
    color: #9E9E9E;
    line-height: 4.5rem;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top:1.5rem;
    font-stretch: semi-condensed; /* SemiCondensed */
    white-space: break-spaces;

}
.history .timeline-left .timeline-year,.history .timeline-left .timeline-desc,.history .timeline-left .timeline-title{
    text-align:right;
}

/* 图片样式 */
.history .timeline-img img {
    width: 100%;
    height: auto;
    display: block;
    margin-top:3.2rem;
}
.history .timeline-left:nth-of-type(n+2) {
    /* 你的样式 */
    margin-top: 18rem;
}
.history .history-timeline .timeline-right:nth-of-type(n+4){
    margin-top: 18rem;
}
.history .history-timeline .timeline-right:nth-child(1){
    margin-top:0 !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .history .history-timeline::before {
        left: 2rem;
    }
    .history .timeline-item::after {
        left: 2rem;
        top: 1rem;
    }
    .history .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 4rem;
        margin-top: 17rem;
        width:100%;
        padding-left: 11rem;
    }
    .history .timeline-left .timeline-img,
    .history .timeline-right .timeline-img,
    .history .timeline-left .timeline-content,
    .history .timeline-right .timeline-content {
        width: 94%;
        margin-bottom: 1rem;
    }
    .history .timeline-year {
        font-size: 11rem;
        margin-top: 4rem;
    }
    .history .timeline-title {
        font-size: 14rem;
    }
    .history .timeline-left .timeline-year, .history .timeline-left .timeline-desc, .history .timeline-left .timeline-title {
        text-align: left;
    }
    .history .timeline-desc {
        font-size: 12px;
        line-height: 15px;
    }
    .history .timeline-left::after,.history .timeline-right::after{
        width:10px;
        height:10px;
    }
    .history .timeline-item:nth-child(1){
        margin-top:0px;
    }
    .history .timeline-item.timeline-left .timeline-img {
        order: 2; /* 图片排第二 */
    }
    .history .timeline-item.timeline-left .timeline-content {
        order: 1; /* 内容排第一 */
    }
}