/* Half the previous portrait width/height: approximately one-quarter the area. */
.public-section.agent-public-profile {
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.agent-public-profile .agent-public-photo {
  width: 200px;
  max-width: 100%;
}
.agent-public-profile .agent-public-photo img { height: auto; aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .public-section.agent-public-profile { grid-template-columns: 1fr; }
  .agent-public-profile .agent-public-photo { position: static; }
}

.public-section.agent-public-profile{padding-top:28px;padding-bottom:48px;row-gap:20px}
.agent-public-profile .agent-directory-back{grid-column:1/-1;display:inline-flex;align-items:center;min-height:44px;width:fit-content;color:#285a9d;font-size:.95rem;text-underline-offset:3px}
.agent-public-profile .agent-public-copy{min-width:0}
.agent-public-profile .agent-public-copy h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1;letter-spacing:-.025em;overflow-wrap:anywhere;margin:6px 0 10px}
.agent-public-profile .agent-license{color:#657188;font-size:.9rem;margin:0 0 10px}
.agent-public-profile .agent-headline{font-size:1.2rem;line-height:1.4;margin-bottom:12px}
.agent-public-profile .agent-contact-actions{gap:12px;margin:20px 0 24px}
.agent-public-profile .agent-contact-actions a{box-sizing:border-box;min-height:48px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;text-align:center;white-space:normal;font-size:1rem;max-width:100%;overflow-wrap:anywhere}
.agent-public-profile .agent-biography{max-width:68ch;line-height:1.7;margin:24px 0;font-size:1rem;overflow-wrap:anywhere}
.agent-public-profile .agent-tags{grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:18px;margin:24px 0;padding:20px;background:#f0f3f7;border-radius:16px;max-width:68ch}
.agent-public-profile .agent-tags section{min-width:0}
.agent-public-profile .agent-tags h2{line-height:1.4}
.agent-public-profile .agent-tags span{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;background:#fff;line-height:1.4}
.agent-public-profile .agent-social-links{gap:12px 20px;margin-top:20px}
.agent-public-profile .agent-social-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:760px){.public-section.agent-public-profile{padding-top:20px;row-gap:18px}.agent-public-profile .agent-public-photo{width:160px}.agent-public-profile .agent-contact-actions{display:grid;grid-template-columns:minmax(0,1fr)}.agent-public-profile .agent-contact-actions a{width:100%}}
