added get_page_background_style function with proper inheritance