/* 新闻页面样式 */
.news-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 新闻banner */
.news-banner {
    background: linear-gradient(145deg, #2b1216, #1a1a1a);
    padding: 40px 20px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 30px;
}

.news-banner h1 {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 20px;
}

/* 新闻分类 */
.news-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category {
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid #6e1620;
    border-radius: 20px;
    transition: all 0.3s;
    font-size: 16px;
}

.category:hover,
.category.active {
    background: #6e1620;
    border-color: #6e1620;
}

/* 新闻容器 */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 特色新闻 */
.featured-news {
    margin-bottom: 40px;
}

.featured-news-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg, #2b1216, #1a1a1a);
}

.featured-news-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.featured-news-content h2 {
    font-size: 28px;
    margin: 10px 0;
    color: #fff;
}

.featured-news-content p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #aaa;
}

.featured-news-content time {
    color: #666;
    font-size: 14px;
}

/* 新闻列表 */
.news-list {
    display: grid;
    gap: 20px;
}

.news-item {
    background: linear-gradient(145deg, #2b1216, #1a1a1a);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item-image {
    position: relative;
    width: 300px;
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: #6e1620;
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.news-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.news-item-content p {
    color: #aaa;
    margin-bottom: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.news-date {
    font-size: 14px;
}

.read-more {
    color: #d4af37;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.read-more:hover {
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

.page-item,
.page-next {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #6e1620;
    border-radius: 3px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-item:hover,
.page-item.active {
    background: #6e1620;
}

.page-next {
    padding: 8px 20px;
}

.page-dots {
    color: #666;
    padding: 0 5px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .news-item {
        flex-direction: column;
    }

    .news-item-image {
        width: 100%;
    }

    .featured-news-content h2 {
        font-size: 24px;
    }

    .featured-news-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .news-banner h1 {
        font-size: 28px;
    }

    .news-categories {
        gap: 10px;
    }

    .category {
        padding: 6px 15px;
        font-size: 14px;
    }

    .featured-news-item img {
        height: 300px;
    }

    .news-item-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .news-categories {
        flex-direction: column;
        align-items: stretch;
    }

    .category {
        text-align: center;
    }

    .featured-news-item img {
        height: 250px;
    }

    .featured-news-content h2 {
        font-size: 20px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
} 