cards md- refs changed to sm-