Seems like an impossible task to override how posts are rendered in Query Loop block (grid).
Default block level controls enables styling but not overriding of markup.
I just want to apply HTML5 native accordion markup to Post templates in Query Loop grid. Google didn’t provide any point and shoot solution.