/* 全站防左右滑动 + 移动端内容自适应 */

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img,
video,
iframe,
svg,
canvas,
table {
  max-width: 100%;
  height: auto;
}

pre,
code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
}

table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.east_bfa2,
main,
section,
footer,
article,
header {
  max-width: 100%;
  box-sizing: border-box;
}

/* 避免固定宽/不换行撑破屏幕 */
@media (max-width: 768px) {
  .east_bfa2 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  h1, h2, h3, h4, p, li, a, span, div {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* 表格外层已可横滑，页面本体不横滑 */
  body {
    overscroll-behavior-x: none;
  }

  [style*="grid-template-columns"] {
    min-width: 0 !important;
  }

  [style*="minmax(240px"],
  [style*="minmax(250px"],
  [style*="minmax(200px"] {
    /* 网格子项允许收缩 */
  }

  .hero-middle-e69a,
  .tooltip-c537,
  .menu-5681,
  .outline-d8eb {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .form-action-08c2 {
    font-size: clamp(1.6rem, 7vw, 2.25rem) !important;
    line-height: 1.25 !important;
  }

  .tertiary_old_40bb {
    font-size: 1rem !important;
  }

  .border-tall-50bc {
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  #vidt4p-cta-bottom {
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
  }

  #vidt4p-cta-bottom .vidt4p-cta-bottom__inner {
    flex-wrap: nowrap;
  }
}
