Derivative Financial Instruments and Hedging Activities - Commodity Derivatives (Details) - Commodity derivatives - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2021 |
May 31, 2020 |
May 31, 2021 |
May 31, 2020 |
|
| Cost of goods sold | ||||
| Derivative [Line Items] | ||||
| Pretax gains (losses) reclassified from AOCI related to cash flow hedges | $ 2,329 | $ 884 | $ 19,084 | $ 7,862 |
| Cash Flow Hedging | ||||
| Derivative [Line Items] | ||||
| Pretax gains (losses) recorded in OCI related to cash flow hedges | $ (7,590) | $ 11,081 | $ (7,700) | $ (4,153) |