The wife of a friend of mine died recently and, as i knew them as a couple and shared many occasions with them over the years, rather than a card of condolence (which imho are rather impersonal) i wrote him a letter of condolence. And, in it, i expressed my sympathy to their 2 sons and their daughter.