.as-team-portrait {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: #172d48;
  box-shadow: 0 8px 24px rgba(23, 45, 72, .10);
}

.as-team-portrait-photo {
  position: relative;
  background: #d7bcb2 url("../img/fond-portraits-all-systems.jpg") center / cover no-repeat;
}

.as-team-portrait-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 229, 217, .13), transparent 56%, rgba(52, 48, 47, .12));
  content: "";
  pointer-events: none;
}

.as-team-portrait-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mask-mode: luminance;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  filter: contrast(.96) saturate(.93) sepia(.06);
}

.as-team-portrait .as-team-portrait-tone {
  filter: brightness(1.055) contrast(.96) saturate(.88) sepia(.06);
}

.as-team-portrait figcaption {
  box-sizing: border-box;
  min-height: 120px;
  margin: 0;
  padding: 12px 20px 14px;
  font-style: normal;
  text-align: left;
}

#content .as-team-portrait h3 {
  margin: 0 0 4px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

#content .as-team-portrait p {
  margin: 0;
  color: #465c76;
  font-size: 15px;
  line-height: 1.45;
}

.as-team-portrait small {
  color: inherit;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .as-team-portrait {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  .as-team-portrait:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(23, 45, 72, .18);
  }
}
