.static-school-profile .detail-heading{align-items:center;gap:32px;padding-top:18px}
.static-school-profile .detail-heading h1{overflow-wrap:anywhere}
.static-school-profile .profile-compare{flex-shrink:0;white-space:nowrap}
.profile-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 38px}
.profile-photo{margin:0;min-width:0}
.profile-photo a:first-child{display:block;border-radius:4px;overflow:hidden;background:var(--mist)}
.profile-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.profile-photo a:hover img{transform:scale(1.025)}
.profile-photo-main{grid-column:1/-1}
.profile-photo-main img{max-height:610px;aspect-ratio:auto;object-fit:contain;background:var(--mist)}
.profile-photo figcaption{font-size:12px;line-height:1.6;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 15px;padding-top:9px;justify-content:space-between}
.profile-photo figcaption a{color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px}
.profile-photo-note{font-size:14px;color:var(--muted);padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:28px}
.static-school-profile .contact-box dd{overflow-wrap:anywhere}
.static-school-profile .field-list dd>a{color:var(--teal-dark);text-decoration:underline;text-underline-offset:3px}
.profile-related{border-top:1px solid var(--line);padding:32px 0 45px}
.profile-related h2{font-size:30px}
.profile-related p{display:flex;flex-wrap:wrap;gap:12px 30px;margin-bottom:0}
.profile-related a{font-size:14px;color:var(--teal-dark);text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.static-school-profile .detail-heading{display:block}.static-school-profile .profile-compare{margin:15px 0 25px}.profile-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin-bottom:26px}.profile-photo-main img{max-height:420px}.profile-related p{display:grid;gap:16px}.profile-related h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.profile-photo img{transition:none}}
