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 |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before tax and adjustments, of gain (loss) from increase (decrease) in value of excluded component of derivative designated and qualifying as hedge. Adjustments include, but are not limited to, reclassifications for sale and settlement, and amounts recognized under systematic and rational method. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|