

.primeri-template-template-primeri-single header.header_home {
    padding: 40px 0 50px 0;
}

.xs_primeri__section_1
{
    margin-bottom: 60px;
}


.xs_primeri__section_1__wrap h2
{
    font-size: 55px !important;
    line-height: 100% !important;
}

.primeri-template-template-primeri-single h1
{
  font-size: 55px !important;
  line-height: 100% !important;
}

.xs_primeri__section_1__wrap h2 span
{
    color: #F41818;
    display: block;
}

.xs_primeri__section_1__wrap
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xs_primeri__section_1__wrap > div
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.xs_primeri__section_1__wrap > div > img
{
    margin-right: 26px;
}

.xs_primeri__section_1__wrap > div span
{
    font-size: 24px;
    line-height: 120%;
}

.xs_primeri__section_6 h2
{
  font-size: 55px;
  line-height: 105%;
}

.xs_primeri__section_6 h2 span
{
  color: #F41818;
}


h2
{
  font-family: "MuseoBold", sans-serif !important;
  color: #111111 !important;
}


.xs_primeri__section_7__title
{
  margin-bottom: 50px;
}







/* Galery #1 */
.dual-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
  }
  
  .gallery-row {
    overflow: hidden;
    width: 100%;
  }
  
  .gallery-track {
    display: flex;
    gap: 12px;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 80s;
    width: max-content; /* важно для бесконечности */
  }
  
  .gallery-track--left {
    animation-name: scroll-left;
  }
  
  .gallery-track--right {
    animation-name: scroll-left;
    animation-direction: reverse; /* 👈 двигается в обратную сторону */
  }
  
  .gallery-item {
    flex: 0 0 auto;
    width: 271px;
    height: 222px;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
  }
  
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* половина, потому что дублируем контент */
  }
  



  .xs_primeri__section_4
  {
    margin-bottom: 90px;
  }

  /* Single row gallery */
  .single-gallery {
    overflow: hidden;
    width: 100%;
  }

  .single-gallery .gallery-track {
    display: flex;
    gap: 12px;
    animation: scroll-left 80s linear infinite;
    width: max-content;
  }

  .xs_primeri__section_4 .gallery-item {
    width: 349px;
    height: 256px;
    overflow: hidden;
    border-radius: 8px;
 }

  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }


  
  
/* End Galery #1 */






.xs_primeri__section_2
{
  margin-bottom: 70px;
}

.xs_primeri__section_2 .dual-gallery
{
  margin-bottom: 40px;
}


.xs_primeri__section_2___script
{
    display: inline-block;
    width: 286px;
    height: 90px;
    background: linear-gradient(85.99deg, #DA0C0C -17.19%, #EA5353 24.59%, #FF7070 43.55%, #F45959 67.04%, #DA0C0C 99.07%);
    box-shadow: inset 0px 0px 26px rgba(255, 255, 255, 0.46);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 136.7%;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}



.xs_primeri__section_2__btns___wrap
{
  display: flex;
  align-items: center;
  justify-content: center;
}

.xs_primeri__section_2___script
{
  margin-right: 18px;
}


.xs_primeri__section_2__btns___wrap > a > svg
{
  height: 90px;
}


.xs_primeri__section_2___wts
{
  height: 90px;
}


.xs_primeri__section_3
{
  margin-bottom: 90px;
}
.xs_primeri__section__item
{
  width: 360px;
  height: 619px;
  border-radius: 30px;
}

.xs_primeri__section_3___content
{
  display: flex;
  justify-content: space-between;
}


.xs_primeri__section__item
{
  padding: 43px;
  text-align: center;
}

.xs_primeri__section__item h4
{
  margin: 20px 0;
}

.xs_primeri__section__item p
{
  margin: 0;
  font-size: 18px;
  line-height: 105%;
}

.xs_primeri__section__item svg
{
  border-radius: 30px;
}



.xs_primeri__section_5
{
  margin-bottom: 90px;
}

.xs_primeri__section_5 h2
{
  font-size: 55px;
  line-height: 105%;
}

.xs_primeri__section_5__title
{
  margin-bottom: 50px;
}

.marquiz__container.marquiz__container_inline
{
  margin: 0 !important;
  width: 100% !important;
}

.xs_primeri__section_7
{
  margin-bottom: 50px;
}




.xs_primeri__section_7 h2
{
  font-size: 55px;
  line-height: 105%;
}

.xs_primeri__section_7 h2 span
{
  color: #F41818;
}





/* Обёртка каждой слайда — обязательно! */
.blog_slider .slick-slide {
  padding: 0 15px;
  box-sizing: border-box;
}

/* Убираем старый padding из .blog_item */
.blog_slider .blog_item {
  padding: 13px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #F4F4F4;
  position: relative;
}

/* Компенсируем общее смещение */
.blog_slider .slick-list {
  margin: 0 -10px;
}


.blog_slider .blog_item h3
{
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 120%;
  color: #1E3649;
  min-height: 48px;
  width: 70%;
}

.blog_item__excerpt
{
  font-size: 14px;
  line-height: 120%;
  color: #1E3649;
  margin-bottom: 26px;
  height: 68px;
  overflow: hidden;
}

.blog_item__thumb {
  width: 100%;
  height: 200px; /* можно изменить под нужную высоту */
  overflow: hidden;
  border-radius: 10px;
}

.blog_item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}


.blog_slider___nav svg
{
  width: 60px;
}

.project__item___slider___prev, .project__item___slider___next
{
  cursor: pointer;
}

.blog_slider___nav
{
  margin-top: 22px;
  display: flex;
  justify-content: space-around;
}

.blog_item__date
{
  position: absolute;
  right: 22px;
  top: 37px;
  color: #97A5B0;
  font-size: 14px;
  line-height: 120%;
}


.xs_primeri__section_5__title span
{
  color: #F41818;
}

.xs_primeri__section_info_banner
{
  padding: 35px 0;
  background-color: #F41818;
  margin-bottom: 90px;
}

.xs_primeri__section_info_banner h2
{
  color: #fff !important;
}


.primeri-template-template-primeri-single .xs_reklama_product_2___header_block_1___wrap
{
  background: none !important;
}