Add styles to search results and tweak header logic