/* Team-only presentation. Content and photographs remain editable in WordPress. */
.fp-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.fp-team-index .team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: 6px;
  box-shadow: none;
}

.fp-team-index .team-card__image {
  display: block;
  flex: none;
  aspect-ratio: 3 / 2;
  background: #424540;
}

.team-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.team-card__content .eyebrow {
  line-height: 1.65;
}

.team-card__link {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--color-brand, #91703b);
  font-weight: 650;
}

.team-card__link:hover {
  color: var(--color-brand-hover, #765a30);
}

.team-card__link:focus-visible,
.team-card__content h2 a:focus-visible {
  outline: 2px solid var(--color-brand, #91703b);
  outline-offset: 5px;
}

.fp-team-portrait {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fp-team-portrait__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fp-team-portrait--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  color: #e4bf5f;
  background: #14232b;
}

.fp-team-portrait__monogram {
  display: grid;
  place-items: center;
  width: clamp(5.5rem, 12vw, 8rem);
  aspect-ratio: 1;
  border: 1px solid #64706f;
  border-radius: 3px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.fp-team-portrait__placeholder-label {
  color: #d2d8d5;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fp-team-profile__portrait {
  align-self: start;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #424540;
}

.fp-team-profile .breadcrumbs {
  color: #52606b;
}

.fp-team-profile .breadcrumbs a:hover {
  color: var(--color-brand-hover, #765a30);
}

@media (min-width: 768px) {
  .fp-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
  }
}

@media (max-width: 767px) {
  .fp-team-index .team-card__image {
    aspect-ratio: 5 / 4;
  }

  .fp-team-profile__portrait {
    max-width: 36rem;
    width: 100%;
  }
}
