styling for larger and smaller cards