/* xGrowth footer: Home Services link placement (2026-11-20). Correction to mobile-footer.css rev 2.
   Additive. Link immediately AFTER /navigation-footer-assets/mobile-footer.css.

   Problem: on Home the only in-page link (Services, #services) stayed in the legacy footer row at 640px and
   below, so it sat among LinkedIn, Instagram and Facebook.

   Fix (paired with the home.html markup hook in PATCHES.json):
   - nav.xgfd Services list gains <li class="xgfd-mobile-only"><a href="#services">Services</a></li>
     as its first item.
   - The legacy <a href="#services"> gains class="xgfd-desktop-only".
   Exactly one #services link is rendered at any width:
   - 641px and up: the directory item is display:none; the legacy link shows exactly as before.
   - 640px and below: the directory item shows in the Services group; the legacy link is display:none,
     so the legacy row holds only the three social links.
   Both rules key on the hook classes, so nothing changes on a page without the markup hook. */

footer > .xgfd .xgfd-list > li.xgfd-mobile-only{display:none}

@media (max-width:640px){
  footer > .xgfd .xgfd-list > li.xgfd-mobile-only{display:block}
  /* (0,4,3): beats mobile-footer.css "footer > .xgfd ~ .wrap > nav[aria-label=Footer] > a" (0,3,3). */
  footer > .xgfd ~ .wrap > nav[aria-label="Footer"] > a.xgfd-desktop-only{display:none}
}
