/* Shared biography hero fit: keep names intact and use the available column width. */
body.biography-page .bio-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
body.biography-page .bio-title{min-width:0;width:100%;padding:clamp(32px,4vw,64px) clamp(24px,4vw,72px)}
body.biography-page .bio-title .primarch-name{min-width:0;grid-template-columns:56px minmax(0,1fr);gap:18px}
body.biography-page .primarch-heading-copy{min-width:0;max-width:100%}
body.biography-page .bio-title .primarch-heading-copy h1{font-size:clamp(36px,3.5vw,60px);line-height:1.12;overflow-wrap:normal;word-break:normal;hyphens:none;letter-spacing:0;text-wrap:balance}
body.biography-page .bio-summary{width:100%;max-width:65ch}
body.biography-page .bio-facts{min-width:0;max-width:100%}
body.biography-page .bio-facts>div{min-width:0;max-width:100%}
body.biography-page .bio-facts dd{overflow-wrap:anywhere}
body.biography-page .bio-portrait{min-width:0;max-width:100%}
@media(max-width:1000px){
 body.biography-page .bio-hero{grid-template-columns:minmax(0,1fr)}
 body.biography-page .bio-title{padding:32px clamp(24px,5vw,48px)}
 body.biography-page .bio-portrait{min-height:360px;max-height:480px}
 body.biography-page .bio-title .primarch-heading-copy h1{font-size:clamp(36px,6vw,56px)}
}
@media(max-width:520px){
 body.biography-page .bio-title{padding:28px 24px}
 body.biography-page .bio-title .primarch-name{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:22px 0}
 body.biography-page .bio-title .primarch-name>img{width:48px;height:56px;padding:6px}
 body.biography-page .bio-title .primarch-heading-copy h1{font-size:clamp(34px,8.5vw,44px);text-wrap:wrap}
 body.biography-page .bio-title .primarch-heading-copy .bio-epithet{font-size:22px;line-height:1.35}
 body.biography-page .bio-summary{font-size:16px;line-height:1.75}
 body.biography-page .bio-portrait{min-height:300px;max-height:360px}
}
/* Larger native transparent emblems, without frames or background tiles. */
body.biography-page .bio-title .primarch-name{grid-template-columns:104px minmax(0,1fr);gap:22px}
body.biography-page .bio-title .primarch-name>img{width:104px;height:116px;object-fit:contain;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(max-width:520px){
 body.biography-page .bio-title .primarch-name{gap:18px}
 body.biography-page .bio-title .primarch-name>img{width:88px;height:96px;padding:0;border:0;background:transparent}
}
