.team__box {
  display: flex;
  flex-direction: row;
  background: white;
  margin-top: 2vh;
  margin-bottom: 2vh;
  padding: 4vh;
  align-items: stretch;
  justify-content: space-around;
}
.main-gallery {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
}
.gellery__info {
  display: flex;
  flex-direction: row;
}
.main-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--agent-src) center/cover no-repeat;
  filter: blur(10px);
  transform: scale(1.2);
}
.current-main-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition);
}
.agent__info {
  display: flex;
  flex-direction: column;
  gap: 1vh;
  margin-left: 4vh;
}
.agent__header {
  gap: 0.2vh;
}
.agent__stats {
  gap: 1vh;
  display: flex;
  flex-direction: column;
}
.stat__item {
  display: flex;
  flex-direction: row;
  gap: 1vh;
  align-items: center;
}
.agent__info__indicators {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat__value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.team__scrollable__description {
  width: 50vh;
  height: 200px;
  overflow: hidden;
  overflow-y: scroll;
}
@media (min-width: 1440px) {
  .team__box {
    padding: 5vh 8vh;
    margin: 3vh 0;
  }
  .main-gallery {
    width: 500px;
    height: 500px;
  }
  .agent__info {
    margin-left: 6vh;
    gap: 1.5vh;
  }
  .stat__value {
    font-size: 2rem;
  }
}
@media (max-width: 1023px) {
  .team__box {
    flex-direction: column;
    padding: 3vh;
  }
  .main-gallery {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .gellery__info {
    flex-direction: column;
    gap: 2vh;
  }
  .agent__info {
    margin-left: 0;
    margin-top: 2vh;
  }
  .team__scrollable__description {
    width: 100%;
    height: 180px;
  }
}
@media (max-width: 767px) {
  .team__box {
    padding: 2vh;
    margin: 1vh 0;
  }
  .team__box,
  .gellery__info {
    flex-direction: column;
    align-items: center;
  }
  .main-gallery {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }
  .current-main-image {
    object-fit: contain;
  }
  .agent__info {
    width: 100%;
    padding: 0 2vh;
    gap: 1.5vh;
  }
  .agent__header,
  .agent__stats {
    align-items: center;
  }
  .team__scrollable__description {
    width: 100%;
    height: 150px;
  }
}