Other Assets - Schedule of Other Assets (Details) - USD ($) $ in Thousands |
Aug. 31, 2026 |
Aug. 31, 2025 |
Aug. 31, 2024 |
Aug. 31, 2023 |
|---|---|---|---|---|
| Other Assets [Abstract] | ||||
| Goodwill | $ 239,441 | $ 239,441 | $ 179,976 | |
| Customer lists, trademarks and other intangible assets | 82,013 | 94,414 | ||
| Notes receivable (Note 3) | 190,557 | 145,795 | ||
| Long-term derivative assets (Note 15) | 5,510 | 1,984 | ||
| Prepaid pension and other benefits (Note 13) | 66,153 | 60,085 | ||
| Capitalized major maintenance | 353,479 | 400,267 | $ 223,119 | $ 289,377 |
| Cash value life insurance | 192,630 | 165,922 | ||
| Operating lease right of use assets (Note 19) | 245,910 | 238,718 | ||
| Other | 150,064 | 83,516 | ||
| Total other assets | $ 1,525,757 | $ 1,430,142 |
| X | ||||||||||
- Definition Capitalized Major Maintenance No definition available.
|
| X | ||||||||||
- Definition Prepaid Pension Cost And Other Benefits No definition available.
|
| X | ||||||||||
- Definition Carrying amount as of the balance sheet date of amounts which could be received based on the terms of the insurance contract upon surrendering life policies owned by the entity. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, expected to be settled after one year or the normal operating cycle, if longer. Includes assets not subject to a master netting arrangement and not elected to be offset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after accumulated amortization, of finite-lived intangible asset. Excludes goodwill and capitalized cost for software to be sold, leased, or marketed. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, after accumulated impairment loss, of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after allowance for credit loss, of financing receivable, classified as noncurrent. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of lessee's right to use underlying asset under operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of other miscellaneous assets expected to be realized or consumed after one year or normal operating cycle, if longer. No definition available.
|
| X | ||||||||||
- Definition Amount of noncurrent assets classified as other. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|