/* ===== 页面主体 ===== */
.changelog-section {
    padding: 50px 0 70px;
    background: #f8faff;
    min-height: calc(100vh - 56px - 460px);
}

/* ===== 标题区域 ===== */
.page-header {
    margin-bottom: 3rem;
}

/* 面包屑：左对齐 */
.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    justify-content: flex-start;   /* 左对齐 */
}
.page-header .breadcrumb-item a {
    color: #006ACD;
    text-decoration: none;
}
.page-header .breadcrumb-item.active {
    color: #6c7a8a;
}

/* 标题和描述：居中 */
.page-header .title-wrapper {
    text-align: center;
}
.page-title {
    font-weight: 700;
    color: #0b1a33;
    font-size: 2.2rem;
    letter-spacing: -0.3px;
}
.page-title i {
    color: #006ACD;
    margin-right: 0.6rem;
}
.page-sub {
    color: #6c7a8a;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 时间线卡片 ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}
/* 竖线 */
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dde2eb;
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.8rem;
}
/* 圆点 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.7rem;
    top: 0.6rem;
    width: 14px;
    height: 14px;
    background: #006ACD;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #006ACD, 0 2px 8px rgba(0, 106, 205, 0.25);
    z-index: 1;
}
.timeline-item .version-badge {
    display: inline-block;
    background: #006ACD;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    margin-right: 0.8rem;
}
.timeline-item .version-date {
    color: #6c7a8a;
    font-size: 0.9rem;
    font-weight: 500;
}
.timeline-item .version-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #0b1a33;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}
.timeline-item .version-details {
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline-item .version-details li {
    padding: 0.2rem 0;
    color: #4b5a6a;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}
.timeline-item .version-details li .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.6rem;
    border-radius: 12px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
.tag-new { background: #22c55e; }
.tag-fix { background: #f59e0b; }
.tag-improve { background: #3b82f6; }
.tag-remove { background: #ef4444; }
.tag-doc { background: #8b5cf6; }

.timeline-item .version-details li .desc {
    flex: 1;
}

/* 响应式 */
@media (max-width: 767.98px) {
    .changelog-section { padding: 30px 0 50px; }
    .page-title { font-size: 1.6rem; }
    .timeline { padding-left: 1.2rem; }
    .timeline-item { padding-left: 1rem; }
    .timeline-item::before { left: -1.2rem; width: 12px; height: 12px; }
    .timeline::before { left: 4px; }
    .timeline-item .version-badge { font-size: 0.8rem; }
}
@media (max-width: 575.98px) {
    .page-title { font-size: 1.4rem; }
    .timeline-item .version-details li { flex-wrap: wrap; }
    .timeline-item .version-details li .tag { font-size: 0.65rem; }
}