Proteas suffer first series loss to Afghanistan