Should this not be "la tema"?
No, it's one of those words of Greek origin that end in -a even though they're masculine, like "il problema" or "il dramma".
Thanks for pointing that out. I was misled by Wordreference.com. I sent them an error report.