Customize "Access Denied" (403) page for specific content type
You could do that using the rules module.

Create a rule using the Rules module, with as Event something like After visiting node no_access. So that the entire rule configuration would look something like this:

Events: After visiting node no_access

Conditions:
        User has role - Parameter: User: [site:current-user], Roles: anonymous user
        NOT Text comparison - Parameter: Text: [site:current-page:url], Matching text: user/login

Actions: Page redirect - Parameter: URL: user/login

And then for the logged in user, you can create another rule that checks if the user is logged in, and then redirects to a custom page if the user visits a no_access page.

For the general access denied page, you can set a url in Admin &gt; Configuration &gt; System &gt; Site information, under error pages.

Hope it helps