

/* Start:/local/templates/mtechpro/components/bitrix/news.list/team-list/style.css?17946102813705*/

.team-block {
  width: 100%;
  padding: 0 0 50px;
  background: var(--main-background, #171717);
  color: var(--text-color, #ffffff);
}

.team-block,
.team-block * {
  box-sizing: border-box;
}


.team-block__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 50px);
  align-items: stretch;
}

.team-block__item {
  min-width: 0;
  height: 100%;
}

.team-block__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: clamp(18px, 1.6vw, 25px);

  background: var(--bg-black, #363636);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(28px, 3.2vw, 50px);
}

.team-block__img-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 112.36%;
  flex-shrink: 0;

  overflow: hidden;
  background: var(--main-background, #171717);
  border-radius: clamp(18px, 1.6vw, 25px);
}

.team-block__img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

@supports (aspect-ratio: 0.89 / 1) {
  .team-block__img-wrap {
    height: auto;
    padding-bottom: 0;
    aspect-ratio: 0.89 / 1;
  }
}

.team-block__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;
  padding: clamp(24px, 2vw, 31px) 0 clamp(14px, 1.2vw, 18px);

  text-align: center;
}

.team-block .team-block__name {
  width: 100%;
  max-width: 260px;
  margin: 0 auto clamp(8px, 0.65vw, 10px);
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.17;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: normal;
  hyphens: none;
}

.team-block .team-block__role {
  width: 100%;
  margin: 0 0 clamp(22px, 1.9vw, 30px);

  color: var(--text-color);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

.team-block .team-block__email {
  display: inline-block;
  max-width: 100%;
  margin: 0;

  color: var(--text-color);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;

  overflow-wrap: anywhere;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .team-block__email:hover {
    opacity: 0.65;
  }
}

/* Планшеты */

@media (max-width: 1100px) {
  .team-block .container {
    width: calc(100% - 64px);
  }

  .team-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 36px);
  }

  .team-block__card {
    border-radius: clamp(28px, 3.5vw, 40px);
  }

  .team-block__img-wrap {
    border-radius: 22px;
  }

  .team-block__content {
    padding: clamp(24px, 2.5vw, 30px) 0 18px;
  }
}

/* Мобильные */

@media (max-width: 640px) {
  .team-block {
    padding-bottom: 30px;
  }

  .team-block .container {
    width: calc(100% - 40px);
  }

  .team-block__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 5vw, 30px);
  }

  .team-block__item {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .team-block__card {
    padding: 20px;
    border-radius: 34px;
  }

  .team-block__img-wrap {
    border-radius: 20px;
  }

  .team-block__content {
    padding: 24px 0 14px;
  }

  .team-block .team-block__name {
    max-width: 260px;
    font-size: clamp(20px, 4.5vw, 24px);
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .team-block .team-block__role {
    font-size: clamp(17px, 3.8vw, 20px);
    margin-bottom: 22px;
  }

  .team-block .team-block__email {
    font-size: clamp(16px, 3.6vw, 19px);
  }
}


.team-block .team-block__name > span {
    display: block;
}
/* End */
/* /local/templates/mtechpro/components/bitrix/news.list/team-list/style.css?17946102813705 */
