/* New York Webmasters team: consistent portraits, typography and spacing. */
.portrait-frame img[src$="gregor-grigorian-webmaster-owner.jpg"],
.author-card img[src$="gregor-grigorian-webmaster-owner.jpg"] {
  object-position: 50% 25%;
}
.liwm-team .liwm-team-heading {
  max-width: 740px;
  margin: 0 auto 32px;
  text-align: center;
}
.liwm-team .liwm-team-heading p {
  max-width: 620px;
  margin: 16px auto 0;
}
.liwm-team .liwm-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1080px;
  margin-inline: auto;
}
.liwm-team .liwm-team-card {
  min-width: 0;
  margin: 0;
  background: #fff;
  border: 1px solid #d9d9d5;
  text-align: center;
}
.liwm-team .liwm-team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}
.liwm-team .liwm-team-caption {
  padding: 22px 16px 24px;
}
.liwm-team .liwm-team-caption h3 {
  margin: 0;
  color: #111;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
  overflow-wrap: break-word;
}
.liwm-team .liwm-team-caption p {
  margin: 8px 0 0;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .liwm-team .liwm-team-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
    gap: 24px;
  }
}
