Good architectural design can also help a bunch here, having the majority of natural light sources on the southern wall (for us northern hemispherers) can drastically shift the heating profile of a building, especially when coupled with good insulation.
The bigger issue is that many buildings are built to be heat traps that necessitates active cooling in the summer, this is where architecture has long-known solutions but ones that haven't been well incorporated into modern styles, setting up buildings for consistent controlled cross breezes can, again, make a huge difference. A lot of actually traditional spanish architecture is a good reference for this since spain gets _hot_.