/* 新闻列表页面样式 */



/* 新闻列表区域 */
.news-list-section {
    padding: 60px 20px;
    background: #fff;
}

.news-list-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}

.section-subtitle {
    font-size: 16px;
    color: #1e88e5;
    font-style: italic;
    letter-spacing: 1px;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-image:hover img {
    transform: scale(1.05);
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-item-title a {
    color: #1e88e5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: #1565c0;
}

.news-item-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.news-item-date {
    color: #999;
}

.news-item-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
}

.news-item-views svg {
    opacity: 0.7;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-item:hover {
    border-color: #1e88e5;
    color: #1e88e5;
}

.pagination-item.active {
    background: #1e88e5;
    border-color: #1e88e5;
    color: #fff;
}

.pagination-next {
    padding: 0 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }

    .page-banner-title {
        font-size: 28px;
    }

    .news-item {
        flex-direction: column;
        gap: 16px;
    }

    .news-item-image {
        width: 100%;
        height: 180px;
    }

    .news-item-title {
        font-size: 16px;
    }

    .news-item-summary {
        -webkit-line-clamp: 3;
    }
}
