@import url("./editorial-pages.css");

.team-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.05rem;
  align-items: stretch;
}

.team-photo {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
}

.team-photo img {
  width: auto;
  height: auto;
  object-fit: cover;
}

.team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-copy h3 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .team-showcase {
    grid-template-columns: 1fr;
  }

  .team-photo img {
    min-height: 320px;
  }
}
