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 | |
| X | ||||||||||
- Definition Amount after tax, before reclassification adjustments of other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after tax of reclassification adjustments of other comprehensive income (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of equity (deficit) attributable to parent and noncontrolling interest. Excludes temporary equity. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|