/* AcilYanDal Mobile Access Rescue v20260704
   Purpose: restore access on all mobile browsers; no overlay/drawer/body-lock. */
*{box-sizing:border-box}
html{overflow-x:hidden!important;scroll-behavior:auto!important}
body{overflow-x:hidden!important;min-height:100dvh!important}
@media(max-width:1199.98px){
  html,body{
    width:100%!important;max-width:100%!important;height:auto!important;min-height:100dvh!important;
    overflow-x:hidden!important;overflow-y:auto!important;position:static!important;
    touch-action:pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:auto!important;filter:none!important;-webkit-filter:none!important;
  }
  body.ayd-nav-open,body.ayd-mobile-modal-open,body.ayd-menu-open,body.ayd-drawer-open,body.modal-open,
  html.ayd-nav-open,html.ayd-mobile-modal-open,html.ayd-menu-open,html.ayd-drawer-open{
    overflow-y:auto!important;overflow-x:hidden!important;position:static!important;height:auto!important;
    touch-action:pan-y pinch-zoom!important;padding-right:0!important;
  }
  body *{filter:none!important;-webkit-filter:none!important;}
  body *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
  .modal-backdrop,.offcanvas-backdrop,.ayd-mobile-backdrop,.ayd-menu-backdrop,.ayd-mm-backdrop,
  .ayd-hard-menu-backdrop,.ayd-mbs-backdrop,.ayd-native-backdrop,.ayd-blur-backdrop,.ayd-mobile-overlay,
  .ayd-menu-overlay,.ayd-drawer-overlay,#aydMobileBackdrop,#aydMobileOverlay,#aydHardMenuBackdrop{
    display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
  /* On mobile, Bootstrap collapse menu is disabled. Hamburger opens /mobile-menu.php as a normal page. */
  #mainNav.collapse.show,#mainNav.collapsing,.ayd-navbar .navbar-collapse.show,.ayd-navbar .navbar-collapse.collapsing{
    display:none!important;height:0!important;max-height:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  }
  .ayd-navbar{position:sticky!important;top:0!important;z-index:1030!important;width:100%!important;background:linear-gradient(135deg,#1b1029 0%,#06152f 100%)!important;box-shadow:0 10px 30px rgba(15,23,42,.18)!important;filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
  .ayd-navbar .ayd-nav-container{min-height:62px!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;padding:.65rem .85rem!important;}
  .ayd-navbar .ayd-brand{display:inline-flex!important;align-items:center!important;gap:.55rem!important;color:#fff!important;text-decoration:none!important;min-width:0!important;font-size:1.12rem!important;font-weight:900!important;}
  .ayd-navbar .brand-icon{display:inline-grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:12px!important;background:#fff!important;font-size:1.35rem!important;flex:0 0 auto!important;}
  .ayd-navbar .brand-text{display:inline-block!important;max-width:calc(100vw - 126px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .ayd-navbar .brand-highlight{color:#ff415f!important;}
  .ayd-navbar .navbar-toggler,.ayd-navbar .ayd-mobile-safe-menu-link{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;
    width:48px!important;height:48px!important;border-radius:18px!important;border:1px solid rgba(255,255,255,.18)!important;
    background:rgba(255,255,255,.10)!important;color:#fff!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;touch-action:manipulation!important;text-decoration:none!important;
  }
  .ayd-navbar .navbar-toggler:focus,.ayd-navbar .ayd-mobile-safe-menu-link:focus{outline:2px solid rgba(255,255,255,.32)!important;outline-offset:2px!important;}
  .ayd-main-content,main,.container,.container-fluid{max-width:100vw!important;overflow-x:hidden!important;}
  img,video,iframe,table{max-width:100%!important;}
  .table-responsive{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;}
  /* Disable sitewide popup modals on mobile until access is stable. */
  .ayd-managed-popup{display:none!important;}
}
