/* Keep every available team-photo pixel in frame. The approved photo's native
   right edge meets the visual card edge; no interior gutter exposes its crop.
   Homepage layout is intentionally excluded. */
.inner-page .contact-team-portrait{
  display:block;
  position:relative;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  margin:0 0 0 auto;
  padding:0;
  overflow:hidden;
  z-index:1;
}
.inner-page .contact-team-section:before{
  content:'';
  position:absolute;
  inset:-35% -20%;
  border:1px solid #ffffff26;
  border-radius:50%;
  background:radial-gradient(ellipse at 45% 35%,#ffffff18,transparent 58%);
  transform:translate(-12%,8%) rotate(-20deg);
  animation:teamAtmosphere 18s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes teamAtmosphere{
  to{transform:translate(12%,-6%) rotate(20deg)}
}
@media(prefers-reduced-motion:reduce){
  .inner-page .contact-team-section:before{animation:none}
}
.motion-paused .contact-team-section:before{animation-play-state:paused}
.inner-page .contact-team-portrait>picture,
.inner-page .contact-team-portrait>picture>img,
.inner-page .contact-team-portrait>img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:right bottom;
  margin:0;
}
.inner-page main.source-content .general-about-team{
  padding-inline:0;
  overflow:hidden;
}
.inner-page main.source-content .general-about-team>img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:right bottom;
  margin:0 0 -2px auto;
}
.inner-page .source-content>.inner-team{
  display:flex;
  justify-content:flex-end;
  padding-inline:0;
  overflow:hidden;
}
.inner-page .source-content>.inner-team>img{
  display:block;
  width:100%;
  max-width:1400px;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:right bottom;
  margin:0 0 0 auto;
}
