/* mobile-fix：老模板手机化补丁（自动生成，勿手改）
   1) 放开所有写死的 px 宽度与浮动，让栏目竖着排
   2) 图片/表格限制在屏宽内
   3) 兜底 overflow-x:hidden，杜绝横向拖
*/
@media (max-width: 820px) {
  html, body { min-width: 0 !important; width: 100% !important; overflow-x: hidden !important; }
  body { font-size: 15px !important; line-height: 1.75 !important; }
  body *:not(script):not(style) { box-sizing: border-box !important; }
  div, section, header, footer, nav, aside, article, main, ul, ol, dl, form, p,
  h1, h2, h3, h4, h5, h6 {
    width: auto !important; min-width: 0 !important; max-width: 100% !important;
    margin-left: auto !important; margin-right: auto !important;
    float: none !important; clear: both !important;
  }
  img, video { max-width: 100% !important; height: auto !important; }
  iframe, embed, object { max-width: 100% !important; }
  table { display: block !important; width: 100% !important; max-width: 100% !important; overflow-x: auto !important; }
  input, textarea, select { max-width: 100% !important; }
  li { float: none !important; display: inline-block !important; }
  [class*="nav"] > ul > li, [class*="menu"] > ul > li { display: inline-block !important; }
}
