/* 基础移动端适配：视口优化 */
meta[name="viewport"] {
  content: "width=device-width, initial-scale=0.5, user-scalable=no";
}

/* 核心修复：PC端隐藏汉堡菜单和遮罩层 */
.mobile-menu-btn,
.menu-mask {
  display: none;
}

/* 媒体查询：适配手机屏幕（≤750px） */
@media (max-width: 750px),
(min-width: 751px) and (max-width: 992px) {

  /* .nav_hxcp,
  .nav_jjfa {
    display: none !important;
  }

  .nav_hxcp_no,
  .nav_jjfa_no {
    display: block !important;
  } */

  .banner .context img,
  .system-banner .context img {
    display: none;
  }

  .bottom {
    line-height: normal;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* ========== 全局样式 ========== */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .banner-common {
    width: 100% !important;
    padding: 0 10px !important;
  }

  /* 取消固定宽度的横线，适配移动端 */
  .context .before,
  .context .after {
    width: 30% !important;
  }

  .title {
    font-size: 18px !important;
  }

  /* ========== 头部导航适配（折叠菜单） ========== */
  .bottom.banner-common {
    position: relative;
  }

  /* logo 自适应 */
  .bottom .img {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px !important;
  }

  .bottom .img img {
    max-width: 150px;
  }

  /* 隐藏原PC导航，显示菜单 */
  .bottom .tabs {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100vw;
    height: auto;
    max-height: 90vh;
    background: #fff;
    z-index: 9999;
    transition: top 0.3s ease;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    overflow-y: auto;
  }

  .bottom .tabs.active {
    top: 0;
  }

  /* 导航列表改为垂直排列 */
  .bottom .tabs .ul {
    flex-direction: column !important;
    padding: 0 20px;
  }

  .bottom .tabs .item {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    text-align: center;
    height: auto;
  }

  .bottom .tabs .item .div {
    position: static !important;
    /* display: none !important; */
    margin-top: 8px;
    background: #f8f9fa;
    padding: 8px 0;
    border-radius: 4px;
    padding-left: 0px !important;
    width: 100% !important;
    height: auto !important;
  }

  .bottom .ul .item .div li a {
    color: black;
  }

  .bottom .tabs .item .div ul {
    height: auto;
    margin-bottom: 0 !important;
  }

  .bottom .tabs .item .div li {
    padding: 0px 0 !important;
    line-height: 26px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .bottom .tabs .item .div li:active {
    background-color: inherit !important;
  }

  .bottom .tabs .items {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    text-align: center;
    height: 49px;
  }

  .bottom .tabs .items .div {
    position: static !important;
    display: none !important;
    margin-top: 8px;
    padding-left: 20px;
    background: #f8f9fa;
    padding: 8px 0;
    border-radius: 4px;
  }

  .bottom .tabs .items .div li {
    padding: 8px 0;
  }

  /* 菜单按钮 */
  .mobile-menu-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    color: #1477D6;
    border: 1px solid #eee;
    border-radius: 4px;
    z-index: 99999;
    cursor: pointer;
  }

  /* 遮罩层 */
  .menu-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
  }

  .menu-mask.active {
    display: block;
  }

  /* ========== 内容区域 ========== */
  .ydtitle {
    display: flex !important;
  }

  #shzr_img {
    margin-bottom: 0 !important;
  }

  #carousel-example-generic {
    display: none !important;
  }

  .gongyi-banner {
    flex-wrap: wrap;
  }

  .gongyi-banner .gongyi-left {
    display: none;
  }

  .gongyi-banner .gongyi-right {
    width: 100% !important;
  }

  .gongyileft-top {
    display: none !important;
  }

  .gongyi-banner .gongyi-right .gongyiright-top .gongyi-title {
    width: 100% !important;
  }

  .gongyi-banner .gongyi-right .gongyiright-top {
    display: none;
  }

  #easysiteText img,
  #easysiteText video {
    width: 100%;
    height: 100%;
  }

  /* ========== 底部适配 ========== */
  .foot .wrapper {
    flex-direction: column !important;
    padding: 20px 10px !important;
  }

  .foot-left,
  .foot-center,
  .foot-right {
    width: 100% !important;
    margin-bottom: 20px;
    text-align: center;
  }

  .foot-center span {
    display: block !important;
    margin-bottom: 5px;
  }

  .banner5 .banner5-content span {
    margin-right: 0;
  }

  .foot-center .span,
  .foot-center .span1,
  .foot-center .span2,
  .foot-center .span3 {
    display: block !important;
    margin-left: 0 !important;
    margin-top: 5px;
  }

  .foot-right {
    flex-direction: row !important;
    justify-content: space-between;
  }

  .foot-bottom {
    padding: 10px 0 !important;
  }

  .foot-bottom span {
    display: block !important;
    margin-bottom: 5px;
  }

  .foot .foot-bottom span {
    margin-right: 0;
  }

  .foot-right .footer-left img,
  .footer-right img {
    width: 94px;
    height: 94px;
    margin: 0 24px;
  }
}