[OR] Will Medicaid cover dementia related nursing home?

My partner is the POA for her grandma who has severe dementia and is currently residing in full-time dementia care which is ~$7500/month. Her grandma is currently paying out of pocket with a combination of Social Security and Pension (~$3000/month) and the remainder in stocks she's been slowly selling off. At the current burn her stock income will probably run out in about a year. She could very well outlive that time but obviously the dementia will only be worse thus needing to stay in full-time care. We were hoping that Medicaid could be used to pay the remainder of her care but because of her Social Security and Pension she'd be above the income threshold.

In this scenario is there any way Medicaid could be utilized? Obviously all her SS and Pension would be going to her care but she'd be well behind what the care currently costs. We plan to find an elder lawyer to speak with but figured I would check here to see if there is any advice. Please let me know if you need me to clarify anything and really appreciate any advice.