HOAs can protect property values and provide amenities, but they come with fees, rules, and risks. Here’s what buyers should ...