Synthesis and characterization of crystalline carboxymethylated lignin–TEOS nanocomposites for metal adsorption and antibacterial activity