/* BB Bio — freier Bio-/Social-Text (bb-bio.js) */

.portfolio-bio.bb-rich-on > *:not(.bb-rich),
.portfolio-socials.bb-rich-on > *:not(.bb-rich) {
  display: none !important;
}

.bb-rich {
  display: block;
  color: inherit;
  font: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bb-rich p { margin: 0; }

/* Original-Linkverhalten: Farbe von der Seite, kein Unterstrich — Hover
   kommt über interactive-label (Scale + Gradient-Sweep). */
.bb-rich a {
  color: var(--home-strong, #121212);
  text-decoration: none;
  cursor: pointer;
}
.bb-rich a.bb-tab { cursor: pointer; }

/* Social-Zeile darf umbrechen, auch wenn der Container nowrap hat */
.portfolio-socials.bb-rich-on .bb-rich { white-space: normal; }

/* Autoren-Zeilenumbrüche im Rich-Bio auch ≤360 px erhalten (Original
   blendet dort die br der strukturellen Bio aus). */
@media (width<=360px) {
  .portfolio-bio.bb-rich-on .bb-rich .home-hover-text > br { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .bb-rich a { transition: none; }
}
