Modify the access denied page according to the theme