/* =========================================================
   移动端适配补丁（九江市赣鄱砂业集团有限公司 www.jjgpsy.cn）
   - 仅作用于 max-width:768px（搜索入口另有 1024px 断点），桌面端 0 影响
   - 思路：防横向溢出 + 流式宽度 + 图片自适应 + 触摸友好，不改变桌面端视觉
   - 主色沿用站内 #1e326e，强调色 #e50014
   注：本站与九江长鑫项目同用 yun300 模板，头部/主体/页脚网格 ID 一致。
   ========================================================= */

@media screen and (max-width: 768px) {

  /* 1. 禁止横向滚动：老模板固定宽元素较多，避免整页左右晃 */
  html, body {
    overflow-x: hidden !important;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  /* 2. 图片 / 视频 / 框架自适应，不再撑破屏幕 */
  img, video, iframe, embed, object {
    max-width: 100% !important;
  }
  img.lazy-img,
  img.img100,
  img.m-banner-img,
  img.bannerPic {
    height: auto !important;
  }

  /* 3. 表格改为可横向滑动，而不是把页面撑宽 */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table td, table th {
    white-space: normal !important;
    word-break: break-word;
  }

  /* 4. 长文本、英文、URL 自动折行 */
  body, p, li, td, th, div, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* 5. 表单：字号 ≥16px，避免 iOS 聚焦时页面自动放大 */
  input[type="text"], input[type="tel"], input[type="email"],
  input[type="search"], input[type="password"], input[type="number"],
  select, textarea {
    font-size: 16px !important;
    max-width: 100% !important;
  }

  /* 6. 触摸友好：导航与按钮点击区域放大到 ≥40px */
  .navLi > a, .navName, .navSlink,
  .top-nav-a1, .top-nav-a2, .more {
    display: block !important;
    padding: 10px 12px !important;
    line-height: 1.5 !important;
  }
  a.btn, .btn, button.btn {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* 7. 正文段落：移动端加大行距，提升可读性（不改变字号与配色） */
  .content p, .summry p, .newnr p, article p {
    line-height: 1.85 !important;
  }

  /* 8. 详情页正文图片居中显示，避免左对齐贴边 */
  .content img, .newnr img, article img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* 正文容器 #artLr 内的图片：强制居中 + 自适应宽度（只居中图片，不影响段落文字） */
  #artLr img {
    display: block !important;
    float: none !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 9. 顶部/底部信息区左右留白，避免文字贴到屏幕边缘 */
  .top-nav-wrap, #footNav {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* 10. 列表页图文：窄屏改为上下堆叠，图片宽度撑满 */
  .NewsList_a3 > li,
  #NewsList_a3 > li {
    display: block !important;
  }
  .NewsList_a3 > li > *,
  #NewsList_a3 > li > * {
    max-width: 100% !important;
  }

  /* 11. 隐藏桌面端悬浮客服/侧边挂件（手机端容易遮挡内容） */
  .kefu, .side-service, .float-service {
    display: none !important;
  }

  /* 12. 分页条收紧间距 */
  .fc-pg {
    gap: 6px !important;
    margin: 18px 0 6px !important;
  }
  .fc-pg a, .fc-pg .fc-pg-num {
    min-width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
  }
  .fc-pg .fc-pg-info {
    display: none !important;
  }

  /* 13. 页头：LOGO 宽度占满、避开右侧汉堡按钮
         栏目页栅格 1566292663930 / 首页栅格 1561970661889 */
  #w_grid-1566292663930 > div > .p_gridbox > .p_gridCell:nth-child(3n+1),
  #w_grid-1561970661889 > div > .p_gridbox > .p_gridCell:nth-child(3n+1) {
    width: 86% !important;
    padding-left: 10px !important;
    box-sizing: border-box !important;
  }
  #w_grid-1566292663930 > div > .p_gridbox > .p_gridCell:nth-child(3n+2),
  #w_grid-1561970661889 > div > .p_gridbox > .p_gridCell:nth-child(3n+2) {
    width: 14% !important;
  }
  #w_fimg-1566292667248,
  #w_fimg-1561971211362 {
    max-width: 100% !important;
  }
  #w_fimg-1566292667248 .e_image img,
  #w_fimg-1561971211362 .e_image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* 汉堡按钮略放大并垂直居中，与 LOGO 同高更好按 */
  .tNavBox .navBtn {
    top: 50% !important;
    margin-top: -22px !important;
    width: 44px !important;
    height: 44px !important;
  }

  /* 14. 栏目切换条（.NavList_a1）：更紧凑、可横滑、当前栏目高亮 */
  .NavList_a1 {
    background: #fff !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #eee !important;
  }
  .NavList_a1 ul {
    flex-wrap: nowrap !important;
  }
  .NavList_a1 a {
    height: 46px !important;
    line-height: 46px !important;
    font-size: 15px !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
  }
  .NavList_a1 .more:after {
    top: 50% !important;
    margin-top: -8px !important;
  }
  /* 当前栏目：红字 + 底部红条 */
  .NavList_a1 a.cur {
    color: #e50014 !important;
    font-weight: 700 !important;
  }
  .NavList_a1 a.cur:before {
    width: 60% !important;
    left: 20% !important;
    background-color: #e50014 !important;
  }

  /* 15. 详情页正文：字号加大到 17px，行距 1.9，阅读更舒适 */
  #artLr {
    font-size: 17px !important;
    line-height: 1.9 !important;
  }
  #artLr p, #artLr span, #artLr li, #artLr div, #artLr b, #artLr i, #artLr font {
    font-size: 17px !important;
  }
  #artLr h1 { font-size: 21px !important; }
  #artLr h2 { font-size: 20px !important; }
  #artLr h3, #artLr h4 { font-size: 18px !important; }
  #artLr strong, #artLr th { font-size: 17px !important; }
  /* 表格内略小，避免撑爆竖屏 */
  #artLr table, #artLr table span, #artLr table p, #artLr table td, #artLr table th {
    font-size: 14px !important;
  }
}

