Net Income per Common Share - Reconciliation of Numerator and Denominator of Basic and Diluted Per Share (Detail) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |
12 Months Ended | ||||
|---|---|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
Jul. 31, 2023 |
Jul. 31, 2022 |
|
| Earnings Per Share [Line Items] | |||||
| Net income | $ 205,378 | $ 189,256 | $ 197,215 | $ 174,857 | $ 149,979 |
| Denominator for basic earnings per share for both Class A and Class B | 47,285 | 47,641 | 48,119 | ||
| Plus: Effect of dilutive stock options | 465 | 451 | 377 | ||
| Denominator for diluted earnings per share for both Class A and Class B | 47,750 | 48,092 | 48,496 | ||
| Class A Nonvoting Common Stock | |||||
| Earnings Per Share [Line Items] | |||||
| Basic | $ 4.34 | $ 3.97 | $ 4.10 | ||
| Diluted | $ 4.30 | $ 3.94 | $ 4.07 | ||
| Class B Voting Common Stock | |||||
| Earnings Per Share [Line Items] | |||||
| Net Income (Loss) Available to Common Stockholders, Basic | $ 204,642 | $ 188,512 | $ 196,462 | ||
| Cash dividends on Common Stock | 728 | 736 | 748 | ||
| Preferential dividends on dilutive stock options | $ 8 | $ 8 | $ 5 | ||
| Basic | $ 4.33 | $ 3.96 | $ 4.08 | ||
| Diluted | $ 4.29 | $ 3.92 | $ 4.05 | ||
| X | ||||||||||
- Definition Earnings Per Share [Line Items] No definition available.
|
| X | ||||||||||
- Definition Preferential dividends on dilutive stock options No definition available.
|
| X | ||||||||||
- Definition The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of share based payment arrangements using the treasury stock method. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The portion of profit or loss for the period, net of income taxes, which is attributable to the parent. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|