updated with styles for the detail page