/* 历史页面特定样式 */
.history-banner {
    margin-top: 80px;
    height: 400px;
    background-image: url('../images/history-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* 时间轴样式 */
.timeline-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #c12c1f;
}

.timeline-item {
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #c12c1f;
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
    top: 20px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
    top: 20px;
}

.timeline-date {
    color: #c12c1f;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-title {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
}

.timeline-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 重要事件导航 */
.event-nav {
    background: #f5f5f5;
    padding: 20px 0;
    margin-bottom: 40px;
}

.event-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.event-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.event-item {
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.event-item:hover,
.event-item.active {
    background: #c12c1f;
    color: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }
    
    .history-banner {
        height: 300px;
    }
} 