.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 0;
}
.history-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #d9534f;
    transform: translateX(-50%);
}
.history-item {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: flex-start;
}
.history-item:last-child {
    margin-bottom: 0;
}
.history-item.right {
    justify-content: flex-end;
}
.history-item .history-card {
    width: calc(50% - 50px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    padding: 20px;
    box-sizing: border-box;
}
.history-item .history-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -10px);
    background: #d9534f;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
}
.history-item .history-dot {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #d9534f;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.history-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
}
.history-card .history-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    text-align: center;
}


@media (max-width: 768px) {
    .history-timeline::before {
        left: 20px;
    }
    .history-item,
    .history-item.right {
        display: block;
        padding-left: 45px;
        margin-bottom: 50px;
    }
    .history-item .history-card {
        width: 100%;
    }
    .history-item .history-year {
        position: static;
        transform: none;
        display: inline-block;
        margin-bottom: 12px;
        padding: 5px 14px;
        font-size: 14px;
    }
    .history-item .history-dot {
        left: 20px;
        top: 8px;
    }
}