/* ===================== 移动端适配样式（信用交通政策文件单独列表页） ===================== */

@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;
  }

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

  /* 头部区域 */
  .header .head-box {
    padding: 25px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .header .head-title {
    font-size: 30px;
  }

  .header .search-cont {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 15px;
  }

  .header .search-cont .nav-tabs > li a {
    padding: 8px 10px;
    font-size: 13px;
  }

  /* 导航栏：单行横向滚动，不换行 */
  .bl-navbar {
    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 12px;
  }

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

  .bl-navbar .bl-navbar-item a:hover::after,
  .bl-navbar .bl-navbar-item.active::after {
    width: 40px;
    height: 2px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

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

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

  /* 左侧标签栏：保持竖排，紧凑显示 */
  .list-tab-cont {
    margin-bottom: 15px;
  }

  .list-tab-cont .tab-title {
    font-size: 15px;
    padding: 8px 12px;
  }
  .list-tab-cont .tab-ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-top: 1px solid #e8e8e8;
    }

  .list-tab-cont .tab-ul > li {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* 分栏标题（国家级/省级/市级） */
  .level-text {
    flex-wrap: wrap;
    padding: 0 2px;
  }

  .level-text h4 {
    font-size: 16px;
    margin: 15px 0 10px;
  }

  .level-text a {
    font-size: 14px;
  }

  /* 文章列表 */
  .article-cont {
    padding: 10px 15px;
  }

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

  .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;
  }

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

  .footer .footer-link a {
    display: inline-block;
    padding: 0 10px;
    font-size: 14px;
  }

  .footer .footer-body {
    padding: 15px 0;
  }

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

@media (max-width: 480px) {
  .header .head-box {
    padding: 20px 0;
  }

  .header .head-title {
    font-size: 24px;
  }

  .bl-navbar .bl-navbar-item {
    padding: 6px 8px;
  }

  .bl-navbar .bl-navbar-item a {
    font-size: 14px !important;
  }

  .list-tab-cont .tab-ul > li {
    padding: 7px 10px;
  }

  .level-text h4 {
    font-size: 15px;
  }

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

.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; }