
        :root {
            --primary-color: #0066cc;
            --primary-dark: #0052a3;
            --secondary-color: #00a8ff;
            --light-color: #f8f9fa;
            --dark-color: #333;
            --gray-color: #6c757d;
            --border-color: #e9ecef;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Noto Sans SC', 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
            background-color: #fff;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        
        ul {
            list-style: none;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .section {
            padding: 80px 0;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 4px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
        
        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: var(--shadow);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
        }
        
        .btn-outline:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* 头部样式 */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            padding: 15px 0;
            transition: var(--transition);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .logo i {
            margin-right: 10px;
            font-size: 2rem;
        }
        
        .nav-menu {
            display: flex;
        }
        
        .nav-menu li {
            margin-left: 30px;
        }
        
        .nav-menu a {
            font-weight: 500;
            position: relative;
            padding: 5px 0;
        }
        
        .nav-menu a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .nav-menu a:hover:after,
        .nav-menu a.active:after {
            width: 100%;
        }
        
        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--primary-color);
        }
        
        .mobile-toggle {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary-color);
        }
        
        /* 面包屑导航 */
        .breadcrumb {
            background-color: var(--light-color);
            padding: 20px 0;
            margin-top: 80px;
        }
        
        .breadcrumb-content {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .breadcrumb a {
            color: var(--gray-color);
            margin-right: 10px;
        }
        
        .breadcrumb a:hover {
            color: var(--primary-color);
        }
        
        .breadcrumb span {
            margin-right: 10px;
            color: var(--gray-color);
        }
        
        .breadcrumb .current {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        /* 文章详情页主要内容 */
        .article-detail-main {
            padding: 60px 0;
        }
        
        .article-layout {
            display: flex;
            gap: 40px;
        }
        
        /* 左侧文章内容 */
        .article-content {
            flex: 1;
            min-width: 0;
        }
        
        /* 文章头部 */
        .article-header {
            margin-bottom: 40px;
        }
        
        .article-category {
            display: inline-block;
            padding: 8px 15px;
            background-color: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 20px;
        }
        
        .article-title {
            font-size: 2.5rem;
            line-height: 1.3;
            margin-bottom: 20px;
        }
        
        .article-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
            padding-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            color: var(--gray-color);
            font-size: 0.95rem;
        }
        
        .meta-item i {
            margin-right: 8px;
            color: var(--primary-color);
        }
        
        .author-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }
        
        /* 文章特色图片 */
        .article-featured-image {
            margin-bottom: 40px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .article-featured-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 文章正文 */
        .article-body {
            font-size: 1.1rem;
            line-height: 1.8;
        }
        
        .article-body h2 {
            font-size: 1.8rem;
            margin-top: 40px;
            margin-bottom: 20px;
            color: var(--dark-color);
        }
        
        .article-body h3 {
            font-size: 1.5rem;
            margin-top: 30px;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .article-body p {
            margin-bottom: 20px;
        }
        
        .article-body ul, .article-body ol {
            margin-bottom: 20px;
            padding-left: 20px;
        }
        
        .article-body ul li, .article-body ol li {
            margin-bottom: 10px;
        }
        
        .article-body blockquote {
            border-left: 4px solid var(--primary-color);
            padding: 20px 30px;
            margin: 30px 0;
            background-color: var(--light-color);
            font-style: italic;
            font-size: 1.2rem;
            line-height: 1.6;
        }
        
        .article-body img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 30px 0;
            box-shadow: var(--shadow);
        }
        
        /* 文章标签 */
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        
        .article-tags .tag {
            padding: 8px 15px;
            background-color: var(--light-color);
            border-radius: 30px;
            font-size: 0.9rem;
            transition: var(--transition);
        }
        
        .article-tags .tag:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* 文章分享 */
        .article-share {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        
        .share-text {
            font-weight: 500;
        }
        
        .share-icons {
            display: flex;
            gap: 10px;
        }
        
        .share-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--light-color);
            color: var(--dark-color);
            transition: var(--transition);
        }
        
        .share-icon:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }
        
        /* 文章导航 */
        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }
        
        .nav-prev, .nav-next {
            max-width: 45%;
        }
        
        .nav-label {
            font-size: 0.9rem;
            color: var(--gray-color);
            margin-bottom: 10px;
        }
        
        .nav-title {
            font-weight: 500;
            color: var(--dark-color);
            transition: var(--transition);
        }
        
        .nav-title:hover {
            color: var(--primary-color);
        }
        
        /* 相关文章 */
        .related-articles {
            margin-top: 60px;
        }
        
        .related-articles h3 {
            font-size: 1.8rem;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--border-color);
            position: relative;
        }
        
        .related-articles h3:after {
            content: '';
            position: absolute;
            width: 60px;
            height: 2px;
            background-color: var(--primary-color);
            bottom: -2px;
            left: 0;
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .related-item {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .related-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .related-img {
            height: 180px;
            overflow: hidden;
        }
        
        .related-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .related-item:hover .related-img img {
            transform: scale(1.05);
        }
        
        .related-content {
            padding: 20px;
        }
        
        .related-category {
            display: inline-block;
            padding: 5px 10px;
            background-color: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 10px;
        }
        
        .related-title {
            font-size: 1.1rem;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .related-title a:hover {
            color: var(--primary-color);
        }
        
        /* 右侧侧边栏 */
        .article-sidebar {
            flex: 0 0 300px;
        }
        
        @media (max-width: 992px) {
            .article-sidebar {
                display: none;
            }
        }
        
        .sidebar-widget {
            background-color: white;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
        }
        
        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--border-color);
            position: relative;
        }
        
        .sidebar-widget h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
            bottom: -2px;
            left: 0;
        }
        
        /* 热门文章 */
        .popular-articles li {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .popular-articles li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .popular-article-content h4 {
            font-size: 1rem;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        
        .popular-article-content h4 a:hover {
            color: var(--primary-color);
        }
        
        .popular-article-meta {
            font-size: 0.85rem;
            color: var(--gray-color);
            display: flex;
            justify-content: space-between;
        }
        
        /* 标签云 */
        .tags-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag {
            padding: 6px 12px;
            background-color: var(--light-color);
            border-radius: 30px;
            font-size: 0.85rem;
            transition: var(--transition);
        }
        
        .tag:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
        
        /* 移动端侧边栏按钮 */
        .mobile-sidebar-toggle {
            display: none;
            margin-bottom: 20px;
            width: 100%;
            text-align: center;
        }
        
        @media (max-width: 992px) {
            .mobile-sidebar-toggle {
                display: block;
            }
        }
        
        /* 移动端侧边栏 */
        .mobile-sidebar {
            display: none;
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            background-color: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 1001;
            padding: 80px 20px 20px;
            overflow-y: auto;
            transition: var(--transition);
        }
        
        .mobile-sidebar.active {
            right: 0;
        }
        
        .mobile-sidebar-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
        }
        
        /* 页脚 */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 70px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }
        
        .footer-column h3 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        
        .contact-info li {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .contact-info i {
            margin-right: 15px;
            color: var(--secondary-color);
            font-size: 1.2rem;
            margin-top: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .article-layout {
                flex-direction: column;
                gap: 30px;
            }
            
            .article-title {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
                z-index: 999;
            }
            
            .nav-menu.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            .nav-menu li {
                margin: 15px 0;
            }
            
            .mobile-toggle {
                display: block;
            }
            
            .article-title {
                font-size: 1.8rem;
            }
            
            .article-meta {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .article-navigation {
                flex-direction: column;
                gap: 20px;
            }
            
            .nav-prev, .nav-next {
                max-width: 100%;
            }
            
            .related-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 576px) {
            .article-detail-main {
                padding: 40px 0;
            }
            
            .article-title {
                font-size: 1.6rem;
            }
            
            .article-body h2 {
                font-size: 1.5rem;
            }
            
            .article-body h3 {
                font-size: 1.3rem;
            }
            
            .share-icons {
                flex-wrap: wrap;
            }
        }
        
        /* 目录导航（如果需要可以启用） */
        .toc-container {
            position: sticky;
            top: 100px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
            padding: 20px;
            background-color: white;
            border-radius: 8px;
            box-shadow: var(--shadow);
        }
        
        .toc-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .toc-list {
            list-style: none;
        }
        
        .toc-list li {
            margin-bottom: 10px;
        }
        
        .toc-list a {
            color: var(--gray-color);
            font-size: 0.95rem;
            transition: var(--transition);
        }
        
        .toc-list a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

/* 相关文章链接样式 */
.related-item-link {
    display: block;
    text-decoration: none;
}

