/* 页面标题样式 */
.page-title {
    background-color: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 16px;
}

/* 分类筛选样式 */
.news-filter {
    margin: 40px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-group h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: none;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #c41230;
    color: #c41230;
}

.filter-btn.active {
    background-color: #c41230;
    border-color: #c41230;
    color: #fff;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    display: flex;
    gap: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item.featured {
    background-color: #fff9f9;
}

.news-image {
    flex: 0 0 300px;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    background-color: rgba(196, 18, 48, 0.9);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.news-content {
    flex: 1;
    padding: 30px;
}

.news-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #c41230;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #a00f28;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover:not([disabled]) {
    border-color: #c41230;
    color: #c41230;
}

.page-btn.active {
    background-color: #c41230;
    border-color: #c41230;
    color: #fff;
}

.page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    color: #666;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .news-item {
        flex-direction: column;
    }

    .news-image {
        flex: 0 0 200px;
    }
}

@media screen and (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-content h3 {
        font-size: 20px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .news-content {
        padding: 20px;
    }

    .news-tag {
        top: 10px;
        left: 10px;
    }

    .page-btn {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
    }
} 