/* Compartir enlaces de Empyreon: se adapta al tema activo, sin SDK de terceros. */
.emp-compartir{box-sizing:border-box;width:100%;max-width:100%;margin:clamp(16px,2.2vw,28px) auto;padding:clamp(14px,2vw,22px);border:1px solid var(--emp-ds-border,#58708a);border-radius:12px;background:var(--emp-ds-bg-surface-alt,#12243c);color:var(--emp-ds-text-primary,#eef2f8);font:inherit}
.emp-compartir *, .emp-compartir *::before,.emp-compartir *::after{box-sizing:border-box}
.emp-compartir-heading{margin:0 0 12px!important;text-align:center;font-weight:700;font-size:clamp(15px,1.35vw,19px);color:var(--emp-ds-text-heading,inherit);line-height:1.45}
.emp-compartir-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.emp-compartir-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;border:1px solid var(--emp-ds-accent,#dfbf7e);border-radius:8px;background:var(--emp-ds-bg-surface,#10203b);color:var(--emp-ds-text-primary,#eef2fb)!important;font:inherit;font-size:clamp(13px,1vw,15px);font-weight:650;text-decoration:none!important;line-height:1.25;text-align:center;cursor:pointer;transition:background .18s,border-color .18s}
.emp-compartir-link:hover,.emp-compartir-link:focus-visible{background:color-mix(in srgb,var(--emp-ds-accent,#e0be80) 15%,var(--emp-ds-bg-surface,#14243f));border-color:var(--emp-ds-link-hover,#f7dfb2);color:var(--emp-ds-text-primary,#fff)!important;text-decoration:none!important}
.emp-compartir-link:focus-visible{outline:2px solid var(--emp-ds-focus,#b4e9ff);outline-offset:3px}
.emp-compartir-native[hidden]{display:none!important}
.emp-compartir-status{display:block;margin:5px auto 0;text-align:center;min-height:0;line-height:1.45;font-size:14px;color:var(--emp-ds-text-muted,#cbd9e8)}
.emp-compartir-status:empty{display:none}
.ew-wrap .emp-compartir{background:transparent;border:0;border-radius:0;padding:5px 0;margin:10px auto}
.ew-wrap .ew-utilities .emp-compartir{flex:1 1 100%;width:100%;min-width:0}
.ew-wrap .emp-compartir-link{background:#122747;border-color:#d6b87d;color:#ffeacc!important}
.ew-wrap .emp-compartir-link:hover{background:#21456f}
body:has([data-emp-celestial="dark"]) .emp-compartir:not(.ew-wrap .emp-compartir){background:linear-gradient(120deg,#0b1933,#101e3c);border-color:#a68d63}
body:has([data-emp-celestial="dark"]) .emp-compartir-link{background:linear-gradient(150deg,#172b4d,#0c1831);border-color:#cfad77;color:#fff0d6!important}
body:has([data-emp-celestial="dark"]) .emp-compartir-link:hover{background:linear-gradient(145deg,#285584,#14294e)}
@media(max-width:590px){.emp-compartir{padding:14px}.emp-compartir-actions{gap:7px}.emp-compartir-link{flex:1 1 130px}}
@media(prefers-reduced-motion:reduce){.emp-compartir-link{transition:none}}

/* Empyreon Social 1.1: identidad visual de cada red y SVG accesibles. */
.emp-compartir-icon{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 19px;width:19px;height:19px;line-height:0}
.emp-compartir-icon svg{display:block!important;flex:none;width:19px!important;height:19px!important;max-width:none!important;min-width:19px}
.emp-compartir-texto{display:inline-block;white-space:nowrap}
.emp-compartir .emp-compartir-facebook{--share-brand:#1877f2}
.emp-compartir .emp-compartir-x{--share-brand:#111318}
.emp-compartir .emp-compartir-whatsapp{--share-brand:#168c49}
.emp-compartir .emp-compartir-telegram{--share-brand:#229ed9}
.emp-compartir .emp-compartir-linkedin{--share-brand:#0a66c2}
.emp-compartir .emp-compartir-bluesky{--share-brand:#1185fe}
.emp-compartir .emp-compartir-pinterest{--share-brand:#bd081c}
.emp-compartir .emp-compartir-reddit{--share-brand:#ef450e}
/* El tema celestial tiene una regla global que borra el fondo de enlaces: ganarle
   expresamente SOLO en enlaces de redes, sin afectar al resto de enlaces del CMS. */
body .emp-sitio .emp-compartir .emp-compartir-actions a.emp-compartir-link.emp-compartir-link[class*="emp-compartir-"]{
 background:linear-gradient(155deg,color-mix(in srgb,var(--share-brand) 82%,white),var(--share-brand) 48%,color-mix(in srgb,var(--share-brand) 77%,black))!important;
 background-color:var(--share-brand)!important;
 background-image:linear-gradient(155deg,color-mix(in srgb,var(--share-brand) 82%,white),var(--share-brand) 48%,color-mix(in srgb,var(--share-brand) 77%,black))!important;
 color:#fff!important;
 border:1px solid color-mix(in srgb,var(--share-brand) 68%,white)!important;
 border-radius:10px!important;
 box-shadow:inset 0 1px 0 #ffffff49,0 4px 10px #0005!important;
 text-shadow:0 1px 2px #0007!important;
 font-weight:750!important;
 padding:9px 13px!important;
 transition:filter .2s ease,box-shadow .2s ease,background .2s ease!important;
 transform:none!important;
}
body .emp-sitio .emp-compartir .emp-compartir-actions a.emp-compartir-link.emp-compartir-link[class*="emp-compartir-"]:is(:hover,:focus-visible){
 background:linear-gradient(145deg,color-mix(in srgb,var(--share-brand) 72%,white),var(--share-brand))!important;
 background-image:linear-gradient(145deg,color-mix(in srgb,var(--share-brand) 72%,white),var(--share-brand))!important;
 color:#fff!important;
 border-color:color-mix(in srgb,var(--share-brand) 36%,white)!important;
 box-shadow:inset 0 1px 0 #ffffff65,0 0 0 1px #ffffff25,0 0 19px color-mix(in srgb,var(--share-brand) 44%,transparent)!important;
 filter:brightness(1.11)
}
body .emp-sitio .emp-compartir .emp-compartir-actions :is(.emp-compartir-copy,.emp-compartir-native){
 background:linear-gradient(158deg,#284b77,#102543)!important;
 color:#fff0d6!important;border-color:#d7b67e!important;
 box-shadow:inset 0 1px 0 #ffefa13b,0 4px 10px #0005!important;
}
body .emp-sitio .emp-compartir .emp-compartir-actions :is(.emp-compartir-copy,.emp-compartir-native):is(:hover,:focus-visible){
 background:linear-gradient(145deg,#3c76b1,#1a3d6c)!important;
 color:#fff!important;border-color:#ffe0a2!important;
 box-shadow:0 0 15px #78b4f75c!important
}
@media(max-width:590px){
 .emp-compartir-texto{white-space:normal}
 body .emp-sitio .emp-compartir .emp-compartir-actions a.emp-compartir-link{flex:1 1 120px}
}
@media(prefers-reduced-motion:reduce){.emp-compartir-link{transition:none!important;filter:none!important}}

