#content_inner.detailed-page {
  width: 100%;
  margin: 15px 0;
  float: none;
}
#content_inner.detailed-page h1 {
  font-size: 2rem;
  font-weight: 700;
  border: none;
  padding: 0;
  margin: 0;
}
#content_inner.detailed-page h1:after {
  content: '';
  display: block;
  width: 210px;
  height: 5px;
  background: #FEBF3C;
  margin: 33px 0 46px;
  /*! text-align: center; */
}

#content_inner.detailed-page p {
  font-size: 1rem;
  margin: 0 0 10px;
  text-align: justify;
  line-height: 1.5;
}
#content_inner.detailed-page h3 {
  color: var(--color-text);
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
}
#content_inner.detailed-page .content_news_full h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin: 1.5rem 0 1rem;
    padding: 0;
    border: none;
    width: auto;
}
#content_inner.detailed-page .content_news_full h2 a {
    border: none;
    color: var(--color-text) !important;
}
#content_inner.detailed-page .content_news_full h2:hover a {
    border: none;
    color: var(--color-link) !important;
}
#content_inner.detailed-page .content_news_full img {
  width: 100%;
}
#content_inner.detailed-page .dateFormat {
    margin-bottom: 1.5rem;
}

#content_inner.detailed-page .content_news_full a,
#content_inner.detailed-page .content_news_detail a{
    color: var(--color-link) !important;
}
.content_news_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4.6rem;
}
.content_news_wrap .content_news_full {
    width: calc((100% - 4.6rem * 2) / 3)
}
.content_news_wrap .content_news_full:nth-child(1),
.content_news_wrap .content_news_full:nth-child(2) {
    width: calc((100% - 4.6rem) / 2)
}
.content_news_wrap .content_news_full .content {
  display: -webkit-box;       /* включаем flex-контейнер */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;      /* показываем только 3 строки */
  overflow: hidden;           /* скрываем лишний текст */
  text-overflow: ellipsis;    /* ставим многоточие */
}
.content_news_wrap .content_news_full .news_img {
  width: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
  padding-bottom: 56.25%;
}
.content_news_detail img {
    text-align: center;
    margin: 2rem auto;
    display: block;
    max-width: 50%;
}
.prev-next-news-links a {
    color: var(--color-link);
    border-bottom: dashed 2px var(--color-link);
    padding-bottom: 0.5rem;
    position: relative;
    margin: 0 2rem;
    max-width: 40%;
}
.prev-next-news-links a span{
  white-space: nowrap;
  overflow: hidden;
  display: inherit;
  text-overflow: ellipsis;
  color: inherit;
}
.prev-next-news-links a:hover {
    border-bottom-style: solid;
    text-decoration: none;
}
.prev-next-news-links a.prev-news-link::before {
    content: '\f053';
    margin-right: 0;
    font-family: FontAwesome;
    font-size: 1.2rem;
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
}
.prev-next-news-links a.next-news-link::after {
    content: '\f054';
    margin-left: 0.5rem;
    font-family: FontAwesome;
    font-size: 1.2rem;
    position: absolute;
    right: -1.5rem;
    top: 1.5rem;
}





@media screen and (max-width: 1199px) {
  #content.news_detailed #content_inner,
  #content.page_news_shop #content_inner {
    width: 100%;
    margin: 1rem 0 !important;
  }
  #content_inner.detailed-page h1:after {
    margin: 33px auto 46px;
  }
  #content_inner.detailed-page p,
  #content_inner.detailed-page li,
  #content_inner.detailed-page li > p {
    font-size: 1rem !important;
  }
  #content_inner.detailed-page h3 {
    font-size: 1.3rem;
  }
  .content_news_detail img {
    max-width: 100%;
  }
  .content_news_wrap .content_news_full,
  .content_news_wrap .content_news_full:nth-child(1),
  .content_news_wrap .content_news_full:nth-child(2) {
    width: 100%;
  }
  #content.page_news_shop .detailed-page div:nth-of-type(2) h2 {
    border-top: none;
    padding-top: inherit;
  }
  .content_news_wrap .content_news_full .news_img {
    width: 100%;
    background-position-y: bottom;
  }
  .content_news_full p {
    margin-left: 0 !important;
  }
}
@media screen and (max-width: 600px) {
  #content_inner.detailed-page h1 {
    font-size: 3rem;
  }
  #content_inner.detailed-page p,
  #content_inner.detailed-page li,
  #content_inner.detailed-page li > p {
    font-size: 1.5rem !important;
  }
  #content_inner.detailed-page ol.masonry p > strong {
    font-size: 2.25rem;
  }
  #content_inner.detailed-page h3 {
    font-size: 2rem;
  }
  #content_inner.detailed-page ol.letters li {
    width: 100%;
  }
  #content_inner.detailed-page ol.letters li:before,
  #content_inner.detailed-page ul.contacts li:before,
  #content_inner.detailed-page ol.numbers li:before {
    font-size: 1.8rem;
    width: 4rem;
    height: 4rem;
    margin-bottom: 2rem;
  }
   #content_inner.detailed-page ul.contacts li {
    width: 100%;
  }
}