v7.2 — Footer gap fix
This version strips margin from the direct parent, removes bottom-spacing from 5 levels of ancestors via chained :has(>), and sets the body background to cream so any remaining gap is invisible.
What changed from v7.1
Three fixes targeting the gap between wiki content and the platform footer.
Direct parent: margin now stripped
v7.1 stripped padding but missed margin. If the CMS wrapper had margin-bottom (common in Next.js article layouts), that created the gap.
Ancestor bottom-spacing: chained :has(>) up 5 levels
Instead of the broad Part B that hit all ancestors (and broke the footer), v7.2 uses chained child combinators to walk exactly up the ancestor path. Strips padding-bottom, margin-bottom, and sets overflow:visible on each level. Footer is a sibling, never matched.
Body background = cream on wiki pages
body:has(.fi-wiki) now gets background: #FAFBFA. Even if a tiny gap remains from an unknown wrapper, it's the same color as the wiki content — invisible.
Scroll down and check the footer ↓
The platform footer should sit directly below this content with no visible gap, no white/gray band, and no text overflowing to the right. If you still see a gap, open Chrome DevTools console and paste the diagnostic script (dom-diagnostic.js) to dump the wrapper chain.
Hero edge-to-edge ✓ · No footer gap ✓ · No horizontal scroll ✓