
/* 时间轴样式 */
.timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px 10px;
}

.timeline-year {
    margin-bottom: 3rem;
}

.year-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
    padding-left: 1.07rem;
}


.year-header .dot {
    position: absolute;
    left: 10.5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    border:2px solid #bbbbbb;
    margin-top: 2px;
}

.year-header h2 {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    padding-left: 6px;
}

.timeline-content {
    position: relative;
    margin: 0;
    padding-top: 1rem;
}

.timeline-line {
    position: absolute;
    left: 5px;
    top: 0;
    height: 100%;
    /*height: 112%;*/
    width: 2px;
    background-color: #bbbbbb;
}

.timeline-item {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    /*opacity: 0;*/
    transform: translateY(1rem);
    transition: all 0.5s;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bbbbbb;
}

.timeline-item-content {
    background-color: white;
    border-radius: 0.2rem;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);*/
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 15px 15px;
    transition: all 0.3s;
    /*border-left: 4px solid #165DFF;*/
}

.timeline-item-content:before {
    content: "";
    position: absolute;
    top: 1px; /* 三角形距离气泡框顶部的距离，可调整 */
    left: 1.17rem; /* 三角形在气泡框左侧的位置，可调整 */
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 3px solid transparent;
    border-top: 10px solid #ffffff; /* 与气泡框背景色一致 */
    filter: drop-shadow(-3px -1px 0 rgba(0, 0, 0, 0.12));
}

.timeline-item-content:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.timeline-item-content h3 {
    ont-weight: 600;
    font-size: 16px;
    color: #666666;
    line-height: 22px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
}

.timeline-item-content p {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    line-height: 17px;
    text-align: left;
}

.timeline-item-content p i {
    margin-right: 16px;
}

/* 按钮样式 */
.btn-container {

}

.btn-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #40a3e1;
    padding: 0.5rem 1.07rem 0;
}

.btn-toggle:hover {
    color: rgb(22, 93, 255);
}

.btn-toggle:focus {
    color: rgb(22, 93, 255);
}

.btn-toggle.hidden {
    display: none;
}

/* 2025年条目使用不同的边框颜色 */
.timeline-year[data-year="2025"] .timeline-dot {
    background-color: #bbbbbb;
}

.timeline-year[data-year="2025"] .timeline-item-content {
    /*border-left-color: #bbbbbb;*/
}

/* 隐藏的条目 */
.hidden-item {
    display: none;
}

