/* V37: resolve historical header breakpoint collisions. Keep 7 public links. */
@media (min-width:901px){
 body>header .nav{
   display:flex!important;align-items:center!important;justify-content:space-between!important;
   width:min(94%,1450px)!important;max-width:1450px!important;
   min-height:64px!important;padding:5px 0!important;
   gap:clamp(8px,1vw,16px)!important;box-sizing:border-box!important;
 }
 body>header .brand{flex:0 0 auto!important;min-width:0!important;gap:9px!important;}
 body>header .brand-copy strong{font-size:clamp(14px,1.2vw,18px)!important;}
 body>header .brand-copy small{font-size:9px!important;}
 body>header .nav-links{
   position:static!important;display:flex!important;flex-direction:row!important;
   align-items:center!important;justify-content:flex-end!important;
   flex-wrap:nowrap!important;overflow:visible!important;
   width:auto!important;max-width:calc(100% - 155px)!important;
   margin:0 0 0 auto!important;padding:4px!important;
   gap:clamp(1px,.2vw,4px)!important;box-sizing:border-box!important;
 }
 body>header .nav-links>a{
   display:inline-flex!important;width:auto!important;min-width:0!important;
   flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
   white-space:nowrap!important;font-size:clamp(10px,.85vw,12px)!important;
   padding:8px clamp(6px,.65vw,10px)!important;min-height:36px!important;
   line-height:1.2!important;
 }
 body>header .menu-btn{display:none!important;}
}
@media (min-width:901px) and (max-width:1020px){
 body>header .nav{width:calc(100% - 22px)!important;gap:6px!important;}
 body>header .nav-links{max-width:calc(100% - 125px)!important;}
 body>header .nav-links>a{padding:8px 5px!important;font-size:10px!important;}
 body>header .brand-mark{width:35px!important;height:35px!important;}
 body>header .brand-copy strong{font-size:14px!important;}
}
@media (max-width:900px){
 body>header .nav{width:calc(100% - 24px)!important;max-width:100%!important;min-height:64px!important;}
 body>header .nav-links{
   position:absolute!important;top:64px!important;left:12px!important;right:12px!important;
   display:none!important;flex-direction:column!important;align-items:stretch!important;
   width:auto!important;max-width:none!important;margin:0!important;
   max-height:calc(100dvh - 76px)!important;overflow-y:auto!important;
   padding:12px!important;gap:6px!important;
   background:#fff!important;border:1px solid #d9e4f4!important;
   border-radius:12px!important;box-shadow:0 16px 38px #102d5022!important;
   box-sizing:border-box!important;
 }
 body>header .nav-links.open{display:flex!important;}
 body>header .nav-links>a{display:flex!important;width:100%!important;min-height:44px!important;justify-content:flex-start!important;font-size:14px!important;padding:10px 13px!important;}
 body>header .menu-btn{display:block!important;flex:0 0 auto!important;margin-left:auto!important;}
}
/* Keep content balanced on wide desktop without artificially narrowing laptop view. */
@media(min-width:1100px){
 body .container, body .rmx-modern-section .container,
 body .v4-download-center .container,body .v25-download-center .container,
 body .otp-packages-section .container{
   width:min(94%,1480px)!important;max-width:1480px!important;
   margin-left:auto!important;margin-right:auto!important;
 }
}
