/* 文化典故页面主体样式 */
.culture-main {
    margin-top: 100px;
    padding: 20px;
    background: #f5f5f5;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #c41230;
}

/* 时间轴项目样式 */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.timeline-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #c41230;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 55%;
}

.timeline-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.date {
    color: #c41230;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tags {
    margin-bottom: 15px;
}

.tags span {
    display: inline-block;
    padding: 3px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: #c41230;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
}

.read-more:hover {
    background: #a00e26;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-img {
        width: 150px;
        height: 150px;
        left: 20px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 0;
    }
} 