.team-portrait {
  width: min(1320px, calc(100% - 64px));
  margin-top: 72px;
  padding: 28px 28px 18px;
  overflow: hidden;
  background: #fff;
  color: #111;
}

.team-photo-frame,
.team-photo-frame picture,
.team-photo-frame img {
  width: 100%;
  display: block;
}

.team-photo-frame {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.team-photo-frame img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.team-photo-caption {
  border-top: 1px solid rgb(17 17 17 / 16%);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 15px 4px 0;
  display: flex;
}

.team-photo-caption span {
  color: #111;
  letter-spacing: 0.17em;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.team-photo-caption p {
  color: rgb(17 17 17 / 62%);
  letter-spacing: 0.06em;
  margin: 0;
  font-size: 14px;
}

@media (width <= 800px) {
  .team-portrait {
    width: calc(100% - 32px);
    margin-top: 48px;
    padding: 16px 16px 14px;
  }
}

@media (width <= 560px) {
  .team-portrait {
    width: calc(100% - 24px);
    margin-top: 42px;
    padding: 10px 10px 12px;
  }

  .team-photo-frame img {
    aspect-ratio: 4 / 5;
  }

  .team-photo-caption {
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 11px 2px 0;
  }

  .team-photo-caption span,
  .team-photo-caption p {
    font-size: 12px;
  }
}
