XML 78 R64.htm IDEA: XBRL DOCUMENT
v3.26.1

Subsequent Event (Details) - USD ($) | Jul. 22, 2026 | Jul. 27, 2026 | Jun. 30, 2026 | Mar. 31, 2026 | Jan. 21, 2026 | Jun. 30, 2025 | Mar. 31, 2025
--- | --- | --- | --- | --- | --- | --- | ---
Subsequent Event [Line Items] |  |  |  |  |  |  |
Stock repurchase program, authorized amount |  |  | $ 100,000,000 | $ 100,000,000 |  | $ 50,000,000 | $ 50,000,000
Terminated S&T Share Repurchase Program | Subsequent Event |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |
Prior share repurchase plane, terminated amount | $ 2,800,000 |  |  |  |  |  |
New S&T Share Repurchase Program |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |
Stock repurchase program, authorized amount |  |  |  |  | $ 100,000,000.0 |  |
New S&T Share Repurchase Program | Subsequent Event |  |  |  |  |  |  |
Subsequent Event [Line Items] |  |  |  |  |  |  |
Stock repurchase program, authorized amount |  | $ 100,000,000 |  |  |  |  |

X
- Definition Amount authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 505 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481520/505-30-50-4 + Details
Name: | srt_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | srt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Share Repurchase Program, Remaining Capacity Under Existing Plan, Terminated Amount + References No definition available. + Details
Name: | stba_ShareRepurchaseProgramRemainingCapacityUnderExistingPlanTerminatedAmount
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Detail information of subsequent event by type. User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 830 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481674/830-30-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 855 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483399/855-10-50-2 + Details
Name: | us-gaap_SubsequentEventLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_ShareRepurchaseProgramAxis=stba_TerminatedSTShareRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ShareRepurchaseProgramAxis=stba_NewSTShareRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |