*[modal="open"]{
  cursor: pointer;
}
*:focus{
  outline: none;
}


section{
overflow-x: hidden;
}



.top-block_kit{
  position: absolute;
  opacity: 0;
}

.archive__top{
  background-image: url('/wp-content/themes/kitlog/assets/img/services.png');
  color: #fff;
  height: 407px;
  display: flex;
  align-items: flex-end;
}
.archive__top.contacts_archive__top{
 background-image: url('/wp-content/themes/kitlog/assets/img/contacts_bg.png');
}
.archive__top.archive__top__single{
  background: #F4F4F4;
  color: #212121;
  height: auto;
}

.totop{
  cursor: pointer;
  border-radius: 48px;
  color: #2641AD;font-size: 17px;
  font-weight: 100;
  gap:16px;
  width: 126px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border:1px solid #2641AD ;
  transition: .2s ease-in-out;

}

.order-form .form-block .form-inner .btn-block button{
  margin-top: 20px;
}


.totop:hover{
  color: #fff;
  background-color: #000;
  border-color: #000;
}
.totop:hover path{
  fill: #fff;
}

.archive__top.archive__top__single .bradcrumbs__delimiter{
  background-color: #212121;
}
.archive__top.archive__top__single .archive__top_title{
  text-transform: uppercase;
  max-width: 1266px;
}

.contacts_head{
color: #8B8B8B;
font-size: 13px;

}
.contacts_txt{
  font-size: 24px;
  text-decoration: none;
  color: #2641AD;
  padding-bottom: 16px;
  display: block;
  font-weight: 500;
}

.contacts_container{
  display: flex;
  align-items: flex-start;
  margin-top: 48px;
  justify-content: space-between;
  margin-bottom: 120px;
}
.notice__contcts{
  background-color: #F4F4F4 ;
  padding: 24px 40px;
  border-left: 2px solid #2641AD;
  max-width: 794px;
  text-transform: uppercase;
}

.archive_news__top{
  background-image: url('/wp-content/themes/kitlog/assets/img/news_bg.png');
  color: #fff;
  height: 319px;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 768px) {
 
}
.bradcrumbs{
margin-top: 72px;
  display: flex;
  font-size: 14px;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
}
.bradcrumbs a{
  text-decoration: none;
}
.bradcrumbs .bradcrumbs__delimiter{
 height: 1px;
 width: 32px;
 background-color: #fff;
}
.archive__top_title{
  margin-bottom: 40px;
}
.archive__top__content__decription{
  margin-bottom: 80px;
  font-size: 18px;
}


.navigation.pagination{
  flex-basis: 100%;
}
.services_grid{
  display: flex;
  gap: 16px;
  padding: 80px 0;
  flex-wrap: wrap;
}



.service_item{
  border-radius: 10px;
  border:1px solid #8B8B8B;
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-basis: calc(25% - 16px - 16px - 16px);
  min-height: 400px;
}
.service_item__get_consult{
  margin-top: auto;
}
.service_item__title{
  font-size: 24px;
font-weight: 500;
color: var(--Чёрный, rgba(33, 33, 33, 1));
margin-bottom: 32px;
}
.service_item__title a{
  color: inherit;
  text-decoration: none;
}
.service_item__text{
  font-size: 18px;
font-weight: 400;
}

.service_item__get_consult{
  font-size: 0;
border-radius: 48px;
background: var(--Серый 2, rgba(244, 244, 244, 1));

height: 40px;
max-width: 40px;
 width: 50%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 8;
background: #F4F4F4;
align-self: flex-end;
transition: max-width .1s ease-in-out;
}
.service_item__get_consult svg{

}
.service_item:hover .service_item__get_consult{
 gap: 16px;
  font-size: 17px;
  padding-left: 24px;
  background-color: #2641AD;
  width: auto;
  padding-right: 16px;
  color: #fff;
max-width: 100%;
}
.service_item:hover .service_item__get_consult svg{
  filter:invert(1);
}

