/* 新闻报道页面桌面端样式 - 简体中文 */

/* 桌面端样式 (宽度大于768px) */
@media (min-width: 769px) {

    /* 新闻页面标题区域 */
    .news-header {
        display: flex;
        flex-direction: column;
        margin: 40px 40px 0 40px;
        padding: 30px;
        background-color: #fafafa;
        text-align: center;
    }

    .news-header h1 {
        font-size: 48px;
        font-weight: 700;
        color: #000000;
        margin: 0 0 12px 0;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .news-header p {
        font-size: 24px;
        font-weight: 400;
        color: #666666;
        margin: 0;
        line-height: 1.5;
    }

    /* 新闻卡片容器 - 桌面端网格布局 */
    .news-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 24px;
        margin: 30px 40px;
        padding: 0;
    }

    /* 单个新闻卡片 */
    .news-card {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        height: 400px;
    }

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    /* 新闻卡片图片区域 */
    .news-image {
        display: flex;
        flex-direction: column;
        padding: 16px 16px 0 16px;
        flex: 2;
        overflow: hidden;
    }

    .news-image img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover;
    }

    /* 新闻卡片内容区域 */
    .news-content {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .news-content h2 {
        font-size: 24px;
        font-weight: 700;
        color: #000000;
        margin: 0;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .news-content p {
        font-size: 18px;
        font-weight: 400;
        color: #000000;
        margin: 0;
        line-height: 1.6;
        word-wrap: break-word;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;  
        -webkit-box-orient: vertical;
    }

    /* 确保页脚正确显示 */
    .news-cards + .footer {
        margin-top: 0;
    }

    /* 响应式调整 */
    @media (min-width: 1200px) {
        .news-cards {
            grid-template-columns: repeat(3, 1fr);
        }

        .news-header {
            margin: 50px 60px 0 60px;
            padding: 40px;
        }

        .news-cards {
            margin: 40px 60px;
        }
    }
}