.tabs-team .spacing-top {
  height: 60px;
}

@media screen and (min-width: 768px) {
  .tabs-team .spacing-top {
    height: 120px;
  }
}

.tabs-team .spacing-bottom {
  height: 0;
}

@media screen and (min-width: 768px) {
  .tabs-team .spacing-bottom {
    height: 0;
  }
}

.tabs-team--header {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0 16px;
  margin-bottom: 32px;
}

@media screen and (min-width: 1024px) {
  .tabs-team--header {
    padding: 0 80px;
    margin-bottom: 64px;
  }
}

.tabs-team--container .card-content {
  display: none;
  flex-direction: column;
  position: relative;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .tabs-team--container .card-content {
    grid-column: 1/3;
    background: var(--grey-light);
    padding: 56px;
    border-radius: 16px;
    position: relative;
  }
}

@media screen and (min-width: 1024px) {
  .tabs-team--container .card-content {
    grid-column: 1/4;
  }
}

@media screen and (min-width: 1440px) {
  .tabs-team--container .card-content {
    grid-row: 2;
    grid-column: 1/5;
    
  }
}

.tabs-team--container .card-content .title {
  font-family: var(--aleo);
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin: 0 0 16px;
}

.tabs-team--container .card-content .job {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
}

.tabs-team--container .card-content .content {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  gap: 24px;
}

@media screen and (min-width: 1024px) {
  .tabs-team--container .card-content .content {
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
  }
}

.tabs-team--container .card-content .content p{
  margin: 0;
}

.tabs-team--container .card-content .quote {
  max-width: 400px;
  color: var(--green-dark);
  font-family: var(--aleo);
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 130%;
  flex-shrink: 0;
}

.tabs-team--container .card-content .inner strong {
  font-size: 1.25rem;
  font-weight: 600;
}

.tabs-team--container .card-content .inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tabs-team--container .card-content .inner .inner-text{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tabs-team--container .card-content .close {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-family: var(--aleo);
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 32px;
}

.tabs-team--container .card-content .close span {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  outline: 2px solid var(--black);
  outline-offset: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}

.tabs-team--container .card-content .close span::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  -webkit-mask: url("../images/icon-close.svg") no-repeat center;
  mask: url("../images/icon-close.svg") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background: var(--black);
  transition: all 0.4s;
}

.tabs-team--container .card-content .close:hover span {
  background: var(--black);
}

.tabs-team--container .card-content .close:hover span::after {
  background: var(--white);
}

@media screen and (min-width: 1024px) {
  .tabs-team--container .card-content .close {
    margin-bottom: 0;
    position: absolute;
    top: 28px;
    right: 28px;
  }
}

.tabs-team--container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(312px, 100%));
  justify-content: center;
  row-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
  padding: 0 16px;
  display: none;
  max-width: 1440px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .tabs-team--container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .tabs-team--container {
    row-gap: 24px;
    justify-content: space-between;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 80px;
  }
}

@media screen and (min-width: 1440px) {
  .tabs-team--container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tabs-team--container .card-team {
  width: 100%;
  cursor: pointer;
  transition: opacity 0.4s;
}

.tabs-team--container .card-team:hover {
  opacity: 0.8;
}

.tabs-team--container .card-team img {
  height: 350px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  border-radius: 16px;
  margin-bottom: -4px;
}

.tabs-team--container .card-team .title {
  font-family: var(--aleo);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin: 16px 0;
}

.tabs-team--container .card-team .job {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
}

@media screen and (min-width: 768px) {
  .tabs-team--slider {
    display: none;
  }
}

.tabs-team--slider-item img {
  height: 350px;
  border-radius: 16px;
  opacity: 0.5;
  transition: opacity 0.4s 0.1s;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.active .tabs-team--slider-item img {
  opacity: 1;
}

.tabs-team--slider-item .title {
  font-family: var(--aleo);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  margin: 16px 0;
}

.tabs-team--slider-item .job {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 180%;
}

.tabs-team--slider-item .content {
  margin: 32px 0;
  opacity: 0;
  transition: opacity 0.4s 0.1s;
}

.active .tabs-team--slider-item .content {
  opacity: 1;
}

.tabs-team--slider-item .quote {
  margin-bottom: 32px;
  color: var(--green-dark);
  font-family: var(--aleo);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  line-height: 130%;
}

.tabs-team--slider-item .inner strong {
  font-size: 1.125rem;
  font-weight: 600;
}
