
/* 重置和基础样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; color: var(--dark); background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* 面包屑样式 */
.breadcrumb {
    padding: 16px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}
.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 8px;
    color: var(--text-muted);
}
.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb-link.active {
    color: var(--silver-blue);
    font-weight: 500;
    pointer-events: none;
}
/* 复用产品页样式，增加新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 40px 0; }
.news-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-img { height: 200px; background-size: cover; background-position: center; }
.news-content { padding: 24px; }
.news-date { color: var(--silver-blue); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.news-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.news-summary { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.news-link { margin-top: 16px; display: inline-block; color: var(--silver-blue); text-decoration: none; font-weight: 500; }
/* 筛选栏样式 */
.filter-bar { padding: 20px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--silver-blue);
    background: transparent;
    border-radius: 20px;
    color: var(--silver-blue);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active {
    background: var(--silver-blue);
    color: white;
}
/* 分页样式 */
.pagination {
    padding: 20px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.page-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
}
.page-btn:hover:not(:disabled) {
    border-color: var(--silver-blue);
    color: var(--silver-blue);
}
.page-btn.active {
    background: var(--silver-blue);
    color: white;
    border-color: var(--silver-blue);
}
.page-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}
/* 响应式 */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .breadcrumb-list { flex-wrap: wrap; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f8f9fa;
    line-height: 1.5;
}

.bg-light {
    background: #f8f9fa;
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 选项卡过滤栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-btn:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
}

.filter-btn.active {
    background: #0d6efd;
    color: white;
    box-shadow: 0 2px 6px rgba(13, 110, 253, 0.25);
}

/* 分类面板 */
.category-panel {
    display: block;
}

.category-panel.hide-panel {
    display: none;
}

/* 每个分类内的新闻网格 */
.category-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #dee2e6;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.news-title a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.news-summary {
    color: #495057;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.news-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

.news-link:hover {
    gap: 0.5rem;
    text-decoration: underline;
}

/* 分页样式 */
.category-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.page-btn:hover:not(.disabled) {
    background: #e9ecef;
    border-color: #adb5bd;
}

.page-btn.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: white;
    cursor: default;
    pointer-events: none;
}

.page-btn.disabled {
    color: #adb5bd;
    cursor: not-allowed;
    background: #f1f3f5;
    border-color: #dee2e6;
    pointer-events: none;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .category-news-grid {
        grid-template-columns: 1fr;
    }
    .filter-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
}

.pagination li a:hover {
    background: #5CABE9;
    color: #fff;
    border: 1px solid #5CABE9;
}

.pagination li a {
    border-radius: 4px;
    color: #6e6e6e;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #DCDCDC;
    display: block;
    text-decoration: none;
}


.pagination li {
    margin: 0 5px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    list-style: none;
}
section { padding: 70px 0; }