v3.26.3
DEBT (Schedule of Long-Term Debt) (Details) - USD ($)
$ in Thousands
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Debt Instrument [Line Items]      
Total $ 167,545 $ 186,597 $ 130,360
Less: current portion 64,591 38,675 35,917
Long-term debt, net of current portion 102,954 147,922 $ 94,443
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 54,333 56,355  
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 $ 113,212 $ 130,242