v3.26.1
Acquisitions and Divestitures - Schedule of Asset Acquired and Liabilities Assumed on Acquisition (Details) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Business Combination [Line Items]      
Goodwill $ 1,688,164 $ 1,617,626 $ 1,308,911
2025 Acquisitions      
Business Combination [Line Items]      
Current assets   128,685  
Property, plant and equipment   41,276  
Goodwill   306,025  
Trade names - indefinite lives   95,804  
Other intangible assets   213,262  
Other long-term assets   8,063  
Total Assets Acquired   793,115  
Liabilities assumed   (153,516)  
Net Assets Acquired [1]   $ 639,599  
Weighted-average other intangible asset amortization life (in years)   18 years  
2026 Acquisitions      
Business Combination [Line Items]      
Current assets 79,350    
Property, plant and equipment 38,897    
Goodwill 57,450    
Trade names - indefinite lives 9,825    
Other intangible assets 76,623    
Other long-term assets 9,679    
Total Assets Acquired 271,824    
Liabilities assumed (51,993)    
Net Assets Acquired [2] $ 219,831    
Weighted-average other intangible asset amortization life (in years) 16 years    
[1] Figure includes cash acquired of $43.8 million.
[2] Figure includes cash acquired of $17.4 million.