/* Canonical author portrait. Keep the supplied frame intact. */
img.bb-author-portrait{display:block;width:100%;max-width:280px;height:auto;max-height:none;aspect-ratio:2/3;object-fit:contain;object-position:center;border-radius:20px;background:transparent}
.site-teacher:has(>.bb-author-portrait){grid-template-columns:minmax(180px,280px) minmax(0,1fr)}
.site-teacher>img.bb-author-portrait,.site-teacher-photo.bb-author-portrait{height:auto;max-height:none;object-fit:contain;object-position:center}
.bb-author-note{display:grid;grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:24px;align-items:center;margin-top:24px}
.bb-author-note>p{margin:0}.bb-author-note>*,.bb-author-text{min-width:0}
@media(max-width:768px){.site-teacher:has(>.bb-author-portrait){grid-template-columns:1fr}.bb-author-note{grid-template-columns:1fr;gap:18px}img.bb-author-portrait{max-width:240px}.bb-author-note>p{margin:0}}
