using consistent gallery card styling
helper to render classes