.team__inner {
  position: relative;
  padding-bottom: 5.6rem;
}

.team__title {
  max-width: 67.2rem;
}

.team__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.team__nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.team__nav-btn {
  cursor: pointer;
  border-radius: 100%;
  width: 4.4rem;
  height: 4.4rem;
  background-color: #F5F5F5;
  color: #080E15;
}

.team__nav-btn svg {
  width: 2rem;
  height: 2rem;
}

.team__nav-btn:hover {
  background-color: #0D253F;
  color: #ffffff;
}

.team__slider {
  position: relative;
  overflow: hidden;
  width: calc(100% + 3.2rem);
  margin: 1.6rem 0 0 -1.6rem;
  padding: 0 1.6rem;
}

.team__item {
  position: relative;
  width: 100%;
  max-width: 36.1rem;
  height: 40.5rem;
  border-radius: 2.7rem;
  overflow: hidden;
  flex: 1 1 calc(25% - 1.6rem);
  min-width: 32.8rem;
}

.team__item-image {
  width: 100%;
  height: 100%;
}

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

.team__item-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: rgba(13, 37, 63, 0.2);
  color: #ffffff;
  border-radius: 1.8rem;
  padding: 1.6rem;
  position: absolute;
  inset: auto 1.6rem 1.6rem;
  backdrop-filter: blur(10px);
  max-height: calc(100% - 3.2rem);
}

.team__item-content-inner {
  display: none;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffffff rgba(13, 37, 63, 0.2);
}

.team__item-content-inner::-webkit-scrollbar {
  width: 2px;
  background-color: rgba(13, 37, 63, 0.2);
  border-radius: 6px;
}

.team__item-content-inner::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  border-radius: 6px;
  border: 3px solid rgba(13, 37, 63, 0.2);
}

.team__item-content-inner::-webkit-scrollbar-thumb:hover {
  background-color: #0D253F;
}

.team__item-content-inner .btn.btn--primary {
  width: 100%;
}

.team__item-name {
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.team__item-position {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.8rem;
}

.team__item-description {
  font-size: 1.6rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.6rem 0;
}

@media only screen and (min-width: 768px) {
  .team__inner {
    padding-bottom: 0;
  }

  .team__nav {
    display: none;
  }

  .team__nav {
    display: none;
  }

  .team__nav-btn {
    width: 5.2rem;
    height: 5.2rem;
  }

  .team__slider {
    width: 100%;
    margin: 3.2rem 0 0 0;
    padding: 0;
  }

  .team__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.6rem;
  }

  .team__item {
    height: 42rem;
    border-radius: 2.4rem;
    margin-right: 0 !important;
  }

  .team__item-name {
    font-size: 1.6rem;
  }
}