/* 页面标题样式 */
.page-title {
    background-color: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 16px;
}

/* 简介部分样式 */
.history-intro {
    padding: 60px 0;
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-content {
    flex: 1;
}

.intro-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.intro-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #c41230;
}

.intro-content p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 时间轴样式 */
.timeline {
    padding: 60px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #ddd;
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-content.left {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content.right {
    margin-left: auto;
    margin-right: 0;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 120px;
    padding: 8px 0;
    background-color: #c41230;
    color: #fff;
    text-align: center;
    border-radius: 4px;
}

.timeline-content.left .timeline-date {
    right: -140px;
}

.timeline-content.right .timeline-date {
    left: -140px;
}

.timeline-info {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-info img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timeline-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.timeline-info p {
    color: #666;
    line-height: 1.6;
}

/* 传承部分样式 */
.heritage {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.heritage h3 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.heritage h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #c41230;
}

.heritage-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.heritage-text {
    flex: 1;
}

.heritage-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.heritage-image {
    flex: 1;
}

.heritage-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .history-intro,
    .heritage-content {
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
        margin: 0 0 0 40px;
    }

    .timeline-content.left .timeline-date,
    .timeline-content.right .timeline-date {
        left: -60px;
        width: 100px;
        font-size: 14px;
    }

    .intro-image,
    .heritage-image {
        margin-top: 20px;
    }
} 