v3.25.1
Debt - Components Of Long-Term Debt (Details) - USD ($)
$ in Thousands
Apr. 30, 2025
Jul. 31, 2024
Mar. 30, 2021
Debt      
Total long-term debt $ 1,479,953 $ 1,481,151  
Unamortized debt issuance and other costs (13,521) (17,633)  
Less: current portion of long-term debt 652,382 2,510  
Long-term debt 814,050 1,461,008  
Aggregate principal amount 650,000    
Senior Notes 5.375 Percent Due 2026      
Debt      
Unsecured senior notes $ 650,000 $ 650,000  
Interest rate, as a percent 5.375% 5.375%  
Aggregate principal amount $ 650,000    
Senior Notes 5.875 Percent Due 2029      
Debt      
Unsecured senior notes $ 825,000 $ 825,000  
Interest rate, as a percent 5.875% 5.875% 5.875%
Aggregate principal amount     $ 825,000
Loans Payable      
Debt      
Notes payable $ 4,953 $ 6,151  
Unamortized discount $ 910 $ 912  
Weighted average interest rate (as a percent) 8.90% 8.50%