Refactor card bottom borders