/* ===================== 移动端适配样式（政府公开指南模版） ===================== */

@media (max-width: 1200px) {
  .container {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  /* 基础容器 */
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* 无障碍按钮 */
  .header2 > div[style*="float: right"] {
    float: none !important;
    margin-right: 0 !important;
    padding-top: 10px;
    padding-right: 10px;
    text-align: right;
    position: relative;
    z-index: 5;
  }

  /* 头部区域：降低高度，logo 与搜索框堆叠 */
  .header2 {
    height: auto;
    padding-bottom: 20px;
    overflow: hidden;
  }

  .header2 .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header2 .logo {
    float: none;
    height: 45px;
    margin: 20px 0 0;
    text-align: center;
  }

  .header2 .logo img {
    height: 100%;
    max-width: 80vw;
  }

  .header2 .search-cont {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 15px auto 0;
  }

  .header2 .search-cont .search-group .form-control {
    height: 38px;
    font-size: 14px;
  }

  .header2 .search-cont .search-group .btn {
    padding: 8px 18px;
    height: 38px;
    font-size: 13px;
  }

  /* 导航栏：单行横向滚动，不换行（修复负 margin 导致的横向溢出） */
  .bl-nav {
    margin-top: 15px;
  }

  .bl-navbar {
    margin: 0;
    padding: 0 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-size: cover;
  }

  .bl-navbar::-webkit-scrollbar {
    display: none;
  }

  .bl-navbar .bl-navbar-item {
    flex: 0 0 auto;
    padding: 8px 14px;
  }

  .bl-navbar .bl-navbar-item span {
    font-size: 15px;
    white-space: nowrap;
  }

  .bl-navbar .bl-navbar-item a:hover::after,
  .bl-navbar .bl-navbar-item.active::after {
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
  }

  /* 二级导航 */
  .second-navbar .second-navbar-item a {
    font-size: 14px;
    padding: 0 10px;
  }

  /* 主内容区：左右两栏堆叠 */
  .main-cont {
    margin-top: 15px;
    min-height: 0;
  }

  .main-cont .row > div[class^="col-"] {
    float: none;
    width: 100%;
  }

  /* 左侧标题栏 */
  .list-tab-cont {
    margin-top: 15px;
  }

  .list-tab-cont .new-title {
    padding: 8px 12px;
  }

  .new-title .title-img {
    width: 42px;
    margin-right: 10px;
  }

  .new-title .title-text {
    width: auto;
    font-size: 18px;
  }

  /* 内容区 */
  .article-cont {
    padding: 10px 12px;
    margin-top: 15px;
  }

  .article-cont .article-list .article-list-item {
    padding-right: 0;
    padding-bottom: 8px;
  }

  .article-cont .article-list .article-list-item h3 {
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
    word-break: break-all;
  }

  .article-cont .article-list .article-list-item p {
    white-space: normal;
    word-break: break-all;
    margin-bottom: 4px;
  }

  .article-cont .article-list .article-list-item .article-time {
    position: static;
    display: block;
    text-align: right;
    margin-top: 4px;
  }

  /* 文章正文（标题/时间等） */
  .article-title {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 5px;
  }

  /* 分页 */
  .article-cont .article-page .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
  }

  .article-cont .article-page .pagination > li {
    margin-bottom: 6px;
  }

  .pagerHtmlWrap {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .pagerHtmlWrap .cc_cells a span {
    width: auto;
    margin-right: 15px;
  }

  /* 底部 */
  .footer .footer-link a {
    display: inline-block;
    padding: 0 10px;
    font-size: 14px;
    line-height: 30px;
  }

  .footer .footer-link {
    line-height: 30px;
  }

  .footer p {
    font-size: 13px;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }

  .footer .footer-body {
    padding: 12px 10px;
  }

  /* 固定悬浮窗口在移动端隐藏 */
  .zf-icon-fixed {
    display: none !important;
  }

  /* ===== 文章正文区域（article-cont）移动端适配 ===== */
  .article-cont {
    overflow: hidden;
  }

  /* 固定 90% 宽度的表格改为自适应 */
  .article-cont table {
    width: 100% !important;
    max-width: 100% !important;
  }

  .article-cont table td {
    word-break: break-all;
  }

  /* 文章标题 */
  .article-cont .title span {
    font-size: 20px !important;
    line-height: 1.5;
  }

  /* 元信息（发布日期/访问次数/信息来源/字号）：4 列改为堆叠多行 */
  .article-cont table table td {
    display: block;
    width: 100% !important;
    padding: 3px 0;
    text-align: left;
    font-size: 13px;
  }

  .article-cont table table td:last-child {
    text-align: center;
  }

  /* 正文段落：缩小字号、加大行距、减少缩进 */
  .article-cont #zoom p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    text-indent: 1.8em !important;
    margin-bottom: 12px;
  }

  .article-cont #zoom p span {
    font-size: 16px !important;
  }

  /* 附件预览区：去掉行内 60px 左内边距 */
  .article-cont td.bt_content[style*="padding-left"] {
    padding-left: 0 !important;
  }

  /* 打印/关闭按钮居中 */
  .article-cont table td[align="right"] {
    text-align: center;
    font-size: 13px;
    line-height: 2;
  }
}

