Sulfur-modified chitosan derived N,S-co-doped carbon as a bifunctional material for adsorption and catalytic degradation sulfamethoxazole by persulfate.