.page-team h2 {
  border-bottom: 5px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 2px 5px;
  margin-top: 35px;
}
.page-team .titreTeam {
  margin-top: 20px;
  /* background: linear-gradient(90deg, var(--primary_color) 40%, transparent); */
  color: var(--secondary-color) !important;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px;
  gap: 15px;
}
.page-team .titreTeam h1 {
  margin: 0px;
  line-height: 0.8em !important;
}
.page-team .titreTeam a {
  background-color: #ffffff85;
  border-radius: 2px;
  padding: 2px 25px;
  font-weight: bold;
  color: var(--primary_color) !important;
  line-height: 26px;
}
.page-team .titreTeam a:hover {
  background-color: #ffffff;
}

.page-team .AffInfos {
  position: relative;
  /* display: inline-block; */
  flex-basis: 330px;
  max-width: 400px;
  max-height: 475px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 3px 6px 10px -2px #000000e8;
  display: flex;
  flex-shrink: 1;
  flex-grow: 1;
  background-color: #656565;
  justify-content: center;
  align-items: flex-start;
}
.page-team .AffInfos img {
  object-fit: contain;
  max-height: 100%;
}
.page-team .team-members-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: stretch;
}
.page-team .team-member {
  position: absolute;
  bottom: 0px;
  padding: 65px 15px 15px 15px;
  background: linear-gradient(#ffffff00 0%, #0404048f 41%, #252525 100%);
  color: white;
  width: 100%;

  font-family: var(--font-subtitle);
  font-size: 1.2em;
}
.page-team .socials a {
  font-size: 3em;
}
.page-team .vehicule {
  font-size: 2em;
}

.page-team .vehicule .brand {
  color: var(--primary-color);
}
.team-wrapper {
  flex-basis: 380px;
  /* padding: 0.5em;
  border-top-right-radius: 25px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  box-shadow: 0 0 17px -5px #000000bf; */
}

.page-team .team-number,
.podium .team-number {
  width: 92px;
  height: 92px;

  background-color: var(--secondary-color);
  /* border-radius: 50%; */
  border-radius: 3px;
  border: 8px solid var(--light-overlay);
  color: #ffffff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-title);
  font-size: 3em;
  transition-property: border-color, font-size, transform;
  transition-duration: 150ms;
}
.team-links.main-sponsor {
  color: grey;
}
.podium .team-number {
  width: 65px;
  height: auto;
  font-size: 2em;
}
.team-member-name {
  text-align: left;
  /* line-height: 18px; */
}
.page-team .team-number:hover {
  border-color: var(--dark-overlay);
  font-size: 3.3em;
  transform: rotate(-3deg);
}

.TeamDrapeau {
  font-size: 18px;
  /* line-height: 27px; */
}

.team-members {
  font-family: var(--font-body);
  line-height: 22px;
}
.team-btn {
  font-family: var(--font-button);
}

.team-links > .team-btn {
  border: 2px solid var(--primary-color);
  border-radius: 2px;
  padding: 3px 15px;
}
.team-links > .team-btn:hover {
  background-color: var(--primary-color);
  color: white !important;
}
.team-links > .team-btn-disabled {
  color: #bcbcbc;
  border-color: #bcbcbc;
  font-style: italic;
  pointer-events: none;
}
.team-links > .team-btn-disabled:hover {
  background-color: inherit;
  color: #bcbcbc;
  cursor: wait;
}

.page-team ul.sponsor-list {
  margin: 0;
  padding: 0;
  list-style-type: disclosure-closed;
  /* display: inline-block; */
  flex-wrap: wrap;
  gap: 10px;
  justify-content: stretch;
  text-align: justify;
  padding-left: 1.2em;
  display: inline-flex;
  gap: 0em 2em;
}

.page-team ul.sponsor-list li {
  text-align: left;
}

.page-team .why {
  margin: 50px 4vw;
  padding: 10px 30px 30px;
  border: 1px solid #80808036;
  box-shadow: 0 0 60px -30px black;
}
