/* 页面标题样式 */
.page-header {
    margin-top: 120px;
    background: #f5f5f5;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: #2ecc71;
    text-decoration: none;
}

/* 新闻列表样式 */
.news-list {
    padding: 60px 0;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    /* 标题超出显示省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    /* 内容显示两行，超出显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.read-more {
    color: #2ecc71;
    text-decoration: none;
    font-weight: bold;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #2ecc71;
    color: #fff;
}

/* 错误提示样式 */
.error-message {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.error-message p {
    color: #666;
    font-size: 16px;
} 