 /* 基础样式重置 - 增强浏览器一致性 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
        }
        
        body {
            min-width: 320px; /* 允许缩小到移动设备尺寸 */
            background-color: #f5f5f5;
            overflow-x: auto; /* 允许水平滚动 */
        }
        
        /* Header容器 */
        .site-header {
            width: 100%;
            max-width: 1920px;
            margin: 0 auto;
            overflow: hidden;
        }
        
        /* 第一大块：顶部区域 */
        .top-section {
            height: 472px;
            min-height: 350px; /* 最小高度 */
            background: url('https://www.yncn.gov.cn/img/banner_s.png') no-repeat center center / cover;
            position: relative;
        }
        
        /* 右上角链接 */
        .utility-links {
            position: absolute;
            top: 20px;
            right: 40px;
            display: flex;
            gap: 25px;
            flex-wrap: wrap; /* 允许换行 */
            justify-content: flex-end;
        }
        
        .utility-links a {
            color: #333;
            text-decoration: none;
            font-size: 14px;
            padding: 5px 10px;
            border-radius: 3px;
            transition: all 0.3s ease;
          
            white-space: nowrap;
        }
        
       /* .utility-links a:hover {
            background-color: rgba(30, 90, 171, 0.9);
            color: white;
        }*/
        
        /* 第二小部分：国徽/徽章图片 */
        .emblem-container {
            position: absolute;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            width: 100%;
        }
        
        .emblem-img {
            width: 120px;
            height: 120px;
            display: block;
            margin: 0 auto;
            max-width: 100%;
        }
        
        /* 第三小部分：Logo - 尺寸增大 */
        .logo-container {
            position: absolute;
            top: 210px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            width: 90%;
            max-width: 600px;
        }
        
        .logo-img {
            max-width: 360px;
            max-height: 100px;
            width: auto;
            height: auto;
            display: block;
            margin: 0 auto;
        }
        
        /* 第四小部分：搜索框 */
        .search-container {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            width: 500px;
            max-width: 80%; /* 限制最大宽度 */
        }
        
        .search-box {
            position: relative;
            width: 100%;
            display: flex;
        }
        
        .search-input {
            flex: 1;
            padding: 12px 20px;
            border: 1px solid #ccc;
            border-right: none;
            border-radius: 30px 0 0 30px;
            font-size: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            height: 46px;
            min-width: 0;
			width:320px;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #1e5aab;
            box-shadow: 0 2px 12px rgba(30, 90, 171, 0.3);
        }
        
        .search-button {
            width: 130px;
            height: 46px;
            border: none;
            border-radius: 0 30px 30px 0;
            cursor: pointer;
            background-color: #1e5aab;
            color: white;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;

            flex-shrink: 0;
        }
        
        .search-button:hover {
            background-color: #154380;
        }
        
        .search-icon {
            width: 20px;
            height: 20px;
            background: url('https://www.yncn.gov.cn/img/ss_s.png') no-repeat center center;
            background-size: contain;
        }
        
        /* 第二大块：导航栏 */
        .nav-section {
            height: 64px;
            min-height: 50px;
            background: url('https://www.yncn.gov.cn/img/dhbjs.png') no-repeat center center / cover;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin-top: -25px;
            z-index: 10;
            width: 100%;
        }
        
        /* 导航栏背景覆盖层 */
        .nav-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
            height: 100%;
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
            flex-wrap: nowrap;
        }
        
        .nav-menu li {
            height: 100%;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
        }
        
        .nav-menu a {
            color: white;
            text-decoration: none;
            font-size: 20px;
            font-weight: bold;
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            text-align: center;
            line-height: normal;
            padding: 0 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* 鼠标悬停效果 */
        .nav-menu a:hover {
            color: #1e5aab !important;
            background-color: white;
        }
        
        /* 响应式调整 - 优化媒体查询 */
        @media screen and (max-width: 1200px) {
            .top-section {
                height: 420px;
            }
            
            .logo-container {
                top: 200px;
            }
            
            .emblem-container {
                top: 70px;
            }
            
            .nav-menu a {
                font-size: 18px;
            }
            
            .search-container {
                width: 450px;
            }
        }
        
        @media screen and (max-width: 992px) {
            .top-section {
                height: 380px;
            }
            
            .utility-links {
                right: 20px;
                gap: 15px;
            }
            
            .utility-links a {
                font-size: 13px;
                padding: 4px 8px;
            }
            
            .logo-container {
                top: 180px;
            }
            
            .logo-img {
                max-width: 380px;
                max-height: 110px;
            }
            
            .emblem-container {
                top: 60px;
            }
            
            .emblem-img {
                width: 100px;
                height: 100px;
            }
            
            .nav-section {
                height: 58px;
                margin-top: -20px;
            }
            
            .nav-menu a {
                font-size: 16px;
            }
            
            .search-container {
                width: 420px;
                bottom: 50px;
            }
        }
        
        @media screen and (max-width: 768px) {
            .top-section {
                height: 340px;
                min-height: 300px;
            }
            
            .utility-links {
                right: 15px;
                gap: 10px;
                top: 15px;
            }
            
            .utility-links a {
                font-size: 12px;
                padding: 3px 6px;
            }
            
            .logo-container {
                top: 150px;
            }
            
            .logo-img {
                max-width: 280px;
                max-height: 80px;
            }
            
            .emblem-container {
                top: 50px;
            }
            
            .emblem-img {
                width: 80px;
                height: 80px;
            }
            
            .nav-section {
                height: 52px;
                margin-top: -15px;
            }
            
            .nav-menu {
                padding: 0 5px;
            }
            
            .nav-menu a {
                font-size: 14px;
                padding: 0 3px;
            }
            
            .search-container {
                width: 360px;
                bottom: 40px;
            }
            
            .search-button {
                width: 110px;
                font-size: 15px;
            }
            
            .search-input {
                padding: 10px 15px;
                font-size: 15px;
            }
        }
        
        @media screen and (max-width: 576px) {
            .top-section {
                height: 300px;
            }
            
            .utility-links {
                right: 10px;
                gap: 8px;
                top: 10px;
            }
            
            .utility-links a {
                font-size: 11px;
                padding: 2px 4px;
            }
            
            .logo-container {
                top: 120px;
            }
            
            .logo-img {
                max-width: 240px;
                max-height: 70px;
            }
            
            .emblem-container {
                top: 40px;
            }
            
            .emblem-img {
                width: 70px;
                height: 70px;
            }
            
            .nav-section {
                height: 46px;
                margin-top: -10px;
            }
            
            .nav-menu {
                overflow-x: auto;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none; /* Firefox */
            }
            
            .nav-menu::-webkit-scrollbar {
                display: none; /* Chrome, Safari, Edge */
            }
            
            .nav-menu li {
                flex: 0 0 auto;
                width: 120px; /* 固定宽度，便于在小屏幕上滚动 */
            }
            
            .nav-menu a {
                font-size: 14px;
                justify-content: flex-start;
                padding: 0 10px;
            }
            
            .search-container {
                width: 320px;
                bottom: 30px;
            }
            
            .search-button {
                width: 90px;
                font-size: 14px;
            }
            
            .search-input {
                padding: 8px 12px;
                font-size: 14px;
            }
        }
        
        @media screen and (max-width: 400px) {
            .top-section {
                height: 280px;
            }
            
            .utility-links {
                flex-direction: column;
                gap: 5px;
                right: 5px;
                top: 5px;
            }
            
            .logo-container {
                top: 100px;
            }
            
            .logo-img {
                max-width: 200px;
                max-height: 60px;
            }
            
            .emblem-container {
                top: 30px;
            }
            
            .emblem-img {
                width: 60px;
                height: 60px;
            }
            
            .nav-section {
                height: 40px;
            }
            
            .nav-menu li {
                width: 110px;
            }
            
            .nav-menu a {
                font-size: 13px;
            }
            
            .search-container {
                width: 280px;
            }
            
            .search-button {
                width: 80px;
                font-size: 13px;
            }
        }
        
        /* 浏览器兼容性增强 */
        /* IE10+ 兼容性 */
        @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
            .search-box {
                display: -ms-flexbox;
            }
            
            .nav-menu {
                display: -ms-flexbox;
                -ms-flex-pack: distribute;
            }
            
            .nav-menu li {
                -ms-flex: 1 1 0%;
            }
            
            /* IE浏览器中导航垂直居中修正 */
            .nav-menu a {
                display: block;
                line-height: 74px;
                text-align: center;
            }
        }
        
        /* 针对旧版浏览器的垂直居中修正 */
        .nav-menu a {
            display: table-cell;
            vertical-align: middle;
        }
        
        .nav-menu li {
            display: table;
        }