v3.25.2
Postretirement Benefits - Changes Recognized in Other Comprehensive loss (income), Postretirement Benefits (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Amounts recognized as a component of net periodic benefit cost:      
Total recognized in other comprehensive loss (income) $ (11,986) $ (64,117) $ (4,619)
Postretirement Benefits | Domestic      
Changes in plan assets and benefit obligations recognized in other comprehensive loss (income):      
Net (gain) loss arising during the year 94 (85)  
Amounts recognized as a component of net periodic benefit cost:      
Amortization or settlement recognition of net gain 25 15  
Total recognized in other comprehensive loss (income) 119 (70)  
Postretirement Benefits | Non-U.S. Plans      
Changes in plan assets and benefit obligations recognized in other comprehensive loss (income):      
Net (gain) loss arising during the year (3,635) (7,983)  
Effect of exchange rates on amounts included in AOCI 66 (13)  
Amounts recognized as a component of net periodic benefit cost:      
Amortization or settlement recognition of net gain 551 49  
Total recognized in other comprehensive loss (income) $ (3,018) $ (7,947)