/* 文章详情页主体内容样式 */
.article-content {
    font-size: 18px;      /* 基础字体18px，适合阅读 */
    line-height: 1.8;     /* 增加行高，提升可读性 */
    color: #2c3e50;
}

/* 段落字体 */
.article-content p {
    font-size: 18px;
    margin-bottom: 1.2em;
    text-align: justify;
}

/* 标题字体放大 */
.article-content h1,
.article-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    margin: 25px 0 15px;
}

.article-content h3 {
    font-size: 20px;
    margin: 20px 0 12px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .article-content {
        font-size: 16px;
    }
    .article-content p {
        font-size: 16px;
    }
    .article-content h1 {
        font-size: 24px;
    }
    .article-content h2 {
        font-size: 20px;
    }
    .article-content h3 {
        font-size: 18px;
    }
}
/* 强制覆盖系统样式 - 添加到您的CSS末尾 */
.nav-bar .nav-menu .nav-link {
    font-size: var(--text-base) !important;  /* 使用!important确保覆盖 */
    line-height: 1.6 !important;
}

/* 如果系统使用了.menu类，也要覆盖 */
.nav-bar .menu .nav-link,
.nav-bar .top-nav .nav-link {
    font-size: var(--text-base) !important;
    line-height: 1.6 !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-bar .nav-menu .nav-link {
        font-size: 16px !important;  /* 移动端固定大小 */
    }
}
/* ===== 修复中科汇联系统底部字体问题 ===== */
/* 强制覆盖底部所有文字元素 */
footer,
footer *,
.footer-inner,
.footer-inner *,
.footer-main,
.footer-main *,
.contact-info,
.contact-info p,
.footer-links,
.link-title,
.dropup,
.dropup-btn,
.dropup-content a,
.copyright {
    font-size: var(--text-base) !important;  /* 恢复您设定的基础字体大小 */
    line-height: 1.6 !important;
}

/* 单独调整特定元素的字体（如需要） */
.contact-info p:first-child {
    font-size: var(--text-lg) !important;  /* “联系我们”保持大号 */
    font-weight: 600 !important;
}

.link-title {
    font-size: var(--text-lg) !important;  /* “友情链接”标题 */
    font-weight: 600 !important;
}

.dropup-btn {
    font-size: var(--text-sm) !important;  /* 下拉按钮保持小号 */
}

.dropup-content a {
    font-size: var(--text-sm) !important;  /* 下拉菜单链接 */
}

.copyright {
    font-size: var(--text-sm) !important;  /* 版权信息 */
}

/* 确保友情链接上拉菜单的字体不受影响 */
.dropup-content.show a {
    font-size: var(--text-sm) !important;
}
/* ===== 修复中科汇联系统面包屑导航字体问题 ===== */
/* 强制覆盖面包屑所有元素 */
.breadcrumb,
.breadcrumb *,
.breadcrumb a,
.breadcrumb span,
.breadcrumb .current,
.breadcrumb .separator {
    font-size: var(--text-sm) !important;  /* 使用您设定的sm字体大小 */
    line-height: 1.6 !important;
}

/* 确保链接颜色和悬停效果不受影响 */
.breadcrumb a {
    color: var(--primary) !important;
    text-decoration: none !important;
}

.breadcrumb a:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline !important;
}

.breadcrumb span {
    color: var(--text-light) !important;
}

