It is the joint and several duty of each parent of a child born out of wedlock to provide for the maintenance, protection, and education of the child until the child reaches the age of 18 or becomes emancipated, except to the extent that the duty of one parent is otherwise or further defined by court order.