XML 91 R77.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Loans and Allowance for Credit Losses - Summary of Aging Analysis of Modifications (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 25,883 | $ 31,083
Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 18,262 | 30,674
30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 7,475 | 0
60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 40 | 0
90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 106 | 409
Commercial Loans | Commercial real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 3,689 | 13,836
Commercial Loans | Commercial real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 3,689 | 13,836
Commercial Loans | Commercial real estate | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial real estate | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial real estate | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial and industrial |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 21,701 | 16,877
Commercial Loans | Commercial and industrial | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 14,226 | 16,468
Commercial Loans | Commercial and industrial | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 7,475 | 0
Commercial Loans | Commercial and industrial | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Commercial Loans | Commercial and industrial | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 409
Business banking |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 120
Business banking | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 120
Business banking | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Business banking | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Business banking | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months |  | 0
Consumer Loans | Consumer real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 493 | 250
Consumer Loans | Consumer real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 347 | 250
Consumer Loans | Consumer real estate | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 0
Consumer Loans | Consumer real estate | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 40 | 0
Consumer Loans | Consumer real estate | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 106 | $ 0

X
- Definition Amortized cost excluding accrued interest, of financing receivable 12 months after modification 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)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPast12Months
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 33 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-33 Reference 3: 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 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 Reference 5: 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_FinancingReceivableModificationsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancialAssetNotPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentPerformanceStatusAxis=us-gaap_PerformingFinancingReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivables30To59DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivables60To89DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablesPeriodPastDueAxis=us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_CommercialRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_CommercialAndIndustrialMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=stba_BusinessBankingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_ConsumerPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_ConsumerRealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |