added card style to detail page