card-context simplified