.team__area {
  position: relative;
  overflow: hidden;
}
.team__area .row {
  row-gap: 24px;
}
@media (max-width: 767px) {
  .team__area .row {
    row-gap: 20px;
  }
}
.team__area .heading {
  font-size: 40px;
  font-family: "second";
  margin: 50px 0;
}
@media (max-width: 576px) {
  .team__area .heading {
    font-size: 20px;
    margin: 15px 0;
  }
}
.team__area .team-item {
  height: 100%;
}
.team__area .team-list-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  justify-content: space-between;
}
.team__area .team-list-item .team-list-image {
  width: 100%;
  height: 100%;
  position: relative;
}
.team__area .team-list-item .team-list-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}
.team__area .team-list-item .team-list-info {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: var(--white-color);
}
.team__area .team-list-item .team-list-info.hasSocials {
  margin-bottom: -64px;
}
.team__area .team-list-item .team-list-info .team-list-title {
  position: relative;
  font-family: "main-b";
  font-size: 24px;
  color: var(--dark-100);
  margin-bottom: 5px;
  text-align: center;
  display: flex;
  align-items: center;
}
.team__area .team-list-item .team-list-info .team-list-title:hover {
  color: var(--main-light);
}
@media (max-width: 767px) {
  .team__area .team-list-item .team-list-info .team-list-title {
    font-size: 20px;
    line-height: 1.5;
  }
}
.team__area .team-list-item .team-list-info .team-list-subtitle {
  position: relative;
  font-size: 15px;
  color: var(--gray-400);
  text-align: center;
  font-family: "main-m";
}
@media (max-width: 767px) {
  .team__area .team-list-item .team-list-info .team-list-subtitle {
    font-size: 14px;
  }
}
.team__area .team-list-item .team-list-info .social-links {
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 0;
  width: 100%;
}
.team__area .team-list-item .team-list-info .social-links ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.team__area .team-list-item .team-list-info .social-links ul li {
  position: relative;
}
.team__area .team-list-item .team-list-info .social-links ul li a {
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  font-size: 16px;
  border: 1px solid var(--gray-200);
  background-color: var(--white-color);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.team__area .team-list-item .team-list-info .social-links ul li a svg {
  width: 16px;
  height: 16px;
  fill: var(--gray-700);
  transition: 650ms all ease-in-out;
}
.team__area .team-list-item .team-list-info .social-links ul li a:hover {
  background: var(--main-light);
  color: var(--white-color);
}
.team__area .team-list-item .team-list-info .social-links ul li a:hover svg {
  fill: var(--white-color);
}
.team__area .team-list-item:hover {
  box-shadow: 0 10px 30px 3px rgba(0, 0, 0, 0.1);
}
.team__area .team-list-item:hover .team-list-info.hasSocials {
  transform: translateY(-64px);
}
.team__area .section-content {
  padding: 20px;
  background-color: var(--gray-100);
  margin-top: 50px;
}
@media (max-width: 576px) {
  .team__area .section-content {
    padding-top: 5px;
  }
}
.team__area .section-content .section-title {
  font-family: "main-r";
  text-transform: uppercase;
  font-size: 20px;
  margin: 25px 0;
  line-height: 30px;
}
@media (max-width: 576px) {
  .team__area .section-content .section-title {
    font-size: 16px;
    line-height: 22px;
    margin: 10px 0;
  }
}
.team__area .section-content .section-text p {
  font-family: "main-r";
}
@media (max-width: 576px) {
  .team__area .section-content .section-text p {
    font-size: 14px;
    line-height: 20px;
  }
}
.team__area .section-content .bg {
  color: var(--white-color);
  padding: 15px;
  background-color: var(--main-light);
  margin-top: 25px;
}
@media (max-width: 576px) {
  .team__area .section-content .bg {
    padding-top: 1px;
  }
}
.team__area .section-content .bg .section-title {
  color: var(--white-color);
}
@media (max-width: 576px) {
  .team__area .section-content .bg p {
    font-size: 14px;
    line-height: 20px;
    margin-top: 10px;
  }
}
