/* Keep the member's name outside the photograph on every result screen. */
.testResult .resultIdentity{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
  text-align:center;
}
.testResult .resultPortrait{
  width:100%;
  min-width:0;
  overflow:hidden;
  flex:none;
}
.testResult .resultPortrait img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 24%;
}
.testResult .resultIdentity h3{
  position:static;
  display:block;
  max-width:100%;
  margin:14px 0 5px;
  padding:9px 10px;
  border:1px solid #a35d91;
  border-radius:12px;
  background:#50314e;
  color:#fff;
  font-size:clamp(19px,2vw,24px);
  line-height:1.25;
  overflow-wrap:anywhere;
  text-shadow:none;
}
.testResult .resultIdentity small{display:block;line-height:1.4}
.testResult .resultIdentity .resultTags{margin-top:12px}
@media(max-width:700px){
  .testResult .resultIdentity{
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    grid-template-rows:auto auto auto;
    column-gap:15px;
    align-items:center;
    text-align:left;
  }
  .testResult .resultPortrait{grid-column:1;grid-row:1/4;height:116px}
  .testResult .resultIdentity h3{grid-column:2;grid-row:1;align-self:end;margin:0 0 5px;font-size:20px}
  .testResult .resultIdentity small{grid-column:2;grid-row:2}
  .testResult .resultIdentity .resultTags{grid-column:2;grid-row:3;justify-content:flex-start;margin:7px 0 0}
}
@media(max-width:380px){
  .testResult .resultIdentity{grid-template-columns:88px minmax(0,1fr);column-gap:10px}
  .testResult .resultPortrait{height:106px}
  .testResult .resultIdentity h3{font-size:18px;padding:7px}
}
