.staff-hero__heading {
  line-height: 0.95;
  text-align: center;
  margin: 0;
  margin-top: 3rem;
  font-size: 6rem;
  font-weight: 700;
}

.staff-hero__slides {
  display: flex;
  width: 120%;
  position: relative;
  left: 50%;
  translate: -50% -2rem;
  justify-content: space-between;
  align-items: center;
}

.staff-hero__slide img {
  width: auto;
  height: 38rem;
}

.staff-hero__slide:nth-child(2) img,
.staff-hero__slide:nth-child(3) img,
.staff-hero__slide:nth-child(4) img {
  height: 32rem;
}

.staff-hero__slide {
  text-align: center;
  flex: 3;
}

.staff-hero__slide:nth-child(3) {
  flex: 4;
}

.staff-hero__heading span {
  display: block;
}

.staff-hero__desc {
  width: fit-content;
  margin-inline: auto;
  margin-top: -4rem;
}

.staff-hero__desc-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.staff-hero__desc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  color: var(--text);
}

.staff-hero__desc-bottom p {
  font-size: 0.875rem;
  font-weight: 400;
  width: 34rem;
  line-height: 1.2;
  text-align: justify;
}

.staff-hero__desc-bottom .custom-logo-link {
  width: 11rem;
}

@media (max-width: 1240px) {
  .staff-hero__slide img {
    width: auto;
    height: 32rem;
  }

  .staff-hero__slide:nth-child(2) img,
  .staff-hero__slide:nth-child(3) img,
  .staff-hero__slide:nth-child(4) img {
    height: 26rem;
  }
}

@media (max-width: 1024px) {
  .staff-hero__slide img {
    width: auto;
    height: 26rem;
  }

  .staff-hero__slide:nth-child(2) img,
  .staff-hero__slide:nth-child(3) img,
  .staff-hero__slide:nth-child(4) img {
    height: 20rem;
  }

  .staff-hero__heading {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .staff-hero__slide:nth-child(3) img {
    width: auto;
    height: 14rem;
  }

  .staff-hero__slide:nth-child(2) img,
  .staff-hero__slide:nth-child(4) img {
    height: 16rem;
  }

  .staff-hero__slide:nth-child(3) {
    flex: 2;
  }

  .staff-hero__slide:nth-child(1),
  .staff-hero__slide:nth-child(5) {
    display: none;
  }

  .staff-hero__heading {
    font-size: 2rem;
  }

  .staff-hero__slides {
    translate: -50% 0;
    width: 130%;
    margin-top: 1rem;
  }

  .staff-hero__desc {
    margin-top: 1rem;
    width: 100%;
    padding-inline: 0.5rem;
  }

  .staff-hero__desc-title {
    text-align: center;
    font-size: 1.25rem;
  }

  .staff-hero__desc-bottom {
    flex-direction: column;
  }

  .staff-hero__desc-bottom p {
    width: 100%;
  }
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.advantages__card {
  margin-inline: auto;
  max-width: 80%;
  display: flex;
  gap: 1rem;
  font-family: "PPNeueMontreal";
}

.advantages {
  margin-top: 14rem;
}

.advantages__card-title {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  flex: 1;
}

.advantages__card-icon {
  flex-grow: 99;
}

.advantages__card-content {
  flex-shrink: 99;
  display: flex;
  flex-direction: column;
}

.advantages__card-desc {
  font-size: 1rem;
  opacity: 0.8;
  margin: 0;
  margin-top: 0.875rem;
}

.advantages__card-wrapper:not(:last-child) {
  border-right: 1px solid var(--gray-100);
}

.advantages__white-wrapper {
  margin-bottom: -20rem;
  margin-top: 0rem;
  height: 26rem;
  background: white;
  position: relative;
  z-index: 2;
  width: 150%;
  translate: -50% 0;
  left: 50%;
  filter: blur(50px);
}

.advantages__main,
.advantages__grid {
  position: relative;
  z-index: 4;
}

.advantages__clouds {
  display: flex;
  margin-block: -14rem;
  min-height: 22rem;
  position: relative;
  margin-top: -38rem;
}

.advantages__cloud-wrapper {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 0;
  z-index: var(--index);
  left: 50%;
  width: var(--cloud-width);
  will-change: transform;
  backface-visibility: hidden;
}

.advantages__cloud-up {
  height: 22rem;
  width: calc(100% + 2rem);
  background-color: #f89b31;
  filter: blur(40px);
  border-radius: 100%;
}

.advantages__cloud {
  position: absolute;
  height: 20rem;
  width: 100%;
  background-color: #fcf5b1;
  border-radius: 100%;
  filter: blur(50px);
}

.advantages__media {
  padding-bottom: 8rem;
  z-index: 2;
  display: flex;
  justify-content: end;
}

.advantages__image {
  width: 51rem;
}

.advantages__title {
  font-weight: 600;
  font-size: 4rem;
  width: 30rem;
  line-height: 1;
  color: var(--text);
  margin: 0;
}

.advantages__subtitle {
  font-family: "PPNeueMontreal";
}

.advantages__descs {
  width: 20rem;
  font-family: "PPNeueMontreal";
  margin: 0;
  margin-top: 3rem;
}

@media (max-width: 1240px) {
  .advantages__title {
    font-size: 3rem;
  }

  .advantages__clouds {
    margin-top: -34rem;
  }

  .advantages__image {
    width: 47rem;
  }

  .advantages__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .advantages__image {
    width: 36rem;
  }

  .advantages__clouds {
    margin-top: -24rem;
  }
}

@media (max-width: 768px) {
  .advantages__clouds {
    margin-top: 0rem;
  }

  .advantages__title {
    font-size: 1.5rem;
    width: 100%;
  }

  .advantages__clouds {
    min-height: 24rem;
  }

  .advantages__cloud-up {
    height: 10rem;
    filter: blur(24px);
  }

  .advantages__cloud {
    height: 9rem;
    filter: blur(28px);
  }

  .advantages__image {
    height: fit-content;
  }

  .advantages__grid {
    display: flex;
    flex-direction: column;
  }

  .advantages__card-wrapper:not(:last-child) {
    border: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .advantages__descs {
    width: 100%;
  }

  .advantages__card {
    max-width: 100%;
    padding-block: 1rem;
  }

  .advantages__white-wrapper {
    margin-top: 6rem;
  }

  .advantages {
    margin-top: 4rem;
  }
}

.vacancies {
  position: relative;
  z-index: 9;
  margin-top: 10rem;
}

.vacancies__title {
  font-size: 4rem;
  margin: 0;
  text-align: center;
  color: var(--text);
  font-weight: 600;
  line-height: 0.8;
}

.vacancies__subtitle {
  text-align: center;
}

.vacancies__loop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 1rem;
  column-gap: 1%;
}

.vacancy {
  width: 32%;
  border: 1px solid var(--gray-100);
  background-color: var(--gray-bg);
  padding: 2rem;
}

.vacancy__title {
  margin: 0;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 0.9;
}

.vacancy__desc {
  margin: 0;
  font-size: 1rem;
  font-family: "PPNeueMontreal";
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.vacancy__action {
  padding: 1.25rem;
  border: 1px solid var(--gray-100);
}

.vacancy_salary {
  margin: 0;
  margin-bottom: 1rem;
  line-height: 1;
}

.vacancy_salary-bid {
  font-size: 2rem;
  font-weight: 800;
}

.vacancy__action-button {
  width: 100%;
}

.vacancy__responsibilities-label {
  font-size: 1.25rem;
  opacity: 0.8;
  font-family: "PPNeueMontreal";
}

.vacancy_responsibilities {
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vacancy_responsibilities li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "PPNeueMontreal";
}

.vacancy_responsibility-icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 1024px) {
  .vacancy {
    width: 49%;
  }
}

@media (max-width: 768px) {
  .vacancy {
    width: 100%;
    padding: 1.5rem;
  }

  .vacancies__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .vacancy_responsibility-icon {
    width: 2rem;
    height: 2rem;
  }
}

.environment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(22rem, 1fr));
  gap: 0.5rem;
  margin-top: 10rem;
}

