/* 公益页面专用样式 */

.page-header .slogan {
    font-size: 1.8rem;
    color: #388e3c;
    font-weight: 500;
    letter-spacing: 2px;
}

/* 数据统计部分 */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 10%;
    background: rgba(255, 255, 255, 0.8);
    margin: 30px 10%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #1b5e20;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 1.2rem;
    color: #455a64;
}

/* 公益动态部分 */
.public-welfare {
    padding: 40px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1b5e20;
    margin-bottom: 40px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4caf50;
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.welfare-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.welfare-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.welfare-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    color: #1b5e20;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-date {
    color: #78909c;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.card-content p {
    color: #546e7a;
    line-height: 1.6;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: white;
    color: #1b5e20;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.page-btn:hover, .page-btn.active {
    background: #2e7d32;
    color: white;
}

/* 响应式设计 */
@media (max-width: 1000px) {
    .welfare-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 5% 30px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 30px;
        margin: 30px 5%;
        padding: 30px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .public-welfare {
        padding: 30px 5%;
    }
}

@media (max-width: 600px) {
    .welfare-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
