XML 65 R51.htm IDEA: XBRL DOCUMENT
v3.26.1

Loans and Allowance for Credit Losses - Collateral Dependent Loans by Class of Loan (Details) - USD ($) $ in Thousands | Jun. 30, 2026 | Dec. 31, 2025
--- | --- | ---
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | $ 8,058,386 | $ 8,071,957
Real Estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 9,218 | 14,936
Business Assets |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 13,761 | 24,835
Commercial loans | Commercial real estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 2,784,318 | 2,921,761
Commercial loans | Commercial real estate | Real Estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 6,937 | 14,936
Commercial loans | Commercial real estate | Business Assets |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 0 | 0
Commercial loans | Commercial and industrial |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 1,408,034 | 1,330,605
Commercial loans | Commercial and industrial | Real Estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 0 | 0
Commercial loans | Commercial and industrial | Business Assets |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 13,761 | 24,835
Commercial loans | Commercial construction |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 466,210 | 365,377
Commercial loans | Business banking |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 1,289,133 | 1,315,863
Commercial loans | Business banking | Real Estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 2,281 |
Commercial loans | Business banking | Business Assets |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | 0 |
Consumer loans | Consumer real estate |  |
Financing Receivable, Credit Quality Indicator [Line Items] |  |
Loans held for investment, outstanding balance | $ 2,030,605 | $ 2,047,071

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/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 Reference 2: 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 3: 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 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
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/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-5 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -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 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 79 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-79 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6A -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-6A Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 14: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 16: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 17: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 18: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 19: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 20: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 21: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 22: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 23: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 24: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-15 Reference 25: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 29 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-29 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CollateralAxis=us-gaap_RealEstateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CollateralAxis=stba_BusinessAssetsMember
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=us-gaap_ConstructionLoansMember
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_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: |