.leadership-tab .nav-tabs {
  position: relative;
  justify-content: center;
  border: 0;
  border-bottom: 5px solid transparent !important;
  border-image: linear-gradient(74deg, var(--g-blue) 0%, var(--g-purple) 130%);
  border-image-slice: 1;
}
.leadership-tab .nav-tabs .nav-link {
  background: var(--g-blue-light2)!important;
  margin: 0 5px;
  border-radius: 12px 12px 0 0;
  padding: 0.7rem 3rem 0.6rem;
  font-family: var(--g-title-font);
  display: block;
  font-size: 1.2rem;
  line-height: 2.2rem;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--g-dark)!important;
  border: none;
  text-decoration: none;
  transition: color 0.5s ease;
}
.leadership-tab .nav-tabs .nav-item.show .nav-link,
.leadership-tab .nav-tabs .nav-link.active { margin-bottom: 0!important;
  background: transparent
    linear-gradient(74deg, var(--g-blue) 0%, var(--g-purple) 130%) 0% 0% no-repeat
    padding-box !important;
  color: white !important;
}
.leadership-tab .card {
  border-radius: 12px;
  border-color: var(--g-grey);
  padding: 15px !important;
}
.leadership-tab .col .card .leadership-profile-thumb {
  width: 100%;
  height: 260px; max-height: 15vw;
  background-size: 200%;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
  background-image: url(https://www.gep.com/prod-fr-fr/s3fs-public/gep-revamp/leadership-lp-bg.webp);
  display: flex; overflow: hidden; padding: 15px 15px 0;
}
.leadership-tab .col:nth-child(6n + 0) .card .leadership-profile-thumb {
  background-position: 0 0;
}
.leadership-tab .col:nth-child(6n + 1) .card .leadership-profile-thumb {
  background-position: 0 50%;
}
.leadership-tab .col:nth-child(6n + 2) .card .leadership-profile-thumb {
  background-position: 0 100%;
}
.leadership-tab .col:nth-child(6n + 3) .card .leadership-profile-thumb {
  background-position: 50% 0;
}
.leadership-tab .col:nth-child(6n + 4) .card .leadership-profile-thumb {
  background-position: 100% 0; overflow: hidden;
}
.leadership-tab .col:nth-child(6n + 5) .card .leadership-profile-thumb {
  background-position: 100% 100%;
}
.leadership-tab .col:nth-child(6n + 6) .card .leadership-profile-thumb {
  background-position: 50% 50%;
}
.leadership-tab .col .card .leadership-profile-thumb img {
  align-self: flex-start;
}

.leadership-tab .card h3.card-title {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;
  font-family: var(--g-title-font); margin: 0;
}
.leadership-tab .card h3.card-title a {
  color: var(--g-blue);
}
.leadership-tab .card .card-text {
  font-size: 1rem;
  font-family: var(--g-body-font);
}
.leadership-tab .card .card-body{ padding-bottom: 10px!important;}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
  .leadership-tab .col .card .leadership-profile-thumb { max-height: 20vw;}
}

/* // Large devices (desktops, less than 1200px) */
@media (min-width: 768px) and (max-width: 1199.98px) { 
  .leadership-ceo-quote .g-h2{ font-size: 2.25vw!important;}
}
/* // Mobile devices (tablets, less than 768) */
@media (max-width: 767.98px) { 
  .leadership-tab .nav-tabs .nav-link{ font-size: 14px; padding-left: 16px!important; padding-right: 16px!important;}
  .leadership-tab .col .card .leadership-profile-thumb {max-height: fit-content;}
}
