improved grid layout and footer positioning.