XML 47 R37.htm IDEA: XBRL DOCUMENT
v3.25.3

Summary of Significant Accounting Policies - Nature of Operations and Subordinated Notes (Details) | Sep. 30, 2025 subsidiary
--- | ---
C&F Bank |
Nature of Operations and Subordinated Notes |
Number of wholly owned subsidiaries | 5
C&F Mortgage | C&F Select LLC |
Nature of Operations and Subordinated Notes |
Interest owned (as a percent) | 51.00%

X
- Definition The number of subsidiaries owned by the company. + References No definition available. + Details
Name: | cffi_NumberOfWhollyOwnedSubsidiaries
Namespace Prefix: | cffi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ConsolidationLessThanWhollyOwnedSubsidiaryParentOwnershipInterestEffectsOfChangesNetLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The parent entity's interest in net assets of the subsidiary, expressed as a percentage. + References No definition available. + Details
Name: | us-gaap_MinorityInterestOwnershipPercentageByParent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | dei_LegalEntityAxis=cffi_CAndFBankMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=cffi_CFMortgageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_OwnershipAxis=cffi_CFSelectLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |