/**
 * Blog Share - a "Share link" pill (copy) plus dark circular social buttons.
 * Sits in the article author row, right-aligned.
 */
.nm-blog-share {
    --nm-share-border: #e6e9f2;
    --nm-share-dark: #14142e;
    display: block;
}

.nm-blog-share__heading {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.nm-blog-share__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px; /* 4px between the social squares */
}

/* 12px between the Share-link pill and the first social square (4px gap + 8px). */
.nm-blog-share__item--copy {
    margin-right: 8px;
}

.nm-blog-share__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border: 0;
    background: none;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Copy: a light gray pill with the label + link icon. */
.nm-blog-share__item--copy {
    padding: 0 18px;
    border-radius: 999px;
    background: #f2f3f7;
    color: #14142e;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease;
}

.nm-blog-share__item--copy:hover {
    background: #e8eaf1;
}

/* Social: light-grey rounded-square icon buttons, matching the Share-link pill. */
.nm-blog-share__item--linkedin,
.nm-blog-share__item--facebook,
.nm-blog-share__item--x {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f2f3f7;
    color: #14142e;
    transition: background .15s ease, transform .05s ease;
}

.nm-blog-share__item--linkedin:hover,
.nm-blog-share__item--facebook:hover,
.nm-blog-share__item--x:hover {
    background: #e8eaf1;
}

.nm-blog-share__item--linkedin:active,
.nm-blog-share__item--facebook:active,
.nm-blog-share__item--x:active {
    transform: translateY(1px);
}

.nm-blog-share__icon {
    display: inline-flex;
    flex: 0 0 auto;
}

/* Hide text labels on the social circles (kept for screen readers). */
.nm-blog-share__item--linkedin .nm-blog-share__label,
.nm-blog-share__item--facebook .nm-blog-share__label,
.nm-blog-share__item--x .nm-blog-share__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nm-blog-share__item--copy.is-copied {
    background: #dff2e6;
    color: #16a34a;
}

.nm-blog-share__copied {
    font-weight: 600;
}
