The header is the stack's first row and the footer its last, so the gap between the stack's children also separates them from the body. A gap set after the header or footer keeps them in step; footer_gap still sets the footer's own.