v3.26.3
RETIREMENT AND PROFIT SHARING PLANS - Schedule of Accumulated Benefit Obligation in Excess of Plan Assets (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Accumulated benefit obligation $ 77,355 $ 86,302
Fair value of plan assets 0 0
Non-U.S. Plans    
Defined Benefit Plan Disclosure [Line Items]    
Accumulated benefit obligation 1,424,429 1,260,569
Fair value of plan assets $ 231,135 $ 320,087