modified card alignment