Homepage cleanup

Fixes some style and validation issues that were affecting consistent media and search rendering.