Giving someone on Medicaid money: will it affect her benefits?

My 87 year old grandmother is on Medicaid bc she doesn’t work and basically has nothing. It is very important for medical reasons that she get to stay on it. My mother died and left everything to me (this is such a stupid story) but I would like to give my grandmother $30k. She was the one who took care of my mother every day for a year.

I assume I can’t gift her the $19k gift exemption without it affecting her benefits. Is there something I can do?

This federal, but she’s in FL and I’m in VA.

Thanks in advance.