.news_grid{
  display: flex;
  padding: 80px 0;
  gap: 49px;
}
.news__sidebaar__heading{
  font-size: 24px;
  color: var(--Чёрный, rgba(33, 33, 33, 1));
font-weight: 500;
margin-bottom: 24px;
}
.news_sidebar__wrapper{
  position: relative;
}
.news__sidebaar{
  border-radius: 10px;
background: #F4F4F4;
padding: 24px 40px 40px 24px;
flex-basis: 362px;
min-width: 362px;
position: sticky;
top: 15px;
}
.news__sidebaar ul{
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap:12px;
}
.news__sidebaar ul li{
  list-style-type: none;
  padding: 0;
  font-size: 18px;
font-weight: 400;
}
.news__sidebaar ul li a{
color: var(--Чёрный, rgba(33, 33, 33, 1));
}
.news__sidebaar ul li a.blue{
  color: #2641AD;
}



.popup__modal.opened{
  opacity: 1;
  top: 0;
}

.popup__modal {
  opacity: 0;
  top: -200vh;
  display: flex;
  position: fixed;
  left: 0;
  
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .4s ease-in-out;
}
.popup__modal__bg{
  background-color: rgba(0,0,0, 0.3);
  position: absolute;
  z-index: 1;
  left: 0;
  height: 100%;
  top: 0;
  width: 100%;
}
.popup__inner{
  position: relative;
  z-index: 2;
  background-color: #fff;
  border-radius: 10px;
  padding: 32px;
  position: relative;
  max-width: 900px;
}
.popup__inner__closecross{
  position: absolute;
  top: 20px;
  cursor: pointer;
  right: 20px;
}

.popup__heading{
  font-size: 30px;
font-weight: 500;
margin-bottom: 42px;
}
.popup__modal__input{
  width: 100%;
  box-sizing: border-box;
border: 1px solid var(--Чёрный, rgba(33, 33, 33, 1));
border-radius: 10px;
overflow: hidden;
margin-bottom: 16px;
}
.podpiskaerrors{
  color: red;
}
.feedback-form.suxeed .feedback-field,
.feedback-form.suxeed .check-field,
.feedback-form.suxeed .podpiskaerrors{
display: none;
}

.popup__modal__input.errorss{
  border-color: red;
}
.popup__modal__input input{
  border:0px;
  width: 100%;
  height: 100%;
  padding: 19px 16px;
  font-size: 20px;
font-weight: 400;
}
.popup__inner__policy{
  margin-bottom: 6px;
}
.popup__modal__input textarea{
  border:0px;
  width: 100%;
  height: 100%;
  padding: 19px 16px;
  font-size: 20px;
font-weight: 400;
min-height: 160px; resize: none;
}

.popup__buttons{
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.popup__inner__submit{
  background-color: #2641AD;
  padding: 22px 60px;
  font-size: 17px;
  border-radius: 80px;
backdrop-filter: blur(34.29999923706055px);
background: var(--Синий, rgba(38, 65, 173, 1));
font-weight: 400;
color: #fff;
cursor: pointer;
box-sizing: border-box;
border: 1px solid  rgba(38, 65, 173, 1);
transition: .2s ease-in-out;
}
.popup__inner__submit:hover{
  background-color: #fff;
  color: rgba(38, 65, 173, 1);

}
.popup__inner__close:hover{
   background-color: rgba(33, 33, 33, 1);
   color: #fff;
}

.popup__inner__close{
 padding: 22px 52px;
 font-size: 17px;
font-weight: 400;
box-sizing: border-box;
border: 1px solid var(--Чёрный, rgba(33, 33, 33, 1));
border-radius: 80px;
backdrop-filter: blur(34.29999923706055px);
cursor: pointer;
transition: .2s ease-in-out;
}
.popup__inner__policy{
position: relative;
}

.popup__inner__policy input{
  position: absolute;
  position: absolute;
  width: 50px;
  height: 33px;
  opacity: 0;
  z-index: 4;
}
.popup__inner__policy span{
  font-size: 16px;
font-weight: 400;
}
.popup__inner__policy input:checked + span:before{
  background-color:#2641ad;
}
.popup__inner__policy span:before{
  content: '';
  box-sizing: border-box;
  border: 1px solid var(--Чёрный, rgba(33, 33, 33, 1));
  border-radius: 2px;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  display: inline-block;
  position: relative;
  top: 3px;
}
.errors_block_stat{
  color: red; position: relative;
  margin: -8px 0 9px;
}
.errors_block{
  color: red;
 position: relative;
  
}
.popup__inner.suxeed{
  max-width: 436px;
  width: 100%;
}

.popup__inner.suxeed .popup__modal__input,
.popup__inner.suxeed .popup__inner__submit,
.popup__inner.suxeed  .popup__inner__policy{
  display: none;
}
.popup__description{
  color: var(--Чёрный, rgba(33, 33, 33, 1));
  font-size: 20px;
font-weight: 400;
margin-bottom: 32px;
}
.popup__inner.suxeed .popup__heading{
margin-bottom: 24px;
}



#order-form.suxeed .form-field,
#order-form.suxeed .form-block .form-inner .check-field,
#order-form.suxeed  .btn-block{
  display: none;
}

