Separate layout and style