/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-form-block {
  border-radius: 32px;
  position: relative;
}
.pc-form-block__title {
  margin: 0 0 24px 10px;
}
.pc-form-block__title_mobile {
  margin-left: 4px;
}
.pc-form-block__full-form {
  background-color: var(--g-color-base-background);
  padding: 48px 64px 48px calc(64px - 10px);
  border-radius: var(--pc-border-radius);
}
.pc-form-block__media {
  position: absolute;
  inset: 0;
  border-radius: 32px;
}
.pc-form-block__image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.pc-form-block__row_direction_form-content {
  flex-direction: row-reverse;
}
.pc-form-block__row_direction_center {
  flex-direction: column;
}
.pc-form-block__row_direction_center .pc-form-block__content-wrapper {
  margin-bottom: 32px;
}
.pc-form-block:not(.pc-form-block_with-background) .pc-form-block__full-form {
  box-shadow: 0 4px 24px var(--pc-color-sfx-shadow), 0 2px 8px var(--pc-color-sfx-shadow);
}
.pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row_direction_form-content .pc-form-block__content-wrapper {
  padding: 48px 0 64px 64px;
}
.pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row_direction_content-form .pc-form-block__content-wrapper {
  padding: 48px 64px 64px 0;
}
.pc-form-block_with-background .pc-form-block__row_direction_form-content .pc-form-block__form-wrapper {
  padding: 16px 0 24px 16px;
}
.pc-form-block_with-background .pc-form-block__row_direction_content-form .pc-form-block__form-wrapper {
  padding: 16px 16px 24px 0;
}
.pc-form-block_with-background .pc-form-block__row_direction_form-content .pc-form-block__content-wrapper, .pc-form-block_with-background .pc-form-block__row_direction_content-form .pc-form-block__content-wrapper {
  padding: 64px;
}
.pc-form-block_with-background .pc-form-block__row_direction_center {
  padding-top: 64px;
  padding-bottom: 48px;
}
@media (min-width: 1081px) {
  .pc-form-block_form-type_yandex .pc-form-block__row_direction_form-content .pc-form-block__content-col, .pc-form-block_form-type_yandex .pc-form-block__row_direction_content-form .pc-form-block__content-col {
    flex: 1 0 0;
  }
  .pc-form-block_form-type_yandex .pc-form-block__row_direction_form-content .pc-form-block__form, .pc-form-block_form-type_yandex .pc-form-block__row_direction_content-form .pc-form-block__form, .pc-form-block_form-type_yandex .pc-form-block__row_direction_center .pc-form-block__form {
    min-width: 475px;
  }
  .pc-form-block_form-type_yandex .pc-form-block__row_direction_form-content .pc-form-block__form-col, .pc-form-block_form-type_yandex .pc-form-block__row_direction_content-form .pc-form-block__form-col, .pc-form-block_form-type_yandex .pc-form-block__row_direction_center .pc-form-block__form-col {
    max-width: initial;
    width: fit-content;
  }
}
@media (max-width: 1081px) and (min-width: 769px) {
  .pc-form-block__row {
    flex-direction: column;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__content-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    max-width: 609px;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__center,
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__content-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__center,
  .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__form-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__form-wrapper {
    padding-top: 0;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__content-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    text-align: center;
    padding-bottom: 32px;
  }
  .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    padding: 0 0 32px 0;
  }
}
@media (max-width: 769px) {
  .pc-form-block__full-form {
    padding: 32px;
  }
  .pc-form-block_with-background .pc-form-block__row, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row {
    padding: 0;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__content-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__form-wrapper,
  .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    padding: 0;
  }
  .pc-form-block_with-background .pc-form-block__row .pc-form-block__content-wrapper, .pc-form-block:not(.pc-form-block_with-background) .pc-form-block__row .pc-form-block__content-wrapper {
    padding-bottom: 32px;
    margin-bottom: 0;
  }
  .pc-form-block_with-background {
    padding: 0 8px;
  }
  .pc-form-block_with-background .pc-form-block__row {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .pc-form-block_with-background .pc-form-block__row_direction_form-content .pc-form-block__content-wrapper, .pc-form-block_with-background .pc-form-block__row_direction_content-form .pc-form-block__content-wrapper, .pc-form-block_with-background .pc-form-block__row_direction_center .pc-form-block__content-wrapper {
    padding-right: 16px;
    padding-left: 16px;
  }
  .pc-form-block_with-background .pc-form-block__row_direction_form-content, .pc-form-block_with-background .pc-form-block__row_direction_content-form {
    padding-top: 32px;
  }
}