v3.25.3

Allowance for Credit Losses on Loans - Narrative (Details) - USD ($) | 9 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2025 | Dec. 31, 2024
Financing Receivable, Allowance for Credit Losses [Line Items] |  |
Nonaccrual loans | $ 114,265,000 | $ 108,529,000
90 days past due, still accruing | 0 | 11,500,000
Average recorded investment nonaccrual status | 121,300,000 | $ 63,400,000
Unfunded commitments modified during period | 0 |
Loans that were modified with in the previous 12 months | 1,000,000 |
Extended Maturity |  |
Financing Receivable, Allowance for Credit Losses [Line Items] |  |
Amount of financing receivable modified in period | $ 17,600,000 |

X
- Definition Average recorded investment in financing receivables after undergoing trouble debt restructuring that are on nonaccrual status as of the balance sheet date. + References No definition available. + Details
Name: | fgbi_FinancingReceivableAverageRecordedInvestmentNonaccrualStatus
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Off-Balance-Sheet, Credit Loss, Liability, Modified In Period, Amount + References No definition available. + Details
Name: | fgbi_OffBalanceSheetCreditLossLiabilityModifiedInPeriodAmount
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1405 -Paragraph c -Publisher SEC + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable modified during period for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable on nonaccrual status. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-16 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of financing receivable with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 12A -Publisher FASB -URI https://asc.fasb.org/1943274/2147481933/310-10-55-12A Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 44 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-44 + Details
Name: | us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortized cost of financing receivable 90 days or more past due and still accruing. Excludes net investment in lease. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-7 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 80 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-80 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-16 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_ExtendedMaturityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |