.pc-content_size_xl .pc-content__text .yfm,
.pc-content_size_xl .pc-content__notice .yfm, .pc-content_size_l .pc-content__text .yfm,
.pc-content_size_l .pc-content__notice .yfm, .pc-content_size_m .pc-content__text .yfm,
.pc-content_size_m .pc-content__notice .yfm {
  margin: 0;
}

/* use this for style redefinitions to awoid problems with
unpredictable css rules order in build */
.pc-content {
  --pc-monochrome-button-color: var(--g-color-text-light-primary);
  display: flex;
  flex-direction: column;
}
.pc-content__notice .yfm ol,
.pc-content__notice .yfm ul, .pc-content__text .yfm ol,
.pc-content__text .yfm ul {
  padding-left: 1.4em;
}
.pc-content__notice.pc-content__notice .yfm,
.pc-content__notice.pc-content__notice .yfm > * {
  color: var(--g-color-text-secondary);
}
.pc-content__notice.pc-content__notice .yfm a {
  color: var(--g-color-text-secondary);
  text-decoration: underline;
}
.pc-content__notice.pc-content__notice .yfm a:hover {
  color: var(--g-color-text-primary);
}

.pc-content__link {
  display: block;
}
.pc-content_centered.pc-content_centered {
  margin: 0 auto;
  text-align: center;
}