.environment__main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background-color: var(--text);
  color: #fff;
}

.environment__logo {
  position: relative;
  z-index: 2;
  width: auto;
  height: 2rem;
  object-fit: contain;
  object-position: left center;
}

.environment__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.environment__bread {
  position: absolute;
  width: 55%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(-9px -1px 9px #00000020);
}

.environment__bread:nth-child(1) {
  top: 25%;
  left: -7%;
  width: 8rem;
  rotate: -20deg;
}

.environment__bread:nth-child(2) {
  top: 15%;
  left: 36%;
  width: 7rem;
  rotate: -20deg;
}

.environment__bread:nth-child(3) {
  top: 5%;
  left: 76%;
  width: 8rem;
  rotate: -20deg;
}

.environment__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.environment__title {
  margin: 0;
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.8;
  color: #fff;
  font-family: "PPNeueMontreal";
}

.environment__desc {
  margin: 0;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1;
  color: #fff;
  opacity: 0.8;
  font-weight: 500;
}

.environment__button {
  width: 100%;
  margin-top: 0.5rem;
}

.environment__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  background-color: #fff;
}

.environment__card-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.8;
  color: var(--text);
  font-family: "PPNeueMontreal";
}

.environment__card-link {
  width: fit-content;
  font-family: "PPNeueMontreal";
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

@media (max-width: 1240px) {
  .environment__title {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .environment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .environment__main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 36rem;
  }

  .environment__title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .environment {
    grid-template-columns: 1fr;
  }

  .environment__card-title {
    font-size: 1.125rem;
  }

  .environment__main {
    min-height: 40rem;
  }
}

.news {
  margin-top: 10rem;
}

.news__heading,
.reports__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news__title,
.reports__title {
  margin: 0;
  font-size: 4rem;
  font-weight: 500;
  color: var(--text);
  line-height: 0.8;
}

.news__loop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 3rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.news-card__media {
  display: block;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background-color: var(--gray-100);
}

.news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.news-card__date {
  font-family: "PPNeueMontreal";
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
  opacity: 0.8;
}

.news-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  font-family: "PPNeueMontreal";
}

.news-card__title a {
  color: inherit;
}

.news-card__excerpt {
  margin: 0;
  font-family: "PPNeueMontreal";
  font-size: 1rem;
  line-height: 1.2;
  color: var(--text);
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .news__loop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card__title {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .news {
    margin-top: 4rem;
  }

  .news__loop {
    grid-template-columns: 1fr;
  }

  .news-card__title,
  .reports__title {
    font-size: 1rem;
  }

  .news__title {
    font-size: 1.25rem;
  }
}
