smart trim and front page styles