/* 页面标题 */
.page-header {
    margin-top: 80px;
    background: linear-gradient(to right, #ff6b81, #ff4757);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 搜索区域 */
.search-section {
    background: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-box input {
    width: 400px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    padding: 12px 30px;
    background: #ff6b81;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #ff4757;
}

.news-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.news-categories a {
    text-decoration: none;
    color: #666;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.news-categories a:hover,
.news-categories a.active {
    background: #ff6b81;
    color: #fff;
}

/* 新闻列表 */
.news-list {
    padding: 50px 0;
}

.news-item {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    flex: 0 0 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    padding: 30px;
}

.news-meta {
    margin-bottom: 15px;
}

.category {
    background: #ff6b81;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 15px;
}

.date {
    color: #999;
}

.news-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: #ff6b81;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: #ff4757;
}

/* 分页 */
.pagination {
    text-align: center;
    margin: 50px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #ff6b81;
    color: #fff;
    border-color: #ff6b81;
} 