.team-section{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 1em clamp(70px, 9vw, 130px);
  padding: clamp(70px, 7vw, 105px) 0 clamp(75px, 7.5vw, 112px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #062b34;
  color: #fff;
}
.team-section::before{
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../../assets/images/hero-chevron-overlay.svg") left center /
    auto 115% no-repeat;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.02;
  transform: scaleX(-1);
}
.team-section__inner{
  max-width: 1440px;
  margin: 0 auto;
  padding-right: clamp(20px, 4vw, 60px);
  padding-left: clamp(20px, 4vw, 60px);
}
.team-section__heading{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.team-section__heading h2{
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  
}
.team-section__heading p{
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}
.team-section .awards-section{
  flex: 0 0 auto;
  margin: 0;
}
.team-section .awards-section img{
  width: 50px;
  height: 50px;
}
.team-section__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-section__arrow{
  display: none;
}
.team-section__action{
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
@media (max-width: 720px){
  .team-section{
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    padding-top: 2em;
    padding-bottom: 2em;
  }
  .team-section__inner{
    padding-right: 1em;
    padding-left: 1em;
  }
  .team-section .awards-section{
    display: none;
  }
  .team-section__heading{
    justify-content: center;
    text-align: center;
  }
  .team-section__heading p{
    font-size: 15px;
  }
  .team-section__grid{
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .team-section__grid::-webkit-scrollbar{
    display: none;
  }
  .team-section__grid > *{
    scroll-snap-align: start;
  }
  .team-section__carousel{
    position: relative;
  }
  .team-section__arrow{
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 1px solid #d6dfe1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #102f38;
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .team-section__arrow:hover:not(.is-hidden),
  .team-section__arrow:focus-visible:not(.is-hidden){
    border-color: var(--yf-navy);
    background: var(--yf-navy);
    color: #fff;
  }
  .team-section__arrow--prev{
    left: 10px;
    transform: translateY(-50%);
  }
  .team-section__arrow--next{
    right: 10px;
    transform: translateY(-50%);
  }
  .team-section__arrow.is-hidden{
    opacity: 0;
    pointer-events: none;
  }
  .team-section__arrow--prev.is-hidden{
    transform: translate(12px, -50%);
  }
  .team-section__arrow--next.is-hidden{
    transform: translate(-12px, -50%);
  }
  .team-section__action{
    justify-content: center;
  }
}
@media (max-width: 460px){
  .team-section__grid{
    gap: 10px;
  }
}
