/**
 * Blog post share icons — standalone asset so styles apply even if theme omits _module.less merge.
 * Magefan SVGs are white; buttons need a colored background.
 */
.blog-post-view .wg-blog-post-view .wg-blog-social-share,
.wg-blog-post-view .wg-blog-social-share {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    min-height: 44px;
}

.wg-blog-post-view .wg-blog-social-label {
    font-weight: 600;
    margin-right: 0.25rem;
}

.wg-blog-post-view .wg-blog-social-link,
.wg-blog-post-view a.social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    border-radius: 4px;
    line-height: 0;
    text-decoration: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
}

.wg-blog-post-view .wg-blog-social-link:hover,
.wg-blog-post-view a.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Theme links often set a:hover { background: #fff } — keep brand tiles on hover/focus/active */
.wg-blog-post-view .wg-blog-social-linkedin,
.wg-blog-post-view a.social-link.wg-blog-social-linkedin {
    background-color: rgb(2, 136, 209) !important;
    color: transparent !important;
}

.wg-blog-post-view .wg-blog-social-linkedin:hover,
.wg-blog-post-view .wg-blog-social-linkedin:focus,
.wg-blog-post-view .wg-blog-social-linkedin:focus-visible,
.wg-blog-post-view .wg-blog-social-linkedin:active,
.wg-blog-post-view a.social-link.wg-blog-social-linkedin:hover,
.wg-blog-post-view a.social-link.wg-blog-social-linkedin:focus,
.wg-blog-post-view a.social-link.wg-blog-social-linkedin:focus-visible,
.wg-blog-post-view a.social-link.wg-blog-social-linkedin:active {
    background-color: rgb(1, 105, 170) !important;
    color: transparent !important;
}

.wg-blog-post-view .wg-blog-social-bluesky,
.wg-blog-post-view a.social-link.wg-blog-social-bluesky {
    background-color: rgb(32, 139, 254) !important;
    color: transparent !important;
}

.wg-blog-post-view .wg-blog-social-bluesky:hover,
.wg-blog-post-view .wg-blog-social-bluesky:focus,
.wg-blog-post-view .wg-blog-social-bluesky:focus-visible,
.wg-blog-post-view .wg-blog-social-bluesky:active,
.wg-blog-post-view a.social-link.wg-blog-social-bluesky:hover,
.wg-blog-post-view a.social-link.wg-blog-social-bluesky:focus,
.wg-blog-post-view a.social-link.wg-blog-social-bluesky:focus-visible,
.wg-blog-post-view a.social-link.wg-blog-social-bluesky:active {
    background-color: rgb(24, 118, 220) !important;
    color: transparent !important;
}

.wg-blog-post-view .wg-blog-social-x,
.wg-blog-post-view a.social-link.wg-blog-social-x {
    background-color: rgb(0, 0, 0) !important;
    color: transparent !important;
}

.wg-blog-post-view .wg-blog-social-x:hover,
.wg-blog-post-view .wg-blog-social-x:focus,
.wg-blog-post-view .wg-blog-social-x:focus-visible,
.wg-blog-post-view .wg-blog-social-x:active,
.wg-blog-post-view a.social-link.wg-blog-social-x:hover,
.wg-blog-post-view a.social-link.wg-blog-social-x:focus,
.wg-blog-post-view a.social-link.wg-blog-social-x:focus-visible,
.wg-blog-post-view a.social-link.wg-blog-social-x:active {
    background-color: rgb(30, 30, 30) !important;
    color: transparent !important;
    background-color: rgb(1, 105, 170) !important;
    color: transparent !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    background-image: none !important;
}

.wg-blog-post-view .wg-blog-social-link:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.wg-blog-post-view .wg-blog-social-link img,
.wg-blog-post-view .social-link img {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    max-width: none !important;
    opacity: 1 !important;
    vertical-align: top;
}

/**
 * Win over Codazon / theme rules that use `background: #fff` on hover (shorthand beats background-color).
 * Prefix with body + .post-view for higher specificity than `.wg-blog-post-view .social-link img` only.
 */
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-link,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link {
    background-image: none !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-linkedin,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-linkedin {
    background: rgb(2, 136, 209) !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-linkedin:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-linkedin:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-linkedin:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-linkedin:active,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-linkedin:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-linkedin:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-linkedin:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-linkedin:active {
    background: rgb(1, 105, 170) !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-bluesky,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-bluesky {
    background: rgb(32, 139, 254) !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-bluesky:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-bluesky:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-bluesky:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-bluesky:active,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-bluesky:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-bluesky:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-bluesky:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-bluesky:active {
    background: rgb(24, 118, 220) !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-x,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-x {
    background: rgb(0, 0, 0) !important;
}

body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-x:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-x:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-x:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.wg-blog-social-x:active,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-x:hover,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-x:focus,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-x:focus-visible,
body.blog-post-view .post-view.wg-blog-post-view .wg-blog-social-share a.social-link.wg-blog-social-x:active {
    background: rgb(30, 30, 30) !important;
}
