XML 146 R119.htm IDEA: XBRL DOCUMENT v3.23.2
Derivative Financial Instruments and Hedging Activities - Schedule of Gain (Loss) Recognized in Earnings for Economic (Non-Designated) Derivative Financial Instruments (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
Derivative [Line Items]    
Gain (Loss) Recognized in Earnings $ (13,125) $ 13,669
Commodity Contracts | Cost of Sales    
Derivative [Line Items]    
Gain (Loss) Recognized in Earnings (13,125) 13,935
Foreign Currency Exchange Contracts | Miscellaneous Income, Net    
Derivative [Line Items]    
Gain (Loss) Recognized in Earnings   $ (266)
Derivatives Not Designated As Hedging Instruments | Commodity Contracts    
Derivative [Line Items]    
Gain (Loss) Recognized in Earnings $ 172