<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>371</ContextCount>
  <ElementCount>409</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>141</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>14</UnitCount>
  <MyReports>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - Condensed Consolidated Statements of Operations (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedStatementsofOperationsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Operations (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - Condensed Consolidated Statements of Comprehensive Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Condensed Consolidated Balance Sheet (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedBalanceSheetParentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheet (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedStatementsofCashFlowsUnaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - Condensed Consolidated Statements of Changes in Common Stockholders' Equity Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/CondensedConsolidatedStatementsofChangesinCommonStockholdersEquityStatement</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Common Stockholders' Equity Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - Organization, Basis of Presentation and Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OrganizationBasisofPresentationandRecentAccountingPronouncements</Role>
      <ShortName>Organization, Basis of Presentation and Recent Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Acquisitions and Dispositions of Businesses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinesses</Role>
      <ShortName>Acquisitions and Dispositions of Businesses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilities</Role>
      <ShortName>Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Inventories and Contracts in Progress</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InventoriesandContractsinProgress</Role>
      <ShortName>Inventories and Contracts in Progress</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Revenue from Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomers</Role>
      <ShortName>Revenue from Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Pension Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/PensionPlans</Role>
      <ShortName>Pension Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Other Non-Operating Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OtherNonOperatingExpense</Role>
      <ShortName>Other Non-Operating Expense</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Business Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/BusinessSegments</Role>
      <ShortName>Business Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Organization, Basis of Presentation And Recent Accounting Pronouncements (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OrganizationBasisofPresentationAndRecentAccountingPronouncementsPolicies</Role>
      <ShortName>Organization, Basis of Presentation And Recent Accounting Pronouncements (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.ghco.com/role/OrganizationBasisofPresentationandRecentAccountingPronouncements</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Acquisitions and Dispositions of Businesses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinesses</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/Investments</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesTables</Role>
      <ShortName>Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilities</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Inventories and Contracts in Progress (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InventoriesandContractsinProgressTables</Role>
      <ShortName>Inventories and Contracts in Progress (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/InventoriesandContractsinProgress</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/GoodwillandOtherIntangibleAssets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/Debt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/FairValueMeasurements</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Revenue from Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomersTables</Role>
      <ShortName>Revenue from Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/RevenuefromContractswithCustomers</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/EarningsPerShare</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Pension Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/PensionPlansTables</Role>
      <ShortName>Pension Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/PensionPlans</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Other Non-Operating Expense (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OtherNonOperatingExpenseTables</Role>
      <ShortName>Other Non-Operating Expense (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/OtherNonOperatingExpense</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/BusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.ghco.com/role/BusinessSegments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Organization, Basis of Presentation and Recent Accounting Pronouncements (Organization and Basis of Presentation) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OrganizationBasisofPresentationandRecentAccountingPronouncementsOrganizationandBasisofPresentationNarrativeDetails</Role>
      <ShortName>Organization, Basis of Presentation and Recent Accounting Pronouncements (Organization and Basis of Presentation) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Acquisitions and Dispositions of Businesses (Acquisitions) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesAcquisitionsNarrativeDetails</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Acquisitions) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Acquisitions and Dispositions of Businesses (Dispositions and Other) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesDispositionsandOtherNarrativeDetails</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Dispositions and Other) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Acquisitions and Dispositions of Businesses (Assets Acquired and Liabilities Assumed) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesAssetsAcquiredandLiabilitiesAssumedDetails1</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Assets Acquired and Liabilities Assumed) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Acquisitions and Dispositions of Businesses (Pro Forma Financials) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesProFormaFinancialsDetails2</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Pro Forma Financials) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Acquisitions and Dispositions of Businesses (Assets and Liabilities of Businesses Classified as Held for Sale (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesAssetsandLiabilitiesofBusinessesClassifiedasHeldforSaleDetails3</Role>
      <ShortName>Acquisitions and Dispositions of Businesses (Assets and Liabilities of Businesses Classified as Held for Sale (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AcquisitionsandDispositionsofBusinessesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Investments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InvestmentsNarrativeDetails</Role>
      <ShortName>Investments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/InvestmentsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Investments (Investments in Marketable Equity Securities) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InvestmentsInvestmentsinMarketableEquitySecuritiesDetails1</Role>
      <ShortName>Investments (Investments in Marketable Equity Securities) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/InvestmentsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Investments (Net (Loss) Gain on Marketable Equity Securities) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InvestmentsNetLossGainonMarketableEquitySecuritiesDetails2</Role>
      <ShortName>Investments (Net (Loss) Gain on Marketable Equity Securities) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/InvestmentsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesNarrativeDetails</Role>
      <ShortName>Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Schedule of Accounts Receivable) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesScheduleofAccountsReceivableDetails1</Role>
      <ShortName>Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Schedule of Accounts Receivable) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Schedule of Accounts Payable and Accrued Liabilities) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesScheduleofAccountsPayableandAccruedLiabilitiesDetails2</Role>
      <ShortName>Accounts Receivable, Accounts Payable, Vehicle Floor Plan Payable and Accrued Liabilities (Schedule of Accounts Payable and Accrued Liabilities) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccountsReceivableAccountsPayableVehicleFloorPlanPayableandAccruedLiabilitiesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Inventories and Contracts in Progress (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/InventoriesandContractsinProgressDetails</Role>
      <ShortName>Inventories and Contracts in Progress (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/InventoriesandContractsinProgressTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Goodwill and Other Intangible Assets (Goodwill) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsGoodwillNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Goodwill) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Goodwill and Other Intangible Assets (Other Intangible Assets) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsOtherIntangibleAssetsNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets (Other Intangible Assets) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Goodwill and Other Intangible Assets (Changes in Carrying Amount of Goodwill) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsChangesinCarryingAmountofGoodwillDetails1</Role>
      <ShortName>Goodwill and Other Intangible Assets (Changes in Carrying Amount of Goodwill) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Goodwill and Other Intangible Assets (Other Intangible Assets) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsOtherIntangibleAssetsDetails2</Role>
      <ShortName>Goodwill and Other Intangible Assets (Other Intangible Assets) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/GoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Debt (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/DebtNarrativeDetails</Role>
      <ShortName>Debt (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/DebtTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Debt (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/DebtDetails1</Role>
      <ShortName>Debt (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/DebtTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Fair Value Measurements (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/FairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Fair Value Measurements (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Fair Value Measurements (Fair Value of Financial Assets and Liabilities) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/FairValueMeasurementsFairValueofFinancialAssetsandLiabilitiesDetails1</Role>
      <ShortName>Fair Value Measurements (Fair Value of Financial Assets and Liabilities) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Fair Value Measurements (Reconciliation of Changes in Financial Liabilities Fair Value Using Level 3 Inputs) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/FairValueMeasurementsReconciliationofChangesinFinancialLiabilitiesFairValueUsingLevel3InputsDetails2</Role>
      <ShortName>Fair Value Measurements (Reconciliation of Changes in Financial Liabilities Fair Value Using Level 3 Inputs) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Revenue from Contracts with Customers (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomersNarrativeDetails</Role>
      <ShortName>Revenue from Contracts with Customers (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/RevenuefromContractswithCustomersTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Revenue from Contracts with Customers (Narrative 2) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomersNarrative2Details</Role>
      <ShortName>Revenue from Contracts with Customers (Narrative 2) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/RevenuefromContractswithCustomersTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Revenue from Contracts with Customers (Contract Liability) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomersContractLiabilityDetails</Role>
      <ShortName>Revenue from Contracts with Customers (Contract Liability) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/RevenuefromContractswithCustomersTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Revenue from Contracts with Customers (Capitalized Contract Cost) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/RevenuefromContractswithCustomersCapitalizedContractCostDetails</Role>
      <ShortName>Revenue from Contracts with Customers (Capitalized Contract Cost) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/RevenuefromContractswithCustomersTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Earnings Per Share (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/EarningsPerShareNarrativeDetails</Role>
      <ShortName>Earnings Per Share (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/EarningsPerShareTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Earnings Per Share (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/EarningsPerShareDetails1</Role>
      <ShortName>Earnings Per Share (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/EarningsPerShareTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Earnings Per Share (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/EarningsPerShareDetails2</Role>
      <ShortName>Earnings Per Share (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/EarningsPerShareTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Pension Plans (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/PensionPlansNarrativeDetails</Role>
      <ShortName>Pension Plans (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/PensionPlansTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Pension Plans (Total Benefit/Cost) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/PensionPlansTotalBenefitCostDetails1</Role>
      <ShortName>Pension Plans (Total Benefit/Cost) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/PensionPlansTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Pension Plans (Asset Allocation) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/PensionPlansAssetAllocationDetails2</Role>
      <ShortName>Pension Plans (Asset Allocation) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/PensionPlansTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Other Non-Operating Expense (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/OtherNonOperatingExpenseDetails1</Role>
      <ShortName>Other Non-Operating Expense (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/OtherNonOperatingExpenseTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Components of OCI) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossComponentsofOCIDetails1</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Components of OCI) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Accumulated Other Comprehensive Income (Loss) (AOCI balances) (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossAOCIbalancesDetails2</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (AOCI balances) (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Reclassifications out of AOCI) (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossReclassificationsoutofAOCIDetails3</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Reclassifications out of AOCI) (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/ContingenciesDetails</Role>
      <ShortName>Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/Contingencies</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Business Segments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/BusinessSegmentsNarrativeDetails</Role>
      <ShortName>Business Segments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/BusinessSegmentsTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ghc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Business Segments (Information by Operating Segment) (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.ghco.com/role/BusinessSegmentsInformationbyOperatingSegmentDetails1</Role>
      <ShortName>Business Segments (Information by Operating Segment) (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.ghco.com/role/BusinessSegmentsTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="ghc-20260331.htm">ghc-20260331.htm</File>
    <File>ghc-20260331.xsd</File>
    <File>ghc-20260331_cal.xml</File>
    <File>ghc-20260331_def.xml</File>
    <File>ghc-20260331_lab.xml</File>
    <File>ghc-20260331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1243">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