/* 超窄屏（≤360px）微调 */
@media screen and (max-width: 360px) {
  .fc-pg a, .fc-pg .fc-pg-num {
    min-width: 30px !important;
    padding: 0 6px !important;
  }
}

/* =========================================================
   PC 端（>768px）专属规则
   ========================================================= */

/* 16. 头部吸顶：由 front-common.js 的 FC.stickyHeader 在滚动超过原位时添加 .hdr-fixed。
       外层 .w_grid-000>div>.p_gridbox 为 overflow:hidden 会抑制 CSS sticky，故用 JS 切 fixed。
       left/width 由 JS 按原始几何内联设置，保证 fixed 后位置尺寸与原位一致。 */
@media screen and (min-width: 769px) {
  #w_grid-1561970649941.hdr-fixed {
    position: fixed;
    top: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  }
}

/* =========================================================
   17. 首页主体内容区手机端自适应
   原 index.html 内联 <style> 把头条滚动区(.part1)与焦点图/新闻列表区(.part2)
   写成 1400px 固定宽、内部左右浮动各 680px，手机端整体横向溢出、
   页面被迫缩成桌面版。此处 ≤768px 全部改为流式宽度、纵向堆叠。
   ========================================================= */
@media screen and (max-width: 768px) {
  /* —— 头条滚动区 —— */
  .part1,
  .part1 .swiper-container {
    width: 100% !important;
    height: auto !important;
  }
  .part1 { margin-top: 14px !important; }
  .part1 .swiper-slide { padding: 2px 12px; }
  .part1 .swiper-container a {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  .part1 .swiper-slide a p { font-size: 12px !important; }
  #toutiao2 { background-size: cover !important; }

  /* —— 焦点图 + 新闻列表主体区 —— */
  .part2 {
    width: 100% !important;
    height: auto !important;
    margin-top: 16px !important;
  }
  .part2 .cbjd {
    width: 100% !important;
    float: none !important;
  }
  .part2 .cbjd .swiper-slide img {
    width: 100% !important;
    height: auto !important;
  }
  .part2 .cbjd .swiper-slide .t { font-size: 14px !important; }
  .part2 .newslist {
    float: none !important;
    width: 100% !important;
  }
  .index2_2 { width: 100% !important; }
  /* 「更多」链接原内联 margin-left:540px，需 !important 覆盖 */
  .index2_2_1 a[style*="margin-left"] { margin-left: auto !important; }
  .index2_2 .index2_2_1 li a { font-size: 17px !important; }
  .index2_2 .index2_2_2_1 li { height: auto !important; }
  .index2_2 .index2_2_2_1 li a { font-size: 14px !important; }
}

/* =========================================================
   18. 移动端隐藏首页悬浮二维码挂件（.fixd）
   PC 端是角落小挂件，手机上会变成遮挡内容的大弹窗。
   ========================================================= */
@media screen and (max-width: 768px) {
  .fixd { display: none !important; }
}

/* =========================================================
   19. 站内搜索入口
   布局约束：PC 头部行内已排满（LOGO + 导航 + 电话），故：
   - ≤1024px（手机/平板走汉堡菜单）：放大镜图标放在汉堡按钮左侧；
   - ≥1025px（PC）：导航条末尾（"联系我们"之后）放大镜圆钮（.fc-search-li，
     由 front-common.js 的 FC.mountNavSearch 在菜单渲染后挂载）。
   两种入口均打开同一个全屏搜索面板，GET 提交到 /search?kw=
   ========================================================= */
/* 放大镜图标（PC 悬浮按钮 / 移动端头部图标共用，颜色各自覆盖） */
.fc-search-ico { width: 16px; height: 16px; display: inline-block; position: relative; }
.fc-search-ico:before {
  content: ''; position: absolute; left: 0; top: 0; width: 10px; height: 10px;
  border: 2px solid #1e326e; border-radius: 50%; box-sizing: border-box;
}
.fc-search-ico:after {
  content: ''; position: absolute; right: 0; bottom: 1px; width: 7px; height: 2px;
  background: #1e326e; border-radius: 1px;
  transform: rotate(45deg); transform-origin: right bottom;
}

/* 头部放大镜图标（默认隐藏；≤1024px 显示，样式对齐汉堡按钮）
   挂在头部外层 #w_grid-1561970649941 上（.tNavBox 会裁剪），故需给头部加定位上下文 */
.fc-search-tg { display: none; }
@media screen and (max-width: 1024px) {
  #w_grid-1561970649941 { position: relative; }
  .fc-search-tg {
    display: flex; position: absolute; right: 56px; top: 50%; margin-top: -20px;
    width: 40px; height: 40px; background: #1e326e; border-radius: 4px;
    align-items: center; justify-content: center; z-index: 999; cursor: pointer;
  }
  .fc-search-tg .fc-search-ico:before { border-color: #fff; }
  .fc-search-tg .fc-search-ico:after { background: #fff; }
}
/* ≤768px：与放大后的汉堡按钮（44px）对齐 */
@media screen and (max-width: 768px) {
  .fc-search-tg { right: 58px; margin-top: -22px; width: 44px; height: 44px; }
}

/* PC 导航条搜索图标（≥1025px，renderMenu 渲染菜单后由 FC.mountNavSearch 挂到 .navUl 末尾，
   即"联系我们"之后；≤1024px 隐藏，移动端走头部放大镜图标） */
.fc-search-li { display: none; }
@media screen and (min-width: 1025px) {
  .fc-search-li {
    display: flex; align-items: center; justify-content: center;
    padding: 2.25rem 0.9vw 2.25rem 1.1vw;
  }
  .fc-search-li .fc-search-nav {
    width: 38px; height: 38px; border-radius: 50%; background: #1e326e;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .18s, transform .18s;
  }
  .fc-search-li .fc-search-nav:hover { background: #e50014; transform: scale(1.08); }
  .fc-search-li .fc-search-ico:before { border-color: #fff; }
  .fc-search-li .fc-search-ico:after { background: #fff; }
}

/* 搜索弹窗（点击图标弹出：半透明遮罩 + 居中白色卡片）
   关闭方式：右上角 × / 点击遮罩空白处 / Esc 键 */
.fc-search-panel {
  display: none; position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(12, 22, 48, .45); z-index: 100000;
  padding: 16px; box-sizing: border-box;
  align-items: center; justify-content: center;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}
.fc-search-panel.open { display: flex; animation: fcMaskIn .18s ease-out; }
@keyframes fcMaskIn { from { opacity: 0; } to { opacity: 1; } }

.fc-sp-dlg {
  width: 100%; max-width: 560px; background: #fff; border-radius: 12px;
  padding: 20px 22px 18px; box-sizing: border-box;
  box-shadow: 0 24px 60px rgba(9, 20, 48, .3);
  animation: fcSpIn .22s cubic-bezier(.2, .8, .3, 1);
}
@keyframes fcSpIn {
  from { opacity: 0; transform: translateY(-14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.fc-sp-dlg-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.fc-sp-dlg-title {
  font-size: 17px; font-weight: 600; color: #1e326e; letter-spacing: .5px;
}
.fc-sp-close {
  width: 32px; height: 32px; line-height: 30px; text-align: center;
  font-size: 22px; color: #9aa3b5; text-decoration: none; border-radius: 50%;
  transition: color .18s, background .18s;
}
.fc-sp-close:hover { color: #1e326e; background: #f1f4fa; }

.fc-sp-form2 { display: flex; gap: 10px; }
.fc-sp-input2 {
  flex: 1; min-width: 0; height: 46px; border: 1px solid #dbe1ec; background: #f6f8fb;
  border-radius: 8px; padding: 0 14px; font-size: 16px; outline: 0; font-family: inherit;
  color: #22304a; transition: border-color .18s, background .18s;
}
.fc-sp-input2:focus { border-color: #1e326e; background: #fff; }
.fc-sp-btn2 {
  height: 46px; padding: 0 24px; background: #1e326e; color: #fff; border: 0;
  border-radius: 8px; font-size: 15px; cursor: pointer; letter-spacing: 1px;
  transition: background .18s;
}
.fc-sp-btn2:hover { background: #16306b; }
.fc-sp-tip {
  margin: 12px 0 0; color: #9aa3b5; font-size: 12.5px; line-height: 1.5;
}

/* 移动端：卡片贴边留白，输入框/按钮略收窄 */
@media screen and (max-width: 768px) {
  .fc-search-panel { padding: 14px; align-items: flex-start; padding-top: 12vh; }
  .fc-sp-dlg { padding: 16px 16px 14px; border-radius: 10px; }
  .fc-sp-dlg-title { font-size: 16px; }
  .fc-sp-input2 { height: 44px; font-size: 16px; }
  .fc-sp-btn2 { height: 44px; padding: 0 18px; letter-spacing: 0; }
  .fc-sp-tip { margin-top: 10px; }
}

/* =========================================================
   20. 搜索结果页 search.html（body.search-page）
   页面结构沿用栏目页模板；栏目切换条已移除，面包屑整行。
   ========================================================= */
.search-page #w_grid-1564476740519 > .w_grid > .p_gridbox > .p_gridCell {
  width: 100% !important; margin-left: 0 !important;
}
/* 搜索页无栏目维度，隐藏栏目切换条（NavList_a1），面包屑独占整行 */
.search-page #c_portalResNews_category-15644771256702908 { display: none !important; }
.fc-search-page { max-width: 1200px; margin: 0 auto; padding: 18px 15px 46px; }
.fc-sp-box {
  background: #fff; border: 1px solid #e8ecf3; border-radius: 8px;
  padding: 30px 20px; text-align: center; margin-bottom: 16px;
}
.fc-sp-form { display: flex; max-width: 640px; margin: 0 auto; }
.fc-sp-input {
  flex: 1; min-width: 0; height: 46px; border: 2px solid #1e326e; border-right: 0;
  border-radius: 6px 0 0 6px; padding: 0 14px; font-size: 15px; outline: 0; font-family: inherit;
}
.fc-sp-btn {
  width: 110px; height: 46px; background: #1e326e; color: #fff; border: 0;
  border-radius: 0 6px 6px 0; font-size: 16px; cursor: pointer; letter-spacing: 2px;
}
.fc-sp-info { color: #666; font-size: 14px; margin: 4px 2px 14px; }
.fc-sp-info b { color: #e50014; }
.fc-sp-item {
  background: #fff; border: 1px solid #eceff5; border-radius: 6px;
  padding: 16px 18px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s;
}
.fc-sp-item:hover { box-shadow: 0 4px 14px rgba(30, 50, 110, .08); border-color: #d8dfee; }
.fc-sp-title { font-size: 17px; color: #222; font-weight: 600; text-decoration: none; line-height: 1.5; }
.fc-sp-title:hover { color: #1e326e; }
.fc-sp-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  color: #999; font-size: 12.5px; margin: 8px 0 6px;
}
.fc-sp-col { color: #1e326e; background: #eef2fa; padding: 1px 8px; border-radius: 3px; }
.fc-sp-sum { color: #666; font-size: 13.5px; line-height: 1.75; margin: 0; }
.fc-hl { color: #e50014; font-style: normal; font-weight: 600; }
.fc-sp-empty { text-align: center; padding: 54px 0; color: #999; font-size: 15px; }
.fc-sp-empty b { color: #333; }
@media screen and (max-width: 768px) {
  .fc-search-page { padding: 14px 12px 36px; }
  .fc-sp-box { padding: 20px 14px; }
  .fc-sp-input { height: 42px; font-size: 15px; }
  .fc-sp-btn { width: 76px; height: 42px; font-size: 15px; letter-spacing: 0; }
  .fc-sp-item { padding: 13px 14px; margin-bottom: 10px; }
  .fc-sp-title { font-size: 15.5px; }
  .fc-sp-sum { font-size: 13px; }
}

/* =========================================================
   21. 手机端主体内容左右留空隙
   原模板内容区宽 100% 且无内边距，列表/正文/页脚文字直接贴屏幕边缘。
   现给主体容器统一加左右 12px 留白（box-sizing:border-box 防止 100%+padding 溢出）：
   - 栏目页/详情页/搜索页主体 #w_grid-1564456455396（全套模板共用 id）；
   - 首页主体 #w_grid-1561969682738（part1 头条 + part2 焦点图/新闻列表）；
   - 页脚公司信息格（栏目页 #w_grid-1566293032497 / 首页 #w_grid-1562065469700）。
   例外（负 margin 拉回全宽，避免背景图留白边）：
   - .subpage_ad 栏目页标题 banner（背景大图，标题文字 absolute 居中不受影响）；
   - .part1 .swiper-container 首页头条区背景图。
   ========================================================= */
@media screen and (max-width: 768px) {
  /* 栏目页 / 详情页 / 搜索页：主体内容留白 */
  #w_grid-1564456455396 > div > .p_gridbox {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  /* 栏目页标题 banner：背景大图拉回全宽 */
  #w_grid-1564456455396 .subpage_ad {
    margin-left: -12px !important;
    margin-right: -12px !important;
  }

  /* 首页：头条 + 焦点图/新闻列表留白 */
  #w_grid-1561969682738 > div > .p_gridbox {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  /* 首页头条区背景图拉回全宽 */
  .part1 .swiper-container {
    margin-left: -12px;
    margin-right: -12px;
  }

  /* 页脚公司信息 + 备案号行留白（防长地址贴边） */
  #w_grid-1566293032497 > .w_grid > .p_gridbox,
  #w_grid-1562065469700 > .w_grid > .p_gridbox {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   22. 首页两处溢出修复
   ========================================================= */

/* 22a. 头条滚动区（part1）文字溢出修复：
        摘要 p 无行数限制导致标题+多行摘要超出 120px 高的 swiper 容器；
        slide 文字全宽盖住背景图左侧的「要闻」图标。
        —— 摘要限 1 行省略；PC slide 左右留出图标区；内容垂直居中。 */
.part1 .swiper-slide a p {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  max-height: 27px;
}
.part1 .swiper-slide a { overflow: hidden; }
@media screen and (min-width: 769px) {
  .part1 .swiper-slide {
    padding: 0 70px 0 110px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}
@media screen and (max-width: 768px) {
  /* 移动端「要闻」背景 cover 后仍占左侧约 15%，标题/摘要避让 */
  .part1 .swiper-slide { padding-left: 74px !important; padding-right: 14px !important; }
}

/* 22b. 首页新闻/公告列表（.index2_2_2_1）长标题折行重叠修复：
        内联样式 li{height:44px;line-height:44px} 固定高 + a 浮动，
        长标题折成两行后与日期、下一条互相重叠。
        —— 改 flex 布局：标题单行省略占满，日期右侧固定不缩。 */
.index2_2 .index2_2_2_1 li {
  height: auto !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 10px 0 !important;
  overflow: hidden;
}
.index2_2 .index2_2_2_1 li a {
  float: none !important;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.index2_2 .index2_2_2_1 li span {
  float: none !important;
  flex-shrink: 0;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
  margin: 0 !important;
}
/* 标题 span（data-f=bt90）跟长鑫一致：继承链接字号 18px/#333（移动端 14px），不再被压小
   日期 span（.text_737373）维持 12.5px 灰色 */
.index2_2 .index2_2_2_1 li a span {
  font-size: inherit !important;
  color: inherit !important;
}
.index2_2 .index2_2_2_1 li span.text_737373 {
  font-size: 12.5px;
  color: #a7a7a7;
}

/* =========================================================
   23. 页脚改造（对齐九江长鑫项目，2026-10-25）
   ① 顶部导航条下沿加深蓝细线，与下方 banner/内容区分隔
   ② 底部栏目导航块（.top-nav-wrap / #footNav）删除：顶部导航已有全部栏目，冗余
   ③ 公司信息独占一行居中、紧凑化
   ④ 备案号移入公司信息格（HTML 迁移：tools/fix-footer.py），居中且链到工信部
   ========================================================= */

/* 23a. 头部导航条下沿分隔线 */
#w_grid-1561970649941 .p_gridbox {
  border-bottom: 2px solid #1e326e !important;
}

/* 23b. 底部重排：栏目分组导航不再重复渲染（renderFoot 改为只输出联系电话快捷条），
       原两列布局改为上下两行整宽：第一行联系电话，第二行公司信息
       栏目页/详情页/搜索页容器 #w_grid-1566293032497；首页容器 #w_grid-1562065469700 */
/* 电话条已迁到公司名下方，原左栏（first-child）变空 → 隐藏 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:first-child,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:first-child { display: none !important; }
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child {
  width: 100% !important;
  margin-left: 0 !important;
  float: none !important;
  display: block;
}
/* 电话条容器：整体独占一行居中（23c 会把非首个子块设为 inline-block，这里用完整路径压过权重） */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div.fc-foot-phones-wrap.top-nav-wrap,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div.fc-foot-phones-wrap.top-nav-wrap {
  display: block !important;
  width: 100%;
  margin: .45rem 0 .55rem !important;
}
/* PC：两行均居中；移动：占满宽但保持左对齐（长地址居中不好读） */
@media screen and (min-width: 769px) {
  #w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:first-child,
  #w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:first-child,
  #w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child,
  #w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child {
    text-align: center;
  }
}
/* 模板自带的栏目块样式不再需要（renderFoot 已不输出 .top-nav） */
.top-nav-wrap .top-nav,
.top-nav-wrap .footer-sub-hides { display: none !important; }

/* 23b-2. 联系电话快捷条：横排居中，标签灰色 + 号码高亮，直接 tel:/mailto: 可点 */
.fc-foot-phones {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 6px 26px; padding: 0 0 .2rem;
}
.fc-foot-phone {
  display: inline-flex; align-items: baseline; gap: 7px;
  text-decoration: none !important; white-space: nowrap; cursor: pointer;
}
.fc-foot-phone .fc-fp-lb { color: #9aa4bd; font-size: 13px; }
.fc-foot-phone .fc-fp-val {
  color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .3px;
  font-family: arial, helvetica, sans-serif;
}
.fc-foot-phone:hover .fc-fp-val { color: #8fb4ff; text-decoration: underline; }
@media screen and (max-width: 768px) {
  .fc-foot-phones { gap: 6px 14px; padding: .2rem 12px .35rem; }
  .fc-foot-phone { gap: 5px; }
  .fc-foot-phone .fc-fp-lb { font-size: 12px; }
  .fc-foot-phone .fc-fp-val { font-size: 15px; }
}

/* 23c. 页脚公司信息紧凑化：收窄边距与行距、适度缩小字号，
       热线/地址/分享等块内联合排（窄屏自动换行）。
       注：内联 span 写死了字号，必须 !important 覆盖。 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child {
  margin-top: .8rem !important;
  margin-bottom: .8rem !important;
}
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}
/* 公司名独占一行，与下方信息行留小间距 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div:first-child,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div:first-child {
  display: block !important;
  margin-bottom: .3rem !important;
}
/* 热线/地址/分享等块内联合排，组间距收窄 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div:not(:first-child),
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div:not(:first-child) {
  display: inline-block !important;
  margin: .12rem .5rem !important;
  vertical-align: middle;
}
/* 字号：公司名 24→20，标签 14→13，电话 26→20，地址 16→14 */
#w_common_text-1566293141829 span,
#w_common_text-1562118776100 span { font-size: 20px !important; }
#w_common_text-1566293071608 span, #w_common_text-1566293076949 span,
#w_common_text-1565763937270 span, #w_common_text-1565764090102 span { font-size: 13px !important; }
#w_common_text-1566293074494 span,
#w_common_text-1565764002972 span { font-size: 20px !important; }
#w_common_text-1566293065862 span,
#w_common_text-1565764116995 span { font-size: 14px !important; }

/* 23d. 备案号行：独占一行居中（23c 会把子块设为 inline-block，这里强制 block）
       栏目页/详情页/搜索页 #w_common_text-1566293094271；首页 #w_common_text-1562065469726 */
/* 权重说明：23c 的 `> div:not(:first-child){margin:.12rem .5rem!important}` 权重更高，
   这里同样要用「父容器完整路径 + div#id」压过去，否则备案号行的上下间距会被它覆盖 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1566293094271,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1562065469726,
#w_common_text-1566293094271,
#w_common_text-1562065469726,
.fc-beian-inaddr {
  display: block !important;
  width: 100%;
  margin: .55rem 0 .3rem !important;
  text-align: center;
  line-height: 1.4 !important;
}
#w_common_text-1566293094271 p,
#w_common_text-1562065469726 p,
.fc-beian-inaddr p { margin: 0 !important; }
#w_common_text-1566293094271 a,
#w_common_text-1562065469726 a,
.fc-beian-inaddr a { color: #999 !important; font-size: 13px !important; text-decoration: none !important; }
#w_common_text-1566293094271 a:hover,
#w_common_text-1562065469726 a:hover,
.fc-beian-inaddr a:hover { color: #c8c8c8 !important; text-decoration: underline !important; }
#w_common_text-1566293094271 span,
#w_common_text-1562065469726 span,
.fc-beian-inaddr span { color: #999 !important; font-size: 13px !important; }

/* 23e. 原底部容器压缩：模板 .w_grid-000/.w_grid-001 默认 min-height:12rem（192px），
       页脚内容紧凑化后各层容器的最小高度全部清零，只保留必要内边距 */
#w_grid-1562065469694,
#w_grid-1562065469704,
#w_grid-1562065469722,
#w_grid-1566293032497,
#w_grid-1562065469700,
#w_grid-1566293224059,
#w_grid-1566293043584 { min-height: 0 !important; }
#w_grid-1562065469694 { padding: .55rem 0 .7rem !important; }
/* 模板给页脚格子留的 2rem/3rem 上下外边距全部清零（浏览器实测：电话行格 mt/mb 32px、整行格 mt/mb 48px） */
#w_grid-1562065469694 .p_gridCell { margin-top: 0 !important; margin-bottom: 0 !important; }
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child { margin-top: .9rem !important; margin-bottom: .3rem !important; }
#w_grid-1566293224059 .p_gridCell:before,
#w_grid-1566293043584 .p_gridCell:before { display: none !important; }
#w_grid-1566293043584 > div > .p_gridbox > .p_gridCell,
#w_grid-1562065469722 > div > .p_gridbox > .p_gridCell {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* 分享组件（页脚内嵌 iShare 空壳）不占高度 */
.c_portalResPublic_websiteShare-01001 .row-pad { display: none !important; }

/* 23f. 去重：电话快捷条已展示服务热线号码，公司信息格里的“服务热线：+ 大号号码”两块隐藏
       栏目页/详情页/搜索页：标签 1566293071608 + 号码 1566293074494
       首页：标签 1565763937270 + 号码 1565764002972 */
/* 注意：23c 里的 `> div:not(:first-child){display:inline-block!important}` 权重更高（1个ID+多个类/伪类），
       这里必须用「父容器完整路径 + 目标块」把权重压过去，否则同带 !important 时会被它覆盖。 */
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1566293071608,
#w_grid-1566293032497 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1566293074494,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1565763937270,
#w_grid-1562065469700 > .w_grid > .p_gridbox > .p_gridCell:last-child > div#w_common_text-1565764002972 {
  display: none !important;
}

/* =========================================================
   24. 文章详情页分享条 / 导出工具（对齐九江长鑫项目）
   ========================================================= */
.fc-share {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 24px 0 4px; padding-top: 18px;
  border-top: 1px solid #eceff5;
}
.fc-share-tx { font-size: 13.5px; color: #8f97a8; margin-right: 2px; }
.fc-share-btn {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px;
  border: 1px solid #e2e7ef; border-radius: 16px; background: #fff;
  font-size: 13px; color: #5b6577; text-decoration: none; cursor: pointer;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}
.fc-share-btn:hover { color: #fff; }
.fc-sh-wx:hover { background: #2ba245; border-color: #2ba245; box-shadow: 0 4px 12px rgba(43, 162, 69, .22); }
.fc-sh-wb:hover { background: #e6162d; border-color: #e6162d; box-shadow: 0 4px 12px rgba(230, 22, 45, .22); }
.fc-sh-qz:hover { background: #f5a623; border-color: #f5a623; box-shadow: 0 4px 12px rgba(245, 166, 35, .22); }
.fc-sh-cp:hover { background: #1e326e; border-color: #1e326e; box-shadow: 0 4px 12px rgba(30, 50, 110, .22); }
.fc-sh-pr:hover { background: #5b6b8c; border-color: #5b6b8c; box-shadow: 0 4px 12px rgba(91, 107, 140, .22); }
.fc-sh-wd:hover { background: #2b579a; border-color: #2b579a; box-shadow: 0 4px 12px rgba(43, 87, 154, .22); }
.fc-sh-pf:hover { background: #c0392b; border-color: #c0392b; box-shadow: 0 4px 12px rgba(192, 57, 43, .22); }

/* 分组与分隔线：“分享到”与“工具”两组之间一条竖线 */
.fc-share-gp { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fc-share-sep { display: inline-block; width: 1px; height: 18px; background: #e2e7ef; margin: 0 2px; }

/* 微信二维码弹窗（遮罩 + 居中卡片，与搜索弹窗同一观感） */
.fc-share-pop {
  display: none; position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  z-index: 100000; padding: 16px; box-sizing: border-box;
  background: rgba(16, 24, 40, .55);
  align-items: center; justify-content: center;
}
.fc-share-pop.on { display: flex; animation: fcSpFade .18s ease both; }
.fc-share-card {
  width: 100%; max-width: 320px; box-sizing: border-box; text-align: center;
  background: #fff; border-radius: 14px; padding: 20px 22px 18px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .3);
  animation: fcSpPop .22s cubic-bezier(.2, .8, .3, 1) both;
}
.fc-sp-head2 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fc-share-cap { font-size: 15px; font-weight: 700; color: #1e326e; }
.fc-share-close {
  width: 28px; height: 28px; border-radius: 50%; margin-right: -4px;
  display: flex; align-items: center; justify-content: center;
  color: #98a2b3; font-size: 19px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s;
}
.fc-share-close:hover { background: #f2f4f8; color: #df0010; }
.fc-qr { min-height: 150px; display: flex; align-items: center; justify-content: center; }
.fc-qr img { width: 180px; height: 180px; display: block; margin: 0 auto; }
.fc-qr-load { font-size: 13px; color: #98a2b3; }
.fc-qr-tip { margin: 12px 0 0; font-size: 12.5px; line-height: 1.6; color: #8f97a8; }

/* 复制结果提示（底部浮出胶囊） */
#fcShareTip {
  position: fixed; left: 50%; bottom: 64px; transform: translate(-50%, 10px);
  background: rgba(30, 50, 110, .95); color: #fff; font-size: 13.5px;
  padding: 9px 18px; border-radius: 20px; z-index: 100001;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
#fcShareTip.on { opacity: 1; transform: translate(-50%, 0); }


/* =========================================================
   25. 移动端隐藏首页栏目标题旁的「更多」
   原模板用内联 style（margin-left:540px）把它顶到右侧，窄屏会挤到标题旁/溢出，
   栏目内容本身已可点进列表页，故 ≤768px 直接隐藏
   ========================================================= */
@media screen and (max-width: 768px) {
  .index2_2_1 li > a + a { display: none !important; }
}
