Geochemical processes governing the performance of a constructed wetland treating acid mine drainage, Central Scotland