Distinct microbial structure and metabolic potential shaped by significant environmental gradient impacted by ferrous slag weathering.