#order-form.suxeed  .popup__description{
  color: #fff;
}








.tags-list .active a{
  color: #2641AD;
}
.news_main{
 flex-grow: 1;
}
.news_main__wrapper{
   display: flex;
  flex-wrap: wrap;
  gap:16px;
}

.news_main__single{
  flex-basis: calc(33% - 16px - 16px);
   border-bottom: 1px solid transparent;
   transition: .2s ease-in-out;
   display: flex;
   flex-direction: column;
}
.news-content{
  flex-grow: 1;
  display: flex;
  flex-direction: column;

}
.news_main__single:hover{
  border-bottom: 1px solid #2641AD;
}

.news_main__single .news-thumbnail{
  width: 100%;
  margin-bottom: 24px;
  height: 280px;
}
.news_main__single .news-thumbnail img{
  width: 100%;
  border-radius: 10px;
  height: 100%;
}
.news_main__single .news-title{
font-size: 24px;
min-height: 52px;
font-weight: 500;
margin-bottom: 16px;
color: #212121;
transition: .3s ease-in-out;
}
.news_main__single .news-title a{
  color: inherit;
}
.news-excerpt{
  font-size: 18px;
font-weight: 400;
color: #212121;
margin-bottom: 16px;
}
.news-meta{
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  margin-top: auto;
}
.news-meta time{
color: rgba(139, 139, 139, 1);
font-size: 16px;
font-weight: 400;
}
.read-more{
  color: #2641AD;
  text-decoration: none;
  font-size: 17px;
font-weight: 400;
opacity: 0;
transition: .3s ease-in-out;
}


.news_main__single:hover .read-more{
  opacity: 1;
}

.nav-links{
  display: flex;
  gap: 4px;
}
.page-numbers{
  width: 40px;
  height: 40px;
  font-size: 14px;
font-weight: 400;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: #212121;
margin-top: 24px;
}

.page-numbers.current{
  background-color: rgba(38, 65, 173, 1);
  color: #fff;
}

.page-numbers.next {
 background-image: url(/wp-content/themes/kitlog/assets/img/nextpg.svg);
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
}
.page-numbers.prev {
   background-image: url(/wp-content/themes/kitlog/assets/img/nextpg.svg);
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}
.screen-reader-text{
  display: none;
}

.form-block .form-inner .form-field.errorss input,
.form-block .form-inner .form-field.errorss textarea{
  border-color: red;
}
.container__news{
  width: calc(100% - 160px);
  margin: 80px auto 120px;
}
.artivle__wrapper{
  display: flex;
  justify-content: space-between;
  gap:40px;
}
.left_side{
display: flex;
justify-content: space-between;
flex-direction: column;
}
.oglavleine{
  border-radius: 10px;
  background-color: #F4F4F4;
  padding: 24px 40px 40px 24px;
  position: sticky;
  top: 20px;
  margin-bottom:75px ;
}
.oglavleine__back{
  padding: 5px 24px 8px 16px;
  gap: 8px;
  align-items: center;
  display: inline-flex;
  border: 1px solid #2641AD;
  border-radius: 48px;
  font-size: 17px;
  color: #2641AD;


}


