:root { --wp--custom--spacing--outer: 0px; }

/* убирает белые отступы между секциями */
.wp-block-post-content > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
:where(.wp-site-blocks) > footer {     margin-block-start: 0 !important;
}


/* липкий хедер*/
.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 9999;
}


/* карусель на мобилке */
@media (max-width: 768px) {
  .wp-block-coblocks-gallery-carousel,
  .wp-block-coblocks-gallery-carousel .coblocks-gallery-carousel-swiper-container,
  .wp-block-coblocks-gallery-carousel .has-carousel,
  .wp-block-coblocks-gallery-carousel .swiper-container,
  .wp-block-coblocks-gallery-carousel .swiper-wrapper,
  .wp-block-coblocks-gallery-carousel .swiper-slide,
  .wp-block-coblocks-gallery-carousel .coblocks-gallery--item,
  .wp-block-coblocks-gallery-carousel .coblocks-gallery--item img,
  .wp-block-coblocks-gallery-carousel .coblocks-gallery--figure {
    height: 260px !important;
    max-height: 260px !important;
  }
}

/* Мобильное меню — центрирование многострочных пунктов */
.wp-block-navigation__responsive-container.is-menu-open 
.wp-block-navigation-item__content {
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.wp-block-navigation__responsive-container.is-menu-open 
.wp-block-navigation-item {
  width: 100% !important;
  justify-content: center !important;
}

.wp-block-navigation__responsive-container.is-menu-open 
.wp-block-navigation__submenu-container {
  width: 100% !important;
  align-items: center !important;
}


/* Убрать подчеркивание всех ссылок */
a {
    text-decoration: none;
}

/* Убирает border у конентной части табов на странице projects */
.uagb-block-e54750f2.uagb-tabs__hstyle1-desktop > .uagb-tabs__body-wrap {
    border: none !important;
    border-radius: 0 !important;
}

/* Убирает отступы у конентной части табов на странице projects */
.uagb-block-e54750f2 .uagb-tabs__body-container {
    padding: 0 !important;
}