v3.26.3
STOCKHOLDERS’ EQUITY - Schedule of Accumulated Other Comprehensive Loss (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Total AOCL $ 2,001,866 $ 2,186,413 $ 1,912,460 $ 1,619,930
Accumulated Other Comprehensive Loss        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Total AOCL (78,455) (63,748) $ (79,613) $ (87,141)
Accumulated unrealized gains (losses) on cash flow hedges, net of tax        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Total AOCL (858) 2,143    
Accumulated post-employment benefit obligations, net of tax        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Total AOCL (5,748) 0    
Accumulated foreign currency translation adjustments        
Accumulated Other Comprehensive Income (Loss) [Line Items]        
Total AOCL $ (71,849) $ (65,891)