.stepbyweb-social-share {
    display: block;

    .share-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: var(--social-share-justify-content, flex-start);
        gap: 0.75rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .share-item {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    .share-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background-color: var(--social-share-palette-3, #f3f4f6);
        color: var(--social-share-palette-7, #1f2937);
        transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.1s ease-in-out;
        text-decoration: none;
    }

    .share-link:hover {
        transform: translateY(-2px);
    }

    .share-link:focus-visible {
        outline: 3px solid var(--global-palette-primary, #3b82f6);
        outline-offset: 2px;
    }

    .share-linkedin .share-link:hover {
        background-color: #0077b5;
        color: #ffffff;
    }

    .share-facebook .share-link:hover {
        background-color: #1877f2;
        color: #ffffff;
    }

    .share-whatsapp .share-link:hover {
        background-color: #25d366;
        color: #ffffff;
    }

    .share-pinterest .share-link:hover {
        background-color: #bd081c;
        color: #ffffff;
    }

    .share-email .share-link:hover {
        background-color: var(--global-palette-primary, #10b981);
        color: #ffffff;
    }

    .share-copylink .share-link:hover {
        background-color: var(--global-palette-primary, #3b82f6);
        color: #ffffff;
    }

    /* Button-Defaults zurücksetzen, damit er optisch zu den <a>-Buttons passt. */
    .copy-link-button {
        position: relative;
        margin: 0;
        padding: 0;
        border: 0;
        font: inherit;
        cursor: pointer;
    }

    /* Kurze Rückmeldung nach erfolgreichem Kopieren (Tooltip oberhalb des Buttons). */
    .copy-link-button.is-copied::after {
        content: attr(data-copied-label);
        position: absolute;
        bottom: calc(100% + 0.5rem);
        left: 50%;
        transform: translateX(-50%);
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        background-color: var(--social-share-palette-7, #1f2937);
        color: #ffffff;
        font-size: 0.75rem;
        line-height: 1;
        white-space: nowrap;
        pointer-events: none;
        z-index: 1;
    }

    .share-link [class^="icon-"] {
        font-size: 1.25rem;
        line-height: 1;
    }

    .kadence-svg-iconset.svg-baseline svg {
        top: 0;
    }

    .kadence-svg-iconset svg {
        width: 1em;
        height: 1em;
    }

    /* Eigene Inline-SVG-Icons (SocialShareBlock::get_custom_svg) wie Kadence-Icons skalieren. */
    .share-link .stepbyweb-svg-icon {
        display: inline-flex;
        align-items: center;
        font-size: 1.25rem;
        line-height: 1;
    }

    .stepbyweb-svg-icon svg {
        width: 1em;
        height: 1em;
    }

    .screen-reader-text {
        border: 0;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
        white-space: nowrap;
    }
}
