/* 非遗文化页面样式 */
.intangible-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 分类导航样式 */
.category-nav {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.category-nav ul {
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.category-nav a {
    display: block;
    padding: 15px 25px;
    color: #666;
    font-size: 18px;
    position: relative;
    transition: all 0.3s;
}

.category-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #1661AB;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.category-nav a:hover,
.category-nav a.active {
    color: #1661AB;
}

.category-nav a:hover::after,
.category-nav a.active::after {
    transform: scaleX(1);
}

/* 分类内容样式 */
.category-section {
    margin-bottom: 50px;
}

.category-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid #1661AB;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 遗产项目卡片样式 */
.heritage-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.heritage-item:hover {
    transform: translateY(-5px);
}

.item-image {
    position: relative;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.heritage-item:hover .item-image img {
    transform: scale(1.05);
}

/* 视频播放按钮样式 */
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.heritage-item:hover .video-play {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #1661AB;
}

.play-text {
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.item-content {
    padding: 20px;
}

.item-content h4 {
    font-size: 20px;
    color: #1661AB;
    margin-bottom: 10px;
}

.item-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1661AB;
    color: #fff;
    border-radius: 20px;
    transition: all 0.3s;
}

.read-more:hover {
    background-color: #114B7D;
    transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .category-nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .category-nav a {
        padding: 10px 15px;
        font-size: 16px;
    }

    .item-grid {
        grid-template-columns: 1fr;
    }

    .item-image img {
        height: 200px;
    }
} 