XML 59 R45.htm IDEA: XBRL DOCUMENT
v3.26.1

Loans and Allowance for Credit Losses - Financial Impact of Modifications (Details) | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2026 | Jun. 30, 2025 | Jun. 30, 2026 | Jun. 30, 2025
Commercial loans | Commercial real estate |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Weighted-Average Term Extension and Payment Delays (in months) | 14 months |  | 14 months |
Commercial loans | Commercial and industrial |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Weighted-Average Term Extension (in months) |  | 7 months | 12 months | 7 months
Weighted-Average Term Extension and Payment Delays (in months) | 6 months |  | 4 months | 13 months
Commercial loans | Business banking |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Weighted-Average Term Extension (in months) |  |  | 12 months |
Commercial loans | Consumer real estate |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Weighted-Average Term Extension (in months) |  | 96 months |  |
Weighted-Average Term Extension and Payment Delays (in months) |  |  |  | 13 months
Consumer loans | Consumer real estate |  |  |  |
Financing Receivable, Troubled Debt Restructuring [Line Items] |  |  |  |
Weighted-Average Term Extension (in months) | 276 months |  | 303 months | 121 months
Weighted-Average Term Extension and Payment Delays (in months) |  | 13 months |  |

X
- Definition Financing Receivable, Modified, Weighted Average Term Extension And Payment Deferral, Period + References No definition available. + Details
Name: | stba_FinancingReceivableModifiedWeightedAverageTermExtensionAndPaymentDeferralPeriod
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
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/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
- Definition Period of increase in weighted-average maturity of financing receivable modified for debtor experiencing financial difficulty, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + 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 + Details
Name: | us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_BusinessBankingMember
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: |

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