/* TehranWeb Article Design System - share icons only.
   Scopes to the existing TWADS article share card on both FA and EN posts.
   No icon fonts, JavaScript, layout changes, or remote requests. */

.twref-page .twref-share-buttons a[href*="x.com/intent/"] > svg,
.twref-page .twref-share-buttons a.twref-wa > span {
    display: none !important;
}

.twref-page .twref-share-buttons a[href*="x.com/intent/"],
.twref-page .twref-share-buttons a.twref-wa {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.twref-page .twref-share-buttons a[href*="x.com/intent/"]::before,
.twref-page .twref-share-buttons a.twref-wa::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    flex: 0 0 19px !important;
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    transform: none !important;
    opacity: 1 !important;
}

.twref-page .twref-share-buttons a[href*="x.com/intent/"]::before {
    background-image: url("x.svg") !important;
}

.twref-page .twref-share-buttons a.twref-wa::before {
    background-image: url("whatsapp.svg") !important;
}
