/* 党建板块样式 */

.party-hero {
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
}

.party-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.party-hero p {
    font-size: 20px;
    opacity: 0.9;
}

.party-section {
    padding: 80px 0;
    background: #f8f5f0;
}

.party-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.party-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.party-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.party-card-img {
    height: 200px;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    display: flex;
    align-items: center;
    justify-content: center;
}

.party-card-img i {
    font-size: 60px;
    color: rgba(255,255,255,0.5);
}

.party-card-content {
    padding: 25px;
}

.party-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #C41E3A;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 15px;
}

.party-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.party-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.party-card-date {
    font-size: 13px;
    color: #999;
    margin-top: 15px;
}

.party-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.party-category {
    padding: 10px 25px;
    background: #fff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.party-category:hover,
.party-category.active {
    background: #C41E3A;
    color: #fff;
}

@media (max-width: 992px) {
    .party-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .party-grid { grid-template-columns: 1fr; }
    .party-hero h1 { font-size: 32px; }
    .party-hero { padding: 80px 0 40px; }
}
