/* ---------- 新闻列表页 ---------- */

/* 列表项：左图右文 */
.news-list-page li.flex-between {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #262b38;
    align-items: flex-start;
}

.news-list-page li.flex-between:last-child {
    border-bottom: none;
}

/* 左侧图片区 */
.news-list-page li .pic {
    width: 160px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1d26;
}

.news-list-page li .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.news-list-page li:hover .pic img {
    transform: scale(1.06);
}

/* 右侧文字区 */
.news-list-page li .text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 标题 */
.news-list-page li .tit {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.news-list-page li .tit a {
    color: #e8ecf5;
    transition: color 0.2s;
    display: block;
    /* 标题最多两行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-page li .tit a:hover {
    color: #6c8dff;
}

/* 摘要 */
.news-list-page li .desc {
    margin: 0;
    font-size: 13px;
    color: #8b93a5;
    line-height: 1.6;
    /* 摘要两行省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 时间 */
.news-list-page li .st {
    margin: 0;
    margin-top: auto;
    font-size: 12px;
    color: #6b7280;
}

/* ---------- 手机端 ---------- */
@media screen and (max-width: 640px) {
    .news-list-page li.flex-between {
        flex-direction: column;
        gap: 10px;
        padding: 14px 0;
    }

    .news-list-page li .pic {
        width: 100%;
        height: 180px;
    }

    .news-list-page li .tit {
        font-size: 15px;
    }

    .news-list-page li .tit a,
    .news-list-page li .desc {
        -webkit-line-clamp: 2;
    }
}
/* ---------- 分页 ---------- */
.pager {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 20px 0 10px !important;
    margin: 0 !important;
    list-style: none !important;
}

/* 关键：清掉 <li> 的白点 */
.pager li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* li 的 ::marker 也要清掉（Chrome 用这个显示白点） */
.pager li::marker {
    content: none !important;
    display: none !important;
}

.pager li::before,
.pager li::after {
    content: none !important;
    display: none !important;
}

/* 所有按钮统一 */
.pager li a,
.pager li span,
.pager li b,
.pager li strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #8b93a5 !important;
    background: #1e2029 !important;
    border: 1px solid #2e3342 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

.pager li a:hover {
    color: #fff !important;
    background: #2a2f3d !important;
    border-color: #4f7cff !important;
}

/* 当前页高亮 */
.pager li.active span,
.pager li.active b,
.pager li.active strong {
    color: #fff !important;
    background: linear-gradient(135deg, #4f7cff, #6c5ce7) !important;
    border-color: #6c8dff !important;
    font-weight: 600 !important;
}

/* 禁用状态（第一页的上一页、最后一页的下一页） */
.pager li.disabled a,
.pager li.disabled span {
    color: #4a5162 !important;
    background: #1a1c24 !important;
    border-color: #262b38 !important;
    cursor: not-allowed !important;
}

.pager li.disabled a:hover {
    color: #4a5162 !important;
    background: #1a1c24 !important;
    border-color: #262b38 !important;
}



