ZIF-8-derived N-doped hierarchical porous carbon coated with imprinted polymer as magnetic absorbent for phenol selective removal from wastewater.