Derivative Instruments and Hedging Activities (Non-designated Derivative Gains (Losses)) (Details) - Not Designated as Hedging Instruments - USD ($) $ in Thousands |
3 Months Ended | 6 Months Ended | ||
---|---|---|---|---|
Dec. 31, 2022 |
Dec. 31, 2021 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
Total | $ (1,705) | $ 497 | $ (3,137) | $ (1,465) |
Foreign currency hedging instruments | Other Nonoperating Income (Expense) | ||||
Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
Total | 40,090 | (52) | 19,568 | (4,000) |
Other Foreign Exchange Contracts | Other Nonoperating Income (Expense) | ||||
Derivative Instruments and Hedging Activities Disclosures [Line Items] | ||||
Total | $ (41,795) | $ 549 | $ (22,705) | $ 2,535 |