Functions for handling media, scripts, and styles in the theme