.mobile-header {
    display: none;
}

@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        font-size: 12px;
    }
    /* 调整通用的上下间距 */
    .pt10{padding-top: 5px;}
    .pt20{padding-top: 10px;}
    .pt30{padding-top: 15px;}
    .pt40{padding-top: 20px;}
    .pt50{padding-top: 25px;}
    .pt60{padding-top: 30px;}
    .pt70{padding-top: 35px;}
    .pt80{padding-top: 40px;}
    .pt90{padding-top: 45px;}
    .pt100{padding-top: 50px;}

    .pb10{padding-bottom: 5px;}
    .pb20{padding-bottom: 10px;}
    .pb30{padding-bottom: 15px;}
    .pb40{padding-bottom: 20px;}
    .pb50{padding-bottom: 25px;}
    .pb60{padding-bottom: 30px;}
    .pb70{padding-bottom: 35px;}
    .pb80{padding-bottom: 40px;}
    .pb90{padding-bottom: 45px;}
    .pb100{padding-bottom: 50px;}
    .mb30{margin-bottom: 15px;}

    /* 强制隐藏原桌面头部，显示新移动端头部 */
    .nav-wrap, .header-top,.banner-area {
        display: none;
    }
    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000; /* 确保在最上层 */
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        min-height: 60px;
    }

    /* 确保页面内容不被固定头部遮挡 */
    body {
        padding-top: 60px;
    }
    
    /* 头部整体布局 (Logo + 按钮/会员) */
    .mobile-header-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
        padding: 0 15px;
    }
    .mobile-right{display: flex;gap: 15px;}

    /* Logo 样式 */
    .mobile-header-menu .mobile-logo{height: 60px;overflow: hidden;}
    .mobile-header-menu .mobile-logo img {
        margin-top: -5px;
        height: 70px;
        width: auto;
    }


    /* 汉堡菜单按钮样式 */
    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        padding: 5px;
        /* 确保按钮在最右侧 */
        margin-left: auto;
        margin-right: 0;
        z-index: 9999;
    }
    .mobile-menu-btn span {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        margin-top: -1px;
        background-color: #333;
        transition: opacity 0.3s ease;
    }
    .mobile-menu-btn i {
        display: block;
        background-color: #333;
        width: 100%;
        height: 2px;
        position: absolute;
        left: 0;
        transition: top 0.3s ease, transform 0.3s ease;
    }
    .mobile-menu-btn .mbtn-top {
        top: -8px;
    }
    .mobile-menu-btn .mbtn-bottom {
        top: 8px;
    }

    /* 菜单打开时的按钮动画 (X 图标) */
    .mobile-menu-btn.menu-btn-on .mbtn-top {
        top: 0;
        transform: rotate(45deg);
    }
    .mobile-menu-btn.menu-btn-on .mbtn-bottom {
        top: 0;
        transform: rotate(-45deg);
    }
    .mobile-menu-btn.menu-btn-on span {
        background-color: #f8f8f8;
    }


    /* 2. 侧边栏菜单 (Off-Canvas Menu) */
    .menu-m {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%; /* 菜单宽度 */
        height: 100vh;
        background-color: #fff;
        z-index: 999; /* 略低于头部，避免遮挡 */
        overflow-y: auto;
        transform: translateX(100%); /* 默认隐藏在屏幕右侧 */
        transition-duration: 400ms;
    }
    .search_keyword{width: 100%;height: 50px;}
    /* JS 激活时，菜单滑入视图 */
    .menu-m.menu-top-show {
        transform: translateX(0);
    }
    /* 隐藏 HTML 中定义的关闭按钮，因为 JS 使用汉堡按钮作为开关 */
    .menu-m .close_ico {
        display: none;
    }

    /* 菜单列表内容 */
    .mobile-nav-menu {
        padding-top: 50px;
    }
    .mobile-nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-nav-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 16px;
        color: #333;
        position: relative;
        transition-duration: 0ms;
    }

    /* 子菜单切换按钮 ( + / - 图标) */
    .menu-sw-btn i,.menu-smin-btn i {
        font-style: normal;
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -10px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        transition: transform 0.3s ease;
        font-size: 28px;
        color: #009b4c;
    }
    .menu-smin-btn i{font-size: 22px;}
    .menu-sw-btn.open i,.menu-smin-btn.open i {
        transform: rotate(45deg); /* '+' 旋转成 'X' */
    }

    /* 子菜单内容 */
    .menu-son {
        display: none; /* JS 控制显示/隐藏 */
        background-color: #fff;
        padding: 10px 20px;
    }
    .menu-son ul {
        list-style: none;
    }
    .menu-son li {
        border-bottom: none;
    }
    .menu-son li a {
        padding: 10px 15px;
        font-size: 14px;
        color: #666;
    }
    .menu-son li a.menu-on{background: linear-gradient(to right, #267ea3, #3ea360);color: #fff;}
    .menu-son li a:hover {
        background: none;
        color: #009b4c;
    }

    /* 三级子菜单 (如果存在) 的样式修正 */
    .submenu-son {
        background-color: #f1f7f7;
        padding-left: 10px;
        display: none;
    }



    /* 全局布局调整 */
    .wrap {
        width: 100% !important;
        min-width: 100% !important;
        padding: 0 1rem;
    }

    /* 隐藏 PC 端特定的页脚导航 */
    .footer-menu {
        display: none !important;
    }

    /* 首页新闻与通知模块调整 */
    .news-notice-area {
        margin: 0 0 20px;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    
    .news-roll-box, .notice-box {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px;
    }
    .news-roll-box img,.news-roll-box{height: 66.6vw;}
    .notice-box{padding: 0 1rem;}

    .notice-header .more {
        font-size: 12px;
    }

    /* 业务快捷入口调整 */
    .entry-list{display: block;}
    .entry-list li {
        width: 100% !important;
        margin-bottom: 10px;
        float: none !important;
    }
    
    .entry-list li img {
        width: 100%;
        height: auto;
    }

    .main-content-area3{flex-direction: column;display: flex;}
    /* 四列/两列列表栏目调整为单列 */
    .content-tabs-wrapper, 
    .content-tabs-wrapper-bottom {
        display: block !important;
        width: 100%;
        margin: 0;
    }

    .list-column {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 20px;
        padding: 0;
        float: none !important;
    }

    /* 侧边栏服务区（证书查询等按钮） */
    .sidebar-service-area {
        width: 100% !important;
        float: none !important;
    }
    .sidebar-service-area ul{display: grid;grid-template-columns: repeat(3, 1fr);gap: 15px 10px;}
    


    /* 证书轮播调整：手机端显示 2 个 */
    /* 友情链接调整 */
    .index-jianguan {
        height: auto;
        padding: 0;
    }
    
    .youqinglianjie,.index-jianguan .friend-link-list{
        width: 100% !important;
        height: auto !important;
        float: none !important;
        text-align: center;
    }
    
    .friend-link-list {
        width: 100% !important;
        float: none !important;
    }
    
    .index-jianguan .friend-link-list{padding: 10px;}
    .index-jianguan .friend-link-list ul{display: grid;grid-template-columns: repeat(2, 1fr);gap: 15px 10px;}
    .index-jianguan .friend-link-list ul li img{max-width: 100%;}
    /* 页脚内容微调 */
    .footer-content {
        text-align: center;
        padding: 20px 0;
    }
    
    .footer-text span {
        display: block;
        margin: 5px 0;
    }
    
    .footer-logo, .footer-qrcode-container {
        float: none !important;
        margin: 15px auto !important;
        display: inline-block;
        vertical-align: middle;
    }
    
    /* 证书查询弹窗手机端适配 */

    .query-search-box input {
        width: 70%;
    }

    /* 1. 侧边栏与内容区切换：从左右布局改为上下堆叠 */
    .sidebar-menu-area, 
    .main-list-content {
        padding: 0;
        width: 100% !important;
        float: none !important;
        box-shadow: none;
    }

    /* 2. 侧边栏导航优化：手机端增加间距，方便点击 */
    .sidebar-menu-area {
        margin: 20px 0;
        display: none;
    }
    .sub-nav-list li a, .sub-nav-page li a {
        padding: 12px 15px; /* 增大点击区域 */
        border-bottom: 1px solid #eee;
    }

    /* 3. 文章列表：日期右对齐改为下方显示（可选，取决于标题长度） */
    .article-list .list-item,.list-item {
        position: relative;
        padding: 10px 0;
    }
    .list-item-title{padding-right: 10px;}
    .list-item-date {
        display: block;
        color: #999;
        font-size: 12px;
    }

    /* 4. 图片列表：改为两列布局 */
    .article-list-pic li {
        width: 48% !important;
        margin: 1% !important;
        float: left;
    }
    .article-list-pic li img {
        width: 100%;
        height: auto;
    }

    /* 5. 意见反馈表单适配 */
    #progressBarContainer {
        width: 100% !important;
    }
    .certification-header{margin-bottom: 15px;}
    .certificationSwiper{width: 100%;margin: 0;}
    .certificationSwiper .swiper-slide{height: 220px;}

    .qrcode-lightbox-content{width: 90vw;margin-left: -45vw;}


    .news-list .top-news{padding: 10px 0;}
    .footer-text{margin: 0;}
    .site-footer{padding: 0;}
    .place{line-height: 25px;padding: 10px 0;}
    .place a{display: inline-block;}

    .page-list-wrap,.article-pagelist{padding: 15px 0 30px;}
    .page-list-wrap li{margin: 4px;}
    .article-pagelist{display: block;}
    .article-pagelist a{margin-top: 10px;width: 100%;max-width: 100%;}
    .article-content{font-size: 14px;}

    .article-title{padding: 10px 0;}
    .article-title h2{font-size: 22px;}
    .article-title p{padding-bottom: 10px;}
    .news-list .top-news .title,.certification-title{font-size: 20px;}
    .index-jianguan .youqinglianjie{font-size: 18px;}
    .index-list-nav li{font-size: 16px;}
    .news-list li,.sidebar-service-area a,.list-item-title{font-size: 14px;}
    
}