/* 资讯页面样式 */
.news-section {
    padding: 80px 0;
}

/* 资讯分类 */
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-item {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item:hover, .category-item.active {
    background-color: #ff8800;
    color: #fff;
}

/* 资讯网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-item.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-item.featured .news-image {
    height: 100%;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff8800;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #777;
    font-size: 14px;
}

.news-meta i {
    margin-right: 5px;
    color: #ff8800;
}

.news-title {
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #ff8800;
}

.news-item.featured .news-title {
    font-size: 28px;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #ff8800;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination li {
	display: flex;
}
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 40px;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);padding:0px 10px;
}

.pagination a:hover, .pagination .active a {
    background-color: #ff8800;
    color: #fff;
}

.pagination .next {
    width: auto;
    padding: 0 15px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-item.featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .news-item.featured .news-image {
        height: 220px;
    }
}
