v3.26.3
RETIREMENT AND PROFIT SHARING PLANS - Schedule of Projected Benefit Obligation in Excess of Plan Assets (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Postretirement Plans    
Defined Benefit Plan Disclosure [Line Items]    
Projected benefit obligation $ 316,588 $ 566,784
Fair value of plan assets 26,182 27,795
U.S. Plans | Pension Plans    
Defined Benefit Plan Disclosure [Line Items]    
Projected benefit obligation 77,355 86,302
Fair value of plan assets 0 0
Non-U.S. Plans | Pension Plans    
Defined Benefit Plan Disclosure [Line Items]    
Projected benefit obligation 1,118,653 1,531,376
Fair value of plan assets $ 162,664 $ 329,737