/* Team member links and profile pages */

/* Linked name in the homepage hero roster */
.vvi-team-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.vvi-team-link .vvi-team-name {
  text-decoration: underline;
  text-decoration-color: rgba(230, 217, 184, 0.45);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}

.vvi-team-link:hover .vvi-team-name,
.vvi-team-link:focus-visible .vvi-team-name {
  color: #f5ebcf;
  text-decoration-color: #e6d9b8;
}

.vvi-team-link:focus-visible {
  outline: 2px solid #e6d9b8;
  outline-offset: 4px;
}

.vvi-inline-link {
  color: #a55233;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vvi-inline-link:hover {
  color: #833f28;
}

/* Profile page */
.vvi-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e6d9b8;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.vvi-back:hover {
  color: #fff;
}

.vvi-profile-hero {
  display: grid;
  gap: 40px;
  align-items: end;
}

.vvi-profile-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border: 1px solid rgba(230, 217, 184, 0.35);
  background: #2a352e;
}

.vvi-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.vvi-credentials {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-left: 16px;
  border-left: 1px solid rgba(230, 217, 184, 0.45);
  color: #f4efe2;
  font-size: 1rem;
  line-height: 1.6;
}

.vvi-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border-radius: 999px;
  background: #e6d9b8;
  color: #17211b;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 150ms ease;
}

.vvi-email:hover {
  background: #fff;
}

.vvi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.vvi-tag {
  border: 1px solid #ded6c5;
  background: #fbfaf7;
  color: #17211b;
  padding: 9px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .vvi-profile-hero {
    grid-template-columns: 420px 1fr;
    gap: 64px;
  }
}
