/* stylelint-disable max-line-length */
:root {
  --breakpoint-xxl: 1920px;
  --breakpoint-sxl: 1600px;
  --breakpoint-xl: 1440px;
  --breakpoint-lg: 1280px;
  --breakpoint-md: 1024px;
  --breakpoint-md-s: 992px;
  --breakpoint-sm: 768px;
  --breakpoint-xs: 512px;
  --breakpoint-xxs: 390px;
  --breakpoint-xxxs: 375px;
}

.team {
  overflow: hidden;
  position: relative;
}
.team + .team .team__block {
  max-width: 620px;
  margin: 0 auto;
  padding: 25px 15px;
  background: var(--sk-color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .team + .team .team__block {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
@media (min-width: 1024px) {
  .team + .team .team__block {
    max-width: 790px;
    padding: 0 100px 50px;
  }
}
.team__block {
  max-width: 620px;
  margin: 0 auto;
  padding: 25px 15px;
  background: var(--sk-color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 768px) {
  .team__block {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
@media (min-width: 1024px) {
  .team__block {
    max-width: 790px;
    padding: 50px 100px;
  }
}
.team__title {
  font-weight: 400;
}
@media (min-width: 768px) {
  .team__title {
    margin-top: -10px;
    margin-bottom: 30px;
  }
}
.team__image {
  width: 100%;
}
@media (min-width: 768px) {
  .team__image {
    max-width: 285px;
    max-height: 285px;
  }
}
.team__image img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .team__image img {
    max-width: 285px;
    max-height: 285px;
  }
}
.team__info {
  width: 100%;
}
@media (min-width: 768px) {
  .team__info {
    max-width: 285px;
    min-height: 285px;
    display: flex;
    flex-direction: column;
  }
}
.team__content p {
  font-weight: 300;
  margin-bottom: 25px;
}
.team__content p:last-of-type {
  margin-bottom: 0;
}
.team__content strong {
  font-weight: 500;
}
.team__link {
  display: block;
  position: relative;
  width: 25px;
  height: 25px;
  background: var(--sk-color-turquoise);
  margin-top: auto;
  margin-left: auto;
}
.team__link:hover {
  background: var(--sk-color-salmon);
}
.team__link::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  background: url("../../../resources/img/linkedin.svg");
}
