/* Share buttons in the JAPSSO red with each network's official logo, without any third-party script. */
.japsso-social { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-block: 2rem; font: inherit; }
.japsso-social > span { font-weight: 600; }
.japsso-social ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.japsso-social li { margin: 0; padding: 0; list-style: none; }
/* Content lists in the theme draw a bullet with ::before: never on share buttons. */
.japsso-social li::before, .japsso-social li::after { content: none !important; display: none !important; }

.japsso-social .japsso-social__btn {
    /* JAPSSO primary red on every network: the logo tells them apart. */
    --jss-bg: #bc1728;
    --jss-hover: #9f1422;
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 40px; padding: .5rem .95rem .5rem .8rem;
    border: 0; border-radius: 6px;
    background: var(--jss-bg); color: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: 0;
    text-decoration: none !important; box-shadow: none;
    transition: background-color .15s ease, transform .15s ease;
}
.japsso-social .japsso-social__btn:hover { background: var(--jss-hover); transform: translateY(-1px); }
.japsso-social .japsso-social__btn:active { transform: none; }
.japsso-social .japsso-social__btn:focus-visible { outline: 3px solid var(--jss-bg); outline-offset: 3px; }
.japsso-social .japsso-social__btn .jsp-icon { display: block; flex-shrink: 0; width: 18px; height: 18px; color: #fff; }

/* "Liens compacts": round official logos only, name kept for screen readers. */
.japsso-social--compact .japsso-social__btn { width: 40px; padding: 0; justify-content: center; border-radius: 50%; }
.japsso-social--compact .japsso-social__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    .japsso-social .japsso-social__btn { transition: none; }
    .japsso-social .japsso-social__btn:hover { transform: none; }
}
