Scale-dependent neighborhood effects: shared doom and associational refuge