/* Only the two new profiles. Existing team styling and colours remain untouched. */
:is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] img.b3h-team__portrait--sales-static {
  opacity: 1;
  inset: auto auto -48% 50%;
  width: auto;
  height: 132%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}
@media (min-width: 761px) {
  /* Two contact lines make translateY(35%) move these details farther down.
     Compensate only these cards so the underline clears the bottom like Jens. */
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] .b3h-team__details {
    bottom: 82.3px;
  }
}
@media (max-width: 760px) {
  /* Match the About fix: arrows sit below the rail and must not be clipped. */
  #b3h-hero-prototype #new-omos .b3h-team__stage {
    overflow: visible;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] .b3h-team__details {
    bottom: 23px;
    gap: 7px;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] .b3h-team__details strong {
    font-size: 1.4rem;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] .b3h-team__details b,
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__item[data-b3h-sales-card] .b3h-team__details em {
    font-size: .93rem;
  }
}
:is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) [data-b3h-sales-card] .b3h-team__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-style: normal;
}
:is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) [data-b3h-sales-card] .b3h-team__contact a {
  color: #fff !important;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  white-space: nowrap;
}
:is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) [data-b3h-sales-card] .b3h-team__contact a:hover,
:is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) [data-b3h-sales-card] .b3h-team__contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* One complete employee card on phones; existing arrows, bios and swipe stay intact. */
@media (max-width: 760px) {
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__stage {
    width: min(440px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
    transform: none;
    overflow: visible;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__rail {
    gap: 0;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__rail > .b3h-team__item:not(.is-active) {
    display: none !important;
  }
  :is(#b3h-hero-prototype #new-omos, #b3h-about-page #b3h-about-home-team) .b3h-team__rail.has-active > .b3h-team__item.is-active {
    flex: 0 0 100%;
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}
