Children have the right to a name and nationality at birth, free basic education, basic nutrition, shelter, healthcare, and protection from abuse, neglect, harmful practices and violence. They also have the right to parental care and protection regardless of their parents' marital status. A child should not be detained except as a last resort and if detained, it should be for the shortest appropriate time separate from adults in age and sex-appropriate conditions. A child's best interests must be considered as top priority regarding any matter concerning the child.