; or (dd) an offense described in section 212(a)(2) or 237(a)(2); (iii) determines that the alien child has been a victim of domestic abuse or sexual abuse; or (iv) the alien child is— (I) a victim of trafficking; (II) at risk of becoming a victim of trafficking; (III) in danger of abuse or neglect at the hands of the accompanying parent of the alien child; or (IV) a danger to himself or herself or to others. (C) Conditions for custody The Secretary of Homeland Security shall ensure that— (i) each family residential facility or regional processing center, as applicable, is secure and safe; and (ii) each alien child and each accompanying parent at a family residential facility or regional processing center— (I) has suitable living accommodations; (II) has access to drinking water and food; (III) has timely access to medical assistance, including mental health assistance; (IV) has access to recreational facilities, educational services, entertainment options, clothing, family visitation, and legal counsel (to the greatest extent practicable in accordance with section 292)