/* ==========================================================================
   NEVILIX — SOCIAL SHARE
   Scope: reusable public article share component only.
   ========================================================================== */

.social-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    align-items: center;
    margin-top: 20px;
}

.social-share__label {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: #667085;
    font-size: .88rem;
    font-weight: 700;
}

.social-share__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.social-share__button {
    display: inline-flex;
    min-height: 40px;
    gap: 7px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease,
        border-color .18s ease;
}

.social-share__button[hidden] {
    display: none !important;
}

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

.social-share__button:focus-visible {
    outline: 3px solid rgba(21, 94, 239, .22);
    outline-offset: 2px;
}

.social-share__button--facebook {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 7px 18px rgba(24, 119, 242, .18);
}

.social-share__button--facebook:hover,
.social-share__button--facebook:focus-visible {
    background: #0f6bdd;
    color: #fff;
}

.social-share__button--x {
    background: #111;
    color: #fff;
    box-shadow: 0 7px 18px rgba(17, 17, 17, .14);
}

.social-share__button--x:hover,
.social-share__button--x:focus-visible {
    background: #2b2b2b;
    color: #fff;
}

.social-share__button--copy {
    border-color: #d8e2f0;
    background: #fff;
    color: #344563;
}

.social-share__button--copy:hover,
.social-share__button--copy:focus-visible {
    border-color: #b9cae1;
    background: #f6f9fd;
    color: #0b3ea8;
}

.social-share__button--copy.is-copied {
    border-color: #9dd7b5;
    background: #effaf3;
    color: #157347;
}

.social-share__button--native {
    border-color: #bfd2f5;
    background: #eef5ff;
    color: #0b3ea8;
}

.social-share__button--native:hover,
.social-share__button--native:focus-visible {
    border-color: #9dbbf0;
    background: #e2edff;
    color: #08368f;
}

@media (max-width: 575.98px) {
    .social-share {
        display: block;
        margin-top: 18px;
    }

    .social-share__label {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .social-share__actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .social-share__button {
        min-width: 0;
        min-height: 44px;
        padding: 8px 6px;
        border-radius: 12px;
        font-size: .74rem;
    }

    .social-share__button i {
        font-size: 1rem;
    }
}

@media (max-width: 390px) {
    .social-share__button span {
        display: none;
    }

    .social-share__button {
        font-size: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-share__button {
        transition: none;
    }

    .social-share__button:hover {
        transform: none;
    }
}
