.team-page {
  --accentColour: var(--wp--preset--color--primary,#004f71);
  display: grid;
  grid-template-columns: 30fr 70fr;
  min-height: 560px;
  box-shadow: 0 20px 60px 0 rgba(0, 79, 113, 0.1);
}
@media (max-width: 900px) {
  .team-page {
    grid-template-columns: 1fr;
  }
}
.team-page__photo-col {
  position: relative;
  overflow: hidden;
}
.team-page__photo-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accentColour);
  z-index: 2;
}
.team-page__photo-col::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(26, 37, 48, 0.45), transparent);
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 900px) {
  .team-page__photo-col {
    min-height: 360px;
  }
  .team-page__photo-col::before {
    width: 100%;
    height: 4px;
    top: auto;
    bottom: 0;
  }
  .team-page__photo-col::after {
    display: none;
  }
}
@media (max-width: 600px) {
  .team-page__photo-col {
    min-height: 280px;
  }
}
.team-page__portrait {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
}
.team-page__portrait--placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-color: #2e3f4f;
}
.team-page__bio-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 64px);
}
@media (max-width: 900px) {
  .team-page__bio-col {
    padding: 48px clamp(24px, 5vw, 48px);
  }
}
@media (max-width: 600px) {
  .team-page__bio-col {
    padding: 36px 24px;
  }
}
.team-page__accent-bar {
  width: 56px;
  height: 3px;
  background: var(--accentColour);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.team-page__name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--accentColour);
}
.team-page__position {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accentColour);
  margin: 0 0 36px;
  line-height: 1.4;
}
.team-page__bio {
  font-size: 16px;
  line-height: 1.8;
}
.team-page__bio p {
  margin: 0 0 1.1em;
}
.team-page__bio p:last-child {
  margin-bottom: 0;
}
.team-page__bio a {
  text-decoration: underline;
  text-decoration-color: rgba(90, 180, 212, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.team-page__bio a:hover {
  color: var(--accentColour);
  text-decoration-color: rgba(201, 161, 102, 0.5);
}
.team-page__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  flex-shrink: 0;
}
.team-page__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 4px;
  outline: 0px solid transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, outline 0.2s ease;
}
.team-page__contact-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.team-page__contact-btn:hover {
  outline: 2px solid var(--accentColour);
  color: var(--accentColour);
}
