/* 页面头部样式 */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(rgba(196, 18, 48, 0.1), rgba(196, 18, 48, 0.05));
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: #c41230;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #666;
}

/* 分类标签样式 */
.people-categories {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    border: 2px solid #c41230;
    background: none;
    color: #c41230;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: rgba(196, 18, 48, 0.1);
}

.tab-button.active {
    background-color: #c41230;
    color: white;
}

/* 人物卡片样式 */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.people-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.people-card:hover {
    transform: translateY(-5px);
}

.people-image {
    position: relative;
    height: 300px;
}

.people-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-level {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #c41230;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.people-info {
    padding: 20px;
}

.people-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.specialty {
    color: #c41230;
    font-size: 16px;
    margin-bottom: 10px;
}

.description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.view-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #c41230;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-more:hover {
    background-color: #a30f26;
}

/* 传承网络样式 */
.inheritance-network {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.inheritance-network h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.network-container {
    position: relative;
    min-height: 400px;
}

.network-visualization {
    width: 100%;
    height: 400px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.network-legend {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 8px;
}

.network-legend h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}

.network-legend ul {
    list-style: none;
}

.network-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.master { background-color: #c41230; }
.legend-dot.apprentice { background-color: #f4511e; }

.legend-line {
    width: 20px;
    height: 2px;
    background-color: #666;
}

/* 传承故事样式 */
.inheritance-stories {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.inheritance-stories h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    height: 200px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 20px;
}

.story-content h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.story-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.story-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}

.story-meta i {
    color: #c41230;
    margin-right: 5px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #c41230;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #a30f26;
}

/* 大师访谈样式 */
.master-interviews {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.master-interviews h2 {
    text-align: center;
    color: #c41230;
    font-size: 28px;
    margin-bottom: 30px;
}

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.interview-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.interview-card:hover {
    transform: translateY(-5px);
}

.interview-video {
    position: relative;
    height: 200px;
}

.interview-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(196, 18, 48, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.play-button:hover {
    background-color: #c41230;
}

.interview-info {
    padding: 20px;
}

.interview-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.interview-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.interview-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 14px;
}

.interview-meta i {
    color: #c41230;
    margin-right: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .people-grid,
    .stories-grid,
    .interviews-grid {
        grid-template-columns: 1fr;
    }

    .network-legend {
        position: static;
        margin-top: 20px;
    }

    .story-meta,
    .interview-meta {
        flex-direction: column;
        gap: 10px;
    }
} 