.article-layout {
  margin-top: var(--header-height);
  padding-top: var(--x-pad);
  padding-bottom: var(--x-pad);
}

.article-box {
  padding: var(--x-pad);
  background-color: #fff;
  color: #494747;
}

@media screen and (min-width: 560px) {
  .article-layout {
    padding-left: var(--x-pad);
    padding-right: var(--x-pad);
  }
}
@media screen and (min-width: 768px) {
  .article-layout {
    padding-top: 1.15rem;
  }
}
@media screen and (min-width: 1024px) {
  .article-layout {
    padding-top: 1.75rem;
  }
}
@media screen and (min-width: 1280px) {
  .article-layout {
    padding-top: 2.25rem;
  }
}
@media screen and (min-width: 1560px) {
  .article-layout {
    padding-top: 1.25rem;
  }
  .section-layout-main .article,
  .section-layout-copyright .copyright-contaier {
    max-width: 900px;
  }
}
.page-show-layout {
  padding: var(--x-pad);
  background-color: #fff;
  color: var(--color-bb-black);
  margin-top: -25vh;
  position: relative;
  z-index: 2;
  margin-bottom: var(--section-m-top);
}

.page-show-layout.article-layout {
  margin-top: var(--header-height);
}

.page-show-layout_form {
  margin-top: -50vh;
}

@media screen and (max-width: 559px) {
  .page-show-layout {
    width: calc(100% + 2 * var(--x-pad));
    margin-left: calc(-1 * var(--x-pad));
  }
}
.page-show {
  border: 1px solid var(--color-bb-black);
}

.page-show-title {
  padding: var(--x-pad);
  border-bottom: 1px solid var(--color-bb-black);
}

.page-show-breadcrumbs,
.page-show-content,
.page-show-share {
  padding: var(--x-pad);
}

.page-show-content,
.page-show-share {
  border-top: 1px solid var(--color-bb-black);
}

.page-show-breadcrumbs {
  min-width: 0;
}

.page-show-share .post-sharing-list {
  justify-content: flex-start;
}

.page-show-content-add {
  margin-top: calc(2 * var(--x-pad));
}

@media screen and (min-width: 768px) {
  .page-show {
    display: grid;
    grid-template-areas: "title title" "breadcrumbs sharing" "content content";
  }
  .page-show-title {
    grid-area: title;
  }
  .page-show-title {
    grid-area: title;
  }
  .page-show-breadcrumbs {
    grid-area: breadcrumbs;
  }
  .page-show-content {
    grid-area: content;
  }
  .page-show-share {
    grid-area: sharing;
  }
  .page-show-breadcrumbs,
  .page-show-share {
    padding: calc(var(--x-pad) / 2) var(--x-pad);
    align-self: center;
    border: 0 none;
  }
  .page-show-share .post-sharing {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
  }
  .page-show-share .post-sharing-title {
    margin-bottom: 0;
    margin-right: 16px;
  }
  .page-show-share .post-sharing-list {
    width: auto;
  }
}
.page-show-layout .text-box-content p.video {
  max-width: 100%;
}

.post-layout {
  display: grid;
  width: 100%;
}

.post-layout-main {
  grid-area: main;
}

.post-layout-breadcrumbs {
  grid-area: breadcrumbs;
}

.post-layout-sharing {
  grid-area: sharing;
}

@media screen and (max-width: 767px) {
  .post-layout {
    grid-template-columns: 100%;
    grid-template-areas: "breadcrumbs" "main" "sharing";
    gap: var(--x-pad);
  }
}
@media screen and (min-width: 768px) {
  .post-layout {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "breadcrumbs sharing" "main main";
    gap: var(--x-pad);
  }
}
.post-layout-breadcrumbs {
  min-width: 0;
  align-self: center;
}

.post-layout-sharing .post-sharing-list {
  justify-content: flex-start;
}

@media screen and (max-width: 767px) {
  .post-layout-sharing .post-sharing {
    border-top: 1px solid var(--color-bb-black);
    padding-top: var(--x-pad);
  }
  .post-layout-breadcrumbs {
    border-bottom: 1px solid var(--color-bb-black);
    padding-bottom: var(--x-pad);
  }
}
@media screen and (min-width: 560px) and (max-width: 767px) {
  .post-layout-sharing .post-sharing {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 768px) {
  .post-layout-sharing .post-sharing {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
  }
  .post-layout-sharing .post-sharing-title {
    margin-bottom: 0;
    margin-right: 16px;
  }
  .post-layout-sharing .post-sharing-list {
    width: auto;
  }
  .post-layout-main {
    border-top: 1px solid black;
    padding-top: var(--x-pad);
  }
}
.post-layout-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
}

