XML 60 R46.htm IDEA: XBRL DOCUMENT
v3.26.1

Loans and Allowance for Credit Losses - Summary of Aging Analysis of Modifications (Details) - USD ($) $ in Thousands | Jun. 30, 2026 | Jun. 30, 2025
--- | --- | ---
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 36,771 | $ 13,417
Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 26,447 | 13,127
30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 117
60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 98
90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 10,324 | 75
Commercial loans | Commercial real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 3,538 | 541
Commercial loans | Commercial real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 3,538 | 541
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 | 32,561 | 11,591
Commercial loans | Commercial and industrial | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 22,372 | 11,591
Commercial loans | Commercial and industrial | 30-59 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 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 | 10,189 | 0
Consumer loans | Consumer real estate |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 672 | 1,285
Consumer loans | Consumer real estate | Current | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 537 | 995
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 | 117
Consumer loans | Consumer real estate | 60-89 Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | 0 | 98
Consumer loans | Consumer real estate | 90+ Days Past Due | Accrual |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |
Financing receivable, modified, after 12 months | $ 135 | $ 75

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://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 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-34 Reference 3: 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 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=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: |