/* 重置和基础样式 */
.knowledge-main {
    padding-top: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
}

/* 面包屑导航 */
.breadcrumb-nav {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: #3b82f6;
}

.breadcrumb-list .separator {
    margin: 0 12px;
    color: #cbd5e1;
    font-size: 12px;
}

.breadcrumb-list .current {
    color: #1e293b;
    font-weight: 500;
}

/* 主标题区 - 专业蓝色设计 */
.knowledge-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.knowledge-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/grid-pattern.svg');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* 搜索框 - 蓝色主题设计 */
.knowledge-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-container {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 60px 16px 20px;
    font-size: 1rem;
    color: white;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 主要内容区布局 */
.knowledge-content {
    padding: 60px 0;
    width: 100%;
    overflow-x: hidden;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

/* 主内容区 */
.main-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 专题分类tabs */
.category-tabs {
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.tab-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* 文章筛选 */
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.articles-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.current-filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tag-text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-tag-clear {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background 0.2s ease;
    padding: 0;
}

.filter-tag-clear:hover {
    background: rgba(255, 255, 255, 0.4);
}

.articles-filter {
    display: flex;
    gap: 8px;
}

.filter-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* 文章列表 */
.articles-list {
    display: grid;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* 文章列表项 - 现代化卡片风格带缩略图 */
.article-item {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.article-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
    transform: translateY(-4px);
}

.article-cover {
    width: 200px;
    min-width: 200px;
    height: 140px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
    position: relative;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-item:hover .article-cover img {
    transform: scale(1.08);
}

.article-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}

.article-item .article-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.article-item:hover .article-title {
    color: #3b82f6;
}

.article-item .article-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.article-item .article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
    flex-wrap: wrap;
}

.article-item .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-item .article-meta i {
    font-size: 0.8rem;
    color: #3b82f6;
}

.article-item .article-meta .category {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 4px 12px;
    border-radius: 20px;
    color: #3b82f6;
    font-weight: 500;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
    min-width: 0;
    overflow: hidden;
}

.sidebar-categories {
    margin-bottom: 32px;
    min-width: 0;
    overflow: hidden;
}

.sidebar-categories h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: #f1f5f9;
    color: #3b82f6;
}

.category-count {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Tabs标签页 */
.sidebar-tabs {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
}

.sidebar-tabs .tabs-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    padding: 0 16px;
}

.sidebar-tabs .tab-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 16px 12px;
    margin: 0;
    position: relative;
    flex: 1;
    text-align: center;
    color: #64748b;
    transition: color 0.2s ease;
}

.sidebar-tabs .tab-btn:hover {
    color: #3b82f6;
}

.sidebar-tabs .tab-btn.active {
    color: #3b82f6;
}

.sidebar-tabs .tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.2s ease;
}

.sidebar-tabs .tab-btn.active::after {
    width: 100%;
}

.tabs-content {
    padding: 24px;
    min-width: 0;
    overflow: hidden;
}

.tab-pane {
    display: none;
    min-width: 0;
    overflow: hidden;
}

.tab-pane.active {
    display: block;
}

/* 热门阅读 */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    color: #64748b;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.popular-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateX(4px);
}

.popular-item .rank {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.popular-item .title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    min-width: 0;
    white-space: nowrap;
}

.popular-item:hover .title {
    color: #3b82f6;
}

