v3.26.3
ACCUMULATED OTHER COMPREHENSIVE LOSS - (AOCI by Components) (Details) - USD ($)
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Accumulated Other Comprehensive Income (Loss), Net of Tax [Roll Forward]      
Beginning balance $ 4,193,326,000 $ 4,300,024,000 $ 4,121,114,000
Total other comprehensive income (loss), net of income taxes (3,924,000) 60,701,000 (82,174,000)
Ending balance 4,697,206,000 4,193,326,000 4,300,024,000
Other comprehensive income (loss), net unrealized holding gain, tax (4,500,000) (4,000,000.0) 30,600,000
Other comprehensive income (loss), reclassification for realized gain, tax 2,500,000 0 0
Accumulated Other Comprehensive Loss      
Accumulated Other Comprehensive Income (Loss), Net of Tax [Roll Forward]      
Beginning balance (25,251,000) (85,952,000) (3,778,000)
Other comprehensive income (loss) before reclassifications 6,930,000 66,678,000 (79,779,000)
Reclassifications for (gain) loss and other (10,854,000) (5,977,000) (2,395,000)
Total other comprehensive income (loss), net of income taxes (3,924,000) 60,701,000 (82,174,000)
Ending balance (29,175,000) (25,251,000) (85,952,000)
Foreign Currency Translation      
Accumulated Other Comprehensive Income (Loss), Net of Tax [Roll Forward]      
Beginning balance (28,922,000) (76,854,000) (126,045,000)
Other comprehensive income (loss) before reclassifications (14,180,000) 47,932,000 49,191,000
Reclassifications for (gain) loss and other 0 0 0
Total other comprehensive income (loss), net of income taxes (14,180,000) 47,932,000 49,191,000
Ending balance (43,102,000) (28,922,000) (76,854,000)
Derivatives      
Accumulated Other Comprehensive Income (Loss), Net of Tax [Roll Forward]      
Beginning balance 14,993,000 3,614,000 135,257,000
Other comprehensive income (loss) before reclassifications 19,426,000 16,944,000 (129,678,000)
Reclassifications for (gain) loss and other (10,536,000) (5,565,000) (1,965,000)
Total other comprehensive income (loss), net of income taxes 8,890,000 11,379,000 (131,643,000)
Ending balance 23,883,000 14,993,000 3,614,000
Defined Benefit Pension Plans      
Accumulated Other Comprehensive Income (Loss), Net of Tax [Roll Forward]      
Beginning balance (11,322,000) (12,712,000) (12,990,000)
Other comprehensive income (loss) before reclassifications 1,684,000 1,802,000 708,000
Reclassifications for (gain) loss and other (318,000) (412,000) (430,000)
Total other comprehensive income (loss), net of income taxes 1,366,000 1,390,000 278,000
Ending balance $ (9,956,000) $ (11,322,000) $ (12,712,000)