v3.25.3

Loans - Schedule of Fixed and Floating Rate Loans by Contractual Maturity, Excluding Nonaccrual Loans (Details) - USD ($) $ in Thousands | Sep. 30, 2025 | Dec. 31, 2024
--- | --- | ---
Financing receivables, fixed and floating rate loans by contractual maturity [Abstract] |  |
One year or less | $ 517,856 | $ 485,957
More than one to five years | 436,670 | 758,520
More than five to 15 years | 307,982 | 355,585
Over 15 years | 909,400 | 993,489
Subtotal | 2,171,908 | 2,593,551
Nonaccrual loans | 114,265 | 108,529
Total Loans before Unearned Income | 2,286,173 | 2,702,080
Unearned income | (6,432) | (8,300)
Total Loans Net of Unearned Income | 2,279,741 | 2,693,780
Fixed |  |
Financing receivables, fixed and floating rate loans by contractual maturity [Abstract] |  |
One year or less | 277,638 | 240,685
More than one to five years | 273,194 | 501,800
More than five to 15 years | 56,158 | 62,412
Over 15 years | 340,514 | 358,727
Subtotal | 947,504 | 1,163,624
Floating |  |
Financing receivables, fixed and floating rate loans by contractual maturity [Abstract] |  |
One year or less | 240,218 | 245,272
More than one to five years | 163,476 | 256,720
More than five to 15 years | 251,824 | 293,173
Over 15 years | 568,886 | 634,762
Subtotal | $ 1,224,404 | $ 1,429,927

X
- Definition Loans amount before allowance of loans and leases held in portfolio and those classified as nonaccrual, including but not limited to, commercial and consumer loans. + References No definition available. + Details
Name: | fgbi_FinancingReceivableGrossCarryingAmountNetNonaccrual
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | fgbi_FinancingReceivablesFixedAndFloatingRateLoansByContractualMaturityAbstract
Namespace Prefix: | fgbi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing receivables, excluding nonaccrual status notes, gross carrying amount that are maturing after fifteen years. + References No definition available. + Details
Name: | fgbi_FinancingReceivablesThatAreMaturingAfterFifteenYears
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing receivables, excluding nonaccrual status notes, gross carrying amount that are maturing after five years but not more than fifteen years. + References No definition available. + Details
Name: | fgbi_FinancingReceivablesThatAreMaturingAfterFiveYearsButNotMoreThanFifteenYears
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing receivables, excluding nonaccrual status notes, gross carrying amount that are maturing after one year but not more than five years. + References No definition available. + Details
Name: | fgbi_FinancingReceivablesThatAreMaturingAfterOneYearButNotMoreThanFiveYears
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Financing receivables, excluding nonaccrual status notes, gross carrying amount that are maturing after one year or less. + References No definition available. + Details
Name: | fgbi_FinancingReceivablesThatAreMaturingAfterOneYearOrLess
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of fee received for commitment to originate or purchase financing receivable where likelihood of commitment being exercised is remote, to be recognized as service income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-2 + Details
Name: | us-gaap_FinancingReceivableDeferredIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3B Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, fee, and loan in process, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossFeeAndLoanInProcess
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=fgbi_FixedRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis=fgbi_FloatingRateLoansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |