/* Scoped identity treatment; leaves approved homepage composition intact. */
.dir-identity-mark {
  width:72px;height:72px;flex:0 0 72px;display:inline-flex;
  align-items:center;justify-content:center;box-sizing:border-box;
  border:1px solid #d6e6ee;border-radius:14px;background:#fff;
  overflow:hidden;
}
.dir-identity-image {padding:8px;}
.dir-identity-image img {
  display:block;width:100%;height:100%;max-width:100%;max-height:100%;
  object-fit:contain;object-position:center;
  /* No filters, recoloring, cropping, or compositing of official artwork. */
}
.dir-identity-fallback {
  background:#edf5fa;color:#103f6d;font-family:var(--body,Arial,sans-serif);
  font-size:19px;font-weight:700;letter-spacing:.02em;line-height:1;
}
.dir-identity-reverse-wide { background:#123b43; border-color:#123b43; width:112px; flex-basis:112px; padding:10px; }
.profile-identity .dir-identity-reverse-wide { width:180px; flex-basis:180px; }
.relationship-identity:has(.dir-identity-reverse-wide) { flex-direction:column; align-items:flex-start; }
.relationship-identity .dir-identity-image { min-width:64px; min-height:64px; }
.relationship-identity .dir-identity-reverse-wide { width:180px; height:48px; min-height:48px; flex:none; }
@media(max-width:640px) {
  .profile-identity .dir-identity-mark { width:72px; height:72px; flex:none; }
  .profile-identity .dir-identity-reverse-wide { width:180px; height:48px; }
}
.relationship-identity {min-width:0;}
.relationship-identity > div {min-width:0;}
.relationship-identity h3 {overflow-wrap:anywhere;}
/* Optional directory-header hook. Parent can insert an exact supplied turtle
   with class adn-compact-brand-mark beside existing accessible brand text. */
.adn-compact-brand .adn-compact-brand-mark {display:none;}
@media (max-width:640px) {
  .adn-compact-brand .adn-full-brand-mark {display:none;}
  .adn-compact-brand .adn-compact-brand-mark {
    display:block;width:52px;height:52px;object-fit:contain;flex:0 0 52px;
    padding:5px;box-sizing:content-box;
  }
}
