/* OmniTech v1.6.36 — mobile home safety fixes.
   Purpose: prevent horizontal overflow on the home hero and bottom CTA. */
@media (max-width: 760px){
  html, body, #root {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  body {
    position: relative;
  }
  #root {
    contain: paint;
  }
  #root > div,
  main,
  section {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  #root div {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  #root img,
  #root video,
  #root canvas,
  #root svg {
    max-width: 100% !important;
    height: auto;
  }
  header, header > div, header nav {
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .ot-hero-team-card {
    width: 100% !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .ot-hero-team-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 178px !important;
    object-fit: cover !important;
  }
  .ot-bottom-cta {
    left: 8px !important;
    right: 8px !important;
    bottom: 10px !important;
    max-width: calc(100vw - 16px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: stretch !important;
  }
  .ot-bottom-cta a {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
    padding: 12px 12px !important;
  }
  .ot-bottom-cta .req {
    width: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 380px){
  .ot-bottom-cta a { font-size: 12px !important; padding: 11px 10px !important; }
  .ot-bottom-cta .req { padding-left: 13px !important; padding-right: 13px !important; }
}
