XML 70 R52.htm IDEA: XBRL DOCUMENT v3.23.2
Employee Benefit Plans - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Retirement Benefits [Abstract]      
Deferred compensation arrangement with individual, recorded liability $ 18,288 $ 18,043  
Accrued retirement and profit-sharing contributions 3,717 3,644  
Pension and other postretirement benefit expense $ 15,089 $ 15,063 $ 13,246