/** Bely Bars: authentic brand glyphs, no external CSS/fonts/CDN. */
.bb-social-links a.bb-social-link {
  position: relative !important;
  isolation: isolate;
  overflow: visible;
}
/* Hide only the hand-drawn brand pictogram from the parent theme. Keep its
   focusable link, aria-label, href, circle, background and hover behaviour. */
.bb-social-links a.bb-social-link > svg.bb-icon { opacity: 0 !important; visibility: hidden !important; }
.bb-social-links a.bb-social-link::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 1;
  width: min(var(--bbsi-icon-size, 22px), 75%);
  height: min(var(--bbsi-icon-size, 22px), 75%);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  background-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.bb-social-links a.bb-social-wa::after {
  -webkit-mask-image: url('./icons/whatsapp.svg');
  mask-image: url('./icons/whatsapp.svg');
}
.bb-social-links a.bb-social-telegram::after {
  -webkit-mask-image: url('./icons/telegram.svg');
  mask-image: url('./icons/telegram.svg');
}
/* MAX: honest text label unless an OFFICIAL brand image is selected in Settings. */
.bb-social-links a.bb-social-max::after {
  content: "MAX";
  display: grid;
  place-items: center;
  width: auto;
  min-width: 24px;
  height: 20px;
  background: none;
  -webkit-mask: none;
  mask: none;
  color: inherit;
  font-family: Arial, sans-serif;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.06em;
}
/* Compatible with the white footer button / dark header buttons used in v3.5. */
.bb-site-header .bb-social-links a.bb-social-link::after { color: #fff; }
.bb-site-footer .bb-social-links a.bb-social-link::after { color: #161616; }
.bb-site-header .bb-social-links a.bb-social-link:hover::after,
.bb-site-header .bb-social-links a.bb-social-link:focus-visible::after { color: #161616; }
.bb-site-footer .bb-social-links a.bb-social-link:hover::after,
.bb-site-footer .bb-social-links a.bb-social-link:focus-visible::after { color: #fff; }
/* Logo silhouettes use currentColor, which tracks the theme's interaction state. */
@media (prefers-reduced-motion: reduce) {
  .bb-social-links a.bb-social-link::after { transition: none !important; }
}
