f. g. applicants are provided with adequate medical care; the right of applicants to legal representation is respected.’ 10Α. The health, including mental health, of applicants in detention who are vulnerable persons shall be of primary concern to the competent authorities. In case of detention, the competent authorities shall ensure regular monitoring and adequate support taking into account their particular situation, including their health, and shall ensure that: a. minors are not detained, unless as a measure of last resort, with due consideration to their best interest, and after it has been established that other less coercive alternative measures cannot be applied. Such detention shall be for the shortest period of time and all efforts shall be made to withdraw detention and to refer the minors to accommodation centres suitable for them, and never to prison accommodation. In any case, the procedure for the referral of minors to accommodation centres should be completed within twenty five (25) days at the latest. If, due to extraordinary circumstances, such as a substantial increase in the number of minors entering the Greek territory, the competent authorities are unable, despite reasonable efforts, to ensure safe referral of minors within the period of twenty five (25) days set out above, the detention period may be extended for twenty (20) days; b. unaccompanied minors are detained separately from adults; c. minors have the possibility to engage in leisure activities, including play and educational/recreational activities appropriate to their age; d. detained families are provided with separate accommodation, with the consent of all adult family members, under conditions that guarantee adequate protection of their privacy and family life; e. detained women are accommodated separately from men, unless the latter are family members and on the condition that all individuals concerned consent thereto; detention of women should be avoided throughout pregnancy and for three (3) months after childbirth and their transfer and placement to suitable accommodation facilities should be sought.' 11. When the reasons set out in paragraph 2 justifying detention of the applicant cease to exist, the authorities which ordered the detention, with a reasoned decision, shall release the applicant and inform without delay the Receiving Authorities or the Appeals Authority, if the application is pending before the second instance. Welcome the stranger. Protect the refugee. | 25 25

Select target paragraph3