v3.26.1
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
3 Months Ended 6 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Commodity derivatives | Cash Flow Hedging        
Derivative [Line Items]        
Pretax gains (losses) recorded in other comprehensive income relating to cash flow hedges $ (537) $ 6 $ (2,119) $ 1,829