/* 传承人物页面样式 */
.inheritors-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 分类筛选样式 */
.category-filter {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    color: #1661AB;
    font-size: 18px;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #1661AB;
    border-radius: 4px;
    cursor: pointer;
}

/* 传承人卡片网格 */
.inheritors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 传承人卡片样式 */
.inheritor-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.inheritor-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.inheritor-card:hover .card-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(22, 97, 171, 0.9);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 5px;
}

.card-content .title {
    color: #1661AB;
    font-size: 16px;
    margin-bottom: 10px;
}

.card-content .description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    color: #666;
    font-size: 14px;
}

.view-more {
    padding: 8px 15px;
    background-color: #1661AB;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-more:hover {
    background-color: #114B7D;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    margin: 5vh auto;
    background-color: #fff;
    border-radius: 8px;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 1;
}

.modal-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.modal-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-info .title {
    color: #1661AB;
    font-size: 18px;
    margin-bottom: 10px;
}

.modal-info .location {
    color: #666;
    font-size: 16px;
}

.modal-body {
    padding: 20px;
}

.info-section {
    margin-bottom: 30px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h4 {
    color: #1661AB;
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #1661AB;
}

.biography {
    color: #666;
    line-height: 1.6;
}

.achievements {
    list-style: none;
    padding: 0;
}

.achievements li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #1661AB;
    border-radius: 50%;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.works-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.works-gallery img:hover {
    transform: scale(1.05);
}

.philosophy {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .inheritors-grid {
        grid-template-columns: 1fr;
    }

    .modal-header {
        grid-template-columns: 1fr;
    }

    .works-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-options {
        gap: 10px;
    }

    .filter-options label {
        width: calc(50% - 5px);
    }
} 