Melted components from fan failure

The fan is not available separately from Framework. I imagine there must be a way to get the fan off, but it seems it’s a bit involved. A member posted steps to open the fan casing to clean it (or replace the important half I guess) but didn’t see how to completely remove it.