/* Team block — Figma 877:5677 (Team / 20) */
.teamBlock {
  position: relative;
  background: #1c1c1c;
}

.teamBlock__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 64px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .teamBlock__container {
    padding: 80px 24px;
  }
}

.teamBlock__grid {
  display: grid;
  grid-template-columns: 356px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

@media (max-width: 960px) {
  .teamBlock__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.teamBlock__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.teamBlock__introBody {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: flex-start;
}

.teamBlock__topText {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.teamBlock__title {
  margin: 0;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}

.teamBlock__text {
  margin: 0;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.teamBlock__text p {
  margin: 0 0 1em 0;
}

.teamBlock__text p:last-child {
  margin-bottom: 0;
}

/* Line button — Figma LineButton */
.teamBlock__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.teamBlock__button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.teamBlock__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Roll filter — Figma 877:6106 */
.teamBlock__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  min-height: 51px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0;
}

.teamBlock__filter {
  position: relative;
  margin: 0;
  padding: 11px 0 10px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6a7282;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5004px;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 50px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.teamBlock__filter:hover {
  color: #fff;
}

.teamBlock__filter.is-active {
  color: #009bad;
  border-bottom-color: #009bad;
}

.teamBlock__filter:focus {
  outline: 2px solid #009bad;
  outline-offset: 2px;
}

.teamBlock__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 42px;
}

@media (max-width: 720px) {
  .teamBlock__list {
    grid-template-columns: 1fr;
  }
}

.teamBlock__card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.teamBlock__card.is-hidden {
  display: none;
}

.teamBlock__imageWrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 583 / 390;
}

.teamBlock__imageWrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transform: translateZ(0);
  transition: transform 0.35s ease;
}

.teamBlock__card:hover .teamBlock__imageWrap img {
  transform: scale(1.04);
}

.teamBlock__content {
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.teamBlock__titleGroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1.5;
  color: #fff;
  width: 100%;
}

.teamBlock__name {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
}

.teamBlock__job {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
}

.teamBlock__desc {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  width: 100%;
}

.teamBlock__desc p {
  margin: 0;
}

.teamBlock__desc p:last-child {
  margin-bottom: 0;
}

.teamBlock__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.teamBlock__contact li {
  width: 100%;
}

.teamBlock__contact a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.teamBlock__contact a:hover {
  text-decoration: underline;
}

.teamBlock__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #009bad;
}
