img{max-width:100%;}
p,figcaption,#contentbx_grace_news p{
    margin:  0;
        font-size: 16px;
       margin-bottom: 1.7em;
    line-height: 1.5;
}
br,noindex{display: none!important;}

.soderzhanie {
	    background: #f2f5f9;
    margin-bottom: 30px;
}
.soderzhanie p {
        margin-bottom: 0;
    font-size: 18px;
}

.soder_block {
	    background: #f2f5f9;
    margin-bottom: 30px;
}
.soder_block p {
         margin-bottom: 0;
    font-size: 18px;
}

.ash_container {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.ash_container p {
         margin-bottom: 0;
    font-size: 18px;
}

.content_titles {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.content_titles p {
         margin-bottom: 0;
    font-size: 18px;
}

.top_titles {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.top_titles p {
         margin-bottom: 0;
    font-size: 18px;
}

.rubrics {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.rubrics p {
          margin-bottom: 0;
    font-size: 18px;
}

.rubriki {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.rubriki p {
         margin-bottom: 0;
    font-size: 18px;
}

.oglavlenie {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.oglavlenie p {
          margin-bottom: 0;
    font-size: 18px;
}

.glavi {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.glavi p {
         margin-bottom: 0;
    font-size: 18px;
}

.glavi__title {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.glavi__title p {
          margin-bottom: 0;
    font-size: 18px;
}

.zagolovki {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.zagolovki p {
          margin-bottom: 0;
    font-size: 18px;
}

.spisok_zagolovok {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.spisok_zagolovok p {
          margin-bottom: 0;
    font-size: 18px;
}

.top_content_links {
    background: #f2f5f9;
    margin-bottom: 30px;
}
.top_content_links  p {
          margin-bottom: 0;
    font-size: 18px;
}

.top_links{
    background: #f2f5f9;
    margin-bottom: 30px;
}
.top_links p{
         margin-bottom: 0;
    font-size: 18px;
}

a.h2{
    display: block;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
a.h3{
    display: block;
    font-size: 16px;
    padding-left: 10px;
    color: #000;
    text-decoration: none;
}
a.h4{
    display: block;
    font-size: 16px;
    padding-left: 15px;
    color: #000;
    text-decoration: none;
}
a.h5{
    display: block;
    font-size: 16px;
    padding-left: 20px;
    color: #000;
    text-decoration: none;
}
a.h6{
    display: block;
    font-size: 16px;
    padding-left: 25px;
    color: #000;
    text-decoration: none;
}


.types__2 a {
   white-space: nowrap;
    font-size: 14px;
    color: #000000;
    padding: 5px 10px 5px;
    border: 1px solid;
    border-color: rgb(0 0 0);
    border-radius: 10px;
    margin: 3px;
    line-height: 20px;
    display: inline-block;
}
.types__1 a {
  white-space: nowrap;
    font-size: 14px;
    color: #000000;
    padding: 5px 10px 5px;
    border: 1px solid;
    border-color: rgb(0 0 0);
    border-radius: 10px;
    margin: 3px;
    line-height: 20px;
    display: inline-block;
}
.stati img,a.post-thumbnail-inner{height:auto;max-height:100%;overflow:hidden;}
img{max-width:100%;}

.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati{
    padding: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    background: #f7f8f8;
}
.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati h2.entry-title{
        line-height: 1.1;
    font-size: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 80px;
    margin-top: 0;
}
.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati .post-thumbnail{
        height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati .post-thumbnail img{max-width:100%;}
.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati h2.entry-title a{
    font-size: 16px;
}
.oJjM9LW0t5eMVuIxSmk3tkFA5ALk4d.stati .entry-content p{font-size: 14px;}

.navigation.pagination{
        margin: auto;
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom: 40px;
}
a.page-numbers{
        display: inline-block;
    font-size: 16px;
    border: 1px solid;
    padding: 7px 16px;
    margin: 0 2px;
    transition: .4s;
}
a.page-numbers:hover{
    color: #fff;
    background: #000;
    border-color: #000;
}
span.page-numbers.current{
    display: inline-block;
    font-size: 16px;
    border: 1px solid;
    padding: 7px 16px;
    margin: 0 2px;
    color: #fff;
    background: #000;
    border-color: #000;
}
.screen-reader-text,.nav-next-text {display: none;}

.social_btns{
    text-align: right;
    margin-bottom: 20px;
}


.post-wrapper-single .entry-title{font-size: 20px;}
h2,h3,h4,h5,h6{
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}


figure {
    background: #f7f8f8;
    padding: 10px;
    display: block;
   
    margin: 0 10px 10px 0; /* Отступы */
    text-align: center; /* Выравнивание по центру */
   }

   ul{margin-bottom: 10px;}

     .back_to_top {
  position: fixed;
  bottom: 80px;
  right: 40px;
  z-index: 9999;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background: #f5f5f5;
  color: #444;
  cursor: pointer;
  border-radius: 2px;
  display: none;
}

.back_to_top:hover {
  background: #e9ebec;
}

.back_to_top-show {
  display: block;
}

.main-content.single .post-content a{text-decoration: none;}

.entry-content ul{
       padding: 0;
    margin: 0;
    list-style: none;
    max-width: 100%;
    margin-top: 1.5em;
    margin-bottom: 2em;
}

#contentbx_grace_news ul,#contentbx_grace_news ol{margin: 0;padding-left: 20px;margin-bottom: 10px;}

/*.wp-block-latest-posts.wp-block-latest-posts__list li{display: flex;}*/
.social_btns{
        text-align: right;
    margin-top: 20px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li{
    min-height: 80px;
    padding: 0 10px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li:nth-child(odd){
    background: #f2f5f9;
}
ul.wp-block-latest-posts__list li a{
        overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 24px;
}
.wp-block-group__inner-container h3{margin-top: 0;}
/* ul:not([class]) li{position: relative;padding-left: 15px;} */
.entry-content img {
	border-radius: 5px;
}
header ul:not([class]) li{position: unset;}

header ul:not([class]) li:before, footer ul:not([class]) li:before{display: none;}
ol{
    padding: 0;
    margin: 0;
    list-style: none;
    margin-top: 1.5em;
    margin-bottom: 2em;
        counter-reset: section;
}

ol:not([class]) li:not([class]){
        margin-top: .7em;
    margin-bottom: .7em;
}
ol:not([class])>li:not([class]):before{
        counter-increment: section;
    content: counter(section) ".";
    display: inline-block;
    font-weight: 700;
    color: #343c55;
    margin-right: 1.4em;
}

.tit_swapper{
    padding: 15px 30px 6px 20px;
    font-weight: 700;
}

.block_wrappeer ol{
        margin: 0 30px 0;
    padding: 0 0 15px 0;
    list-style: none;
}
.block_wrappeer ol li a {
    text-decoration: none;
}
.block_wrappeer ol li:before {
    display: inline-block;
    content: counter(point) ". ";
    opacity: 0.5;
    margin-right: 5px;
    margin-left: 0;
}
.block_wrappeer ol .h2 {
    counter-increment: point;
    counter-reset: sublist;
    margin-top: 0.4em;
    margin-bottom: 0.2em;
}
.block_wrappeer ol .h2:before {
    width: 1.6em;
}
.block_wrappeer ol .h3 {
    counter-reset: sublist3;
    font-size: 0.92em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    margin-left: 30px;
}
.block_wrappeer ol .h3:before {
    content: counter(point) "." counter(sublist) ". ";
    counter-increment: sublist;
    width: 2.5em;
}
.block_wrappeer ol .h4 {
    counter-reset: sublist4;
    font-size: 0.88em;
    margin-top: 0.3em;
    margin-bottom: 0.7em;
    margin-left: 70px;
}
.block_wrappeer ol .h4:before {
    content: counter(point) "." counter(sublist) "." counter(sublist3) ". ";
    counter-increment: sublist3;
    width: 3.3em;
}
.block_wrappeer ol .h5 {
    counter-reset: sublist5;
    font-size: 0.8em;
    margin-top: 0.3em;
    margin-bottom: 0.7em;
    margin-left: 120px;
}
.block_wrappeer ol .h5:before {
    content: counter(point) "." counter(sublist) "." counter(sublist3) "." counter(sublist4) ". ";
    counter-increment: sublist4;
    width: 3.8em;
}
.block_wrappeer ol .h6 {
    counter-reset: sublist6;
    font-size: 0.75em;
    margin-top: 0.3em;
    margin-bottom: 0.7em;
    margin-left: 175px;
}
.block_wrappeer ol .h6:before {
    content: counter(point) "." counter(sublist) "." counter(sublist3) "." counter(sublist4) "." counter(sublist5) ". ";
    counter-increment: sublist5;
    width: 4.8em;
}

.h2{
    font-size:16px;
    margin-bottom: .2em;
    font-weight:400;
    line-height:24px;
}
.h3,.h4,.h5,.h6{font-weight:400;}

h1{
        font-size: 30px;
    line-height: 1.1;
}
h2{
        font-size: 32px;
    margin: 2em 0 1em;
    margin-bottom: .77419355em;
    line-height: 1.2;
}
h3{
        font-size: 1.5625em;
        margin: 2em 0 1em;
    margin-bottom: .96em;
        line-height: 1.3;
}
h2.entry-title{
        font-size: 20px;
}
img{display: block;}

.related_to_post_img{
    height: 200px;
    display: block;
    position: relative;
    margin-bottom: 20px;
    transition:.4s;
}
.related_to_post_img:hover{
        transform: scale(1.1);
    z-index: 99;
    -webkit-box-shadow: 0px 0px 18px 0px rgb(60 74 84 / 20%);
    -moz-box-shadow: 0px 0px 18px 0px rgba(60, 74, 84, 0.2);
    box-shadow: 0px 0px 18px 0px rgb(60 74 84 / 20%);
}
.img_cont_rel{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.related_to_post_img p{
        position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    margin: 0;
    padding: 6px 10px;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    background-color: rgba(0,0,0,.5);
    line-height: 1.2;
    width:100%;
}
p.rp4wp-related-posts_title{
        font-size: 34px;
    margin-bottom: 20px;
    font-weight: 500;
}
.wp-block-latest-posts__featured-image.alignleft{padding-top:11px;    min-width: 60px;}

.home .entry-content p{display: none;}
.home .entry-summary p{display: none;}
.home .post-summary p{display: none;}

.read_also_art{
        padding: 15px;
    background: #f2f2f2;
    margin-bottom: 20px;
    border-left: 5px solid #089fe4;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
}
.read_also_art > a{
        color: #089FE4;
    display: block;
    transition: .4s;
}
.read_also_art > a span{
        font-weight: bold;
    text-decoration: underline;
    color: #000;
    transition: .4s;
}
.read_also_art>a:hover{
    color: #000;
}
.read_also_art>a:hover span{
    color: #000;
}
/* ====================================================== MEDIA =======================================*/
@media (min-width: 991px) and (max-width: 1200px){}

@media (min-width: 768px) and (max-width: 990px){
    h1{font-size:28px;}
    h2{font-size:26px;}
    h3{font-size:24px;}
}

@media (max-width: 768px){
    h1{font-size:28px;}
    h2{font-size:26px;}
    h3{font-size:24px;}
}

@media (max-width: 576px){}

@media (max-width: 410px){}


/* ====================================================== MEDIA ======================================= */