.wpo-social-link-wrap {
    display: inline-flex;
    margin: var(--wpo-social-margin, 0 0.65rem 0.65rem 0);
    vertical-align: top;
}

.wpo-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: var(--wpo-social-padding, 0.72rem 1rem);
    border-radius: var(--wpo-social-border-radius, 999px);
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    font-family: var(--wpo-social-font-family, inherit);
    font-size: var(--wpo-social-font-size, 13px);
    font-weight: var(--wpo-social-font-weight, 700);
    line-height: var(--wpo-social-line-height, 1.2);
}

.wpo-social-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.wpo-social-link__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wpo-social-link__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--wpo-social-icon-size, 1.35em);
    height: var(--wpo-social-icon-size, 1.35em);
    font-size: var(--wpo-social-icon-size, 1.35em);
    line-height: 1;
    color: currentColor;
}

.wpo-social-link__icon:empty {
    display: none;
}

.wpo-social-link__icon i {
    display: block;
    font-size: inherit;
    line-height: 1;
}

.wpo-social-link__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wpo-social-link__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wpo-social-link--pill {
    border: 1px solid var(--wpo-social-border-color, var(--wpo-border, rgba(0, 0, 0, 0.08)));
    background: var(--wpo-social-background-color, transparent);
    color: var(--wpo-social-text-color, var(--wpo-text, #1d2327));
}

.wpo-social-link--minimal {
    border: 1px dashed var(--wpo-social-border-color, var(--wpo-border, rgba(0, 0, 0, 0.08)));
    background: var(--wpo-social-background-color, color-mix(in srgb, var(--wpo-bg, #ffffff) 88%, var(--wpo-accent, #2271b1) 12%));
    color: var(--wpo-social-text-color, var(--wpo-text, #1d2327));
}

.wpo-social-link--text {
    border: 1px solid var(--wpo-social-border-color, transparent);
    background: var(--wpo-social-background-color, transparent);
    color: var(--wpo-social-text-color, var(--wpo-accent, #2271b1));
}

.wpo-social-link--text.wpo-social-link--has-icon {
    gap: 0.7rem;
}

.wpo-social-link--text:hover {
    color: var(--wpo-social-hover-text-color, var(--wpo-text, #1d2327));
}

.wpo-social-link--pill:hover,
.wpo-social-link--minimal:hover {
    color: var(--wpo-social-hover-text-color, var(--wpo-accent-contrast, #ffffff));
}

.wpo-social-link--custom-hover:hover {
    background: var(--wpo-social-hover-background-color, var(--wpo-social-background-color, var(--wpo-accent, #2271b1)));
    border-color: var(--wpo-social-hover-border-color, var(--wpo-social-hover-background-color, var(--wpo-social-border-color, transparent)));
}

.wpo-social-link--custom-hover.wpo-social-link--text:hover {
    color: var(--wpo-social-hover-text-color, var(--wpo-accent-contrast, var(--wpo-text, #1d2327)));
}

.wpo-social-link--instagram:hover:not(.wpo-social-link--custom-hover) {
    background: #e4405f;
    border-color: #e4405f;
}

.wpo-social-link--youtube:hover:not(.wpo-social-link--custom-hover) {
    background: #ff0033;
    border-color: #ff0033;
}

.wpo-social-link--tiktok:hover:not(.wpo-social-link--custom-hover) {
    background: #111111;
    border-color: #111111;
}

.wpo-social-link--facebook:hover:not(.wpo-social-link--custom-hover) {
    background: #1877f2;
    border-color: #1877f2;
}

.wpo-social-link--reddit:hover:not(.wpo-social-link--custom-hover) {
    background: #ff4500;
    border-color: #ff4500;
}

.wpo-social-link--linkedin:hover:not(.wpo-social-link--custom-hover) {
    background: #0a66c2;
    border-color: #0a66c2;
}

.wpo-social-link--x:hover:not(.wpo-social-link--custom-hover) {
    background: #000000;
    border-color: #000000;
}

.wpo-social-link--website:hover:not(.wpo-social-link--custom-hover),
.wpo-social-link--custom:hover:not(.wpo-social-link--custom-hover) {
    background: var(--wpo-accent, #2271b1);
    border-color: var(--wpo-accent, #2271b1);
}
