A 'hug' is an embrace, typically to show affection, comfort, or greeting. The phrase 'gave her mother an affectionate hug' is a straightforward description of a warm, caring embrace between family members. 'Affectionate' directly modifies 'hug' to emphasize the loving nature of the embrace.