Inequality as a determinant of child labor