@media (max-width: 480px) {
  .header2 .logo {
    height: 38px;
    margin-top: 15px;
  }

  .bl-navbar .bl-navbar-item {
    padding: 7px 10px;
  }

  .bl-navbar .bl-navbar-item span {
    font-size: 14px;
  }

  .new-title .title-text {
    font-size: 16px;
  }

  .article-cont .article-list .article-list-item h3 {
    font-size: 14px;
  }

  .footer p {
    font-size: 12px;
  }

  /* 文章正文区域进一步缩小 */
  .article-cont .title span {
    font-size: 18px !important;
  }

  .article-cont #zoom p,
  .article-cont #zoom p span {
    font-size: 15px !important;
  }
}


 .mobile-footer { text-align: center; padding: 10px; background-color: #0068b8; color: #fff;}
  .mobile-footer .link-group { font-size: 12px; color: #eee; margin-bottom: 20px; }
  .mobile-footer .link-group a { color: #c0e1fd; padding: 0 5px; word-break: keep-all; }
  .mobile-footer p { font-size: 14px; }
  #myPhoneHeader .logo { height: auto; margin: 60px auto 20px; width: 200px; }
  #myPhoneHeader .logo img { width: 100%; height: auto; }
  #myPhoneHeader .search-cont { width: 330px; margin: 0 auto; }
  #myNavMobile.bl-nav { color: #fff; margin-top: 30px; background-color: #005eae; }
  .mobile-navbar { margin-bottom: 0; min-height: 44px; background-color: #005eae; border: none; border-radius: 0; z-index: 10; }
  .mobile-navbar .navbar-brand { height: 44px; line-height: 44px; padding: 0 15px; color: #fff; font-size: 15px; }
  .mobile-navbar .navbar-toggle { margin-top: 6px; margin-bottom: 6px; border-color: rgba(255, 255, 255, 0.5); }
  .mobile-navbar .navbar-toggle .icon-bar { background-color: #fff; }
  .mobile-navbar .navbar-toggle:hover, .mobile-navbar .navbar-toggle:focus { background-color: rgba(255, 255, 255, 0.15); }
  .mobile-navbar .navbar-collapse { border-color: rgba(255, 255, 255, 0.2); box-shadow: none; }
  .mobile-navbar .navbar-nav { margin: 0; }
  .mobile-navbar .navbar-nav > li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .mobile-navbar .navbar-nav > li > a { padding: 12px 15px; color: #fff; font-size: 14px; }
  .mobile-navbar .navbar-nav > li.active > a, .mobile-navbar .navbar-nav > li > a:hover, .mobile-navbar .navbar-nav > li > a:focus { background-color: rgba(255, 255, 255, 0.18); color: #fff; }