.pc-content_centered .pc-content__list {
  margin-inline: auto;
}
.pc-content_centered .pc-content__buttons {
  justify-content: center;
}
.pc-content_centered .pc-content__links {
  align-items: center;
}
.pc-content_centered .pc-content__link a {
  justify-content: center;
}
.pc-content_centered .pc-content__notice .yfm ul,
.pc-content_centered .pc-content__notice .yfm ol,
.pc-content_centered .pc-content__text .yfm ul,
.pc-content_centered .pc-content__text .yfm ol {
  text-align: left;
}
.pc-content_size_s .pc-content__text {
  margin-top: 8px;
}
.pc-content_size_s .pc-content__text_without-title {
  margin-top: 0;
}
.pc-content_size_s .pc-content__list,
.pc-content_size_s .pc-content__links,
.pc-content_size_s .pc-content__notice {
  margin-top: 16px;
}
.pc-content_size_s .pc-content__buttons {
  margin-top: 20px;
}
.pc-content_size_s .pc-content__notice .yfm {
  font-size: var(--g-text-body-1-font-size);
  line-height: var(--g-text-body-1-line-height);
}
.pc-content_size_m .pc-content__text {
  margin-top: 12px;
}
.pc-content_size_m .pc-content__text_without-title {
  margin-top: 0;
}
.pc-content_size_m .pc-content__text .yfm,
.pc-content_size_m .pc-content__notice .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_m .pc-content__text .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_m .pc-content__notice .yfm {
  font-size: var(--g-text-body-2-font-size);
  line-height: var(--g-text-body-2-line-height);
}
.pc-content_size_m .pc-content__list,
.pc-content_size_m .pc-content__links,
.pc-content_size_m .pc-content__notice {
  margin-top: 20px;
}
.pc-content_size_m .pc-content__buttons {
  margin-top: 24px;
}
.pc-content_size_l .pc-content__text {
  margin-top: 12px;
}
.pc-content_size_l .pc-content__text_without-title {
  margin-top: 0;
}
.pc-content_size_l .pc-content__text .yfm,
.pc-content_size_l .pc-content__notice .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_l .pc-content__text .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_l .pc-content__notice .yfm {
  font-size: var(--g-text-body-2-font-size);
  line-height: var(--g-text-body-2-line-height);
}
.pc-content_size_l .pc-content__list,
.pc-content_size_l .pc-content__links,
.pc-content_size_l .pc-content__notice {
  margin-top: 20px;
}
.pc-content_size_l .pc-content__buttons {
  margin-top: 24px;
}
.pc-content_size_xl .pc-content__text {
  margin-top: 16px;
}
.pc-content_size_xl .pc-content__text_without-title {
  margin-top: 0;
}
.pc-content_size_xl .pc-content__text .yfm,
.pc-content_size_xl .pc-content__notice .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_xl .pc-content__text .yfm {
  font-size: var(--g-text-body-3-font-size);
  line-height: var(--g-text-body-3-line-height);
}
.pc-content_size_xl .pc-content__notice .yfm {
  font-size: var(--g-text-body-2-font-size);
  line-height: var(--g-text-body-2-line-height);
}
.pc-content_size_xl .pc-content__list,
.pc-content_size_xl .pc-content__links,
.pc-content_size_xl .pc-content__notice {
  margin-top: 20px;
}
.pc-content_size_xl .pc-content__buttons {
  margin-top: 32px;
}
.pc-content_theme_dark.pc-content_theme_dark {
  --g-color-line-focus: var(--pc-color-line-focus-dark);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__title *,
.pc-content_theme_dark.pc-content_theme_dark .pc-content__text .yfm,
.pc-content_theme_dark.pc-content_theme_dark .pc-content__text .yfm *,
.pc-content_theme_dark.pc-content_theme_dark .pc-content__links a {
  color: var(--g-color-text-light-primary);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__notice .yfm,
.pc-content_theme_dark.pc-content_theme_dark .pc-content__notice .yfm * {
  color: var(--g-color-text-light-secondary);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__notice .yfm a {
  color: var(--g-color-text-light-secondary);
  text-decoration: underline;
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__notice .yfm a:hover {
  color: var(--g-color-text-light-primary);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__text .yfm a {
  color: var(--g-color-text-light-primary);
  text-decoration: underline;
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__text .yfm a:hover {
  color: var(--g-color-text-light-secondary);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__title a {
  color: var(--g-color-text-light-primary);
  text-decoration: underline;
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__title a:hover {
  color: var(--g-color-text-light-secondary);
}
.pc-content_theme_dark.pc-content_theme_dark .pc-content__title a {
  text-decoration: none;
}

.pc-content_theme_light.pc-content_theme_light .pc-content__title *,
.pc-content_theme_light.pc-content_theme_light .pc-content__text .yfm,
.pc-content_theme_light.pc-content_theme_light .pc-content__text .yfm *,
.pc-content_theme_light.pc-content_theme_light .pc-content__links a {
  color: var(--g-color-text-dark-primary);
}
.pc-content_theme_light.pc-content_theme_light .pc-content__notice .yfm,
.pc-content_theme_light.pc-content_theme_light .pc-content__notice .yfm * {
  color: var(--g-color-text-dark-secondary);
}
.pc-content_theme_light.pc-content_theme_light .pc-content__notice .yfm a {
  color: var(--g-color-text-dark-secondary);
  text-decoration: underline;
}
.pc-content_theme_light.pc-content_theme_light .pc-content__notice .yfm a:hover {
  color: var(--g-color-text-dark-primary);
}
.pc-content_theme_light.pc-content_theme_light .pc-content__text .yfm a {
  color: var(--g-color-text-dark-primary);
  text-decoration: underline;
}
.pc-content_theme_light.pc-content_theme_light .pc-content__text .yfm a:hover {
  color: var(--g-color-text-dark-secondary);
}
.pc-content_theme_light.pc-content_theme_light .pc-content__title a {
  color: var(--g-color-text-dark-primary);
  text-decoration: underline;
}
.pc-content_theme_light.pc-content_theme_light .pc-content__title a:hover {
  color: var(--g-color-text-dark-secondary);
}
.pc-content_theme_light.pc-content_theme_light .pc-content__title a {
  text-decoration: none;
}

.pc-content_control-position_bottom .pc-content__notice:has(+ .pc-content__buttons), .pc-content_control-position_bottom .pc-content__notice:has(+ .pc-content__links),
.pc-content_control-position_bottom .pc-content__list:has(+ .pc-content__buttons),
.pc-content_control-position_bottom .pc-content__list:has(+ .pc-content__links),
.pc-content_control-position_bottom .pc-content__text:has(+ .pc-content__buttons),
.pc-content_control-position_bottom .pc-content__text:has(+ .pc-content__links),
.pc-content_control-position_bottom .pc-content__title:has(+ .pc-content__buttons),
.pc-content_control-position_bottom .pc-content__title:has(+ .pc-content__links) {
  margin-bottom: auto;
}