.post-layout-views {
  font-size: 14px;
  color: #A4A4A4;
  text-align: center;
}

.post-layout-title + .post-layout-views,
.post-layout-views + .post-layout-title {
  margin-top: 1rem;
}

.post-layout-desc {
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

@media screen and (min-width: 560px) {
  .post-layout-title {
    font-size: 18px;
    max-width: 80%;
    line-height: 1.4;
  }
  .post-layout-content {
    max-width: 80%;
  }
}
@media screen and (min-width: 768px) {
  .post-layout-title {
    font-size: 24px;
    line-height: 1.2;
  }
}
@media screen and (min-width: 1024px) {
  .post-layout-title {
    font-size: 36px;
  }
}
@media screen and (min-width: 1560px) {
  .post-layout-title {
    font-size: 58px;
  }
  .post-layout-views {
    font-size: 20px;
  }
}
.post-layout-content {
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-top: calc(2 * var(--x-pad));
}

.post-layout-content > *:not(:first-child) {
  margin-top: 1.78em;
}

.post-layout-content blockquote {
  display: block;
  width: 100%;
  position: relative;
  padding-left: 3rem;
  font-weight: 600;
}

.post-layout-content blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(/assets/icon-blockquote-991d07cd45e5ef90949cb77bc08338225b17d450447f0e407df362b8e95ff918.svg) 0 0/contain no-repeat;
}

.post-layout-content ul,
.post-layout-content ol {
  padding-left: 2em;
}

.post-layout-content li {
  display: list-item;
}

.post-layout-content li:not(:first-child) {
  margin-top: 1em;
}

.post-layout-content ul li {
  list-style-type: disc;
}

.post-layout-content ol li {
  list-style-type: decimal;
}

.post-layout-content a {
  text-decoration: underline;
}

.post-layout-content a:hover {
  text-decoration: none;
}

.post-layout-content img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) and (max-width: 1559px) {
  .post-body-content {
    font-size: 18px;
  }
}
@media screen and (min-width: 1560px) {
  .post-body-content {
    font-size: 21px;
  }
  .post-layout-content {
    margin-top: 4rem;
  }
}
.text-box-content {
  line-height: 1.6;
}

.text-box-content > *:not(:first-child) {
  /* margin-top: 1.78em; last comments */
  margin-top: 1.5em;
}

.text-box-content blockquote {
  display: block;
  width: 100%;
  position: relative;
  padding-left: 3rem;
  font-weight: 600;
}

.text-box-content blockquote::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(/assets/icon-blockquote-991d07cd45e5ef90949cb77bc08338225b17d450447f0e407df362b8e95ff918.svg) 0 0/contain no-repeat;
}

.text-box-content ul,
.text-box-content ol {
  padding-left: 2em;
}

.text-box-content li {
  display: list-item;
}

.text-box-content li:not(:first-child) {
  margin-top: 1em;
}

.text-box-content ul li {
  list-style-type: disc;
}

.text-box-content ol li {
  list-style-type: decimal;
}

.text-box-content a {
  text-decoration: underline;
}

.text-box-content a:hover {
  text-decoration: none;
}

.text-box-content img {
  display: block;
  width: 100%;
  height: auto;
}

.post-sharing {
  --icon-size: 32px;
}

.post-sharing-title {
  margin-bottom: 8px;
  font-size: 14px;
}

.post-sharing-list {
  display: flex;
  align-items: center;
}

.post-sharing-list {
  flex-flow: row nowrap;
}

.post-sharing-item:not(:first-child) {
  margin-left: 0.75rem;
}

.post-sharing-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  color: var(--color-text-base);
  background-color: var(--color-bg);
  transition: background-color 0.25s;
}

.post-sharing-link svg {
  display: block;
  max-width: calc(var(--icon-size) / 2);
  max-height: calc(var(--icon-size) / 2);
}

.post-sharing-link:hover {
  background-color: var(--color-accent);
}

@media screen and (min-width: 1024px) {
  .post-sharing {
    --icon-size: 40px;
  }
}
@media screen and (min-width: 768px) {
  .post-sharing-list {
    width: 100%;
    justify-content: flex-end;
  }
}
@media screen and (max-width: 559px) {
  .post-sharing-list {
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .post-sharing {
    --icon-size: 40px;
  }
  .post-sharing-title {
    display: block;
    font-size: 14px;
    margin-right: 1rem;
  }
}
@media screen and (min-width: 1559px) {
  .post-sharing {
    --icon-size: 60px;
  }
  .post-sharing-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .post-sharing-link svg {
    width: calc(var(--icon-size) / 1.75);
    height: calc(var(--icon-size) / 1.75);
  }
}
.contacts_text h2 {
  font-size: 30px;
  margin-top: 0px;
  margin-bottom: 20px;
}
