.team-7 {
  width: 100%;
}
.team-7-grid {
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  grid-gap: 16px;
  padding-bottom: 5px;
}
.team-7-grid::-webkit-scrollbar {
  background: #f6f6f6;
  height: 5px;
}
.team-7-grid::-webkit-scrollbar-thumb {
  background: var(--theme-color);
  border-radius: 20px;
}
.team-7-grid .team__row {
  display: flex;
  align-items: flex-start;
  grid-gap: 16px;
  border: 1px solid #f0f0f0;
  border-radius: 15px;
  padding: 16px;
}
.team-7-grid .team__row .team__card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 16px;
  background: var(--theme-light-color);
  border-radius: 6px;
  padding: 16px;
}
@media (max-width: 768px) {
  .team-7-grid .team__row .team__card {
    width: 160px;
  }
}
.team-7-grid .team__row .team__card .team__img {
  border-radius: 100px;
  width: 120px;
  max-width: 100%;
  height: 120px;
  overflow: hidden;
}
@media (max-width: 992px) {
  .team-7-grid .team__row .team__card .team__img {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 768px) {
  .team-7-grid .team__row .team__card .team__img {
    width: 80px;
    height: 80px;
  }
}
.team-7-grid .team__row .team__card .team__img img {
  width: 100%;
  height: 100%;
}
.team-7-grid .team__row .team__card .team__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 5px;
}
.team-7-grid .team__row .team__card .team__info .team__name {
  font-size: 18px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 0;
  color: black;
}
.team-7-grid .team__row .team__card .team__info .team__rank {
  color: #666666;
  margin-bottom: 15px;
  margin-top: 2px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.team-7 .team__info p a {
  font-size: 15px;
  font-weight: 400;
  color: #666666;
  margin-bottom: 0;
  transition: all 0.3s ease-in-out;
}

.team-7-grid .team__row .team__card .team__info {
  grid-gap: 2px;
}

.team-7-grid .team__row .team__card .team__info .team__rank {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.team-7-grid .team__row .team__card .team__info .team__rank.mail {
  margin-bottom: 10px !important;
}

.team-7 .team__info p a:hover {
  color: var(--theme-color);
}

.team-7 .team__name a {
  color: inherit;
}
.team-7 .team__name:hover {
  color: var(--theme-color);
}

@media (max-width: 768px) {
  .team-7 .team__info p a {
    font-size: 14px;
  }
}