.oglavleine__head{
  margin: 32px 0 24px;
  font-weight: 500;
  font-size: 24px;
}
.mainimg{
  width: 100%;
  margin-bottom: 40px;
}
.mainimg img{
  width: 100%;
  height: auto;
}
.oglavleine_ul{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}
.oglavleine_ul li{
font-size: 18px;
list-style-type: none;
}
.oglavleine_ul li a{
  text-decoration: none;
  color: inherit;
}

.artivle__wrapper__contant{
  max-width: 894px;
}
.artivle__wrapper__contant a{
  color: #2641AD;
  text-decoration: underline;
}

.artivle__wrapper__contant h2{
font-size: 24px;
font-weight: bold;
margin-bottom: 16px;
}
.artivle__wrapper__contant ol{
  margin: 40px 0;
}
.artivle__wrapper__contant p,
.artivle__wrapper__contant ol p{
  font-size: 18px;
  font-weight: 100;
  margin: 8px 0;
}
.artivle__wrapper__contant ol li{
font-weight: 500;
margin-left: 20px;
}
.artivle__wrapper__contant ul{
  margin: 8px 0;
}
.artivle__wrapper__contant ul li{
  list-style-type: none;
  
  
  
  font-weight: 400;
}
.artivle__wrapper__contant ul li:before{
  width: 2px;
  height: 2px;
  content: '';
  position: relative;
  background-color: #000;
  display: inline-block;
  margin-right: 8px;
  top: -4px;
}

.galSwiperWrap{
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.galnavigation{ 
position:absolute;
bottom:0;
left: 0;
z-index: 2;
display: flex;
justify-content: space-between;
width: 100%;
align-items: center;

 }
 .galnavigation__arrows{
  margin-bottom: 16px;
  margin-right: 16px;
  display: flex;
  gap: 4px;
 }
 .galnavigation__arrows_next,
 .galnavigation__arrows_prev{
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  width: 56px;
  background-color: #fff;
  border: 1px solid #000;
  transition: .2s ease-in-out;
  cursor: pointer;
 }
  .galnavigation__arrows_next:hover,
 .galnavigation__arrows_prev:hover{
  filter: invert(1);
 }
.galnavigation__arrows_next{}
.galnavigation__arrows_next:before{
  content: url(/wp-content/themes/kitlog/assets/img/next.svg);height: 80%;
}
.galnavigation__arrows_prev:before{
  content: url(/wp-content/themes/kitlog/assets/img/prev.svg);height: 80%;
}
.galnavigation__arrows_prev{}
.galpagination{
  margin-left: 16px;
}
.swiper-pagination-bullet{
  height: 4px;
  width: 12px;
  background-color: #fff;
  transition: .2s ease-in-out;
  border-radius: 4px;
  opacity: 1;
}
.galSwiperWrap .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background-color: #2641AD;
  width: 48px;
}

.artivle__wrapper__contant blockquote{
  border-top: 2px solid #2641AD;
  padding-top: 30px;
  margin: 40px 0;
  font-size: 18px;
  position: relative;
}
.artivle__wrapper__contant blockquote:after{
  position: absolute;
  top: -4px;
  right: 0;
  content: url(/wp-content/themes/kitlog/assets/img/quote.svg);
  z-index: 1;
  background: #fff;
  width: 45px;
  text-align: right;
}


.galSwiperWrap .swiper-slide img{
  width: 100%;
  height: 100%;
  display: block;
  max-height: 474px;
  object-fit: cover;
}










































.news_main__single .news-thumbnail img{
  object-fit: cover;
}


@media(max-width: 1400px){
  .news_main__single{
    flex-basis: calc(50% - 16px);
 } 
}

.curent_theme{
  display: none;
}

.oglavleine__head_cactv{
  display: none;
}
.totop.onlymob{
  display: none;
}

