.team-block {
  position: relative;
  margin-top: 30px;
}

.team-block__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.team-block__tab {
  color: #88918a;
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  position: relative;
}

.team-block__tab::before {
  content: "";
  display: block;
  width: calc(100% - 25px);
  height: 2px;
  background: #222623;
  position: absolute;
  top: 100%;
  opacity: 0;
  transition: 0.3s;
}

.team-block__tab:last-of-type::before {
  width: 100%;
}
.team-block__tab.active,
.team-block__tab:hover {
  color: #222623;
}

.team-block__tab.active::before,
.team-block__tab:hover::before {
  opacity: 1;
}

.team-block__tab:not(:last-of-type):after {
  content: "|";
  display: inline-block;
  margin-left: 15px;
  color: #88918a;
}
/* ZakÅ‚adki pracownikÃ³w */
.team-block__employee-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}
.team-block__employee-tab {
  color: #88918a;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
}
.team-block__employee-tab.active,
.team-block__employee-tab:hover {
  color: #222623;
}

.team-block__employee-tab:not(:last-of-type):after {
  content: "|";
  display: inline-block;
  margin-left: 15px;
  color: #88918a;
}

.team-block__employee-department {
  font-size: 22px;
  text-transform: uppercase;
}

.team-block__employee-name {
  font-size: 24px;
  margin: 0;
  /* margin-top: 10px; */
  font-size: 56px;
  line-height: 0.9;
  color: #222623;
}

.team-block__employee-position {
  font-size: 22px;
}
.team-block__employee-content {
  font-size: 16px;
  height: 200px !important;
  flex-grow: 1;
  margin-top: 15px;
  /* text-align: justify; */
  font-size: 22px;
}

.team-block__employee-content p {
  margin-top: 0;
}

.team-block .alignwide {
  display: flex;
  gap: 90px;
}

.team-block .alignwide .left {
  flex: 1;
  flex-basis: 50%;
}

.team-block .alignwide .left img {
  width: 100%;
}

.team-block .alignwide .right {
  flex: 1;
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
}

.team-block__employee-contact {
  display: flex;
  gap: 20px;
  padding-top: 25px;
}

.team-block__employee-contact a {
  color: black;
  text-decoration: none;
  border: 1px solid black;
  padding: 12px 40px;
  line-height: 1;
  display: block;
  border-radius: 100px;
  font-size: 20px;
}

.team-block__slider {
  padding-bottom: 0 !important;
}

@media (max-width: 1920px) and (min-width: 1000px) {
  .team-block {
    margin-top: calc(30 / 1920 * 100vw);
  }
  .team-block__tabs {
    gap: calc(15 / 1920 * 100vw);
    margin-bottom: calc(20 / 1920 * 100vw);
  }
  .team-block__tab {
    font-size: calc(22 / 1920 * 100vw);
  }
  .team-block__employee-tabs {
    gap: calc(15 / 1920 * 100vw);
    margin-bottom: calc(50 / 1920 * 100vw);
  }
  .team-block__employee-tab {
    font-size: calc(18 / 1920 * 100vw);
  }
  .team-block__employee-department {
    font-size: calc(22 / 1920 * 100vw);
  }
  .team-block__employee-name {
    font-size: calc(56 / 1920 * 100vw);
    line-height: 0.9;
  }
  .team-block__employee-position {
    font-size: calc(22 / 1920 * 100vw);
  }
  .team-block__employee-content {
    font-size: calc(22 / 1920 * 100vw);
    height: calc(200 / 1920 * 100vw) !important;
    margin-top: calc(15 / 1920 * 100vw);
  }
  .team-block .alignwide {
    gap: calc(90 / 1920 * 100vw);
  }
  .team-block__employee-contact {
    gap: calc(20 / 1920 * 100vw);
    padding-top: calc(25 / 1920 * 100vw);
  }
  .team-block__employee-contact a {
    padding: calc(12 / 1920 * 100vw) calc(40 / 1920 * 100vw);
    border-radius: calc(100 / 1920 * 100vw);
    font-size: calc(20 / 1920 * 100vw);
  }
}
