/* ============================================================
   响应式媒体查询（media.css）
   断点：移动端 ≤767px / 平板 768px–999px / 桌面端 ≥1000px
   另设过渡断点：≤1365px 压缩页头尺寸，≤1100px 收起为汉堡导航
   兼容：IE11+（不使用 grid / flex gap，间距用 margin 实现）
   ============================================================ */

/* ---------------- ≤1365px：页头压缩过渡 ---------------- */
@media (max-width: 1365px) {
  .header-inner { height: 96px; padding: 0 24px; }
  .brand-logo img { width: 220px; height: 46px; }
  .brand-dept-cn { font-size: 20px; }
  .brand-dept-en { display: none; }
  .brand-divider { margin: 0 16px; height: 34px; }
  .nav-item + .nav-item { margin-left: 20px; }
  .nav-item a { font-size: 15px; }
  .header-search { margin-left: 20px; }
  .search-toggle { width: 84px; height: 38px; font-size: 15px; }
  .footer-main { padding-top: 48px; padding-bottom: 36px; }
}

/* ---------------- ≤1100px：主导航收起为汉堡菜单 ---------------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: #ffffff;
    border-top: 1px solid #e0e8f4;
    -webkit-box-shadow: 0 12px 24px rgba(16, 41, 78, 0.12);
    box-shadow: 0 12px 24px rgba(16, 41, 78, 0.12);
    z-index: 98;
  }
  .nav.is-open { display: block; }
  .nav-list { display: block; padding: 8px 24px 16px; }
  .nav-item + .nav-item { margin-left: 0; }
  .nav-item a {
    padding: 13px 8px;
    font-size: 16px;
    border-bottom: 1px solid #f2f7fd;
  }
  .nav-item:last-child a { border-bottom: 0; }
  .header-search { margin-left: auto; }
}

/* ---------------- 平板 768px–999px ---------------- */
@media (max-width: 999px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 30px; }
  .section-head { margin-bottom: 32px; }
  .topbar { height: auto; }
  .topbar-inner { height: auto; padding-top: 8px; padding-bottom: 8px; -ms-flex-wrap: wrap; flex-wrap: wrap; }

  /* Banner 轮播高度 */
  .banner-slide { height: 420px; }
  .banner .slick-arrow { left: 16px; right: auto; width: 40px; height: 40px; margin-top: -20px; }
  .banner .slick-next { left: auto; right: 16px; }

  /* 服务指南：两列 */
  .service-row { -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -8px; }
  .service-row + .service-row { margin-top: 0; }