/* 常见问题 - 侧边栏精简设计 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.faq-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.faq-item .faq-icon {
    display: none;
}

.faq-item .faq-content {
    padding: 12px 14px;
    min-width: 0;
    overflow: hidden;
}

.faq-item .faq-content h3,
.faq-item .faq-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #1e293b;
    line-height: 1.4;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    word-break: break-word;
}

.faq-item .faq-content h3::before,
.faq-item .faq-content h4::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
}

.faq-item .faq-content p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    padding-left: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-item.collapsed .faq-content p {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-item.expanded .faq-content p {
    display: block;
}

.faq-item .faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: auto;
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.faq-item.expanded .faq-toggle {
    transform: rotate(180deg);
}

/* 热门标签 */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.tag-item {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 5px 10px;
    font-size: 0.78rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-item:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.tag-item:hover .tag-count {
    background: rgba(255,255,255,0.25);
    color: white;
}

.tag-count {
    background: #e2e8f0;
    color: #94a3b8;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 0.65rem;
}

/* CTA区域 */
.knowledge-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 响应式优化 - 移动端优先设计 */
@media (max-width: 768px) {
    /* 主标题区 */
    .knowledge-hero {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    /* 搜索框移动端优化 */
    .knowledge-search {
        max-width: 100%;
    }
    
    .search-container {
        border-radius: 12px;
    }
    
    .search-input {
        padding: 14px 50px 14px 16px;
        font-size: 0.95rem;
    }
    
    .search-btn {
        width: 42px;
        height: 42px;
        right: 6px;
    }
    
    /* 主要内容布局 */
    .knowledge-content {
        padding: 32px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .main-content {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 专题分类tabs - 横向滚动 */
    .category-tabs {
        margin-bottom: 24px;
    }
    
    .category-tabs .tabs-header {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
        margin-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .category-tabs .tabs-header::-webkit-scrollbar {
        display: none;
    }
    
    .category-tabs .tab-btn {
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        border-radius: 20px;
    }
    
    /* 文章筛选 */
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .articles-title-wrapper {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.35rem;
    }
    
    .current-filter-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .filter-tag-text {
        max-width: 120px;
    }
    
    .articles-filter {
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    /* 文章列表 */
    .articles-list {
        gap: 12px;
    }
    
    /* 文章卡片移动端优化 */
    .article-item {
        flex-direction: column;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .article-cover {
        width: 100%;
        min-width: 100%;
        height: 160px;
        border-radius: 12px 12px 0 0;
        box-sizing: border-box;
    }
    
    .article-info {
        padding: 14px 16px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .article-item .article-title {
        font-size: 1rem;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }
    
    .article-item .article-excerpt {
        font-size: 0.85rem;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }
    
    .article-item .article-meta {
        gap: 8px;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    
    .article-item .article-meta span {
        gap: 4px;
    }
    
    .article-item .article-meta .category {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
    
    /* 侧边栏移动端优化 */
    .sidebar {
        position: static;
        order: 1;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .sidebar-tabs {
        margin-bottom: 24px;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .sidebar-tabs .tabs-header {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .sidebar-tabs .tabs-header::-webkit-scrollbar {
        display: none;
    }
    
    .sidebar-tabs .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 14px 8px;
        font-size: 0.9rem;
    }
    
    .tabs-content {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 热门阅读 */
    .popular-list {
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .popular-item {
        padding: 10px 12px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .popular-item .rank {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .popular-item .title {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* 常见问题 */
    .faq-list {
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .faq-item {
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .faq-item .faq-content {
        padding: 10px 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .faq-item .faq-content h3,
    .faq-item .faq-content h4 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .faq-item .faq-content h3::before,
    .faq-item .faq-content h4::before {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .faq-item .faq-content p {
        font-size: 0.75rem;
        padding-left: 24px;
    }
    
    .faq-item .faq-toggle {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    /* 热门标签 */
    .tags-list {
        gap: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .tag-item {
        padding: 4px 10px;
        font-size: 0.75rem;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .tag-count {
        padding: 1px 4px;
        font-size: 0.6rem;
    }
    
    /* 分页移动端优化 */
    .pagination {
        margin-top: 32px;
        padding: 16px 0;
        gap: 4px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    .pagination-btn.prev,
    .pagination-btn.next {
        padding: 0 12px;
        font-size: 12px;
    }
    
    .pagination-ellipsis {
        font-size: 12px;
    }
    
    /* CTA区域 */
    .knowledge-cta {
        padding: 48px 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .knowledge-hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .search-input {
        padding: 12px 45px 12px 14px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        width: 38px;
        height: 38px;
    }
    
    .knowledge-content {
        padding: 24px 0;
    }
    
    .jx-container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    /* 分类tabs超小屏幕 */
    .category-tabs .tab-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    /* 筛选按钮 */
    .filter-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    /* 文章卡片 */
    .article-cover {
        height: 140px;
    }
    
    .article-info {
        padding: 12px 14px;
    }
    
    .article-item .article-title {
        font-size: 0.95rem;
    }
    
    .article-item .article-excerpt {
        font-size: 0.8rem;
    }
    
    .article-item .article-meta {
        font-size: 0.7rem;
    }
    
    /* 侧边栏tabs */
    .sidebar-tabs .tab-btn {
        padding: 12px 6px;
        font-size: 0.85rem;
    }
    
    .tabs-content {
        padding: 12px;
    }
    
    /* 热门阅读 */
    .popular-item .rank {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }
    
    .popular-item .title {
        font-size: 0.85rem;
    }
    
    /* FAQ */
    .faq-item .faq-content {
        padding: 8px 10px;
    }
    
    .faq-item .faq-content h3,
    .faq-item .faq-content h4 {
        font-size: 0.8rem;
    }
    
    .faq-item .faq-content p {
        font-size: 0.7rem;
        padding-left: 22px;
    }
    
    /* 标签 */
    .tag-item {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    /* 分页 */
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .pagination-btn.prev,
    .pagination-btn.next {
        padding: 0 10px;
        font-size: 11px;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* 通用区块样式 */
.jx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* 文章卡片样式 */
.article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-card .article-image {
    position: relative;
    overflow: hidden;
    background: #f1f5f9;
    height: 200px;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f59e0b;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 24px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #64748b;
}

.article-meta i {
    margin-right: 6px;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #1e293b;
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-content h3 a:hover {
    color: #3b82f6;
}

.article-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-footer .views {
    font-size: 0.9rem;
    color: #94a3b8;
}

.article-footer .read-more {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.article-footer .read-more:hover {
    color: #1e40af;
    transform: translateX(4px);
}

/* 分页样式 - 现代化设计 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    padding: 24px 0;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn.prev,
.pagination-btn.next {
    padding: 0 16px;
}

.pagination-ellipsis {
    color: #94a3b8;
    padding: 0 8px;
    font-size: 14px;
}

/* 文章列表网格布局 */
.articles-list {
    display: grid;
    gap: 20px;
}

/* 加载更多按钮 */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.load-more-btn {
    padding: 14px 48px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #3b82f6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.load-more-btn .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: block;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* 加载状态样式 */
.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loading-placeholder p {
    font-size: 1rem;
    margin: 0;
    color: #94a3b8;
}

/* 文章详情页样式 */
.article-detail {
    max-width: 100%;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e2e8f0;
}

.article-header .article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-header .article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.article-header .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-header .article-meta i {
    color: #94a3b8;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #1e293b;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1e293b;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul, .article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-content figure {
    margin: 20px 0;
}

.article-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 8px;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    background: #f8fafc;
    padding: 16px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #475569;
}

.article-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* 响应式优化 - 移动端文章详情 */
@media (max-width: 768px) {
    .article-header .article-title {
        font-size: 1.75rem;
    }
    
    .article-header .article-meta {
        gap: 12px;
    }
    
    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-content img {
        margin: 16px auto;
    }
    
    .article-content pre {
        padding: 16px;
        font-size: 0.9rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}