; ; (B) in subparagraph (B)— (i) in clause (i), by striking 21 days; and and inserting 30 days or the maximum allowed by the State, whichever is greater; ; (ii) by striking clause (ii) and inserting the following: (ii) age, gender, developmentally, and culturally and linguistically appropriate individual, family, and group counseling, as appropriate (including, if appropriate, counseling for individuals identified by such youth as family); and ; and (iii) by adding at the end the following: (iii) suicide prevention services; and ; and (C) in subparagraph (C)— (i) in clause (ii), by inserting age, gender, developmentally, and culturally and linguistically appropriate, to the extent practicable, before home-based services ; (ii) in clause (iii), by striking and after the semicolon; (iii) in clause (iv), by striking diseases. and inserting infections; ; and (iv) by adding at the end the following: (v) trauma-informed and gender-responsive services for runaway or homeless youth, including such youth who are victims of sexual abuse, sexual exploitation, trafficking in persons, or sex trafficking; and (vi) if safe and appropriate, supports for youth and their parents, legal guardians, or (if appropriate) those identified by such youth as family, including— (I) an assessment of family engagement to improve support for youth (and if appropriate) reunify youth; (II) strength-based interventions; and (III) ongoing supportive services. . (b) Eligibility; plan requirements Section 312 ( 34 U.S.C. 11212 ) is amended— (1) in subsection (a), by inserting , to youth who are at risk of separation from the family, after guardians ; (2) in subsection (b)— (A) in paragraph (2), by striking facility and inserting project ; (B) in paragraph (2)(A)— (i) by striking facility and inserting project ; and (ii) by striking requires and inserting allows ; (C) in paragraph (5), by inserting , or (if appropriate) individuals identified by such youth as family, after parents or legal guardians