﻿.news-page {
    background: #fff;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 70px;
}

.news-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 84px;
    padding: 18px 24px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    text-decoration: none;
    
}

.news-list-item:hover {
    background: url('../hnu-images/list-item-bg.png') no-repeat center;
    background-size: 100% 100%;
}

.news-list-item:hover .item-arrow {
    visibility: hidden;
}

.news-list-item:hover .item-title {
    color: #FBD7B4;
}

.news-list-item:hover .item-date {
    color: #FFFFFF;
}

/* 小三角箭头 */
.item-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url('../hnu-images/home/icon-marker-gold.png') no-repeat center;
    background-size: contain;
}

/* 标题 */
.item-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 日期 */
.item-date {
    flex-shrink: 0;
    font-size: 16px;
    color: #999;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    margin-bottom: 70px;
}

.page-btn,
.page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
}

.page-num {
    width: 36px;
    padding: 0;
}

.page-btn:hover,
.page-num:hover {
    color: #C41E24;
    border-color: #C41E24;
}

.page-num.active {
    background: #C41E24;
    color: #fff;
    border-color: #C41E24;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    .news-list {
        gap: 10px;
        margin-bottom: 30px;
    }

    .news-list-item {
        padding: 14px 16px;
        gap: 10px;
    }

    .item-title {
        font-size: 14px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .item-date {
        font-size: 12px;
    }

    .pagination {
        gap: 6px;
        flex-wrap: wrap;
    }

    .page-btn,
    .page-num {
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }

    .page-num {
        width: 32px;
        padding: 0;
    }
}