@media(max-width: 992px){



  .popup__inner.suxeed{
    max-width: calc(100% - 32px);
  }
.totop.onlymob{
  display: flex;
  margin: 36px 16px 28px 16px;
}
  .oglavleine__head_cactv{
    display: block;
  }
.oglavleine__head_cactv{
        display: block;
        color: var(--Чёрный, rgba(33, 33, 33, 1));
      font-size: 16px;
      flex-grow: 1;
      font-weight: 400;
      position: relative;
      }
      .oglavleine__head_cactv:after{
        content: url(/wp-content/themes/kitlog/assets/img/arrowdown.svg);
        position: absolute;
        right: 0;
        top: 0;
      }


.seealso .last-news{
padding-bottom: 0;
}
@media(max-width: 992px){
  .seealso .last-news{
  margin-bottom: 50px;
  }
}
.read-more{
  opacity: 1;
}
      .oglavleine_ul.open{
        max-height: 100vh;
        opacity: 1;
       
        
      }

      .oglavleine_ul{
        box-sizing: border-box;
         border-radius: 0px 0px 10px 10px;
        border: 1px solid #2641AD;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: rgb(38, 65, 173);
        border-top: 0;
        max-height: 0;
        overflow: hidden;
         position: absolute;
        top: calc(100% - 10px);
        background-color: #fff;
        min-width: calc(100% + 2px);
        opacity: 0;
        left: -1px;
        padding: 0 !important;
        
        transition:max-height .4s ease-in-out;
      }
      .oglavleine_ul li{
        padding: 0px 16px !important;
      }
      .oglavleine_ul li:first-child{
        padding-top: 15px !important;
      }
      .oglavleine_ul li:last-child{
        padding-bottom: 15px !important;
      }


.oglavleine__wra{
  display: flex;
  padding: 11px 16px;
  border: 1px solid #2641AD;
  border-radius: 10px;
  gap:8px;
  position: relative;
}
.oglavleine__head{
  color: #2641AD;
  margin: 0;
  font-size: 16px;
}
.oglavleine{
  padding: 0;
  margin: 0;
  background-color: transparent;
}
.oglavleine__back{
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.artivle__wrapper {
  flex-direction: column;
  margin: 24px auto;
  width: calc(100% - 32px);
}
.artivle__wrapper__contant{

}
.totop{
  display: none;
}
.artivle__wrapper__contant p, .artivle__wrapper__contant ol p{
  font-size: 16px;
}
.artivle__wrapper__contant h2{
  font-size: 20px;
}

.artivle__wrapper__contant ul li{
  font-size: 16px;
}
.galnavigation__arrows{
  display: none;
}
.swiper-pagination-bullet{
  background-color: #000;
}
.galSwiperWrap .swiper-slide img{
 height:  auto;
}
.galSwiperWrap{
  padding-bottom: 40px;
  margin: 20px 0;
}
.galpagination{
  margin-left: 0;
  bottom: auto;
  top: calc(100% + -25px);
}


  .contacts_container{
    display: flex;
    flex-direction: column;
  }
  .notice__contcts{
    border-left: 0px;
    padding: 24px;
    line-height: 1.4em;
    margin-top: 40px;
  }
  .contacts_head{
    display: none;
  }
  .contacts_txt{
    font-size: 20px;
  }

  .news_grid {
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 32px);
    }

   .news_main__single{
    flex-basis: 100%;
    } 
    .news-excerpt{
      font-size: 16px;
      font-weight: 400;
    }
    .news_main__single .news-title{
      font-size: 20px;
      margin-bottom: 16px;
      min-height: auto;
    }
    .news_main__single .news-thumbnail{
      height: auto;
      margin-bottom: 16px;
    }
    .news_main__single .news-thumbnail a{
      display: block;
    }
    .news_main__single .news-thumbnail a img{
      display: block;
    }
    .news__sidebaar{
      display: flex;
      box-sizing: border-box;
      border: 1px solid var(--Синий, rgba(38, 65, 173, 1));
      border-radius: 10px;
      padding: 16px 12px;
      background: transparent;
      position: relative;
      min-width: auto;
    }
    .news__sidebaar__heading{
      display: flex;
      width: 100%;
      color: var(--Синий, rgba(38, 65, 173, 1));
      gap: 8px;
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 0;
    }


      .tags-list.open{
        max-height: 100vh;
        opacity: 1;
       
        
      }

      .tags-list{
        box-sizing: border-box;
         border-radius: 0px 0px 10px 10px;
        border: 1px solid #2641AD;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: rgb(38, 65, 173);
        border-top: 0;
        max-height: 0;
        overflow: hidden;
         position: absolute;
        top: calc(100% - 10px);
        background-color: #fff;
        width: calc(100% + 2px);
        opacity: 0;
        left: -1px;
        padding: 0 !important;
        
        transition:max-height .4s ease-in-out;
      }
      .tags-list li{
        padding: 0px 16px !important;
      }
      .tags-list li:first-child{
        padding-top: 15px !important;
      }
      .tags-list li:last-child{
        padding-bottom: 15px !important;
      }
      .curent_theme{
        display: block;
        color: var(--Чёрный, rgba(33, 33, 33, 1));
      font-size: 16px;
      flex-grow: 1;
      font-weight: 400;
      position: relative;
      }
      .curent_theme:after{
        content: url(/wp-content/themes/kitlog/assets/img/arrowdown.svg);
        position: absolute;
        right: 0;
        top: 0;
      }


  .navigation.pagination{
      flex-basis: 100%;
    }



  .archive__top{
  background-image: url('/wp-content/themes/kitlog/assets/img/services.png');
    color: #fff;
    height: auto;
    display: flex;
    align-items: flex-end;
    background-position: 58%;
    background-repeat: no-repeat;
    background-size: auto 100%;
  }




  .services_grid{
    flex-direction: column;
    padding: 48px 0;
    
    
  }
  .service_item{
    min-height: 290px;
  }
  .archive__top_title{
    margin-bottom: 24px;
  }
  @media(max-width: 992px){
     .archive__top_title{
      font-size: 36px;
    }
  }
  .popup__inner{
    padding: 16px;max-width: calc(100% - 32px);
  }
  .popup__heading{
    font-size: 24px;

  }
  .popup__modal {
    
  }
  .popup__buttons{
    display: flex;
    flex-direction: column;
  }
  .popup__inner__close,
  .popup__inner__submit{
    text-align: center;
  }
  .popup__modal__input input{
    padding: 11px 16px;font-size: 16px;

  }
}


