I recently developed a search engine for my website using Google Webmaster Tools, and now I am looking to personalize the look of the search results provided by the Custom Search Engine (CSE). Google allows me to download the CSS file entirely, but when I integrate it into my PHP file within the head section, the custom styling does not seem to take effect.
Placing Google's style code inside the body tag does work as expected, however, this method goes against the standards set by the World Wide Web Consortium. Additionally, inserting such a lengthy block of CSS code directly into the body of my page makes my code appear messy and disorganized.
Is there a way to utilize an external style sheet to modify the default appearance of the search engine without compromising on web standards?