v3.26.3
Benefit Plans - Schedule of Pension Plans' Fair Value Measurements (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value $ 736,303 $ 776,286
Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 48,347 68,865
Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 84,435 85,685
Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Cash and cash equivalents    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 25,298 40,786
Cash and cash equivalents | Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 25,298 40,786
Cash and cash equivalents | Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Cash and cash equivalents | Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 160,457 172,659
Common/collective trust at net asset value | Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value | Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value | Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 420,675 426,785
Common/collective trust at net asset value | Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value | Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Common/collective trust at net asset value | Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Fixed income securities    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 107,484 113,764
Fixed income securities | Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 23,049 28,079
Fixed income securities | Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 84,435 85,685
Fixed income securities | Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Partnership and joint venture interests measured at net asset value    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 22,389 22,292
Partnership and joint venture interests measured at net asset value | Level 1    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Partnership and joint venture interests measured at net asset value | Level 2    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value 0 0
Partnership and joint venture interests measured at net asset value | Level 3    
Defined Benefit Plans and Other Postretirement Benefit Plans Table Text Block [Line Items]    
Plan assets fair value $ 0 $ 0