v3.26.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Schedule of Gain or Loss on Interest Rate Swaps and Cross-Currency Interest Rate Swap Agreements (Details) - Cash Flow Hedging - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Derivative [Line Items]        
Net Gain (Loss) $ 2,039 $ 1,586 $ 5,893 $ 4,735
Interest expense on borrowings        
Derivative [Line Items]        
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest Expense, Nonoperating Interest Expense, Nonoperating Interest Expense, Nonoperating Interest Expense, Nonoperating
Net Gain (Loss) $ 779 $ 696 $ 2,373 $ 2,620
Cost of swaps        
Derivative [Line Items]        
Net Gain (Loss) $ 1,260 $ 890 $ 3,520 $ 2,115