XML 112 R97.htm IDEA: XBRL DOCUMENT v3.25.3
DEBT (Schedule of Long-Term Debt) (Details) - USD ($)
$ in Thousands
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Debt Instrument [Line Items]      
Total $ 186,597 $ 130,360 $ 139,680
Less: current portion 38,675 35,917 20,193
Long-term debt, net of current portion 147,922 94,443 $ 119,487
Loans entered into by the Company's subsidiaries for which the subsidiary has entered into a cross-currency interest rate swap with non-cash assets and/or cash or cash equivalents assigned as collateral and with/without established debt covenants      
Debt Instrument [Line Items]      
Total 0 19,770  
Loans entered into by the Company or its subsidiaries for which the Company or its subsidiary has entered into an interest rate swap with non-cash assets and/or cash or cash equivalents assigned as collateral and with/without established debt covenants      
Debt Instrument [Line Items]      
Total 56,355 28,794  
Unhedged loans entered into by the Company's subsidiaries with non-cash assets and/or cash or cash equivalents assigned as collateral and with/without established debt covenants      
Debt Instrument [Line Items]      
Total $ 130,242 $ 81,796