/*
 * Share buttons of the social plugin (builder element "Deelknoppen", shortcode [share],
 * automatic placement under entries). Only design tokens, with fallbacks.
 */
.social-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.social-share--center {
    justify-content: center;
}

.social-share--end {
    justify-content: flex-end;
}

.social-share--auto {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border, #e7e5e4);
}

.social-share__label {
    margin: 0;
    font-weight: 600;
}

.social-share__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The gap spaces the buttons; inside rich text ([share]) the list rhythm of the prose would push every button but the first down. */
.social-share__item {
    margin: 0;
}

.social-share__link {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--c-border, #d6d3d1);
    border-radius: var(--radius-md, 0.5rem);
    background: var(--c-surface, #ffffff);
    color: var(--c-text, #1c1917);
    font-size: 0.875rem;
    line-height: 1;
    text-decoration: none;
}

.social-share--icons .social-share__link {
    padding: 0.5rem;
    border-radius: 999px;
}

.social-share__link:hover {
    border-color: var(--c-primary, #1d4ed8);
    color: var(--c-primary, #1d4ed8);
}

.social-share__link:focus-visible {
    outline: 2px solid var(--c-primary, #1d4ed8);
    outline-offset: 2px;
}

.social-share__icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}
