/* ==================== 新闻资讯页面样式 ==================== */

/* 页面容器 */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #1a5fa8 0%, #2d7dd2 100%);
    color: white;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.page-header .en-title {
    font-size: 16px;
    opacity: 0.9;
    font-family: Arial;
}

/* 新闻筛选 */
.news-filter {
    margin-bottom: 20px;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 25px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #1a5fa8;
    color: white;
    border-color: #1a5fa8;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 新闻卡片 */
.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
}

.news-card:hover {
    box-shadow: 0 5px 20px rgba(26, 95, 168, 0.15);
    transform: translateY(-3px);
}

.news-image {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image .placeholder {
    font-size: 60px;
    color: #1a5fa8;
    opacity: 0.3;
}

.news-content {
    flex: 1;
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.category {
    font-size: 12px;
    padding: 3px 8px;
    background: #1a5fa8;
    color: white;
    border-radius: 3px;
}

.date {
    font-size: 12px;
    color: #999;
}

.news-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #1a5fa8;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2d7dd2;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}

.page-btn {
    padding: 8px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: #1a5fa8;
    color: white;
    border-color: #1a5fa8;
}

.page-btn.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #666;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 992px) {
    .news-card {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 576px) {
    .page-container {
        padding: 10px;
    }

    .page-header {
        padding: 20px 10px;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .filter-tabs {
        gap: 10px;
    }

    .filter-tab {
        padding: 8px 15px;
        font-size: 13px;
    }

    .news-image {
        height: 120px;
    }

    .news-image .placeholder {
        font-size: 40px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 16px;
    }
}