/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-hero-block {
  position: relative;
}
.pc-hero-block__background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(1440px, 100%);
  border-radius: var(--pc-border-radius);
  transform: translateX(-50%);
}
.pc-hero-block__background_full-width {
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: initial;
}
.pc-hero-block__background > div {
  width: 100%;
  height: 100%;
}
.pc-hero-block__background-image {
  width: 100%;
  height: 100%;
}
.pc-hero-block__background-video {
  width: 100%;
  height: 100%;
}
.pc-hero-block__background-video > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-hero-block__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
  gap: 16px;
  padding-inline: 8px;
}
.pc-hero-block__breadcrumbs {
  position: absolute;
  top: 16px;
  left: 8px;
  max-width: 100%;
}
.pc-hero-block__content {
  grid-column: span 6;
  padding-inline-end: 48px;
}
.pc-hero-block__content_vertical-offset_s {
  padding-block: 48px;
}
.pc-hero-block__content_vertical-offset_m {
  padding-block: 96px;
}
.pc-hero-block__content_vertical-offset_l {
  padding-block: 128px;
}
.pc-hero-block__content_vertical-offset_xl {
  padding-block: 160px;
}
.pc-hero-block__content-overtitle {
  margin-bottom: 8px;
}
.pc-hero-block__content-overtitle_theme_light {
  --_--overtitle-color: var(--g-color-text-dark-primary);
}
.pc-hero-block__content-overtitle_theme_dark {
  --_--overtitle-color: var(--g-color-text-light-primary);
}
.pc-hero-block__content-overtitle,
.pc-hero-block__content-overtitle .yfm_constructor {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
  color: var(--_--overtitle-color);
}
.pc-hero-block__media {
  position: relative;
  grid-column: span 6;
  padding-block: 16px;
}
.pc-hero-block__media-container {
  position: absolute;
  inset: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-hero-block__media-container-content,
.pc-hero-block__media-container-content .pc-media-component-image__item,
.pc-hero-block__media-container-content .pc-fullscreen-image,
.pc-hero-block__media-container-content .pc-fullscreen-image__image-wrapper,
.pc-hero-block__media-container-content .pc-media-component-video__wrap,
.pc-hero-block__media-container-content .pc-media-component-video__react-player,
.pc-hero-block__media-container-content .pc-default-video,
.pc-hero-block__media-container-content .pc-ReactPlayer__preview-img,
.pc-hero-block__media-container-content .pc-full-screen-media,
.pc-hero-block__media-container-content .pc-full-screen-media__media-wrapper {
  width: 100%;
  height: auto;
}
.pc-hero-block__media-container-content .pc-ReactPlayer__player,
.pc-hero-block__media-container-content .pc-ReactPlayer__player > video,
.pc-hero-block__media-container-content .react-player__preview {
  /* stylelint-disable declaration-no-important */
  width: 100% !important;
  height: auto !important;
  /* stylelint-enable declaration-no-important */
}
.pc-hero-block__media-container-content_vertical,
.pc-hero-block__media-container-content_vertical .pc-media-component-image__item,
.pc-hero-block__media-container-content_vertical .pc-fullscreen-image,
.pc-hero-block__media-container-content_vertical .pc-fullscreen-image__image-wrapper,
.pc-hero-block__media-container-content_vertical .pc-media-component-video__wrap,
.pc-hero-block__media-container-content_vertical .pc-media-component-video__react-player,
.pc-hero-block__media-container-content_vertical .pc-default-video,
.pc-hero-block__media-container-content_vertical .pc-ReactPlayer__preview-img,
.pc-hero-block__media-container-content_vertical .pc-full-screen-media,
.pc-hero-block__media-container-content_vertical .pc-full-screen-media__media-wrapper {
  width: auto;
  height: 100%;
}
.pc-hero-block__media-container-content_vertical .pc-ReactPlayer__player,
.pc-hero-block__media-container-content_vertical .pc-ReactPlayer__player > video,
.pc-hero-block__media-container-content_vertical .react-player__preview {
  /* stylelint-disable declaration-no-important */
  width: auto !important;
  height: 100% !important;
  /* stylelint-enable declaration-no-important */
}
.pc-hero-block__media-container-content_round-corners {
  border-radius: var(--pc-border-radius);
}
.pc-hero-block__media-container-content .pc-ReactPlayer__player {
  display: flex;
}
.pc-hero-block__media-container-content .pc-Media__youtube {
  border-radius: initial;
}
.pc-hero-block__media-container-content .pc-media-component-data-lens__wrap,
.pc-hero-block__media-container-content .pc-media-component-iframe {
  margin: 0;
}
@media (max-width: 993px) {
  .pc-hero-block__content {
    grid-column: span 7;
  }
  .pc-hero-block__media {
    grid-column: span 5;
  }
}
@media (max-width: 769px) {
  .pc-hero-block__wrapper {
    gap: 0;
    padding-block: 20px 24px;
  }
  .pc-hero-block__breadcrumbs {
    position: initial;
    grid-column: span 12;
    order: 1;
    margin-bottom: 16px;
  }
  .pc-hero-block__content {
    grid-column: span 12;
    order: 3;
    padding-block: 16px;
    padding-inline: 0;
  }
  .pc-hero-block__media {
    grid-column: span 12;
    order: 2;
    padding-block: 0;
  }
  .pc-hero-block__media-container {
    position: initial;
    inset: 0;
  }
  .pc-hero-block__media-container-content_vertical,
  .pc-hero-block__media-container-content_vertical .pc-media-component-image__item,
  .pc-hero-block__media-container-content_vertical .pc-fullscreen-image,
  .pc-hero-block__media-container-content_vertical .pc-fullscreen-image__image-wrapper,
  .pc-hero-block__media-container-content_vertical .pc-media-component-video__wrap,
  .pc-hero-block__media-container-content_vertical .pc-media-component-video__react-player,
  .pc-hero-block__media-container-content_vertical .pc-default-video,
  .pc-hero-block__media-container-content_vertical .pc-ReactPlayer__preview-img,
  .pc-hero-block__media-container-content_vertical .pc-full-screen-media,
  .pc-hero-block__media-container-content_vertical .pc-full-screen-media__media-wrapper {
    width: 100%;
    height: auto;
  }
  .pc-hero-block__media-container-content_vertical .pc-ReactPlayer__player,
  .pc-hero-block__media-container-content_vertical .pc-ReactPlayer__player > video,
  .pc-hero-block__media-container-content_vertical .react-player__preview {
    /* stylelint-disable declaration-no-important */
    width: 100% !important;
    height: auto !important;
    /* stylelint-enable declaration-no-important */
  }
}