/* ===== 新闻列表容器 2026.07.09===== */
.news-list-wrapper {
    padding: 30px 0;
}

/* ===== 列表头部 ===== */
.news-list-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
    position: relative;
}

.news-list-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #1890ff, #69c0ff);
}

.news-list-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.news-list-subtitle {
    font-size: 14px;
    color: #8c8c8c;
    letter-spacing: 2px;
}

/* ===== 卡片网格 ===== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ===== 单个新闻卡片 ===== */
.news-card {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===== 缩略图区域 ===== */
.news-card-image {
    flex: 0 0 260px;
    height: 180px;
    background: #f5f6fa;
    position: relative;
    overflow: hidden;
}

.news-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

/* 无图占位 */
.news-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8edf5, #d5dce6);
    color: #a0aec0;
    font-size: 48px;
    text-decoration: none;
}

/* ===== 角标 ===== */
.news-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.news-card-badges .badge {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
}

/* ===== 卡片内容 ===== */
.news-card-body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.news-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: #1890ff;
}

/* ===== 副标题 ===== */
.news-card-subtitle {
    font-size: 14px;
    color: #595959;
    margin: 0 0 10px 0;
    padding-left: 12px;
    border-left: 3px solid #1890ff;
    line-height: 1.6;
}

/* ===== 摘要 ===== */
.news-card-excerpt {
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.8;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 卡片底部 ===== */
.news-card-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
    font-size: 13px;
    color: #8c8c8c;
}

.news-card-date i,
.news-card-views i {
    margin-right: 4px;
}

.news-card-readmore {
    margin-left: auto;
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.news-card-readmore:hover {
    color: #40a9ff;
}

.news-card-readmore i {
    transition: transform 0.2s;
}

.news-card-readmore:hover i {
    transform: translateX(4px);
}

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

    .news-card-image {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
    }

    .news-card-body {
        padding: 16px 18px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .news-card-excerpt {
        -webkit-line-clamp: 3;
    }

    .news-card-footer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-card-readmore {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .news-list-title {
        font-size: 22px;
    }

    .news-card-image {
        height: 160px;
    }

    .news-card-subtitle {
        font-size: 13px;
    }
}