adapt headings