/* qe88.cn 移动端自适应重排 2026-11-17
   参考站 skin20 是 1000/1200px 固定伪列布局、无 viewport，手机端只是把整张
   桌面页缩小。此覆盖层在 <=820px 时把伪列堆叠、固定栅格改流式、字号放大。
   注意：格子 li 原本靠 float 排列，必须保留 float，只改宽度；仅最外层两列
   (.main/.sideBar) 去掉 float 改为顺序堆叠。桌面宽度完全不受影响。 */
@media only screen and (max-width: 820px) {
  html, body { min-width: 0 !important; width: 100% !important; overflow-x: hidden !important; }
  body { -webkit-text-size-adjust: 100% !important; }

  /* ---- 容器流宽 ---- */
  #wrap, .kpWrap, .topbar, .topbar .top-bd, .container, .w980, .header,
  .header-bd, .content, #qingtiancmsindex, .m-search, .m-search-tab,
  .m-search-con, #sb, #sf, .main, .sideBar, .col, .comBox, .col-fmSite,
  .box-fmSite, .sortSite, .col-recomSite, .recomSite, .footer, .box-hot,
  .box-hot2, .colnavi, .col-usage, .col-coolsite, .govsite-top,
  .govsite-inner, .menus, .sedulist, #botNavi {
    width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* ---- 伪列改单列顺序堆叠；只动这两列，格子 float 保留 ---- */
  .main, .sideBar { float: none !important; clear: both !important; margin: 0 0 10px !important; }
  .main { margin-top: 10px !important; }
  .sideBar { overflow: visible !important; }

  /* ---- 隐藏桌面悬浮件 / 大广告 / hover 组件 ---- */
  .slidetoolbarContainr, #costom, #theme, .theme, .themeWrap,
  #baiduTopAdvWrap, .header .mailForm, .header .e-mail, #mail,
  .header .notice, .header .handle, .header .seq-line, #dl_top_2,
  .header .ad, .header .calendar, #js_cal, .header .headerBg,
  .header .headerbottombr, .m-search .m-rep { display: none !important; }

  /* ---- 头部：logo 用 display:block 保住 200x80 背景，居中 ---- */
  .header { height: auto !important; padding: 8px !important; }
  .header .logo, .header .fr, .header .fr.cf { float: none !important; }
  .header .logo { display: block !important; width: 200px !important; height: 80px !important; margin: 0 auto !important; }
  .header .fr { width: 100% !important; margin-top: 6px !important; }
  /* 天气 iframe 在手机端是空白占位，隐藏以免 logo 上方出现大块留白 */
  .header .box-weather { display: none !important; }

  /* ---- 顶栏 ---- */
  .topbar { height: auto !important; padding: 5px 8px !important; }
  .topbar .wel, .topbar .sets { float: none !important; width: 100% !important; }
  .topbar .wel ul li { float: none !important; display: inline-block !important; margin-right: 10px !important; }
  .topbar .sets { margin-top: 4px !important; text-align: right !important; }
  .topbar .sets li { float: none !important; display: inline-block !important; }

  /* ---- 主导航菜单：横向滚动 ---- */
  .menus { overflow-x: auto !important; overflow-y: hidden !important; white-space: nowrap !important;
           -webkit-overflow-scrolling: touch !important; margin-top: 8px !important; }
  .menus li, .kpWrap .menus li, .menus .select { float: none !important; display: inline-block !important; width: auto !important; min-width: 96px !important; }
  .menus li em, .menus li a { padding-left: 22px !important; }

  /* ---- 搜索：输入框+按钮同一行 ---- */
  /* 关键：禁止桌面 JS 滚动吸顶（.rep 类会把搜索块 position:fixed 悬浮在正文上，手机端造成文字重叠） */
  .m-search, .m-search.rep { position: static !important; top: auto !important; }
  .m-search.rep { margin: 0 !important; box-shadow: none !important; }
  .m-search { height: auto !important; padding: 8px !important; overflow: visible !important; }
  .m-search-tab { padding: 4px 0 6px !important; text-align: center !important; }
  .m-search-tab li { float: none !important; display: inline-block !important; }
  .search-widget { padding: 0 !important; }
  .search-widget .pic, #div_divf__out { display: none !important; }
  #searchForm { height: auto !important; overflow: visible !important; }
  .search-widget .box-search-input { width: calc(100% - 96px) !important; margin-left: 0 !important; float: left !important; }
  .search-widget .searchWord { width: 100% !important; box-sizing: border-box !important; font-size: 16px !important; }
  .search-widget .box-search-submit { width: 88px !important; float: left !important; margin-left: 6px !important; }
  .search-widget .box-search-submit .searchSubmit { width: 88px !important; }
  #sw, .col-hotKeys { display: none !important; }
  /* 实时热点：默认折叠，手机端常显标题+首条，点击展开由 qe88_mobile.js 处理 */
  .s-hot { position: static !important; width: 100% !important; display: block !important;
           opacity: 1 !important; filter: none !important; margin-top: 8px !important; }
  .s-hot .hot-con { display: none; }
  .s-hot.open .hot-con { display: block !important; }
  .s-hot .hot-til { text-align: left !important; padding-left: 8px !important; cursor: pointer !important; }
  .s-hot .hot-con li a { max-width: 92% !important; margin-left: 34px !important; }

  /* ---- 名站导航 tab ---- */
  .fmSite-head, .fm-tab { overflow-x: auto !important; white-space: nowrap !important; }
  .fm-tab li { float: none !important; display: inline-block !important; }

  /* ---- 网址格子：6 列改 2 列，保留 float，仅改宽度/行高 ---- */
  .top2-fmSite li, .box-fmSite .fmSite li { width: 50% !important; line-height: 34px !important; }
  .box-fmSite .top2-fmSite, .box-fmSite .fmSite { padding-left: 0 !important; margin: 0 !important; }
  .top2-fmSite li a, .box-fmSite .fmSite li a { padding-left: 24px !important; font-size: 14px !important; }

  /* ---- 分类词条：106/126px 固定宽改 2 列 ---- */
  .sortSite li { height: auto !important; line-height: 34px !important; }
  .sortSite li em, .kpWrap .sortSite li em, .sortSite li em.four, .kpWrap .sortSite li em.four {
    display: inline-block !important; width: 48% !important; white-space: nowrap !important;
    overflow: hidden !important; text-overflow: ellipsis !important;
  }
  .sortSite li em a { font-size: 14px !important; }
  .sortSite h4.tit { width: 60px !important; padding-left: 8px !important; }
  .colnavi li { float: none !important; display: inline-block !important; }
  .colnavi li i { padding: 0 8px !important; }

  /* ---- 侧栏新闻盒子 ---- */
  .col-row01 dt, .col-row01 dt img { width: 100% !important; height: auto !important; }
  ul.col-row02 li { width: 50% !important; padding-left: 20px !important; box-sizing: border-box !important; }
  ul.nslist { width: 100% !important; }
  ul.nslist li a { width: 100% !important; box-sizing: border-box !important; white-space: normal !important; font-size: 14px !important; }
  ul.msCover li { width: 50% !important; box-sizing: border-box !important; }
  ul.msCover li a { width: 100% !important; box-sizing: border-box !important; font-size: 14px !important; }
  .comBox img, .comBox .slide img, .msCover img { max-width: 100% !important; height: auto !important; }
  .box-prlInq { width: 100% !important; }
  .usage-tab li { width: 20% !important; }

  /* ---- 政府站点条 / 底部 ---- */
  .govsite-inner { height: auto !important; overflow: visible !important; padding: 6px 8px !important; }
  .govsite-top .govsite-inner .govsite-item { display: inline-block !important; margin-left: 0 !important; margin-right: 14px !important; height: auto !important; }
  .govsite-top .govsite-inner .title, .govsite-top .govsite-inner .title-line { display: none !important; }
  .footer { float: none !important; }

  /* ---- 页面底部大区块（分类导航/行业网站/旗舰店/热门视频等 botNavi12 + kpWrap） ---- */
  .btmlist, .wrapCont, .botCol12, .kpWrap .c2box, .botCol12 .c2box,
  .kpWrap .c2box .tab_menu, .botCol12 .tab_menu,
  .kpWrap .c2box .tab_box, .botCol12 .tab_box,
  .kpWrap .c2box .tab_box .Div1_d1, .botCol12 .tab_box .Div1_d1,
  .kpWrap .c2box .tab_box .Div1, .botCol12 .tab_box .Div1 { width: 100% !important; }
  .botCol12 > ul { width: 100% !important; }
  .botCol12 > ul li { width: 33.3% !important; box-sizing: border-box !important; }
  .c2box .tab_menu .m1_1_1 { width: auto !important; }
  .c2box .tab_menu li { width: auto !important; }
  .c2box .btmTil, .c2box .btmTxt { width: auto !important; max-width: 100% !important; }
  /* 底部轮播（旗舰店等）：内联 1190/4760px 宽度与位移全部重置为流式 */
  .c2box .tempWrap { width: 100% !important; }
  .c2box .Div13_main { width: auto !important; left: 0 !important; }
  .c2box .Div13_b1 { width: 100% !important; margin: 0 !important; padding: 0 4px !important; box-sizing: border-box !important; }
  .c2box .Div13_b1.clone { display: none !important; }
  .c2box .tab_box { padding: 0 !important; }
  .c2box .tab_box .Div1 { margin-left: 0 !important; }
  .c2box .Div1_main_span1 { width: 48% !important; }
  .c2box .Div1_d1 ul, .c2box .Div1 ul { width: 100% !important; }
  .c2box .Div1_d1 ul li, .c2box .Div1 ul li { max-width: 100% !important; box-sizing: border-box !important; }
  .c2box img { max-width: 100% !important; height: auto !important; }

  /* 兜底：禁止任何元素把页面撑出横向滚动（装饰元素/绝对定位残留） */
  html, body { overflow-x: hidden !important; }
  .sedulist dl, #botNavi ul, #botNavi ul li { width: 100% !important; margin-right: 0 !important; }

  /* ---- 小屏留白 ---- */
  .content { padding: 0 6px !important; }

  /* ============================================================
     内页 SDCMS 模板（list/info/about 等用 list.css / qingtian_style.css）
     ============================================================ */
  .pw1200, .mh-11 { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 auto !important; box-sizing: border-box !important; }
  .pw1200 > *, .mh-11 > * { max-width: 100% !important; box-sizing: border-box !important; }
  .top1101, .header.clearfix, .header { height: auto !important; padding: 10px 8px !important; }
  .top1101 .fl, .top1101 .fr, .header .fl, .header .fr { float: none !important; width: 100% !important; }
  .header h1.logo, .header h2.logo, .header h1.logo a, .header h2.logo a,
  .header .t1, .searKeyWord { float: none !important; display: block !important; margin: 0 auto 6px !important; }
  .header .searcha { float: none !important; width: 100% !important; margin: 6px 0 0 !important; }
  .header .searcha input { width: calc(100% - 96px) !important; box-sizing: border-box !important; }
  .header .searcha button { width: 88px !important; }
  .searcha span { display: none !important; }
  .nav1101 { height: auto !important; }
  .nav1101 ul { display: flex !important; flex-wrap: wrap !important; white-space: normal !important; }
  .nav1101 ul li, .nav1101 ul .nav1101Last { float: none !important; }
  .nav1101 ul li a { line-height: 38px !important; height: auto !important; }

  /* 列表格子 6 列 -> 2 列 */
  .list1101 ul.list001 li, .list1101 ul.list002 li { width: 50% !important; }
  .list1101 ul.list001 li a, .list1101 ul.list002 li a { font-size: 14px !important; }
  .list1101 dl { padding: 10px !important; }
  .n_left, .n_left2, .n_right, .n_right2, .indexTplist { float: none !important; width: 100% !important; margin-left: 0 !important; box-sizing: border-box !important; }
  .indexTplist li .pic, .indexTplist li .pic img { width: 100% !important; height: auto !important; max-width: 100% !important; }
  .footer1101 dl { float: none !important; width: 100% !important; }
  .footer1101 dl dd { width: 100% !important; }
  .conshare_1, .conshare_2 { float: none !important; width: 100% !important; padding: 6px 0 !important; }
  #mh-rtop { display: none !important; }

  /* about 页 #left(229px)+#right(margin-left) 改单列 */
  #box { width: 100% !important; }
  #box #left { float: none !important; width: 100% !important; }
  #box #left img { display: block !important; width: 100% !important; max-width: 420px !important; height: auto !important; margin: 0 auto !important; }
  #box #right { margin-left: 0 !important; padding: 10px !important; }
  #header { height: auto !important; padding: 6px 8px !important; }
  #header #logo { float: none !important; }
  #header #menu { float: none !important; width: 100% !important; margin-top: 6px !important; }
  #header #menu LI { float: none !important; display: inline-block !important; width: auto !important; padding: 0 8px !important; }
  .content { margin: 10px !important; }
  .content P { font-size: 14px !important; }

  /* info 详情页 host.css：1200px 宽容器改流式 */
  .bartop .barcenter, .bartop .barleft, .bartop .barright,
  .logosearchtel, .full .logosearchtel, .daohang,
  .logosearchtel .websearch, .logosearchtel .postedit,
  .websearch, .s_enter, .s_enter.cc {
    width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .bartop .barleft, .bartop .barright, .logosearchtel .weblogo,
  .logosearchtel .websearch, .logosearchtel .postedit { float: none !important; }
  .logosearchtel .weblogo, .logosearchtel .weblogo img { max-width: 100% !important; }
  .s_input { width: calc(100% - 96px) !important; box-sizing: border-box !important; }
  .s_btn { width: 88px !important; }
  .daohang ul, .daohang ul li { max-width: 100% !important; }
  .daohang { overflow: hidden !important; }

  /* info 页主体 body1000(1200px) + 右侧栏 custom_right(280px) 改单列 */
  .body1000, .clear.clear5, .new_listhd, .listhdcenter, .listhdright,
  .custom_right, .blk02, .boxCase, .box-left-mzz0, .comWrap,
  .aside-col0aaaa-cont { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .body1000 > *, .new_listhd > * { float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  .custom_right, .blk02 { margin-top: 12px !important; }
  .s_enter.cc { width: 100% !important; }
  .s_input { width: calc(100% - 96px) !important; }
}