@media only screen and (max-width: 768px) {
  .mob-navigation {
    flex-basis: 100%;
  }
}

















/* Форма отзыва */
.review-form-wrapper {
    max-width: 600px;
    margin: 30px 0;
    position: sticky;
    top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-review-btn {
padding: 22px 82px;
  font-size: 17px;
  border-radius: 80px;
  backdrop-filter: blur(34.29999923706055px);
  background: var(--Синий, rgba(38, 65, 173, 1));
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid rgba(38, 65, 173, 1);
  transition: .2s ease-in-out;
    cursor: pointer;
}

.submit-review-btn:hover{
  background-color: #fff;
  color: #000;
}

.capthc{
  text-align: left;
  padding: 12px;
}

/* Карточки отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.review-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-rating {
    color: #ffd700;
    margin-bottom: 10px;
}

.review-rating .star.filled {
    color: #ff9900;
}

/* Страница отзывов */
.review-item {

border: 1px solid #8b8b8b;
  padding: 24px;
  border-radius: 10px;
  
  font-size: 18px;
  line-height: 135%;
  letter-spacing: .02em;
 
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.review-meta strong{
  font-weight: 500;
  font-size: 24px;
}
.review-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.reviews-pagination {
    margin-top: 30px;
    text-align: center;
}


.reviews-page{
  display: flex;
  justify-content: space-between;
  margin: 100px 0;
  gap: 50px;
}



.reviews-page .form-group{
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--Чёрный, rgba(33, 33, 33, 1));
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
#review-form div.form-group:nth-child(6){
border: 0px solid transparent;
background-color: #F4F4F4;
  border: 0px solid transparent;

}
.reviews-page .form-group input{
  border: 0px;
  width: 100%;
  height: 100%;
  padding: 19px 16px;
  font-size: 20px;
  font-weight: 300;
}
#review_rating{
  background-color: #F4F4F4;
  padding: 19px 16px;
  border: none;
   -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.add-review-section{
  flex-basis: 40%;
}
.reviews-page h2{
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 42px;
}
.all-reviews-section{
  flex-grow: 1;
  flex-direction: column;
  display: flex;
  
  max-width: 800px;
}

.reviews-page .form-group select{
background: transparent;
}
.review-meta strong{
  font-size: 28px ;
}
.review-date{
  font-size: 16px;
  color: #8B8B8B;
  font-weight: 400;
}
.review-text,
.review-text p{
  font-weight: 400;
  font-size: 18px;
}





@media(max-width: 1200px){
  .reviews-page{
    flex-direction: column;
  }
}





/* Стили для popup */
        #cookie-popup {
          display: flex;
  position: fixed;
  bottom: -200vh;
  right: 25px;
  opacity: 0;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  max-width: 55vw;
  width: auto;
  border: 1px solid #ddd;
  left: auto;
  gap: 20px;
  transition: 1.2s ease-in-out;
        }


