/* TEAM LIST START */
.team-list {
  padding-bottom: 15rem;
}

.team-founders,
.team-editorial {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 6rem;
}

.team-founders__header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.team-founders__caption {
  font-size: 1.6rem;
  line-height: 120%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-founders__title {
  font-size: 3.2rem;
  line-height: 110%;
  color: #363636;
}

.team-founders__description {
  font-size: 1.6rem;
  color: #6c6c6c;
  max-width: 60rem;
}

.team-founders__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  gap: 2rem;
}

.team-founder-card {
  position: relative;
  border-radius: 5rem;
  overflow: hidden;
  min-height: 48rem;
  background: linear-gradient(180deg, #9ad8ff 0%, #9b6ce6 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.team-founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.team-founder-card__image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: normal;
  justify-content: center;
  z-index: 1;
}

.team-founder-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-founder-card__info {
  position: relative;
  z-index: 2;
  padding: 3.2rem;
  color: #fff;
}

.team-founder-card__name {
  font-size: 2.6rem;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.team-founder-card__position {
  font-size: 1.8rem;
  line-height: 130%;
  opacity: 0.9;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.team-founder-card__position:focus-visible {
  outline: 0.2rem solid rgba(255, 255, 255, 0.8);
  outline-offset: 0.2rem;
}

.team-editorial__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1200px) {
  .team-editorial__grid {
    grid-template-columns: 28rem 28rem minmax(0, 1fr);
    align-items: stretch;
  }
}

.team-editorial__info-card {
  background: #f1f4fb;
  border-radius: 2.5rem;
  padding: 4rem 2.6rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 38rem;
  height: 100%;
}

.team-editorial__tag {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #6b70d4;
}

.team-editorial__title {
  font-size: 2.4rem;
  line-height: 120%;
  color: #363636;
}

.team-editorial__subtitle {
  font-size: 1.5rem;
  color: #a6a6a6;
}

.team-editorial__socials {
  margin-top: auto;
  display: flex;
  gap: 1.6rem;
}

.team-editorial__social-link {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

.team-editorial__social-link:hover {
  opacity: 1;
}

.team-editorial__featured {
  position: relative;
  border-radius: 2.5rem;
  overflow: hidden;
  min-height: 38rem;
  height: 100%;
  background: linear-gradient(180deg, #8dbdff 0%, #9b6ce6 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-editorial__featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.team-editorial__featured-image {
  position: absolute;
  z-index: 1;
}

@media (max-width: 1200px) {

  .team-editorial__featured-image {
    right: 16rem;
  }
  

}

.team-editorial__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-editorial__featured-info {
  position: relative;
  z-index: 2;
  padding: 2.4rem;
  color: #fff;
}

.team-editorial__featured-name {
  font-size: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.team-editorial__featured-role {
  font-size: 1.6rem;
  margin-bottom: 1.6rem;
}

.team-editorial__featured-button {
  border: none;
  background: #fff;
  color: #6b70d4;
  border-radius: 20rem;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  cursor: pointer;
}

.team-editorial__list-wrap {
  /* background: #f1f4fb; */
  border-radius: 2.5rem;
  padding: 2.4rem;
  height: 100%;
  display: flex;
}

.team-editorial__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;

}

.team-editorial__list-button {
  width: 100%;
  border: none;
  background: #f1f4fb;
  border-radius: 1.3rem;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-editorial__list-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.6rem rgba(107, 112, 212, 0.15);
}

.team-editorial__list-name {
  font-size: 1.8rem;
  text-transform: uppercase;
  color: #000;
}

.team-editorial__list-role {
  font-size: 1.5rem;
  color: #6b70d4;
}

@media (max-width: 600px) {
  .team-editorial__list-button {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .team-editorial__list-name {
    font-size: 1.6rem;
  }
  .team-editorial__list-role {
    font-size: 1.3rem;
  }
}

.team-list__list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.team-cluster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1200px) {
  .team-cluster {
    grid-template-columns: 28rem 28rem minmax(0, 1fr);
    align-items: stretch;
  }
}

.team-cluster__info {
  background: #f1f4fb;
  border-radius: 2.5rem;
  padding: 4rem 2.6rem 2.6rem;
  min-height: 38rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.team-cluster__info-tag {
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #6b70d4;
}

.team-cluster__info-title {
  font-size: 2.5rem;
  color: #363636;
}

.team-cluster__info-description {
  font-size: 1.5rem;
  color: #a6a6a6;
  line-height: 1.5;
}

.team-cluster__info-socials {
  margin-top: auto;
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.team-cluster__info-social {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease-in-out;
}

.team-cluster__info-social:hover {
  opacity: 1;
}

.team-cluster__featured {
  border-radius: 2.5rem;
  overflow: hidden;
  min-height: 38rem;
  position: relative;
  background: linear-gradient(180deg, #8dbdff 0%, #9b6ce6 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-cluster__featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.team-cluster__featured-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.team-cluster__featured-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.team-cluster__featured-info {
  position: relative;
  z-index: 2;
  padding: 2.4rem;
  color: #fff;
}

@media (max-width: 1200px) {
  .team-cluster__featured-info {
    text-align: end;
    padding-right: 5rem;
    top: -1rem;
  }
}

.team-cluster__featured-name {
  font-size: 2.4rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.team-cluster__featured-role {
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.team-cluster__featured-button {
  border: none;
  background: #fff;
  color: #6b70d4;
  border-radius: 20rem;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  cursor: pointer;
}

.team-cluster__members {
  /* background: #f1f4fb; */
  border-radius: 2.5rem;
  padding: 2.4rem;
  display: grid;
  gap: 1.2rem;
}

.team-cluster__member-card {
  border: none;
  background: #f1f4fb;
  border-radius: 2rem;
  padding: 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-cluster__member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 1.5rem rgba(165, 164, 233, 0.25);
}

.team-cluster__member-name {
  font-size: 2rem;
  text-transform: uppercase;
  color: #000;
}

.team-cluster__member-role {
  font-size: 1.5rem;
  color: #6b70d4;
}

@media (max-width: 768px) {
  .team-cluster {
    grid-template-columns: 1fr;
  }
  .team-cluster__member-name {
    font-size: 1.8rem;
  }
  .team-cluster__member-role {
    font-size: 1.3rem;
  }
}

.team-list__item--category {
  background-color: rgba(155, 108, 230, 0.0392156863);
  padding: 4rem 2.5rem 2rem;
  border-radius: 2.5rem;
  min-height: 38rem;
  height: 100%;
  min-width: 28rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.team-list__item--category_name {
  font-size: 1.3rem;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #9b6ce6;
  margin-bottom: 1rem;
}

.team-list__item--category_title {
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 100%;
  letter-spacing: 0%;
  color: #333333;
}

.team-list__item--category_description {
  font-size: 1.5rem;
  line-height: 120%;
  letter-spacing: 0%;
  color: #BABABA;
  font-weight: 400;
  margin-top: 2rem;
}

.team-list__item--category_actions {
  display: grid;
  grid-template-columns: repeat(3, 2.5rem);
  gap: 1rem;
  margin-top: auto;
}

.team-list__item--category_action {
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
  will-change: opacity;
  cursor: pointer;
}
.team-list__item--category_action:hover {
  opacity: 1;
}

.team-list__item--card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  min-height: 38rem;
  height: 100%;
  min-width: 28rem;
  width: 100%;
  border-radius: 2.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #554d6d 0%, #ebe4ff 100%);
}
.team-list__item--card::before {
  content: "";
  position: absolute;
  display: block;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(179.24deg, rgba(147, 239, 255, 0) 0.62%, rgba(147, 239, 255, 0.512249) 51.17%, #9B6CE6 99.31%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  will-change: opacity;
}
.team-list__item--card::after {
  content: "";
  position: absolute;
  display: block;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem;
  background: linear-gradient(179.24deg, rgba(147, 239, 255, 0) 0.62%, rgba(147, 239, 255, 0.512249) 51.17%, #9B6CE6 99.31%);
}
.team-list__item--card:hover::before {
  transition: opacity 0.3s ease-in-out;
  will-change: opacity;
  pointer-events: none;
  opacity: 1;
}
.team-list__item--card_image img {
  margin: 0 auto;
}
.team-list__item--card:hover .team-list__item--card_image img {
  transform: scale(1.15);
  transition: transform 1.6s linear;  
}
.team-list__item--card:hover .team-list__item--card_info {
  transform: translateY(0);
  transition: transform 0.3s 0.15s ease-in-out;
  will-change: transform;
}
.team-list__item--card:hover .team-list__item--card_info_button {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.team-list__item--card_image {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  justify-content: center;
  z-index: 2;
}

.team-list__item--card_image_name {
  font-weight: 700;
  font-size: 3rem;
  line-height: 110%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: #fff;
  padding: 2rem;
  text-align: center;
  user-select: none;
}

.team-list__item--card_info {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 100%;
  height: max-content;
  padding: 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(3rem);
  transition: transform 0.3s 0.15s ease-in-out;
  will-change: transform;
}

.team-list__item--card_info_name {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 120%;
  letter-spacing: 0%;
  color: #fff;
  margin-bottom: 0.8rem;
  text-align: center;
  user-select: none;
}

.team-list__item--card_info_button {
  min-height: 28px;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: bottom;
  padding: 0.8rem 1.6rem;
  margin-bottom: 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.team-list__item--empty {
  display: none;
}
@media (min-width: 991px) {
  .team-list__item--empty {
    display: block;
    min-width: 28rem;
    width: 100%;
    height: 38rem;
    border-radius: 2.5rem;
    border: 2px solid rgba(155, 108, 230, 0.0392156863);
  }
}

/* TEAM LIST END */


.modal-overlay[data-modal="team-more-info"] {
  @media (max-width: 992px) {
    background: #fff;
  }
}