My policy covers the replacement cost of the dwelling, a separate amount (more than enough) to replace contents of the dwelling, and any out-buildings (sheds, separate garage, etc...) caught up in the damage to the original dwelling. It costs me less than $50/month.
I did a little checking with my agent and it’s because I have that type of policy coverage. According to him that is.