It can be complicated. See below.
https://accountinginsights.org/tax-deductions-guide-for-charity-golf-tournaments/#:~:text=Tax%20Dedu...