Remove x-matter stylesheet from template, refactor css and add A4Portrait size