| LOANS HELD FOR INVESTMENT AND ALLOWANCE FOR CREDIT LOSSES (Loans held for investment by years of origination) (Details) - USD ($)$ in Thousands
 | 3 Months Ended | 12 Months Ended | 
| Mar. 31, 2024 | Mar. 31, 2023 | Dec. 31, 2023 | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| Total | $ 2,731,172 |  | $ 2,733,918 | 
| Current Period Gross Writeoffs, Total | 2,563 | $ 2,650 |  | 
| Commercial, Financial and Agricultural [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 8,914 |  | 57,652 | 
| 2023 | 54,524 |  | 67,456 | 
| 2022 | 61,462 |  | 29,387 | 
| 2021 | 26,367 |  | 10,697 | 
| 2020 | 9,121 |  | 7,787 | 
| Prior | 13,978 |  | 7,624 | 
| Revolving Loans | 43,932 |  | 44,587 | 
| Total | 218,298 |  | 225,190 | 
| Current Period Gross Writeoffs, 2024 | 0 |  | 6 | 
| Current Period Gross Writeoffs, 2023 | 16 |  | 252 | 
| Current Period Gross Writeoffs, 2022 | 167 |  | 65 | 
| Current Period Gross Writeoffs, 2021 | 73 |  | 31 | 
| Current Period Gross Writeoffs, 2020 | 6 |  | 41 | 
| Current Period Gross Writeoffs, Prior | 0 |  | 19 | 
| Current Period Gross Writeoffs, Revolving | 20 |  | 97 | 
| Current Period Gross Writeoffs, Total | 282 | 164 | 511 | 
| Commercial, Financial and Agricultural [Member] | Pass [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 8,690 |  | 57,320 | 
| 2023 | 54,213 |  | 66,671 | 
| 2022 | 60,831 |  | 28,933 | 
| 2021 | 25,989 |  | 10,610 | 
| 2020 | 9,022 |  | 7,758 | 
| Prior | 13,831 |  | 7,502 | 
| Revolving Loans | 43,073 |  | 44,350 | 
| Total | 215,649 |  | 223,144 | 
| Commercial, Financial and Agricultural [Member] | Special Mention [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 224 |  | 168 | 
| 2023 | 153 |  | 608 | 
| 2022 | 542 |  | 356 | 
| 2021 | 305 |  | 10 | 
| 2020 | 9 |  | 9 | 
| Prior | 5 |  | 0 | 
| Revolving Loans | 698 |  | 76 | 
| Total | 1,936 |  | 1,227 | 
| Commercial, Financial and Agricultural [Member] | Substandard [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 164 | 
| 2023 | 158 |  | 177 | 
| 2022 | 89 |  | 98 | 
| 2021 | 73 |  | 77 | 
| 2020 | 90 |  | 20 | 
| Prior | 142 |  | 122 | 
| Revolving Loans | 161 |  | 161 | 
| Total | 713 |  | 819 | 
| Real Estate - Construction [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 9,733 |  | 102,315 | 
| 2023 | 122,163 |  | 68,812 | 
| 2022 | 52,672 |  | 19,296 | 
| 2021 | 12,894 |  | 863 | 
| 2020 | 210 |  | 188 | 
| Prior | 187 |  | 0 | 
| Revolving Loans | 4,833 |  | 4,617 | 
| Total | 202,692 |  | 196,091 | 
| Current Period Gross Writeoffs, Total | 0 | 0 |  | 
| Real Estate - Construction [Member] | Pass [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 9,733 |  | 101,684 | 
| 2023 | 121,495 |  | 68,265 | 
| 2022 | 52,078 |  | 18,181 | 
| 2021 | 12,036 |  | 0 | 
| 2020 | 0 |  | 188 | 
| Prior | 187 |  | 0 | 
| Revolving Loans | 4,833 |  | 4,617 | 
| Total | 200,362 |  | 192,935 | 
| Real Estate - Construction [Member] | Special Mention [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 631 | 
| 2023 | 668 |  | 500 | 
| 2022 | 520 |  | 539 | 
| 2021 | 290 |  | 212 | 
| 2020 | 210 |  | 0 | 
| Prior | 0 |  | 0 | 
| Revolving Loans | 0 |  | 0 | 
| Total | 1,688 |  | 1,882 | 
| Real Estate - Construction [Member] | Substandard [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 0 | 
| 2023 | 0 |  | 47 | 
| 2022 | 74 |  | 576 | 
| 2021 | 568 |  | 651 | 
| 2020 | 0 |  | 0 | 
| Prior | 0 |  | 0 | 
| Revolving Loans | 0 |  | 0 | 
| Total | 642 |  | 1,274 | 
| Real Estate - Commercial Mortgage [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 17,060 |  | 121,106 | 
| 2023 | 119,964 |  | 281,989 | 
| 2022 | 278,428 |  | 142,358 | 
| 2021 | 138,680 |  | 103,076 | 
| 2020 | 101,280 |  | 45,841 | 
| Prior | 150,235 |  | 112,025 | 
| Revolving Loans | 18,043 |  | 19,061 | 
| Total | 823,690 |  | 825,456 | 
| Current Period Gross Writeoffs, 2024 |  |  | 0 | 
| Current Period Gross Writeoffs, 2023 |  |  | 0 | 
| Current Period Gross Writeoffs, 2022 |  |  | 0 | 
| Current Period Gross Writeoffs, 2021 |  |  | 0 | 
| Current Period Gross Writeoffs, 2020 |  |  | 0 | 
| Current Period Gross Writeoffs, Prior |  |  | 120 | 
| Current Period Gross Writeoffs, Revolving |  |  | 0 | 
| Current Period Gross Writeoffs, Total | 0 | 120 | 120 | 
| Real Estate - Commercial Mortgage [Member] | Pass [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 17,060 |  | 117,840 | 
| 2023 | 114,391 |  | 275,079 | 
| 2022 | 271,591 |  | 135,663 | 
| 2021 | 132,081 |  | 101,210 | 
| 2020 | 98,214 |  | 43,878 | 
| Prior | 146,120 |  | 109,878 | 
| Revolving Loans | 17,344 |  | 18,367 | 
| Total | 796,801 |  | 801,915 | 
| Real Estate - Commercial Mortgage [Member] | Special Mention [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 3,266 | 
| 2023 | 5,573 |  | 5,684 | 
| 2022 | 5,633 |  | 0 | 
| 2021 | 0 |  | 229 | 
| 2020 | 795 |  | 1,358 | 
| Prior | 1,995 |  | 573 | 
| Revolving Loans | 0 |  | 0 | 
| Total | 13,996 |  | 11,110 | 
| Real Estate - Commercial Mortgage [Member] | Substandard [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 0 | 
| 2023 | 0 |  | 1,226 | 
| 2022 | 1,204 |  | 6,695 | 
| 2021 | 6,599 |  | 1,637 | 
| 2020 | 2,271 |  | 605 | 
| Prior | 2,120 |  | 1,574 | 
| Revolving Loans | 699 |  | 694 | 
| Total | 12,893 |  | 12,431 | 
| Real Estate - Residential [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 38,629 |  | 373,232 | 
| 2023 | 358,326 |  | 401,636 | 
| 2022 | 392,122 |  | 85,097 | 
| 2021 | 83,232 |  | 38,007 | 
| 2020 | 36,567 |  | 25,855 | 
| Prior | 99,195 |  | 72,140 | 
| Revolving Loans | 8,509 |  | 8,252 | 
| Total | 1,016,580 |  | 1,004,219 | 
| Current Period Gross Writeoffs, 2024 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2023 | 13 |  | 0 | 
| Current Period Gross Writeoffs, 2022 | 0 |  | 79 | 
| Current Period Gross Writeoffs, 2021 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2020 | 0 |  | 0 | 
| Current Period Gross Writeoffs, Prior | 4 |  | 0 | 
| Current Period Gross Writeoffs, Revolving | 0 |  | 0 | 
| Current Period Gross Writeoffs, Total | 17 | 0 | 79 | 
| Real Estate - Residential [Member] | Pass [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 38,629 |  | 372,394 | 
| 2023 | 358,059 |  | 400,437 | 
| 2022 | 390,522 |  | 83,108 | 
| 2021 | 80,624 |  | 35,879 | 
| 2020 | 35,045 |  | 24,848 | 
| Prior | 95,003 |  | 68,685 | 
| Revolving Loans | 8,509 |  | 8,252 | 
| Total | 1,006,391 |  | 993,603 | 
| Real Estate - Residential [Member] | Special Mention [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 268 | 
| 2023 | 267 |  | 89 | 
| 2022 | 88 |  | 83 | 
| 2021 | 82 |  | 502 | 
| 2020 | 494 |  | 0 | 
| Prior | 163 |  | 313 | 
| Revolving Loans | 0 |  | 0 | 
| Total | 1,094 |  | 1,255 | 
| Real Estate - Residential [Member] | Substandard [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 570 | 
| 2023 | 0 |  | 1,110 | 
| 2022 | 1,512 |  | 1,906 | 
| 2021 | 2,526 |  | 1,626 | 
| 2020 | 1,028 |  | 1,007 | 
| Prior | 4,029 |  | 3,142 | 
| Revolving Loans | 0 |  | 0 | 
| Total | 9,095 |  | 9,361 | 
| Real Estate - Home Equity [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 11 |  | 890 | 
| 2023 | 507 |  | 48 | 
| 2022 | 47 |  | 127 | 
| 2021 | 130 |  | 11 | 
| 2020 | 10 |  | 386 | 
| Prior | 2,388 |  | 950 | 
| Revolving Loans | 211,524 |  | 208,508 | 
| Total | 214,617 |  | 210,920 | 
| Current Period Gross Writeoffs, 2024 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2023 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2022 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2021 | 0 |  | 0 | 
| Current Period Gross Writeoffs, 2020 | 0 |  | 0 | 
| Current Period Gross Writeoffs, Prior | 0 |  | 0 | 
| Current Period Gross Writeoffs, Revolving | 76 |  | 39 | 
| Current Period Gross Writeoffs, Total | 76 | 0 | 39 | 
| Real Estate - Home Equity [Member] | Performing Financial Instruments [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 11 |  | 890 | 
| 2023 | 507 |  | 48 | 
| 2022 | 47 |  | 127 | 
| 2021 | 130 |  | 11 | 
| 2020 | 10 |  | 386 | 
| Prior | 2,388 |  | 950 | 
| Revolving Loans | 210,775 |  | 207,509 | 
| Total | 213,868 |  | 209,921 | 
| Real Estate - Home Equity [Member] | Nonperforming Financial Instruments [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 0 | 
| 2023 | 0 |  | 0 | 
| 2022 | 0 |  | 0 | 
| 2021 | 0 |  | 0 | 
| 2020 | 0 |  | 0 | 
| Prior | 0 |  | 0 | 
| Revolving Loans | 749 |  | 999 | 
| Total | 749 |  | 999 | 
| Consumer [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 11,402 |  | 68,789 | 
| 2023 | 63,436 |  | 90,386 | 
| 2022 | 80,932 |  | 70,940 | 
| 2021 | 63,361 |  | 21,318 | 
| 2020 | 18,313 |  | 10,210 | 
| Prior | 10,908 |  | 4,258 | 
| Revolving Loans | 6,943 |  | 6,141 | 
| Total | 255,295 |  | 272,042 | 
| Current Period Gross Writeoffs, 2024 | 638 |  | 3,137 | 
| Current Period Gross Writeoffs, 2023 | 418 |  | 3,224 | 
| Current Period Gross Writeoffs, 2022 | 697 |  | 1,362 | 
| Current Period Gross Writeoffs, 2021 | 231 |  | 329 | 
| Current Period Gross Writeoffs, 2020 | 92 |  | 230 | 
| Current Period Gross Writeoffs, Prior | 35 |  | 99 | 
| Current Period Gross Writeoffs, Revolving | 77 |  | 162 | 
| Current Period Gross Writeoffs, Total | 2,188 | $ 2,366 | 8,543 | 
| Consumer [Member] | Performing Financial Instruments [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 11,402 |  | 68,496 | 
| 2023 | 63,285 |  | 90,031 | 
| 2022 | 80,641 |  | 70,882 | 
| 2021 | 63,277 |  | 21,314 | 
| 2020 | 18,244 |  | 10,210 | 
| Prior | 10,864 |  | 4,258 | 
| Revolving Loans | 6,304 |  | 5,431 | 
| Total | 254,017 |  | 270,622 | 
| Consumer [Member] | Nonperforming Financial Instruments [Member] |  |  |  | 
| Financing Receivable, Recorded Investment [Line Items] |  |  |  | 
| 2024 | 0 |  | 293 | 
| 2023 | 151 |  | 355 | 
| 2022 | 291 |  | 58 | 
| 2021 | 84 |  | 4 | 
| 2020 | 69 |  | 0 | 
| Prior | 44 |  | 0 | 
| Revolving Loans | 639 |  | 710 | 
| Total | $ 1,278 |  | $ 1,420 |