moved inline styles from card template to stylesheet and removed unused block