/* 首页及全站移动端适配 */

/* 轮播图铺满容器，消除右侧空白 */
.carousel {
  width: 100%;
  max-width: 100%;
}

.carousel .carousel-inner .carousel-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel .carousel-inner .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header .warpper .left .logo img {
  height: 50px;
  width: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .header .warpper {
    min-width: 0;
    margin: 0;
    padding: 0 16px;
    position: relative;
  }

  .header .warpper .left {
    top: 12px;
  }

  .header .warpper .left .logo img {
    height: 44px;
    width: auto;
  }

  .header .warpper .right {
    float: none;
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 16px;
    top: 18px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 44px;
    text-align: center;
    z-index: 10001;
  }

  .header .warpper .right .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 80px;
    background: #031d4a;
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .header .warpper .right .nav.open {
    display: block;
  }

  .header .warpper .right .nav li {
    float: none;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header .warpper .right .nav li a {
    line-height: 48px;
    padding: 0 20px;
  }

  .moduleWrap {
    width: 100% !important;
    padding: 0 16px 40px !important;
    box-sizing: border-box;
  }

  .moduleTitle {
    padding: 48px 0 32px !important;
  }

  .moduleTitle h1 {
    font-size: 22px !important;
  }

  .clo_4 {
    width: 100% !important;
    float: none !important;
  }

  .core {
    display: flex !important;
    align-items: center !important;
    padding: 20px 16px !important;
    margin: 8px 0 !important;
    overflow: hidden;
    min-height: 88px;
  }

  .core .img {
    float: none !important;
    flex-shrink: 0;
    width: 56px !important;
    height: 56px !important;
    background-size: contain !important;
    margin-right: 12px;
  }

  .core .f_l {
    float: none !important;
    flex: 1;
    min-width: 0;
    margin: 0 !important;
  }

  .core .f_l h2 {
    font-size: 18px !important;
    margin: 0 0 6px !important;
  }

  .core .f_l p {
    font-size: 14px !important;
    margin: 0 !important;
    word-break: break-word;
  }

  .carousel {
    height: auto !important;
    min-height: 0 !important;
  }

  .carousel .carousel-inner {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    height: auto !important;
    width: 100% !important;
  }

  .carousel .carousel-item {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    display: none;
  }

  .carousel .carousel-item:first-child {
    display: block;
  }

  .carousel .carousel-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    display: block;
  }

  .footerWrap {
    padding: 40px 0 !important;
  }

  .footerWrap .containers {
    width: 100% !important;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .footerWrap .containers .footerTit,
  .footerWrap .containers .footerList {
    float: none !important;
    width: 100% !important;
  }

  .footerWrap .containers .footerList {
    margin-top: 28px;
  }

  .footerWrap .containers .footerList .about ul li {
    float: none !important;
    margin-left: 0 !important;
    margin-bottom: 24px;
  }

  .footerTit > img {
    width: 100px !important;
  }

  .footerWrap .containers .footerTit .Tits {
    font-size: 14px !important;
    line-height: 22px !important;
  }
}

@media screen and (max-width: 1200px) and (min-width: 992px) {
  .header .warpper {
    min-width: 0;
    margin: 0 2%;
  }

  .header .warpper .right {
    margin-left: 40px;
  }

  .header .warpper .right .nav li {
    margin-left: 24px;
  }
}

@media screen and (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }

  .carousel .carousel-inner .carousel-item img {
    height: 100% !important;
    object-fit: cover;
  }

  /* 核心技术：三列卡片等高、布局一致 */
  .moduleWrap .moduleCont > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .moduleWrap .moduleCont > .row > .clo_4 {
    display: flex;
    float: none;
    box-sizing: border-box;
  }

  .moduleWrap .moduleCont > .row > .clo_4 > .core {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 180px;
    padding: 40px 24px !important;
    padding-left: 24px !important;
    box-sizing: border-box;
  }

  .moduleWrap .moduleCont > .row > .clo_4 > .core .img {
    float: none;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
  }

  .moduleWrap .moduleCont > .row > .clo_4 > .core .f_l {
    float: none;
    flex: 1;
    min-width: 0;
    margin: 0 0 0 16px !important;
  }

  .moduleWrap .moduleCont > .row > .clo_4 > .core .f_l h2 {
    font-size: 20px;
    line-height: 1.35;
  }

  .moduleWrap .moduleCont > .row > .clo_4 > .core .f_l p {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 8px !important;
  }
}

@media screen and (max-width: 480px) {
  .header {
    height: 64px;
  }

  .header .warpper .left {
    top: 10px;
  }

  .header .warpper .left .logo img {
    height: 38px;
  }

  .mobile-menu-btn {
    top: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .header .warpper .right .nav {
    top: 64px;
  }

  .header .warpper .right .nav li a {
    line-height: 44px;
    font-size: 15px;
  }
}
