/* 页面banner */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/news-banner.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #fff;
    margin-bottom: 40px;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ffd700;
}

/* 主内容区布局 */
.content-wrapper {
    display: flex;
    gap: 30px;
}

.news-main {
    flex: 1;
}

.news-sidebar {
    width: 300px;
}

/* 新闻分类导航 */
.news-categories {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.news-categories a {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.news-categories a:hover,
.news-categories a.active {
    background: #c00;
    color: #fff;
}

/* 新闻搜索 */
.news-search {
    display: flex;
    margin-bottom: 30px;
}

.news-search input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.news-search button {
    background: #c00;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* 新闻列表 */
.news-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-image {
    width: 300px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c00;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.news-content {
    flex: 1;
    padding: 20px;
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-meta span {
    margin-right: 20px;
}

.news-meta i {
    margin-right: 5px;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #c00;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: #c00;
    color: #fff;
    border-color: #c00;
}

/* 侧边栏 */
.sidebar-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: #c00;
}

/* 热门新闻 */
.hot-news li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.hot-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-news-image {
    width: 80px;
    height: 60px;
}

.hot-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.hot-news-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.hot-news-content .news-meta {
    font-size: 12px;
    margin-bottom: 0;
}

/* 新闻标签 */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tags a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-tags a:hover {
    background: #c00;
    color: #fff;
} 