/* Profile-only v4.1 candidate. No article card, heading-scale or form changes. */
body.single-project .alteris-profile__body {
  padding-block: clamp(40px, 5vw, 72px);
}
body.single-project .alteris-profile__biography-wrap .wp-block-post-content {
  width: 100%;
  max-width: 760px;
  margin-inline: 0 !important;
}
body.single-project .alteris-profile__biography-wrap .wp-block-post-content > :first-child { margin-top: 0; }
body.single-project .alteris-profile__biography-wrap .wp-block-post-content > :last-child { margin-bottom: 0; }
body.single-project .alteris-profile__credentials { margin-block: 0 24px; }
body.single-project .alteris-profile__credentials p { margin: 0; }
body.single-project .alteris-profile__credentials p + p { margin-top: 12px; }
body.single-project .alteris-profile__credentials img { display: block; max-width: 100%; height: auto; }
@media (min-width: 1021px) {
  body.single-project .alteris-profile__hero { padding-block: clamp(48px, 5.5vw, 84px); }
  body.single-project .alteris-profile__image { width: 96%; max-height: 586px; }
}
@media (max-width: 760px) {
  body.single-project .alteris-profile__hero { padding-block: 36px; }
  body.single-project .alteris-profile__hero .alteris-profile__grid { gap: 28px; }
  body.single-project .alteris-profile__body { padding-block: 36px; }
  body.single-project .alteris-profile__credentials { margin-bottom: 20px; }
}
.alteris-profile .alteris-profile__credentials .alteris-profile__legacy-credential img {
  width: auto;
  max-width: 100%;
  max-height: 160px;
}
