/* 页面主体样式 */
.heritage-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
}

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 0;
    background: url('../images/heritage-header.png') no-repeat center;
    background-size: cover;
    color: #fff;
    border-radius: 8px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 筛选区域样式 */
.filter-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #c41230;
    color: #c41230;
}

.filter-btn.active {
    background: #c41230;
    color: #fff;
    border-color: #c41230;
}

/* 瀑布流网格样式 */
.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.heritage-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.heritage-item:hover {
    transform: translateY(-5px);
}

.heritage-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 比例 */
}

.heritage-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.heritage-item:hover .heritage-image img {
    transform: scale(1.1);
}

.heritage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.heritage-item:hover .heritage-overlay {
    transform: translateY(0);
}

.heritage-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.heritage-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

.heritage-info {
    padding: 20px;
}

.heritage-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.heritage-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: #c41230;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #a01028;
    color: #fff;
}

/* 加载更多按钮样式 */
.load-more {
    text-align: center;
    margin-top: 40px;
}

#loadMoreBtn {
    padding: 12px 30px;
    background: none;
    border: 2px solid #c41230;
    border-radius: 4px;
    color: #c41230;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#loadMoreBtn:hover {
    background: #c41230;
    color: #fff;
}

/* 响应��设计 */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .filter-section {
        padding: 20px;
    }

    .filter-options {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 14px;
    }

    .heritage-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .heritage-grid {
        grid-template-columns: 1fr;
    }
} 