updated css styles to account for shared usage of card class