.tte-team-directory,
.tte-team-profile,
.tte-team-profile-footer {
  --tte-ink: #002a2b;
  --tte-teal: #008c8f;
  --tte-pale: #e7f6f4;
  --tte-yellow: #ffc857;
  color: var(--tte-ink);
  font-family: "DM Sans", DMSans, sans-serif;
  
}
.team-landing .e-con-inner 
{
  gap: unset !important;
}
.tte-team-group + .tte-team-group {
  margin-top: 96px;
}

.tte-team-group__title {
  margin: 0 0 38px;
  color: var(--tte-teal);
  font: 700 48px/56px "DM Sans", DMSans, sans-serif;
  letter-spacing: -1.5px;
}

.tte-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.tte-team-card {
  min-width: 0;
}

.tte-team-card__link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05) !important
}

.tte-team-card__image,
.tte-team-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.tte-team-card__link:hover .tte-team-card__image,
.tte-team-card__link:focus-visible .tte-team-card__image {
  transform: scale(1.025);
}

.tte-team-card__name {
  margin: 24px 0 4px;
  color: var(--tte-ink);
  font: 700 24px/28px "DM Sans", DMSans, sans-serif;
  letter-spacing: -0.6px;
}

.tte-team-card__name a {
  color: inherit;
  text-decoration: none;
}

.tte-team-card__role {
  margin: 0;
  color: var(--tte-ink);
  font: 400 16px/24px "DM Sans", DMSans, sans-serif;
  letter-spacing: -0.4px;
}

/* Keep the profile's teal H1; suppress only the theme's duplicate title text. */
body.single-tte_team_member .sc_layouts_title_caption,
body.tte-team-layout-page .sc_layouts_title_caption {
  display: none !important;
}

.tte-team-empty {
  font: 400 18px/30px "DM Sans", DMSans, sans-serif;
}



body.single-tte_team_member .page_content_wrap,
body.single-tte_team_member .content_wrap_fullscreen,
body.single-tte_team_member .content,
body.tte-team-layout-page .page_content_wrap,
body.tte-team-layout-page .content_wrap_fullscreen,
body.tte-team-layout-page .content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.tte-team-profile {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
  align-items: start;
  gap: 100px;
  width: 100%;
  margin: 0;
}

.tte-team-profile__name {
  margin: 0 0 10px;
  color: var(--tte-teal);
  font: 700 64px/72px "DM Sans", DMSans, sans-serif;
  letter-spacing: -2px;
}

.tte-team-profile__name span {
  font-weight: 400;
}

.tte-team-profile__role {
  margin: 0 0 36px;
  color: var(--tte-ink);
  font: 700 24px/32px "DM Sans", DMSans, sans-serif;
  letter-spacing: -0.6px;
}

.tte-team-profile__bio {
  color: var(--tte-ink);
  font: 400 20px/32px "DM Sans", DMSans, sans-serif;
  letter-spacing: -0.5px;
}

.tte-team-profile__bio p {
  margin: 0 0 28px;
}

.tte-team-profile__photo {
  position: sticky;
  top: 160px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 42, 43, 0.1);
}

.tte-team-profile__photo img,
.tte-team-profile__photo .tte-team-card__placeholder {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
}

.tte-team-profile-footer {
  display: flex;
  justify-content: center;
  padding: 80px 24px;
  background: var(--tte-pale);
}

.tte-team-back {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 244px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--tte-yellow);
  color: var(--tte-ink);
  font: 700 18px/30px "DM Sans", DMSans, sans-serif;
  text-decoration: none;
}

.tte-team-back span {
  color: var(--tte-teal);
  font-size: 28px;
}

@media (max-width: 1024px) {
  .tte-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 24px;
  }

  .tte-team-profile {
    grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
    
    width: 100%;
    margin-top:0;
  }

  .tte-team-profile__name {
    font-size: 50px;
    line-height: 58px;
  }
}

@media (max-width: 767px) {
  .tte-team-group + .tte-team-group {
    margin-top: 64px;
  }

  .tte-team-group__title {
    margin-bottom: 28px;
    font-size: 36px;
    line-height: 43px;
  }

  .tte-team-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .tte-team-card__name {
    margin-top: 18px;
  }

  .tte-team-profile {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    margin: 0;
  }

  .tte-team-profile__copy {
    display: contents;
  }

  .tte-team-profile__name {
    font-size: 40px;
    line-height: 46px;
  }



  .tte-team-profile__photo {
    position: static;
    grid-row: 3;
    margin: 0 0 36px 0;
  }

  .tte-team-profile__bio {
    grid-row: 4;
    font-size: 17px;
    line-height: 28px;
  }
}
