How to add door trim where there isn't enough room?
There are only 2 options I can think of.


Rip the trim down so it is narrow for the place where it won't fit.
Build out the opening so the trim will fit.


Which is better is entirely a personal preference.

Option 1 is easier. I've had to do this with door trim and haven't been unhappy.