overlay styles and class.twig formatting