Stain block before painting is a really good idea. The stuff in a spray can has a tendency to be very messy and as you've said it's an awkward area, I'd go for one in a tin instead. It's very thick and I found it almost impossible to apply with a brush. However, I recently had success using a small gloss paint roller. Much, much easier and went on beautifully.