Employee Benefit Plans - Schedule of recognized in accumulated other comprehensive loss (Details) - USD ($) |
May 31, 2026 |
May 31, 2025 |
|---|---|---|
| Pension and postretirement adjustments: | ||
| Actuarial gain (loss) | $ (11,600,000) | $ (9,600,000) |
| Prior service credit (cost) | 5,000,000.0 | 5,900,000 |
| Amount recognized in Accumulated comprehensive income (loss) net of tax | (8,100,000) | (5,500,000) |
| UNITED KINGDOM | Pension Plans | ||
| Pension and postretirement adjustments: | ||
| Actuarial gain (loss) | (12,700,000) | (11,000,000.0) |
| Prior service credit (cost) | 0 | 0.0 |
| Amount recognized in Accumulated comprehensive income (loss) net of tax | (12,700,000) | (11,000,000.0) |
| United States | Other Postretirement Benefits | ||
| Pension and postretirement adjustments: | ||
| Actuarial gain (loss) | 1,100,000 | 1,400,000 |
| Prior service credit (cost) | 5,000,000.0 | 5,900,000 |
| Amount recognized in Accumulated comprehensive income (loss) net of tax | $ 4,600,000 | $ 5,500,000 |