Style headings based on character length