/* FG v46 — mobile navigation normalization */
@media (max-width: 768px){
  html body .navbar{height:64px!important;min-height:64px!important;}
  html body .navbar .container,
  html body .navbar .navbar-inner{height:64px!important;min-height:64px!important;padding-left:16px!important;padding-right:16px!important;}
  html body .navbar .logo{height:64px!important;display:flex!important;align-items:center!important;}
  html body .navbar .mobile-toggle{display:flex!important;align-items:center!important;justify-content:center!important;}

  html body .navbar .nav-links{
    position:fixed!important;
    top:72px!important;
    left:14px!important;
    right:14px!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100vh - 88px)!important;
    overflow-y:auto!important;
    padding:12px!important;
    margin:0!important;
    gap:4px!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    background:#fff!important;
    border:1px solid #e4eaf2!important;
    border-radius:16px!important;
    box-shadow:0 22px 60px rgba(15,23,42,.22)!important;
  }
  html body .navbar .nav-links.active{display:flex!important;flex-direction:column!important;}
  html body .navbar .nav-links>a,
  html body .navbar .nav-links>.fg-service-menu,
  html body .navbar .nav-links>.fg-service-menu>a{
    width:100%!important;
    min-height:46px!important;
    height:auto!important;
    margin:0!important;
    padding:11px 14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    text-align:left!important;
    font-size:16px!important;
    line-height:1.45!important;
    font-weight:650!important;
    color:#182235!important;
    background:transparent!important;
    border:0!important;
    border-radius:10px!important;
    white-space:normal!important;
  }
  html body .navbar .nav-links>.fg-service-menu{padding:0!important;display:block!important;}
  html body .navbar .nav-links>a:hover,
  html body .navbar .nav-links>a.active,
  html body .navbar .nav-links>.fg-service-menu>a:hover,
  html body .navbar .nav-links>.fg-service-menu>a.active{
    color:#0068b7!important;
    background:#eef6ff!important;
  }
  html body .navbar .nav-links>a:after{content:'›'!important;position:static!important;width:auto!important;height:auto!important;background:none!important;font-size:20px!important;color:#9aa8ba!important;}
  html body .navbar .nav-links>.fg-service-menu>a:after{content:'›'!important;position:static!important;transform:none!important;font-size:20px!important;color:#9aa8ba!important;margin-left:auto!important;background:none!important;width:auto!important;height:auto!important;}
  html body .navbar .nav-links>a.active:after,
  html body .navbar .nav-links>.fg-service-menu>a.active:after{background:none!important;}

  /* Mobile menu only shows the service hub entry. The large desktop mega menu stays hidden. */
  html body .navbar .fg-mega-menu,
  html body .navbar .fg-service-menu.mobile-expanded .fg-mega-menu,
  html body .navbar .fg-service-menu.is-open .fg-mega-menu{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}

  body.mobile-menu-open{overflow:hidden!important;}
}
