/* One portrait series: uncropped 3:4 artwork, a clean white field and a soft base. */
body.as-clean .oc-career .oc-career-team {
  background: #fff;
}

body.as-clean .oc-career .oc-team-photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
  filter: none;
}

/* Reset the old per-person masks, enlargements and vertical offsets. */
body.as-clean .oc-career .oc-team-photo > img,
body.as-clean .oc-career .oc-team-person:hover .oc-team-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center top;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
  filter: none;
  animation: none;
  transition: none;
  -webkit-mask-image: none;
  mask-image: none;
}

body.as-clean .oc-career .oc-team-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 20%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / .32) 35%, #fff 94%);
  pointer-events: none;
  transform: none;
  animation: none;
}

/* One portrait series, adapting from a full team row to individual portraits. */
body.as-clean .oc-career .oc-team-people-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body.as-clean .oc-career .oc-team-people-five h3 {
  font-size: clamp(18px, 1.65vw, 24px);
}
@media (max-width: 1200px) and (min-width: 861px) {
  body.as-clean .oc-career .oc-team-people-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 24px;
  }
}
@media (max-width: 860px) and (min-width: 601px) {
  body.as-clean .oc-career .oc-team-people-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
}
@media (max-width: 600px) {
  body.as-clean .oc-career .oc-team-people-five {
    grid-template-columns: 1fr;
  }
  body.as-clean .oc-career .oc-team-people-five h3 { font-size: 24px; }
}
