Deductions & credits

I am looking for this deduction for my 2024 taxes. I was able to find a "Legal fees" deduction, but was informed that it didn't qualify (though it didn't ask me for any specifics for what kind of legal fees) for a federal or state deduction.