v3.26.3
STOCKHOLDERS' EQUITY (Schedule of Components of Other Comprehensive Income (Loss) and Accumulated Other Comprehensive Loss) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Accumulated Other Comprehensive Loss        
Amount        
Beginning balance $ (91,315) $ (161,439) $ (164,590) $ (163,992)
Ending balance (91,315) (161,439) (164,590) $ (163,992)
Foreign currency translation adjustments        
Amount        
Other comprehensive income, before reclassification 72,266 3,879 693  
Defined benefit pension plan        
Amount        
Other comprehensive income, before reclassification 148 275 501  
Derivative instruments        
Amount        
Other comprehensive income, before reclassification (2,461) (1,274) (2,189)  
Amounts reclassified from accumulated other comprehensive loss        
Amount        
Amounts reclassified from accumulated other comprehensive loss $ 171 $ 271 $ 397