v3.26.3
Accumulated Other Comprehensive (loss) - Schedule of Accumulated other comprehensive (loss) (Detail) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance $ 3,313,105 $ 2,886,782
Ending Balance 3,480,332 3,056,594
Foreign Currency Translation Adjustments    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (428,828) (470,851)
Current period comprehensive income 521 19,615
Income taxes associated with the current period (5) (133)
Ending Balance (428,312) (451,369)
Pension And Other Postretirement Benefit Liability Adjustments, Net of Tax    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (28,318) (72,661)
Amounts reclassified from accumulated other comprehensive income (loss) (178) 1,409
Income taxes reclassified into earnings 46 (316)
Ending Balance (28,450) (71,568)
Unrealized Gain On Derivatives, Net of Tax    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance 11,405 11,405
Ending Balance 11,405 11,405
Unrealized Gain (Loss) On Securities, Net of Tax    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (1,459) (1,524)
Current period comprehensive income (239) 254
Income taxes associated with the current period 365 (18)
Amounts reclassified from accumulated other comprehensive income (loss)   (14)
Income taxes reclassified into earnings   2
Ending Balance (1,333) (1,300)
Accumulated Other Comprehensive Income (Loss)    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning Balance (447,200) (533,631)
Current period comprehensive income 282 19,869
Income taxes associated with the current period 360 (151)
Amounts reclassified from accumulated other comprehensive income (loss) (178) 1,395
Income taxes reclassified into earnings 46 (314)
Ending Balance $ (446,690) $ (512,832)