Geometric effects induce anomalous size-dependent active transport in structured environments