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

/* 移动端样式 (宽度小于等于768px) */
@media (max-width: 768px) {

    /* 新闻页面标题区域 */
    .news-header {
        display: flex;
        flex-direction: column;
        margin: 16px 16px 0 16px;
        padding: 16px;
    }

    .news-header h1 {
        font-size: 28px;
        font-weight: 700;
        color: #000000;
        margin: 0 0 8px 0;
        line-height: 1.4;
        word-wrap: break-word;
        text-align: center;
    }

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

    /* 新闻卡片容器 */
    .news-cards {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin: 18px 16px;
        padding: 0;
    }

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

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

    /* 新闻卡片图片区域 */
    .news-image {
        display: flex;
        flex-direction: column;
        padding: 12px 12px 0 12px;
        flex: 2 0 0;            /* 占2份 (三分之二) */
    }

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

    /* 新闻卡片内容区域 */
    .news-content {
        display: flex;
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        flex: 1 0 0;            /* 占1份 (三分之一) */
        overflow: hidden;       /* 防止内容溢出 */
    }

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

    .news-content p {
        font-size: 18px;
        font-weight: 400;
        color: #000000;
        margin: 0;
        line-height: 1.6;
        word-wrap: break-word;
    }

    /* 主内容区域调整 */
    .main-content {
        padding-bottom: 20px;
    }

    /* 页脚在新闻页面的特殊处理 */
    .news-cards + .footer {
        margin-top: 0;
    }

    /* 确保新闻页面不会横向滚动 */
    .news-header,
    .news-cards,
    .news-card {
        max-width: calc(100vw - 32px);
        box-sizing: border-box;
    }

    /* 图片说明文字样式（如果需要） */
    .news-image figcaption {
        font-size: 14px;
        color: #000000;
        text-align: left;
        margin-top: 8px;
        padding: 0 4px;
        line-height: 1.4;
    }
}