@charset "utf-8";
/* 移动端底部固定「拨打电话」条：主站与子站共用
   仅 ≤990px 显示，PC 端完全隐藏；号码取后台设置（cfg('phone')） */

.m-bar-tel { display: none; }

/* 手机端顶部咨询电话条：绿方块 + 拨打咨询电话： + 红色大号码，PC 隐藏 */
.m-calltop { display: none; }

@media (max-width: 990px) {
  .m-calltop {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px 10px;
    background: #fff;
    border-bottom: 1px solid #ececec;
  }
  .m-ct-dot {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    background: #2fa84f;
    border-radius: 2px;
  }
  .m-ct-label {
    flex: 0 0 auto;
    font-size: 15px;
    color: #6b7076;
    letter-spacing: .5px;
  }
  .m-ct-num {
    font-size: 23px;
    font-weight: 800;
    color: #e60012;
    line-height: 1.15;
    letter-spacing: .5px;
    white-space: nowrap;
    text-decoration: none;
  }
  /* 顶部已有大号号码，页头右侧原来的号码块在手机端隐藏，避免一行两个电话 */
  #tel { display: none !important; }
}

@media (max-width: 359px) {
  .m-ct-label { font-size: 13px; }
  .m-ct-num { font-size: 20px; }
}

@media (max-width: 990px) {
  .m-bar-tel {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .14);
  }
  .m-bar-tel a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 6px;
    background: #fe7c26;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
  }
  .m-bar-tel a:active { background: #e56a18; }
  .m-bar-tel svg { width: 22px; height: 22px; flex: 0 0 auto; }
  .m-bar-tel .mbt-tip {
    font-size: 12px;
    font-weight: 400;
    opacity: .85;
    margin-right: 2px;
  }
  /* 页脚版权条让位，避免被固定条压住 */
  #foot .ft-bar .ft-inner { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important; }
  #subfoot .sf_cp_inner { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* 子站页脚在手机端要跟随屏幕宽度（footer.css 里是 1180 定宽） */
@media (max-width: 990px) {
  #subfoot .sub_foot {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 30px 16px 0 !important;
  }
  #subfoot .sf_cells { display: block !important; gap: 0 !important; }
  #subfoot .sf_cell { margin-bottom: 22px !important; }
  #subfoot .sf_cp_inner {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    display: block !important;
  }
  #subfoot .sf_cp_inner span { display: block !important; margin-bottom: 4px; }
}
