template inheritance and styling changes