/* 如果面包屑有当前页高亮 */
.breadcrumb .current {
    color: var(--text-dark) !important;
    font-weight: 500 !important;
}
/* ===== 现代化设计变量 ===== */
        :root {
            --primary: #1a5a8c;
            --primary-dark: #0d3b5e;
            --primary-light: #3d8fc9;
            --primary-gradient: linear-gradient(135deg, #1a5a8c 0%, #3d8fc9 100%);
            --primary-soft: rgba(26, 90, 140, 0.12);
            --nav-bg-glass: rgba(26, 90, 140, 0.9);
            --bg-light: #f2f5f9;
            --bg-white: #ffffff;
            --bg-card: rgba(255, 255, 255, 0.95);
            --text-dark: #0a1a2a;
            --text-light: #2c3e50;
            --text-white: #ffffff;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 10px 20px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 30px rgba(0,0,0,0.12);
            --shadow-hover: 0 30px 40px -10px rgba(26, 90, 140, 0.3);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 32px;
            --radius-full: 9999px;
            --text-xs: clamp(0.75rem, 0.8vw, 1rem);
            --text-sm: clamp(0.875rem, 0.9vw, 1.1rem);
            --text-base: clamp(1rem, 1vw, 1.25rem);
            --text-lg: clamp(1.125rem, 1.2vw, 1.5rem);
            --text-xl: clamp(1.25rem, 1.5vw, 1.75rem);
            --text-2xl: clamp(1.5rem, 2vw, 2.25rem);
            --text-3xl: clamp(1.875rem, 2.5vw, 3rem);
            --space-1: clamp(0.25rem, 0.3vw, 0.5rem);
            --space-2: clamp(0.5rem, 0.6vw, 0.75rem);
            --space-3: clamp(0.75rem, 0.8vw, 1rem);
            --space-4: clamp(1rem, 1.2vw, 1.5rem);
            --space-6: clamp(1.5rem, 1.8vw, 2.25rem);
            --space-8: clamp(2rem, 2.4vw, 3rem);
            --space-12: clamp(3rem, 3.6vw, 4.5rem);
            --space-16: clamp(4rem, 4.8vw, 6rem);
            --max-width: min(1600px, 90vw);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            font-size: var(--text-base);
            font-weight: 400;
        }

        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-6);
        }

        /* ===== 头部 ===== */
        .header {
            background: var(--bg-white);
            box-shadow: var(--shadow-md);
            border-bottom: 1px solid rgba(26, 90, 140, 0.1);
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-4) 0;
            flex-wrap: wrap;
            gap: var(--space-4);
        }

        .logo img {
            height: clamp(50px, 6vh, 80px);
            width: auto;
            display: block;
        }

        .search-form {
            display: flex;
            max-width: clamp(300px, 30vw, 500px);
            background: var(--bg-light);
            border-radius: var(--radius-full);
            padding: 4px;
            border: 1px solid rgba(26, 90, 140, 0.15);
        }

        .search-input {
            flex: 1;
            padding: var(--space-3) var(--space-4);
            border: none;
            border-radius: var(--radius-full);
            outline: none;
            background: transparent;
            color: var(--text-dark);
            font-size: var(--text-base);
        }

        .search-btn {
            padding: var(--space-3) var(--space-6);
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: var(--radius-full);
            cursor: pointer;
            font-weight: 600;
            font-size: var(--text-sm);
            transition: 0.3s;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(26,90,140,0.3);
        }

        .search-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px rgba(26,90,140,0.4);
        }

        /* ===== 导航 ===== */
        .nav-bar {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--nav-bg-glass);
            backdrop-filter: blur(12px) saturate(180%);
            box-shadow: 0 4px 20px rgba(26,90,140,0.25);
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-6);
        }

        .nav-toggle {
            display: none;
            color: white;
            font-size: 28px;
            cursor: pointer;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: var(--space-2);
        }

        .nav-link {
            display: block;
            padding: var(--space-3) var(--space-4);
            color: white;
            font-weight: 600;
            text-decoration: none;
            border-radius: var(--radius-full);
            transition: 0.3s;
            text-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }

        .nav-link:hover {
            background: rgba(255,255,255,0.25);
            transform: translateY(-1px);
        }

        .nav-item {
            position: relative;
        }

        .nav-item::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 20px;
            background: transparent;
        }

        .dropdown-content {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            min-width: 240px;
            background: rgba(255,255,255,0.98);
            backdrop-filter: blur(12px);
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 30px rgba(26,90,140,0.25);
            padding: var(--space-2);
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            border: 1px solid rgba(255,255,255,0.3);
            z-index: 1000;
        }

        .nav-item:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .dropdown-content a {
            display: block;
            padding: var(--space-3) var(--space-4);
            color: var(--text-dark);
            text-decoration: none;
            border-radius: var(--radius-sm);
            font-size: var(--text-sm);
            transition: 0.2s;
        }

        .dropdown-content a:hover {
            background: var(--primary-soft);
            color: var(--primary-dark);
            transform: translateX(4px);
        }

        /* ===== 页面内部Banner ===== */
        .page-banner {
            height: clamp(200px, 25vh, 280px);
            background: linear-gradient(105deg, #0d3b5e 0%, #1a5a8c 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            margin-bottom: var(--space-8);
        }

        .page-banner::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url('/ats/uiFramework/commonResource/image/2026033013361588931.jpg') center/cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: overlay;
        }

        .banner-title {
            position: relative;
            z-index: 2;
            font-size: var(--text-2xl);
            font-weight: 700;
            text-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .banner-title small {
            display: block;
            font-size: var(--text-base);
            font-weight: 400;
            margin-top: var(--space-2);
            opacity: 0.9;
        }

        /* ===== 面包屑 ===== */
        .breadcrumb {
            display: flex;
            gap: var(--space-2);
            margin: var(--space-4) 0 var(--space-6);
            color: var(--text-light);
            font-size: var(--text-sm);
        }

        .breadcrumb a {
            color: var(--primary);
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb span {
            color: var(--text-light);
        }

        /* ===== 文章内容区域 ===== */
        .article-wrapper {
            display: flex;
            gap: var(--space-8);
            margin: var(--space-8) 0 var(--space-16);
        }

        .article-main {
            flex: 1;
            min-width: 0;
        }

        .article-card {
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            padding: var(--space-8);
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(26, 90, 140, 0.1);
        }

        .article-header {
            margin-bottom: var(--space-6);
            border-bottom: 2px solid rgba(26, 90, 140, 0.1);
            padding-bottom: var(--space-6);
        }

        .article-title {
            font-size: var(--text-3xl);
            font-weight: 700;
            color: var(--primary-dark);
            line-height: 1.3;
            margin-bottom: var(--space-4);
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-6);
            color: var(--text-light);
            font-size: var(--text-sm);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: var(--space-1);
        }

        .article-meta i {
            font-style: normal;
            font-size: var(--text-base);
        }

        .article-feature-img {
            margin-bottom: var(--space-8);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .article-feature-img img {
            width: 100%;
            height: auto;
            display: block;
        }

        .article-content {
            color: var(--text-dark);
            line-height: 1.8;
        }

        .article-content p {
            margin-bottom: var(--space-6);
            text-align: justify;
        }

        .article-content h2 {
            font-size: var(--text-xl);
            color: var(--primary-dark);
            margin: var(--space-8) 0 var(--space-4);
            padding-left: var(--space-3);
            border-left: 4px solid var(--primary);
        }

        .article-content h3 {
            font-size: var(--text-lg);
            color: var(--primary);
            margin: var(--space-6) 0 var(--space-3);
        }

        .article-content ul, 
        .article-content ol {
            margin: var(--space-4) 0 var(--space-4) var(--space-8);
        }

        .article-content li {
            margin-bottom: var(--space-2);
        }

        .article-content blockquote {
            background: var(--primary-soft);
            border-left: 4px solid var(--primary);
            padding: var(--space-4) var(--space-6);
            margin: var(--space-6) 0;
            border-radius: var(--radius-md);
            font-style: italic;
            color: var(--text-light);
        }

        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            margin: var(--space-6) 0;
            box-shadow: var(--shadow-md);
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-2);
            margin: var(--space-8) 0 var(--space-6);
            padding-top: var(--space-6);
            border-top: 1px solid rgba(26, 90, 140, 0.1);
        }

        .tag {
            background: var(--primary-soft);
            color: var(--primary-dark);
            padding: var(--space-1) var(--space-3);
            border-radius: var(--radius-full);
            font-size: var(--text-xs);
            font-weight: 500;
        }

        .article-share {
            display: flex;
            align-items: center;
            gap: var(--space-4);
            margin-top: var(--space-4);
            padding-top: var(--space-4);
            border-top: 1px solid rgba(26, 90, 140, 0.1);
        }

        .share-title {
            font-size: var(--text-sm);
            color: var(--text-light);
        }

        .share-btn {
            display: inline-flex;
            align-items: center;
            gap: var(--space-2);
            padding: var(--space-2) var(--space-4);
            background: var(--bg-light);
            border-radius: var(--radius-full);
            text-decoration: none;
            color: var(--text-dark);
            font-size: var(--text-sm);
            transition: 0.3s;
        }

        .share-btn:hover {
            background: var(--primary-soft);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .article-nav {
            display: flex;
            justify-content: space-between;
            margin-top: var(--space-8);
            padding-top: var(--space-6);
            border-top: 1px solid rgba(26, 90, 140, 0.1);
        }

        .nav-prev, .nav-next {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            text-decoration: none;
            color: var(--text-dark);
            transition: 0.3s;
            max-width: 45%;
        }

        .nav-prev:hover, .nav-next:hover {
            color: var(--primary);
            transform: translateX(-4px);
        }

        .nav-next:hover {
            transform: translateX(4px);
        }

        .nav-label {
            font-size: var(--text-xs);
            color: var(--text-light);
        }

        .nav-title {
            font-size: var(--text-sm);
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* ===== 右侧侧边栏 ===== */
        .article-sidebar {
            width: 320px;
            flex-shrink: 0;
        }

        .sidebar-card {
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            padding: var(--space-6);
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(26, 90, 140, 0.1);
            margin-bottom: var(--space-6);
        }

        .sidebar-title {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            margin-bottom: var(--space-4);
            padding-bottom: var(--space-3);
            border-bottom: 2px solid rgba(26, 90, 140, 0.15);
        }

        .sidebar-title .title-bar {
            width: 4px;
            height: 20px;
            background: var(--primary-gradient);
            border-radius: var(--radius-full);
        }

        .sidebar-title h3 {
            font-size: var(--text-lg);
            font-weight: 600;
            color: var(--primary-dark);
        }

        .author-info {
            text-align: center;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto var(--space-4);
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-name {
            font-size: var(--text-lg);
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: var(--space-1);
        }

        .author-bio {
            font-size: var(--text-sm);
            color: var(--text-light);
            margin-top: var(--space-3);
        }

        .related-list {
            list-style: none;
        }

        .related-list li {
            margin-bottom: var(--space-3);
            padding-bottom: var(--space-3);
            border-bottom: 1px solid rgba(26, 90, 140, 0.1);
        }

        .related-list a {
            text-decoration: none;
            display: flex;
            gap: var(--space-3);
            transition: 0.3s;
        }

        .related-list a:hover {
            transform: translateX(4px);
        }

        .related-img {
            width: 70px;
            height: 70px;
            flex-shrink: 0;
            border-radius: var(--radius-md);
            overflow: hidden;
        }

        .related-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .related-info h4 {
            font-size: var(--text-sm);
            font-weight: 500;
            color: var(--text-dark);
            line-height: 1.4;
            margin-bottom: var(--space-1);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-info .date {
            font-size: var(--text-xs);
            color: var(--text-light);
        }

        /* ===== 底部 ===== */
        footer {
            background: #0d3b5e;
            color: rgba(255,255,255,0.95);
            padding: var(--space-16) 0 var(--space-8);
            margin-top: var(--space-16);
        }

        .footer-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--space-6);
        }

        .footer-main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-12);
            flex-wrap: wrap;
            gap: var(--space-8);
        }

        .footer-left img {
            width: 100px;
            height: auto;
        }

        .contact-info p {
            margin: var(--space-2) 0;
        }

        .back-top {
            width: clamp(48px,5vw,60px);
            height: clamp(48px,5vw,60px);
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: white;
            transition: 0.3s;
            font-size: 28px;
        }

        .back-top:hover {
            background: var(--primary-light);
            transform: scale(1.1);
        }

        .footer-links {
            border-top: 1px solid rgba(255,255,255,0.2);
            padding-top: var(--space-12);
        }

        .link-title {
            font-size: var(--text-lg);
            font-weight: 600;
            margin-bottom: var(--space-6);
            color: white;
        }

        .dropup-container {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-4);
        }

        .dropup {
            position: relative;
            flex: 1;
            min-width: 200px;
        }

        .dropup-btn {
            width: 100%;
            padding: var(--space-3) var(--space-4);
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.25);
            border-radius: var(--radius-full);
            color: white;
            display: flex;
            justify-content: space-between;
            cursor: pointer;
        }

        .dropup-content {
            position: absolute;
            bottom: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: var(--radius-lg);
            margin-bottom: var(--space-2);
            display: none;
            box-shadow: var(--shadow-xl);
            z-index: 1000;
        }

        .dropup-content.show {
            display: block;
        }

        .dropup-content a {
            display: block;
            padding: var(--space-3) var(--space-4);
            color: var(--text-dark);
            text-decoration: none;
            border-bottom: 1px solid rgba(26,90,140,0.1);
        }

        .dropup-content a:hover {
            background: var(--primary-soft);
        }

        .copyright {
            text-align: center;
            margin-top: var(--space-12);
            padding-top: var(--space-8);
            border-top: 1px solid rgba(255,255,255,0.2);
            font-size: var(--text-sm);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 992px) {
            .article-wrapper {
                flex-direction: column;
            }
            .article-sidebar {
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--nav-bg-glass);
                padding: var(--space-4);
            }
            .nav-menu.active {
                display: flex;
            }
            .dropdown-content {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                background: rgba(255,255,255,0.15);
                display: none;
            }
            .nav-item.active .dropdown-content {
                display: block;
            }
            .article-title {
                font-size: var(--text-xl);
            }
            .article-card {
                padding: var(--space-6);
            }
            .article-nav {
                flex-direction: column;
                gap: var(--space-4);
            }
            .nav-prev, .nav-next {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .header-inner {
                flex-direction: column;
            }
            .search-form {
                max-width: 100%;
            }
            .article-meta {
                gap: var(--space-3);
                flex-direction: column;
            }
        }
        /* ===== 分类切换卡 ===== */
        .category-card {
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            padding: var(--space-6);
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(26, 90, 140, 0.1);
            margin-bottom: var(--space-6);
        }

        .category-title {
            display: flex;
            align-items: center;
            gap: var(--space-2);
            margin-bottom: var(--space-4);
            padding-bottom: var(--space-3);
            border-bottom: 2px solid rgba(26, 90, 140, 0.15);
        }

        .category-title .title-bar {
            width: 4px;
            height: 20px;
            background: var(--primary-gradient);
            border-radius: var(--radius-full);
        }

        .category-title h3 {
            font-size: var(--text-lg);
            font-weight: 600;
            color: var(--primary-dark);
        }

        .category-list {
            list-style: none;
        }

        .category-list li {
            margin-bottom: var(--space-2);
        }

        .category-list a {
            display: block;
            padding: var(--space-2) var(--space-3);
            color: var(--text-light);
            text-decoration: none;
            border-radius: var(--radius-full);
            transition: 0.3s;
            font-size: var(--text-sm);
        }

        .category-list a:hover {
            background: var(--primary-soft);
            color: var(--primary-dark);
            transform: translateX(4px);
        }

        .category-list .active a {
            background: var(--primary-gradient);
            color: white;
            font-weight: 500;
        }