v3.26.3
GOODWILL AND OTHER INTANGIBLE ASSETS (Narrative) (Details)
$ in Thousands
12 Months Ended
Jun. 01, 2025
USD ($)
Aug. 31, 2026
USD ($)
reporting_unit
Aug. 31, 2025
USD ($)
Aug. 31, 2024
USD ($)
Goodwill [Line Items]        
Goodwill   $ 2,138,616 $ 386,846 $ 385,630
Indefinite-lived intangible assets acquired $ 58,200 $ 55,887 57,963  
Indefinite-lived intangible assets, tested for impairment $ 55,000      
Impairment, number of reporting units tested, qualitative | reporting_unit   9    
Cost, amortization   $ 101,723 27,079 28,304
Impairment, number of reporting units tested, quantitative | reporting_unit   1    
Location, Statement of Income, Balance [Axis]: us-gaap:CostOfGoodsAndServicesSold        
Goodwill [Line Items]        
Cost, amortization   $ 75,381 17,210 18,188
Location, Statement of Income, Balance [Axis]: us-gaap:SellingGeneralAndAdministrativeExpense        
Goodwill [Line Items]        
Cost, amortization   26,342 $ 9,869 $ 10,116
Nine Qualitative Reporting Units        
Goodwill [Line Items]        
Goodwill   1,900,000    
First Quantitative Reporting Unit        
Goodwill [Line Items]        
Goodwill   $ 195,000