/* 资讯页面特定样式 */
.news-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 76px;
}

.search-bar {
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-btn {
    border: none;
    background: transparent;
    padding: 0.8rem 1.5rem;
    margin: 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: var(--dark-text);
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-color);
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.hot-news {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.hot-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hot-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.hot-number {
    background: var(--accent-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.pagination-custom {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pagination-custom .page-link {
    border: none;
    margin: 0 0.2rem;
    border-radius: 8px;
    color: var(--primary-color);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}