v3.26.1
Goodwill and Intangible Assets - Schedule of Goodwill by Reportable Segment (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Goodwill [Roll Forward]      
Beginning balance $ 5,021,805 $ 4,154,844  
Goodwill acquired 1,474,533 849,024  
Goodwill divested (3,666)    
Foreign currency translation (8,216) 17,937  
Ending balance 6,484,456 5,021,805 $ 4,154,844
Gain on sale of business 7,280 0 0
Domestic | Operating segments      
Goodwill [Roll Forward]      
Beginning balance 4,773,411 3,974,823  
Goodwill acquired 1,464,476 798,885  
Goodwill divested 0    
Foreign currency translation 857 (297)  
Ending balance 6,238,744 4,773,411 3,974,823
International | Operating segments      
Goodwill [Roll Forward]      
Beginning balance 248,394 180,021  
Goodwill acquired 10,057 50,139  
Goodwill divested (3,666)    
Foreign currency translation (9,073) 18,234  
Ending balance $ 245,712 $ 248,394 $ 180,021