Derivative 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, 2025 |
May 31, 2024 |
|
Derivative [Line Items] | ||
Gain (Loss) Recognized in Earnings | $ (5,511) | $ (1,596) |
Commodity Contracts | Cost of Goods Sold | Continuing Operations | ||
Derivative [Line Items] | ||
Gain (Loss) Recognized in Earnings | 600 | (349) |
Foreign Currency Exchange Contracts | Miscellaneous Expense, Net | Continuing Operations | ||
Derivative [Line Items] | ||
Gain (Loss) Recognized in Earnings | $ (6,111) | $ (1,247) |