Karachi Test: Fawad's brilliant century, Pakistan ended the lead of South Africa