 /* 全局样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
       
        body {
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            line-height: 1.5; /* 增加行高提高可读性 */
            color: #2c3e50;
            margin: 0 !important;
            padding: 0 !important;

            /* 背景图片设置 */
            background-repeat: no-repeat; /* 不重复显示 */
            background-position: center center; /* 居中显示 */
            background-size: cover; /* 覆盖整个区域 */
            background-attachment: fixed; /* 背景固定不滚动 */

            /* 统一背景颜色（浅米色，符合档案馆气质） */
            background-color: #F5F0E6;
        }
        
        .container {
            max-width: 1200px; /* 减小最大宽度，使内容更集中 */
            margin: 0 auto;
            padding: 15px 20px;
            background-color: #f9f5f0;
            border-radius: 8px; /* 减小圆角 */
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); /* 减小阴影 */
        }
        
        h1 {
            color: #5d4037;
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #8d6e63;
        }
        
        .description {
            background-color: #efebe9;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 30px;
            border-left: 4px solid #8d6e63;
        }
        
        /* 导航栏样式 */
        #header {
            background: url('') center/cover, linear-gradient(135deg, rgba(245, 240, 230, 0.6) 0%, rgba(232, 220, 208, 0.7) 100%);
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            margin-bottom: 15px; /* 减少底部边距 */
        }
        
        nav {
            padding: 0 15px;
        }
        
        .nav-container {
            display: flex;
            align-items: center;
            justify-content:space-between;
            padding: 10px 0; /* 调整上下内边距 */
            min-height: 145px; /* 减小最小高度，使导航栏更紧凑 */
        }
        .menu-wrapper1 {
            display: flex;
            align-items: center;
            flex-grow: 1; /* 让菜单区域占据剩余空间 */
            justify-content: space-between; /* 菜单右对齐 */
            margin-left: 30px; /* 增加菜单左侧边距，与logo分开 */
        }
        
        /* 网站logo样式及边距 */
       
           display: flex;
           margin-right: 15px;
           background-color: rgba(255, 255, 255, 0);
           border-radius: 6px;
           padding: 5px 15px;           /* 保持原有内边距 */
           box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
           align-items: center;         /* 垂直居中 */
           height: 100%;                /* 继承父容器高度 */

        }
        
        .logo {
            width: auto; /* 改为自动宽度 */
            height: auto; /* 改为自动高度 */
            display: flex;
            padding: 5px 10px; /* 调整内边距 */
            align-items: center;
            justify-content: flex-start; /* 改为左对齐 */
            border-radius: 0; /* 移除圆角，避免方块背景效果 */
            font-weight: bold;
            text-decoration: none;
            transition: transform 0.3s;
            background: transparent !important; /* 确保背景透明 */
            border: none !important; /* 确保无边框 */
            box-shadow: none !important; /* 确保无阴影 */
        }
	 /* 注释掉旧的logo-text样式，使用新的header.css样式 */
	 /* .logo-text{
            font-family:
                "仿宋",
                "FangSong",
                "STFangSong",
                "华文仿宋",
                "AR PL FangSong GB",
                "Source Han Serif SC",
                "SimSun",
                serif;
            font-size: 32px;
            font-weight: bold;
            color: #8d6e63;
            letter-spacing: 0.5px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            line-height: 1.2;
            display: inline-block;
            vertical-align: middle;
        } */
         /* 调整 logo 容器，确保垂直居中 */
        /* 注释掉旧的logo样式，使用新的header.css样式 */
        /* .logo-container {
               display: flex;
               margin-right: 15px;
               background-color: rgba(255, 255, 255, 0);
               border-radius: 6px;
               padding: 8px 12px;
               box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
               align-items: center;
               height: 100%;
              }

	  .logo-img {
             width: 60px;
	     height:60px;
             margin-right: 12px;
	     object-fit: contain;
	     vertical-align: middle;
		}

        .logo:hover {
            transform: scale(1.05);
        }

        .logo i {
            margin-right: 12px;
        } */
        .menu-wrapper1 {
            display: flex;
            align-items: center;
            flex-grow: 1; /* 让菜单区域占据剩余空间 */
            justify-content: space-between; /* 菜单右对齐 */
            margin-left: 30px; /* 增加菜单左侧边距，与logo分开 */
}
        
        /* 搜索框样式 */
        .search-container {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 25px;
            padding: 5px 15px;
            width: 220px;
        }
        
        .search-container input {
            border: none;
            background: transparent;
            padding: 8px;
            width: 100%;
            outline: none;
            font-size: 14px;
        }
        
        .search-container button {
            background: none;
            border: none;
            color: #1a2980;
            cursor: pointer;
            font-size: 16px;
        }
        
        /* 主菜单样式 */
        .main-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        color: #8d6e63; /* 修正：使用 color 而非 font-color */
}  
        
        .main-menu > li {
            position: relative;
        }
        
        /* 注释掉旧的导航菜单样式，使用新的header.css样式 */
        /* .main-menu > li > a {
            color: #5d4037;
            text-decoration: none;
            padding: 20px 18px;
            display: block;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            position: relative;
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            margin: 0 2px;
        }

        .main-menu > li > a:hover {
            background-color: rgba(141, 110, 99, 0.25);
            color: #5d4037;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .main-menu > li.dq > a {
            background-color: rgba(141, 110, 99, 0.35);
            color: #5d4037;
            border-bottom: 3px solid #8d6e63;
            text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        } */
        
        /* 二级菜单样式 */
        .sub-menu {
            position:absolute;
            top: 100%;
            left: 0;
            background-color:white;
            min-width: 200px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-radius: 0 0 8px 8px;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            overflow: hidden;
        }
        
        .main-menu > li:hover .sub-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .sub-menu li {
            border-bottom: 1px solid #f0f0f0;
        }
        
        .sub-menu li:last-child {
            border-bottom: none;
        }
        
        .sub-menu a {
            color: #333;
            text-decoration: none;
            font-size: 1.3rem; /* 增大二级菜单字体 */
            font-weight: bold;
            padding: 14px 20px;
            display: block;
            transition: all 0.2s ease;
        }
        
        .sub-menu a:hover {
           background-color: #f5f9ff;
            color: #1a2980;
            padding-left: 22px; /* 调整悬停时的左内边距 */
        }
        
        .sub-menu a i {
            margin-right: 8px;
            width: 20px;
            text-align: center;
        }
        
        /* 添加指示图标 */
        .has-submenu > a::after {
            content: "\f078";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: 6px; /* 减小左侧间距 */
            font-size: 12px;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .nav-container {
                flex-wrap: wrap;
                padding: 8px 0; /* 调整响应式下的内边距 */
            }
             .logo-container {
                padding: 2px 6px; /* 移动端进一步减小内边距 */
                margin-right: 8px; /* 移动端进一步减小右侧边距 */
            }
            .logo-text {
                    font-size: 16px;
                }
			.logo-img {
				    width: 32px;
				    height: 32px;
				    }
            .main-menu {
                width: 100%;
                margin-top: 10px;
                flex-wrap: wrap;
            }
            
            .main-menu > li {
                width: 33.33%;
            }
            
            .main-menu > li > a {
                padding: 14px 8px;
                text-align: center;
                font-size: 15px; /* 调整响应式下的字体大小 */
            }
            
            .sub-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                display: none;
                background-color: #8B1E3F;
            }
            
            .main-menu > li:hover .sub-menu {
                display: block;
            }
            .logo {
                width: 150px; /* 响应式下减小宽度 */
                height: 40px; /* 响应式下减小高度 */
                font-size: 16px; /* 响应式下减小字体 */
            }
        }
        @media (min-width: 768px) {
	 body {
		 
	      }
	}
        @media (max-width: 576px) {
            .main-menu > li {
                width: 50%;
            }
            .search-container {
                width: 160px; /* 移动端进一步减小宽度 */
            }
            
            .logo {
                width: 140px; /* 移动端进一步减小宽度 */
                height: 38px; /* 移动端进一步减小高度 */
                font-size: 15px; /* 移动端进一步减小字体 */
            }
        }
            
     
        
        /* 示例内容样式 */
        .content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 40px;
        }
        
        .code-section {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            border-left: 4px solid #2c3e50;
        }
        
        .code-section h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .code-section h3 i {
            margin-right: 10px;
            color: #3498db;
        }
        
        pre {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 15px;
            border-radius: 6px;
            overflow-x: auto;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .features {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
        }
        
        .features ul {
            list-style-position: inside;
            margin-left: 10px;
        }
        
        .features li {
            margin-bottom: 10px;
            padding-left: 10px;
        }
        
        .features li i {
            color: #27ae60;
            margin-right: 8px;
        }

        /* 添加全局间距优化 */
        section {
            margin-bottom: 15px; /* 进一步减少区块之间的间距 */
        }

        .box1, .box4, .box3 {
            margin-bottom: 20px; /* 进一步减少内容区块的底部间距 */
        }

        .container {
            padding: 12px 18px; /* 进一步调整容器内边距 */
        }

        /* 优化标题样式 */
        h1, h2 {
            margin-top: 0;
            margin-bottom: 15px;
        }

        /* 优化列表样式 */
        ul, ol {
            padding-left: 20px;
            margin-bottom: 15px;
        }

        /* 优化图片显示 */
        img {
            max-width: 100%;
            height: auto;
        }

        /* 轮播图样式 */
        .carousel-inner {
            position: relative;
        }

        /* 优化响应式布局 */
        @media (max-width: 768px) {
            .container {
                padding: 10px 15px;
            }

            section {
                margin-bottom: 10px;
            }

            .box1, .box4, .box3 {
                margin-bottom: 15px;
            }

        }