Patterns of Nonemployment: How Institutions Affect the Labor Market Activity of Different Social Groups