@media(max-width: 992px){
  #cookie-popup{
    flex-direction: column;
  font-size: 14px;
  line-height: 1.2em;
  }
}

@media (max-width: 1600px) and (min-width: 993px){
  #cookie-popup{
    max-width: 75vw;
  }
}

        #cookie-popup.active{
          opacity: 1;
          bottom: 25px;

        }
        
        #cookie-popup p {
            margin: 0 0 15px 0;
            color: #333;
            line-height: 1.5;
        }
        
        #cookie-popup button {
          background: var(--blue);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: .2s ease-in-out;
  border-radius: 10px;
  border: 1px soli var(--blue);
  white-space: nowrap;
        }
        
        #cookie-popup button:hover {
            background: #fff;
            color: #000;
        }
        
        /* Затемнение фона */
        .popup-overlay {
            display: none !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }

        .artivle__wrapper__contant h3{
          font-size: 25px;
          font-weight: 600;
          margin: 20px 0;
        }

        .btn-arrows{
          justify-content: flex-end;
        }









      .rating_wrap {
            position: relative;
            overflow: visible !important;
            z-index: 2;
        }
        
        /* Скрываем оригинальный select */
        #review_rating {
            display: none;
        }
        
        .custom-select {
            position: relative;
            width: 100%;
            border: 0px solid #ccc;
            border-radius: 4px;
            background: #F4F4F4;
            cursor: pointer;
            padding: 16px 19px;
            box-sizing: border-box;
        }
        
        .custom-select__trigger {
            display: flex;
            align-items: center;
            flex-direction: row-reverse;
            justify-content: space-between;
        }
        
        .stars-container {
            display: flex;
            gap: 2px;
        }
        
        .custom-options {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-top: 5px;
            z-index: 100;
            display: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .custom-option {
            padding: 10px 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .custom-option:hover {
            background: #f5f5f5;
        }
        
        .custom-option-text {
            font-size: 20px;
            color: #212121;
            font-weight: 400;
        }
        
        .arrow {
          display: none;
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid #333;
            transition: transform 0.3s;
        }
        
        .custom-select.open .arrow {
            transform: rotate(180deg);
        }
        
        .custom-select.open .custom-options {
            display: block;
        }
        .policys{
          margin-bottom: 32px;
        }
.policys span{
  font-size: 16px;
  font-weight: 400;
}
.policys span::before {
  content: '';
  box-sizing: border-box;
  border: 1px solid var(--Чёрный, rgba(33, 33, 33, 1));
  border-radius: 2px;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  display: inline-block;
  position: relative;
  top: 3px;
}
.policys input:checked + span::before {
  background-color: #2641ad;
}
.policys input {
  position: absolute;
  position: absolute;
  width: 50px;
  height: 33px;
  opacity: 0;
  z-index: 4;
}
.showmore{
  font-size: 17px;
  font-weight: 400;
  padding: 14px 0;
  width: 100%;
  border-radius: 80px;
  text-align: center;
  border: 1px solid #212121;
}

.real-stories-list .item .inner .bot-stories{
  margin-top: 0;
  margin-bottom: 32px;
}
.real-stories-list .item .inner .text-block{

}
.real-stories-list .item .inner .bot-stories .bot-item{
  grid-template-columns: auto auto;
}

.real-stories-list .item .inner .bot-stories{
  align-items: flex-start;
}



.cooperation-stages{
  overflow: hidden;
}