/**
 * 首页手机端：恢复 backup 模板布局与行为
 * 仅在 max-width:767px 生效，不影响 PC 端
 */
@media (max-width: 767px) {
  /* 取消 TEYO 全屏滚屏锁定，恢复 backup 纵向滚动 */
  html,
  body#page_1942492,
  body#page_1942492.module_bg_color {
    height: auto !important;
    overflow: auto !important;
    overflow-x: hidden !important;
  }

  #page_1942492 #pagebody.pagefull {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #page_1942492 #pagebody.pagefull .HeaderContainer,
  #page_1942492 #pagebody.pagefull .FooterContainer {
    max-height: unset !important;
  }

  #page_1942492 #pagebody.pagefull .BodyMain1Zone,
  #page_1942492 #pagebody.pagefull #BodyMain1Zone {
    display: block !important;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #page_1942492 #pagebody.pagefull .ModuleFullGiant.layout-101,
  #page_1942492 #pagebody.pagefull .ModuleFullGiant.layout-101 > .BodyCenter,
  #page_1942492 #pagebody.pagefull .ModuleFullContainer,
  #page_1942492 #pagebody.pagefull .ModuleFullItem,
  #page_1942492 #pagebody.pagefull .swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
  }

  #page_1942492 #pagebody.pagefull .ModuleFullItem .ModuleFullItemContainer {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    max-height: none !important;
    height: auto !important;
  }

  #page_1942492 #module_398860066 {
    height: auto !important;
  }

  #page_1942492 #module_398860066 .scroll-indicator,
  #page_1942492 #module_398860066 .swiper-pagination-full {
    display: none !important;
  }

  /* 手机端所有屏 wow 动画可见（非 swiper 单帧模式） */
  #page_1942492 #module_398860066 .ModuleItem.wow {
    visibility: visible !important;
  }

  /* 第 2 屏：撤销 TEYO PC 向改造在手机上的残留 */
  #page_1942492 #module_398860066 #Sub398860066_2_item {
    background-color: transparent !important;
    background-image: none !important;
    overflow: visible !important;
  }

  #page_1942492 #module_398860066 #Sub398860066_2_item.teyo-about-slide-scroll {
    overflow: visible !important;
  }

  #page_1942492 #module_398860066 #Sub398860066_2 .teyo-home-intro-body {
    display: block !important;
    -webkit-box-orient: unset !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-height: none !important;
  }

  #page_1942492 #module_398860066 #Sub398860066_2 .ModuleImageTextGiantContent,
  #page_1942492 #module_398860066 #Sub398860066_2 .imageTextGiant-Container {
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
  }

  /* 第 4 屏：四卡片改为紧凑 2×2，控制图片高度（仅手机） */
  /* 手机端隐藏整屏底图，只保留四张卡片自身背景 */
  #page_1942492 #module_398860066 #Sub398860066_4_item {
    background-color: transparent !important;
    background-image: none !important;
    background-size: auto !important;
    background-repeat: no-repeat !important;
    background-position: 50% 50% !important;
  }

  #page_1942492 #module_398860066 #Sub398860066_4,
  #page_1942492 #module_398860066 #Sub398860066_4 .ModuleFullItemContainer {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 72px !important;
    padding-bottom: 28px !important;
    box-sizing: border-box;
  }

  #page_1942492 #module_398983929 .ModuleGridContainer398983929 {
    max-width: none !important;
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
  }

  #page_1942492 #module_398983929 .ModuleGridContainer398983929 > .ModuleSubContainer.row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "card1 card2"
      "card3 card4" !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch !important;
  }

  /* 模板 clearfix 不得参与网格 */
  #page_1942492 #module_398983929 .ModuleGridContainer398983929 > .ModuleSubContainer.row > .clearfix {
    display: none !important;
    grid-area: unset !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* 显式占位：通信 | 仪器仪表 / 航空 | 运输 */
  #page_1942492 #module_398983929 #Sub398983929_1 { grid-area: card1 !important; }
  #page_1942492 #module_398983929 #Sub398983929_2 { grid-area: card2 !important; }
  #page_1942492 #module_398983929 #Sub398983929_3 { grid-area: card3 !important; }
  #page_1942492 #module_398983929 #Sub398983929_4 { grid-area: card4 !important; }

  #page_1942492 #module_398983929 .ModuleGridContainer398983929 > .ModuleSubContainer > .ModuleGridItem,
  #page_1942492 #module_398983929 #Sub398983929_1,
  #page_1942492 #module_398983929 #Sub398983929_2,
  #page_1942492 #module_398983929 #Sub398983929_3,
  #page_1942492 #module_398983929 #Sub398983929_4 {
    display: block !important;
    flex: none !important;
    float: none !important;
    clear: none !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
  }

  /* 覆盖 Bootstrap col-xs-12 强制整行宽 */
  #page_1942492 #module_398983929 .ModuleGridContainer398983929 > .ModuleSubContainer > .col-xs-12 {
    width: auto !important;
    float: none !important;
  }

  #page_1942492 #module_398983929 #module_398984013,
  #page_1942492 #module_398983929 #module_398984338,
  #page_1942492 #module_398983929 #module_398984350,
  #page_1942492 #module_398983929 #module_398984356,
  #page_1942492 #module_398983929 #module_398984013 > .module_398984013,
  #page_1942492 #module_398983929 #module_398984338 > .module_398984338,
  #page_1942492 #module_398983929 #module_398984350 > .module_398984350,
  #page_1942492 #module_398983929 #module_398984356 > .module_398984356,
  #page_1942492 #module_398983929 .ModuleHoverBoxContainer {
    width: 100% !important;
    margin: 0 !important;
    height: 100% !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleSubContainer.ModuleShowNormal,
  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleSubContainer.ModuleSubContainerHover {
    display: block !important;
    overflow: hidden !important;
    height: 100% !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleHoverBoxItem_1 {
    position: relative !important;
    display: block !important;
    aspect-ratio: 4 / 3 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 120px !important;
    max-height: 42vw !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background-color: #2a2a2a !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: 4px;
  }

  /* 遮罩放底层，避免盖住文字 */
  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleHoverBoxItem_1::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.42) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleHoverBoxItem_1::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxGiant.layout-101 .ModuleHoverBoxItem_2 {
    display: none !important;
  }

  /* 隐藏 PC 文案与装饰条 */
  #page_1942492 #module_398983929 .ModuleItem.mhidden-xs {
    display: none !important;
  }

  /* 四卡文案模块：强制可见并绝对居中 */
  #page_1942492 #module_398983929 #module_398984024,
  #page_1942492 #module_398983929 #module_398984401,
  #page_1942492 #module_398983929 #module_398984405,
  #page_1942492 #module_398983929 #module_398984407,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 > .ModuleItem.mhidden-lg.mhidden-md.mhidden-sm {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
    float: none !important;
    text-align: center !important;
    pointer-events: none !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiant,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .BodyCenter,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .imageTextGiant-Container,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 5 !important;
    float: none !important;
    overflow: visible !important;
    background: transparent !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    color: #fff !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:first-child,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:first-child {
    margin: 0 0 6px !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:first-child span,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:first-child span,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent span,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent span {
    color: #fff !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:first-child span,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:first-child span {
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:not(:first-child),
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:not(:first-child) {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:not(:first-child) span,
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:not(:first-child) span {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextGiantContent p:has(> br:only-child),
  #page_1942492 #module_398983929 .ModuleHoverBoxItem_1 .ModuleImageTextContent p:has(> br:only-child) {
    display: none !important;
  }

  #page_1942492 #module_398983929 .ModuleImageGiant.layout-101 .BodyCenter {
    text-align: left !important;
  }

  #page_1942492 #module_398983929 .ModuleImageGiant.layout-101 img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    display: block;
  }

  /* 手机端隐藏底部装饰条，避免额外占高 */
  #page_1942492 #module_398983929 #module_398984026,
  #page_1942492 #module_398983929 #module_398984341,
  #page_1942492 #module_398983929 #module_398984353,
  #page_1942492 #module_398983929 #module_398984359,
  #page_1942492 #module_398983929 #module_398984029,
  #page_1942492 #module_398983929 #module_398984342,
  #page_1942492 #module_398983929 #module_398984354,
  #page_1942492 #module_398983929 #module_398984360 {
    display: none !important;
  }

  /* 第 5 屏新闻：单列纵向排列 */
  #page_1942492 #module_398984887 .swiper-container {
    height: auto !important;
    overflow: visible !important;
  }

  #page_1942492 #module_398984887 .news-container {
    display: block !important;
    height: auto !important;
    transform: none !important;
  }

  #page_1942492 #module_398984887 .news-item {
    width: 100% !important;
    float: none !important;
  }

  /* 移动导航：恢复 backup 深色顶栏（覆盖 teyo-brand 浅色语言菜单对顶栏的干扰） */
  #page_1942492 #module_398332812 #MobileNav.black {
    background-color: #000 !important;
  }

  #page_1942492 #module_398332812 #MobileNav.black .navcontent {
    background-color: transparent !important;
  }

  /* 汉堡菜单三条横线须保持白色，不可与 navcontent 一并设为透明 */
  #page_1942492 #module_398332812 #MobileNav.black .mm-hbtn .lcbody .rect {
    background: #fff !important;
    background-color: #fff !important;
  }

  #page_1942492 #module_398332812 #MobileNav.black .selectlang {
    color: #fff !important;
  }

  #page_1942492 #module_398332812 #MobileNavFloatLayer.black {
    background-color: #000 !important;
  }

  /* 手机端底部信息栏：与其他内页一致（显示 FooterZone 标准底栏，隐藏全屏第6屏 PC 页脚） */
  #page_1942492 #FooterZone.hideZone {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #page_1942492 #module_398860066 #Sub398860066_6_item {
    display: none !important;
  }
}
