/* 22Media Premium Pro v6.72 — Urdu mobile white-screen root fix
 * Root cause: the legacy breaking ticker translated its entire RTL flex track toward
 * +X on a timer. Combined with the RTL root scrolling model this can create a very
 * wide off-screen document and land mobile browsers on a blank white visual viewport.
 * Keep the document width stable and clip movement inside the ticker only.
 */
@media (max-width:980px){
  html[dir="rtl"],
  html[lang="ur-PK"]{
    max-width:100%!important;
    overflow-x:clip!important;
  }
  html[dir="rtl"] body.m22-lang-ur,
  html[lang="ur-PK"] body.m22-lang-ur{
    max-width:100%!important;
    overflow-x:clip!important;
  }

  body.m22-lang-ur .m22-breaking,
  body.m22-lang-ur .m22-breaking-inner{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.m22-lang-ur .m22-breaking-inner{
    display:flex!important;
  }
  body.m22-lang-ur .m22-breaking-viewport{
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    contain:paint!important;
  }
  body.m22-lang-ur .m22-breaking-track{
    transform:none!important;
    left:auto!important;
    right:auto!important;
    max-width:none!important;
    will-change:auto!important;
  }

  /* Keep the real page anchored to the viewport even if a legacy child owns a wide
     intrinsic size. Horizontal rails remain clipped/scrollable in their own boxes. */
  body.m22-lang-ur #main-content,
  body.m22-lang-ur .m22-main,
  body.m22-lang-ur .m22-home,
  body.m22-lang-ur .m22-home-v6,
  body.m22-lang-ur .m22-home-v7,
  body.m22-lang-ur .m22-site-shell,
  body.m22-lang-ur .m22-container{
    min-width:0!important;
    max-width:100%!important;
  }

  /* Closed full-screen surfaces must not establish off-screen paint bounds. */
  body.m22-lang-ur .m22-header-v66 .m22-nav-wrap:not(.is-open),
  body.m22-lang-ur .m22-search-pro:not(.is-open){
    display:none!important;
    transform:none!important;
  }
}
