/* jectronic 内页交互修复 v3 · 2026-12-01
   修复：抽屉 UL 被压成 40px 导致菜单文字竖排、栏目子菜单消失、快速筛选占位过高。
   仅 767px 以下、非首页生效；配色沿用 v2（红 #d70a1f / 深蓝 #102a53）。 */
@media (max-width:767px){
  /* 1. 抽屉菜单：恢复整屏宽度与横向文字 */
  /* .nav_main 挂在 sticky 的 .phone_nav 内，父级层级不足会被栏目条穿透 */
  html[lang] body:not(.index) .phone_nav{z-index:9999!important}
  /* 透明抽屉不能拦截全页点击；展开标记由原站脚本加在 .phone_nav 上 */
  html[lang] body:not(.index) .nav_main{pointer-events:none!important}
  html[lang] body:not(.index) .phone_nav.phone_nav_one .nav_main{pointer-events:auto!important}
  html[lang] body:not(.index) .nav_main{
    position:fixed!important;left:0!important;top:0!important;
    width:100vw!important;height:100dvh!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    padding:74px 18px 28px!important;
    /* 小屏避免大面积红色：深蓝渐变为底，红色只做细点缀 */
    background:linear-gradient(180deg,#0b2547 0%,#123a68 100%)!important;
    box-sizing:border-box!important;
    z-index:9000!important;-webkit-overflow-scrolling:touch!important
  }
  html[lang] body:not(.index) .nav_main > ul{
    width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
    display:block!important;list-style:none!important
  }
  html[lang] body:not(.index) .nav_main ul,
  html[lang] body:not(.index) .nav_main li{
    width:100%!important;max-width:100%!important;float:none!important;
    margin:0!important;padding:0!important;list-style:none!important
  }
  html[lang] body:not(.index) .nav_main li > a{
    display:block!important;width:100%!important;white-space:nowrap!important;
    font-size:16px!important;line-height:1.4!important;
    padding:13px 4px!important;color:#fff!important;text-align:left!important;
    border-bottom:1px solid rgba(255,255,255,.18)!important;text-decoration:none!important
  }
  html[lang] body:not(.index) .nav_main li > b{display:none!important}
  html[lang] body:not(.index) .nav_main ul ul{
    display:block!important;height:auto!important;max-height:none!important;
    overflow:visible!important;padding:0 0 6px!important;margin:0!important
  }
  html[lang] body:not(.index) .nav_main ul ul li > a{
    padding:10px 4px 10px 18px!important;font-size:14px!important;
    border-bottom-color:rgba(255,255,255,.14)!important;opacity:.94!important
  }
  html[lang] body:not(.index) .nav_main a:active{background:rgba(255,255,255,.14)!important}
  html[lang] body:not(.index) .nav_main a.cur,
  html[lang] body:not(.index) .nav_main li.current > a{
    border-left:3px solid #d70a1f!important;padding-left:10px!important
  }

  /* 2. 恢复栏目子菜单为横向滚动 chips */
  html[lang] body:not(.index) .a_zxlmenu{
    display:block!important;height:auto!important;min-height:0!important;padding:0!important
  }
  html[lang] body:not(.index) .a_zxlmenu_t{
    width:100%!important;text-align:center!important;padding:12px 10px!important;
    border-left:0!important;
    background:linear-gradient(135deg,#0b2547 0%,#1b568e 100%)!important
  }
  html[lang] body:not(.index) .a_zxlmenu_c{
    display:flex!important;width:100%!important;height:auto!important;
    overflow-x:auto!important;white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;gap:8px!important;
    padding:10px 12px!important;margin:0!important;
    background:#fff!important;border-bottom:1px solid #e6ebf2!important
  }
  html[lang] body:not(.index) .a_zxlmenu_c li{
    display:inline-flex!important;flex:0 0 auto!important;float:none!important;
    width:auto!important;height:auto!important;margin:0!important;padding:0!important
  }
  html[lang] body:not(.index) .a_zxlmenu_c a{
    display:inline-flex!important;align-items:center!important;
    min-height:30px!important;padding:5px 12px!important;
    border-radius:15px!important;border:1px solid #dfe6ee!important;
    background:#f8fafc!important;color:#102a53!important;
    font-size:12px!important;line-height:1.3!important;font-weight:600!important;
    white-space:nowrap!important;text-decoration:none!important
  }
  html[lang] body:not(.index) .a_zxlmenu_c a.aone,
  html[lang] body:not(.index) .a_zxlmenu_c a.cur,
  html[lang] body:not(.index) .a_zxlmenu_c li.on a{
    background:#0b2547!important;border-color:#0b2547!important;color:#fff!important
  }

  /* 3. 快速筛选：默认收起，点击展开 */
  html[lang] body:not(.index) .jb-filter-toggle{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;min-height:44px!important;margin:0 0 10px!important;
    padding:0 14px!important;background:#fff!important;
    border:1px solid #e6ebf2!important;border-radius:12px!important;
    box-shadow:0 3px 12px rgba(16,42,83,.05)!important;
    color:#102a53!important;font-size:14px!important;font-weight:800!important
  }
  html[lang] body:not(.index) .jb-filter-toggle i{
    display:inline-block!important;width:9px!important;height:9px!important;
    border-right:2px solid #d70a1f!important;border-bottom:2px solid #d70a1f!important;
    transform:rotate(45deg)!important;transition:transform .2s!important
  }
  html[lang] body:not(.index) .jb-filter-toggle.open i{transform:rotate(225deg)!important}
  html[lang] body:not(.index) .newshaixuan{display:none!important;margin:0 0 12px!important}
  html[lang] body:not(.index) .newshaixuan.jb-filter-open{display:block!important}
  html[lang] body:not(.index) .newshaixuan .filter-item{
    min-height:32px!important;padding:6px 11px!important;font-size:12px!important
  }
}
