v3.26.1
Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Line of Credit Facility [Line Items]      
Debt, Long-term and Short-term, Combined Amount $ 1,611,981 $ 1,585,263  
Other Long-term Debt [1] 14,154 6,695  
Debt Instrument, Unamortized Discount (Premium) and Debt Issuance Costs, Net (24,423) (19,250)  
Short-term debt [2] 14,620 9,085  
Long-term debt 1,597,361 1,576,178  
Loss on early extinguishment of debt 3,722 498 $ 666
Proceeds from issuance of senior notes 0 525,000 0
Payments for early redemption or purchase of 7.0% Senior Notes due 2026 0 522,135 24,471
Amortization of Debt Issuance Costs and Discounts 4,807 4,834 4,955
Payments of debt issuance costs 7,754 11,647 $ 2,076
Short-term Debt [Member]      
Line of Credit Facility [Line Items]      
Debt Instrument, Unamortized Discount 3,852 4,895  
Revolving Credit Facility [Member]      
Line of Credit Facility [Line Items]      
Line of Credit Facility, Current Borrowing Capacity $ 250,000    
Description of variable rate basis 0    
Weighted average interest rate 5.69%    
Debt Instrument, Covenant Description if the aggregate principal amount of outstanding revolving loans, swingline loans and unreimbursed letter of credit disbursements made under the Revolving Credit Facility exceeds 20% of the aggregate revolving commitments as of the last day of any fiscal quarter, then we are subject to a financial maintenance covenant requiring that the Consolidated Leverage Ratio calculated as of the last day of such quarter may not exceed 4.50 to 1.00    
Revolving Credit Facility [Member] | Minimum [Member]      
Line of Credit Facility [Line Items]      
Basis spread on LIBOR 2.25%    
Commitment fee (percentage) 0.25%    
Revolving Credit Facility [Member] | Maximum [Member]      
Line of Credit Facility [Line Items]      
Basis spread on LIBOR 3.00%    
Commitment fee (percentage) 0.40%    
Term Loan B, USD Tranche      
Line of Credit Facility [Line Items]      
Debt, Long-term and Short-term, Combined Amount $ 1,097,250    
Description of variable rate basis 0    
Debt Instrument, Increase (Decrease), Net $ 35,289    
Debt Discount Incurred 2,750    
Debt Issuance Costs Incurred 7,789    
Term Loan B      
Line of Credit Facility [Line Items]      
Debt, Long-term and Short-term, Combined Amount 1,097,250 1,072,818  
Senior Notes Due 2032 [Member]      
Line of Credit Facility [Line Items]      
Senior Notes $ 525,000 525,000  
Debt Issuance Costs Incurred   $ 11,658  
[1] The increase in other debt is primarily related to debt acquired as part of tuck-in acquisitions completed during fiscal year 2026 within our PrintBrothers and The Print Group reportable segments.
[2] Balances as of June 30, 2026 and June 30, 2025 are inclusive of short-term debt issuance costs, debt premiums and discounts of $3,852 and $4,895, respectively.