Inexplicable gap above/below collapsible elements

This is still driving me crazy, and I’d be so grateful for any help!! I’ve tried everything I can possibly think of.