XML 79 R71.htm IDEA: XBRL DOCUMENT v3.23.4
Derivative Financial Instruments and Hedging Activities - Schedule of Gain (Loss) Recognized in Earnings for Economic (Non-Designated) Derivative Financial Instruments (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings $ 1,459 $ 3,814 $ 395 $ 2,143
Commodity Contracts | Cost of Sales        
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings $ 1,459 3,861 $ 395 2,284
Foreign Currency Exchange Contracts | Miscellaneous Income, Net        
Derivative [Line Items]        
Gain (Loss) Recognized in Earnings   $ (47)   $ (141)