/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 筛选栏样式 */
.filter-bar {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin-bottom: 30px;
}

.filter-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select, .filter-group input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    padding: 6px 15px;
    border: none;
    background-color: #1a9cb7;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #158099;
}

/* 非遗列表样式 */
.heritage-list-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    border-left: 4px solid #1a9cb7;
    padding-left: 10px;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.heritage-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.heritage-card:hover {
    transform: translateY(-5px);
}

.heritage-card-image {
    height: 200px;
    overflow: hidden;
}

.heritage-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.heritage-card:hover .heritage-card-image img {
    transform: scale(1.05);
}

.heritage-card-content {
    padding: 20px;
}

.heritage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.heritage-card-tag {
    display: inline-block;
    background-color: #e8f4f8;
    color: #1a9cb7;
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.heritage-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.heritage-card-more {
    display: inline-block;
    color: #1a9cb7;
    font-weight: 500;
    text-decoration: none;
}

.heritage-card-more:hover {
    text-decoration: underline;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
    align-items: center;
}

.pagination-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
}

.pagination-btn.active {
    background: #1a9cb7;
    color: white;
    border-color: #1a9cb7;
}

.pagination-btn:hover:not(.active) {
    background: #f5f5f5;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* 保护成果样式 */
.protection-achievements {
    margin-bottom: 40px;
}

.achievements-content {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.achievements-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.stat-label {
    font-size: 1rem;
    color: #333;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

/* 页脚样式 */
.footer {
    background-color: #f5f5f5;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}