  /* 全局样式重置（与首页/列表页保持一致） */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans SC', sans-serif;
        }

        /* 全局变量（与首页/列表页保持一致） */
        :root {
            --primary-color: #1E40AF; /* 主色调-深蓝 */
            --secondary-color: #5A8DFF; /* 辅助色-浅蓝 */
            --light-gray: #F5F7FA; /* 浅灰背景 */
            --dark-gray: #333333; /* 深灰文字 */
            --medium-gray: #666666; /* 中灰文字 */
            --white: #FFFFFF; /* 白色 */
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* 阴影效果 */
            --radius: 8px; /* 圆角 */
            --transition: all 0.3s ease; /* 过渡效果 */
            --border-color: #E5E7EB; /* 边框色 */
            --warning-color: #F59E0B; /* 警告色 */
        }

        body {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            line-height: 1.8;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 新增：顶部栏目通栏 */
        .banner {
            width: 100%;
            height: 180px;
            background: linear-gradient(rgba(30, 64, 175, 0.8), rgba(30, 64, 175, 0.9)), 
                        url('https://picsum.photos/seed/banner/1920/400') center/cover no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            margin-bottom: 20px;
        }

        .banner-title {
            font-size: 36px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        /* 顶部导航栏（与首页/列表页完全一致） */
        .header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 999;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .logo i {
            font-size: 26px;
        }

        .nav-menu {
            display: flex;
            gap: 30px;
        }

        .nav-item {
            font-size: 16px;
            font-weight: 500;
            color: var(--dark-gray);
            position: relative;
        }

        .nav-item:hover {
            color: var(--primary-color);
        }

        .nav-item::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

        .nav-item:hover::after {
            width: 100%;
        }

        .mobile-menu {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* 搜索框样式（增强功能，支持实时搜索） */
        .search-box {
            display: flex;
            align-items: center;
            position: relative;
            width: 300px;
        }

        .search-input {
            width: 100%;
            padding: 8px 15px 8px 40px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
            font-size: 14px;
            transition: var(--transition);
        }

        .search-input:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(90, 141, 255, 0.2);
        }

        .search-box i {
            position: absolute;
            left: 15px;
            color: var(--medium-gray);
            font-size: 16px;
        }

        /* 搜索建议下拉框 */
        .search-suggest {
            position: absolute;
            top: 45px;
            left: 0;
            width: 100%;
            background-color: var(--white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 10px 0;
            display: none;
            z-index: 999;
        }

        .search-suggest.show {
            display: block;
        }

        .suggest-item {
            padding: 8px 15px;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .suggest-item:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }

        /* 面包屑导航（与列表页一致） */
        .breadcrumb {
            padding: 20px 0;
            font-size: 14px;
            color: var(--medium-gray);
        }

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

        .breadcrumb a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

        .breadcrumb span {
            margin: 0 8px;
        }

        /* 详情页主体布局 */
        .main-content {
            display: flex;
            gap: 30px;
            margin: 20px 0 60px;
        }

        /* 左侧文章主体区（2/3） */
        .article-area {
            flex: 2;
        }

        /* 文章头部信息 */
        .article-header {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow);
            margin-bottom: 20px;
        }

        .article-title {
            font-size: 28px;
            font-weight: 700;
            color: var(--dark-gray);
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
            color: #999;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 20px;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .article-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .article-tag {
            padding: 5px 12px;
            background-color: rgba(30, 64, 175, 0.1);
            color: var(--primary-color);
            border-radius: 20px;
            font-size: 13px;
        }

        /* 文章内容区 */
        .article-content {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow);
            font-size: 16px;
            color: var(--dark-gray);
        }

        .content-section {
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-color);
            margin: 30px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--light-gray);
        }

        .content-section p {
            margin-bottom: 15px;
            text-align: justify;
        }

        .content-section img {
            max-width: 100%;
            border-radius: var(--radius);
            margin: 20px 0;
            box-shadow: var(--shadow);
        }

        .content-section ul, .content-section ol {
            margin: 15px 0 15px 25px;
        }

        .content-section li {
            margin-bottom: 10px;
        }

        .tip-box {
            background-color: rgba(245, 158, 11, 0.1);
            border-left: 4px solid var(--warning-color);
            padding: 15px 20px;
            border-radius: 0 var(--radius) var(--radius) 0;
            margin: 20px 0;
        }

        .tip-title {
            font-weight: 700;
            color: var(--warning-color);
            margin-bottom: 8px;
        }

        /* 文章底部操作区 */
        .article-actions {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 20px 30px;
            box-shadow: var(--shadow);
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .action-buttons {
            display: flex;
            gap: 20px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: var(--medium-gray);
            cursor: pointer;
        }

        .action-btn:hover {
            color: var(--primary-color);
        }

        /* 新增：上一篇下一篇导航样式 */
        .article-nav {
            background-color: var(--white);
            border-radius: var(--radius);
            padding: 20px 30px;
            box-shadow: var(--shadow);
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 2px solid var(--primary-color);
        }

        .nav-prev, .nav-next {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 15px;
        }

        .nav-prev i, .nav-next i {
            color: var(--primary-color);
            font-size: 18px;
        }

        .nav-prev a, .nav-next a {
            color: var(--dark-gray);
            transition: var(--transition);
        }

        .nav-prev a:hover, .nav-next a:hover {
            color: var(--primary-color);
            text-decoration: underline;
        }

        /* 右侧侧边栏（1/3） */
        .sidebar {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        /* 侧边栏通用样式 */
        .sidebar-card {
            background-color: var(--white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .sidebar-card-header {
            padding: 15px 20px;
            background-color: var(--primary-color);
            color: var(--white);
            font-size: 18px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebar-card-body {
            padding: 20px;
        }

        /* 热门推荐（替代相关推荐） */
        .hot-recommend-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .hot-item {
            display: flex;
            gap: 15px;
            transition: var(--transition);
            padding: 8px 0;
            border-bottom: 1px dashed var(--border-color);
        }

        .hot-item:last-child {
            border-bottom: none;
        }

        .hot-item:hover {
            transform: translateX(5px);
        }

        .hot-item-img {
            width: 80px;
            height: 60px;
            border-radius: var(--radius);
            object-fit: cover;
            flex-shrink: 0;
        }

        .hot-item-content {
            flex: 1;
        }

        .hot-item-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .hot-item-hits {
            font-size: 12px;
            color: #999;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* 热门标签 */
        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-item {
            padding: 8px 16px;
            background-color: var(--light-gray);
            border-radius: 20px;
            font-size: 14px;
            color: var(--medium-gray);
            transition: var(--transition);
        }

        .tag-item:hover {
            background-color: var(--secondary-color);
            color: var(--white);
            transform: translateY(-2px);
        }

        /* 底部区域（与首页/列表页完全一致） */
        .footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 60px 0 30px;
            margin-top: 40px;
        }

        .footer-top {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--secondary-color);
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-link {
            font-size: 14px;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-link:hover {
            opacity: 1;
            transform: translateX(5px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            opacity: 0.7;
        }

        /* 底部长尾关键词区 */
        .footer-keywords {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-keywords-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 15px;
        }

        .keywords-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .keyword-item {
            padding: 8px 16px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            font-size: 14px;
            color: var(--white);
            opacity: 0.8;
            transition: var(--transition);
        }

        .keyword-item:hover {
            opacity: 1;
            background-color: var(--secondary-color);
            transform: translateY(-2px);
        }

        /* 自适应样式（针对详情页优化） */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }

            .article-title {
                font-size: 24px;
            }

            .section-title {
                font-size: 20px;
            }

            .banner-title {
                font-size: 28px;
            }

            .banner {
                height: 150px;
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .mobile-menu {
                display: block;
            }

            .search-box {
                width: 200px;
            }

            .article-header, .article-content, .article-actions {
                padding: 20px;
            }

            .article-actions {
                flex-direction: column;
                gap: 20px;
                align-items: flex-start;
            }

            /* 上一篇下一篇自适应 */
            .article-nav {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
                padding: 15px 20px;
            }

            .banner-title {
                font-size: 24px;
            }

            .banner {
                height: 120px;
            }
        }

        @media (max-width: 576px) {
            .logo span {
                display: none;
            }

            .search-box {
                width: 150px;
            }

            .article-title {
                font-size: 20px;
            }

            .article-content {
                font-size: 15px;
            }

            .hot-item {
                flex-direction: column;
                gap: 10px;
            }

            .hot-item-img {
                width: 100%;
                height: auto;
            }

            .banner-title {
                font-size: 20px;
            }

            .banner {
                height: 100px;
            }
        }