v3.26.3
Derivative Financial Instruments and Hedging Activities - Schedule of Pretax Gains (Losses) Recorded in Other Comprehensive Income (Loss) Relating to Cash Flow Hedges (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Commodity derivatives | Cash Flow Hedging      
Derivative [Line Items]      
Pretax gains (losses) recorded in other comprehensive income relating to cash flow hedges $ (5,006) $ 965 $ (605)