Improve layout of nested headings (h2-h4)