/* Un solo botón para compartir en Instagram (spec 0050).
 *
 * Antes había cinco estilos: gris con ícono, verde lleno, solo ícono, uno por
 * pantalla. Ahora todos son `.ig-share`: borde verde, ícono de Instagram y el
 * texto «Compartir…». El ícono sale del CSS (máscara), así el botón no
 * necesita markup propio. `.ig-share--icon` es la versión solo ícono para
 * lugares sin espacio (la tarjeta del listado de carreras).
 */
.ig-share {
  --ig-green: #00FF87;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(0, 255, 135, .45); background: rgba(0, 255, 135, .06);
  color: var(--ig-green); font-family: inherit; font-size: .82rem; font-weight: 700;
  line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.ig-share::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.6' cy='6.4' r='.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.6' cy='6.4' r='.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ig-share:hover, .ig-share:focus-visible {
  background: var(--ig-green); color: #0B0D10; border-color: var(--ig-green); text-decoration: none;
}
.ig-share:disabled { opacity: .6; cursor: wait; }
.ig-share > svg { display: none; }   /* los íconos viejos que queden adentro */
.ig-share--block { display: flex; width: 100%; }
.ig-share--icon { padding: 7px; gap: 0; }
.ig-share--icon .ig-share__label,
.ig-share--icon > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