.service-card + .service-card {
        margin: 0 8px 16px;
}
  .service-card {
   min-height:auto;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 calc(50% - 16px);
    flex: 1 1 calc(50% - 16px);
    margin: 0 8px 16px;
  }
  .service-name { font-size: 19px; }

  /* 新闻中心：上下堆叠 */
  .news-body { display: block; }
  .news-focus { width: 100%; }
  .news-list { margin-left: 0; margin-top: 16px; }
  .news-item { padding: 20px 0; min-height:auto;}
  .news-item:first-child { padding-top: 16px; border-top: 1px solid #e0e8f4; }

  /* 下载专区：两列 */
  .dl-items { -ms-flex-wrap: wrap; flex-wrap: wrap; }
  .dl-item { -webkit-box-flex: 1; -ms-flex: 1 1 50%; flex: 1 1 50%; }
  .dl-item + .dl-item { border-left: 0; }
  .dl-item:nth-child(even) { border-left: 1px solid #dbe5f2; }
  .dl-item:nth-child(n+3) { border-top: 1px solid #dbe5f2; }

  /* 列表/详情布局：上下堆叠 */
  .list-layout, .detail-layout { display: block; padding-top: 24px; padding-bottom: 32px; }
  .sidebar { width: 100%; margin-bottom: 20px; }
  .side-menu-item { display: inline-block; }
  .side-menu-item a { border-left: 0; border-bottom: 3px solid transparent; padding: 12px 14px; }
  .side-menu-item.is-current a { border-left: 0; border-bottom-color: #1c64f2; }
  .list-main, .detail-main { margin-left: 0; }

  /* 页脚 */
  .footer-main { -ms-flex-wrap: wrap; flex-wrap: wrap; }
  .footer-brand { -webkit-box-flex: 1; -ms-flex: 1 1 100%; flex: 1 1 100%; margin-bottom: 32px; }
  .footer-contact { width: auto; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-left: 40px; }
  .footer-map { -webkit-box-flex: 1; -ms-flex: 1 1 100%; flex: 1 1 100%; }
  .footer-map-link { margin-top: 14px; }
}

/* ---------------- 移动端 ≤767px ---------------- */
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 13px; line-height: 18px; }
  .section-head { margin-bottom: 24px; }
  .section-more span { display: none; }
  .section-more img { margin-left: 0; }

  /* 顶部辅助栏：仅保留右侧链接 */
  .topbar-welcome { display: none; }
  .topbar-inner { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; }

  /* 页头 */
  .header-inner { height: 72px; padding: 0 16px; }
  .brand-logo img { width: 170px; height: 36px; }


  .nav-toggle { width: 40px; height: 40px; margin-left: 8px; }
  .search-toggle { width: 40px; height: 40px; }
  .search-toggle span { display: none; }
  .search-toggle img { margin-right: 0; }

  /* Banner 轮播高度 */
  .banner-slide { height: 340px; }

  /* 服务指南：单列 */
.service-card + .service-card{margin: 0 0 14px; }
  .service-card { -ms-flex-preferred-size: 100%; flex-basis: 100%; margin: 0 0 14px; }
  .service-row { margin: 0; }
  .service-name { font-size: 18px; }
  .service-icon { width: 54px; height: 54px; }
  .service-icon img { width: 34px; height: 34px; }

  /* 新闻中心 */
  .news-focus-title { font-size: 19px; line-height: 28px; max-height: 56px; -webkit-line-clamp: 2; }
  .news-day { font-size: 24px; }
  .news-title { font-size: 16px; line-height: 24px; max-height: 48px; }
  .news-summary { display: none; }
  .news-item, .page-news-item { padding: 18px 0; }
  .news-arrow { display: none; }

  /* 下载专区：单列 */
  .dl-item { -ms-flex-preferred-size: 100%; flex-basis: 100%; }
  .dl-item:nth-child(even) { border-left: 0; }
  .dl-item:nth-child(n+2) { border-top: 1px solid #dbe5f2; }
  .dl-item a { height: 76px; }
  .dl-name { font-size: 15px; }

  /* 子页横幅 */
  .subbanner-inner { padding: 36px 16px; }
  .subbanner-title { font-size: 24px; }

  /* 列表页 */
  .page-news-items { padding: 4px 0px; }
  .page-news-item .news-txt { margin-left: 16px; }
  /* 分页响应式由 css/page.css 自带媒体查询处理 */

  /* 详情页 */
  .article-box { padding: 24px 16px 28px; }
  .article-title { font-size: 20px; }
  .article-meta span { display: block; margin: 2px 0; }
  .article-content { font-size: 15px; }
  .article-turn-box { padding: 4px 16px; font-size: 13px; }
  .article-turn-box span { display: inline; }
  .article-turn-box a { padding: 10px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 页脚：单列 */
  .footer-main { display: block; padding-top: 36px; padding-bottom: 24px; }
  .footer-brand { margin-bottom: 0; }
  .footer-nav { width: 100%; margin-top: 28px; }
  .footer-contact { width: 100%; margin-left: 0; margin-top: 28px; }
  .footer-map-link { margin-top: 14px; }
  .footer-bottom-wrap {
    height: auto;
    padding: 14px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
  }
  .footer-copy, .footer-beian { line-height: 1.8; }

  /* 返回顶部 */
  .backtop { right: 16px; bottom: 24px; width: 56px; height: 60px; font-size: 10px; }
  .backtop img { width: 20px; height: 20px; }
  .backtop span { margin-top: 3px; }
}
@media (max-width: 479px) {
.footer-brand-row{justify-content: center;}
    .brand-logo img {
        width: 110px;
        height: 30px;
    }
    .brand-divider {
        margin: 0 5px;
        height: 24px;
    }
    .brand-dept-cn {
        font-size: 14px;
    }
}
/* ---------------- 超宽屏 ≥1920px ---------------- */
@media (min-width: 1920px) {

}
