@media (min-width: 868px) {

  /* Фолбек пока свайпер не инициализируется */
  .employees:not(.swiper-initialized) .swiper-wrapper {
    --cols: 2;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(var(--cols), 1fr);
    gap: 18px;
  }
}

@media (min-width: 968px) {
  .employees:not(.swiper-initialized) .swiper-wrapper {
    gap: 28px;
  }
}

@media (min-width: 1000px) {
  .employees:not(.swiper-initialized) .swiper-wrapper {
    --cols: 3;
  }
}

@media (min-width: 1250px) {
  .employees:not(.swiper-initialized) .swiper-wrapper {
    --cols: 4;
  }
}

@media (max-width: 1550px) {
  .links-list__item {
    width: 50%;
  }

  .links-list__item:nth-child(2) {
    margin-right: 0;
  }

  .links-list__item:nth-child(3) {
    display: none;
  }

  .links-list {
    max-width: 560px;
  }

  .error {
    margin-top: 50px;
  }

  .error__img {
    max-width: 500px;
    margin-bottom: 70px;
  }

  /* Картинки новостей на этом брейкпоинте растягиваем по ширине,
     чтобы узкие варианты (340px) не оставляли блюр со всех сторон */
  .news-list__img img {
    width: 100%;
    max-width: 100%;
  }

  .root-nav>li {
    margin-right: 40px;
  }
}

@media (max-width: 1360px) {
  .inner__wrapper {
    padding: 0 20px;
  }

  .breadcrumbs-list {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .documents-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .documents-sidebar {
    display: none;
  }

  .documents-category-dropdown {
    display: block;
  }

  .documents-sidebar__nav {
    padding: 15px 0;
  }
}

@media (max-width: 900px) {
  .news-list__img {
    width: 320px;
    max-width: 320px;
  }

  .news-list__img-wrapper {
    width: 320px;
  }

  .news-list__img img {
    max-width: 320px;
  }
}

@media (max-width: 1280px) {
  .contacts-items__block:first-child {
    flex-shrink: 0;
    width: 100%;
  }

  .news-list__img {
    width: 380px;
    max-width: 380px;
  }

  .news-list__img-wrapper {
    width: 380px;
  }

  .news-list__img img {
    max-width: 380px;
  }
}

@media (max-width: 1250px) {

  .industry__list {
    grid-template-columns: 1fr 1fr;
  }

  .root-nav {
    min-height: 50px;
  }

  .root-nav>li {
    font-size: 14px;
    line-height: 50px;
    margin-right: 20px;
  }

  .links__list {
    gap: 18px 70px;
  }

  .footer__logo {
    max-width: 380px;
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 50px;
  }

  .contacts-items__row {
    margin-right: 0;
  }

  .industry__item_centered {
    grid-column: unset;
  }
}

@media (max-width: 1024px) {

  .header__top-wrapper {
    display: block;
    border-bottom: none;
  }

  .header__menu_btn {
    display: block;
    top: 30px;
  }

  .header__rightbar {
    display: none;
    background: #F8F8F8;
    margin-left: -25px;
    width: calc(100% + 50px);
    padding-left: 25px;
    justify-content: flex-end;
    padding-right: 25px;
    box-sizing: border-box;
    padding-top: 17px;
    padding-bottom: 17px;
    margin-top: 12px;
  }

  .header__rightbar_active {
    display: flex;
  }

  .header__socials-list {
    border-left: 0;
  }

  .vi {
    padding: 0 19px 0 0;
    position: absolute;
    left: 25px;
  }

  .search-btn {
    border-right: 0.6px solid #E6E6E6;
    box-sizing: content-box;
    height: 37px;
    width: 37px;
    /* padding: 0 19px; */
    position: absolute;
    left: 78px;
    margin: 0 0px 0 0px;
  }

  @media (max-width: 425px) {
    .search-btn {
      margin: 0 0px 0 -5px;
    }
  }

  .header__call {
    margin-left: 0;
  }

  .header__bottom {
    display: none;
  }

  .header__bottom_active {
    display: block;
    box-shadow: none;
  }

  .header__bottom-wrapper {
    padding: 0px 25px;
    padding-bottom: 20px;
  }

  .root-nav {
    margin-top: 10px;
  }

  .root-nav>li {
    margin-bottom: 0;
    display: block;
    height: auto;
    margin-right: 0;
    font-size: 17px;
    line-height: 54px;
  }

  .root-nav>li span {
    display: flex;
  }

  .root-nav>li>.sub-menu-active {
    column-gap: 0;
    column-count: 1;
    position: relative;
    left: 0;
    transform: translate3d(0, 0px, 0px);
    background: none;
    padding: 0;
    padding-left: 20px;
    width: 100%;
    max-height: 100%;
    overflow-y: unset;
  }

  .root-nav>li .sub-menu-active li {
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 16px;
  }

  .root-nav>li .sub-menu-active ul {
    display: none;
  }

  .root-nav .sub-menu-active {
    display: block !IMPORTANT;
  }

  .root-nav .sub-menu-active .sub-item-active-span {
    color: #4F5450;
  }

  .root-nav .sub-menu-active .sub-item-active-span::before {
    display: none;
  }

  .root-nav .sub-menu-active .sub-item-active-span::after {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../images/right.svg);
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    background-position: center;
    margin-left: 20px;
    transform: rotate(90deg);
  }

  .root-nav span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .root-nav span::after {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../images/right.svg);
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    background-position: center;
    margin-left: 20px;
  }

  .root-nav>li .sub-item-active-span {
    color: #4BA55E;
    /*   justify-content: flex-start; */
  }

  /*  .root-nav > li .sub-item-active-span::before {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(../images/right.svg);
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    background-position: center;
    transform: rotate(180deg);
    margin-right: 12px;
  }
  */

  .root-nav>li .sub-item-active-span::after {
    /* display: none; */
    transform: rotate(90deg);
  }

  .root-nav>li .sub-menu-active li span {
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 0;
  }

  .root-nav .sub-menu-active .sub-menu-active {
    padding-left: 20px;
    padding-top: 20px;
  }

  .root-nav .sub-menu-active .sub-menu-active li {
    margin-bottom: 20px;
  }

  .header__bottom-wrapper {
    padding: 0px 20px;
    padding-bottom: 20px;
  }

  .lead__swiper-title {
    font-size: 28px;
    line-height: 130%;
    margin: 0 0 22px;
  }

  .lead__swiper-subtitle {
    font-size: 14px;
    line-height: 150%;
  }

  .lead__swiper .swiper-slide {
    min-height: 660px;
  }

  .swiper-slide__container {
    padding-top: 50px;
    min-height: 450px;
    padding-bottom: 120px;
  }

  .links-list__content {
    padding: 27px 18px 19px;
  }

  .links-list__text {
    font-size: 13px;
    line-height: 19px;
  }

  .lead__swiper-content {
    margin-right: 25px;
  }

  .links-list__content {
    opacity: 1;
  }

  .news-list__title {
    font-size: 20px;
    margin: 0 0 15px;
  }

  .news-list__subtitle {
    margin: 0 0 30px;
    font-size: 16px;
  }

  .news-list__content {
    margin-right: 30px;
  }

  .contacts-items__row {
    grid-template-columns: minmax(100px, 200px) 1fr;
    gap: 10px 30px;
  }

  .contacts-items__info {
    grid-column: 2 / 3;
    justify-self: start;
  }

  /* На этом брейкпоинте тоже тянем новостные картинки по всей ширине контейнера,
     чтобы кешированные узкие версии (290px) не оставляли блюр со всех сторон */
  .news-list__img img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .header__bottom_fixed {
    position: relative;
    overflow: scroll;
    max-height: 500px;
    padding-bottom: 100px;
  }

  .header_fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
    left: 0;
    display: block;
    background: #fff;
  }

}

@media (max-width: 868px) {

  .links__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .documents {
    padding: 36px 0 43px;
  }

  .documents__heading .btn__primary_gray {
    display: none;
  }

  .documents .btn__mobile {
    display: flex;
    max-width: 149px;
    margin: 52px 0 0;
    min-width: 210px;
  }

  .documents__heading {
    margin: 0 0 34px;
  }

  .brands {
    padding: 34px 0 60px;
  }

  .links-list__item {
    margin-right: 0;
    width: 100%;
  }

  .links-list__item:nth-child(2) {
    display: none;
  }

  .links-list {
    max-width: 250px;
  }

  .complex__content {
    grid-template-columns: 1fr;
  }

  .complex__banner {
    margin-bottom: 45px;
  }

  .footer__navlist {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 30px;
  }

  .employees .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .structure-list__img {
    height: auto;
    object-fit: contain;
    width: 100%;
  }

  .news-list__date {
    margin-right: 25px;
  }

  .news-list__content {
    margin-right: 25px;
  }

  .news-list__subtitle {
    margin: 0 0 25px;
    font-size: 14px;
  }

  .documents-list__title {
    font-size: 16px;
  }

  .documents-list__item::after {
    max-width: 339px;
  }

  .error__img {
    max-width: 420px;
    margin-bottom: 50px;
  }

  .error__title {
    font-size: 30px;
  }

  .error__subtitle {
    font-size: 16px;
    max-width: 600px;
  }

  .inner__article {
    display: block;
  }

  .inner__article .inner__date {
    display: none;
  }

  .inner__date {
    display: block;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 21px;
  }

  .developer {
    align-items: flex-start;
  }

}

@media (max-width: 768px) {
  .header__rightbar .socials-list {
    display: none;
  }

  .header__bottom-wrapper .header__socials-list {
    display: flex;
    margin-bottom: 20px;
    border-left: 0;
    border-right: 0;
    margin-top: 45px;
    justify-content: center;
  }

  /* Попапы в шапке на мобилке открываются вверх */
  .header__socials-list .social-qr-popup {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 10px;
  }

  .header__logo {
    max-width: 290px;
  }

  .complex__title {
    font-size: 22px;
  }

  .complex__banner-content {
    padding: 50px 50px 50px 50px;
  }

  .industry__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .industry__item {
    margin-bottom: 9px;
  }

  .swiper-pagination {
    white-space: nowrap;
  }

  .swiper-pagination .swiper-pagination-bullet {
    width: 4vw;
  }

  .links-slider {
    padding: 34px 0 34px;
  }



  .footer__open-nav {
    padding: 0;
  }

  .footer__open-nav svg {
    margin-left: 22px;
  }

  .footer__nav {
    border-bottom: 0.6px solid #FFFFFF;
    padding-bottom: 22px;
  }

  .footer__navlist {
    background: none;
    border-bottom: none;
    gap: 0;
    margin-top: 44px;
    padding: 0;
  }

  .footer__navitem {
    margin-bottom: 32px;
  }

  .footer__navitem span {
    font-weight: 600;
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 18px;
  }

  .footer__sublist {
    background: #20273A;
    padding: 16px 20px;
  }

  .footer__sublist .footer__navitem {
    color: #F8F8F8;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 16px;
  }

  .footer__sublist .footer__navitem:last-child {
    margin-bottom: 0;
  }

  .footer__navlist_opened {
    display: block;
  }

  .footer__sublist .footer__navitem span {
    color: #F8F8F8;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 0;
  }

  .footer__sublist .footer__sublist {
    padding: 16px 20px 12px 20px;
  }

  .footer__sublist {
    display: none;
  }

  .footer__sublist.sub-menu-active {
    display: block !IMPORTANT;
  }

  .footer__navlink {
    position: relative;
  }

  .sub-item-active-span {
    position: relative;
  }

  .footer__navlist .sub-item-active-span {
    color: #4BAC6C;
  }

  .footer__sublist .footer__navitem span.sub-item-active-span {
    color: #4BAC6C !IMPORTANT;
  }

  .footer__navlist span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer__navlist span::after {
    display: block;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url('../images/down.svg');
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    background-position: center;
  }

  .footer__navlist span.sub-item-active-span::after {
    background-image: url('../images/up.svg');
  }

  .footer__navlist .footer__navitem .footer__sublist .footer__navitem span {
    display: flex;
  }

  .footer__navlink_inner {
    display: none;
  }

  .employees .swiper-wrapper {
    display: block;
  }

  .employee {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .structure-list__item {
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: 255px minmax(300px, 946px);
    gap: 30px;
    background: #F8F8F8;
    border-radius: 10px;
    min-height: 324px;
  }

  .inner__title-filter .inner__title-label {
    display: none;
  }

  /* .inner__title-filter .inner__title-label.recolored{
    display: block;
  } */

  .inner__title-filter svg {
    margin-left: 0;
  }

  .inner__title-filter {
    margin-left: 20px;
  }

  .news-list__item {
    margin-bottom: 37px;
  }

  .news-list__article {
    padding-top: 24px;
    display: block;
  }

  .news-list__date {
    display: inline-block;
    font-weight: 600;
    font-size: 12.9362px;
    line-height: 120%;
    margin-bottom: 33px;
  }

  .news-list__content {
    margin-right: 0;
  }

  .news-list__title {
    font-size: 20px;
    line-height: 130%;
    margin: 0 0 20px;
  }

  .news-list__subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 22px;
  }

  .news-list__author {
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 171%;
  }

  .news-list__img {
    max-width: 100%;
    width: 100%;
  }

  .news-list__img-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .form-search {
    grid-template-columns: 1fr;
  }

  .inner-filter__result span {
    display: block;
  }


}

@media (max-width: 650px) {
  .swiper-slide__container .links-list {
    display: none;
  }

  .lead__swiper .swiper-slide {
    min-height: 650px;
  }

  .swiper-slide__container {
    padding-top: 40px;
    min-height: 360px;
    padding-bottom: 120px;
  }

  .useful-links {
    padding: 35px 0 138px;
    min-height: 850px;
  }

  .useful__swiper {
    height: 100%;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .useful-links__wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .useful-links__title {
    font-size: 20px;
    line-height: 135%;
    margin-bottom: 56px;
  }

  .useful-links__title svg {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .useful__swiper .swiper-slide {
    padding: 0;
    min-height: calc(100% / 5) !important;
    padding-top: 24px;
    display: block;
    height: auto !IMPORTANT;
  }

  .useful__name {
    font-size: 14px;
    line-height: 157%;
    margin: 0 0 22px;
  }

  .useful__link {
    font-size: 12px;
    line-height: 122%;
  }

  .useful-links .swiper__controls {
    margin-top: 0;
  }

  .footer__bottom {
    display: block;
    padding: 36px 0 30px;
  }

  .footer__logo {
    margin-bottom: 41px;
  }

  .footer__logo-img {
    max-width: 305px;
    width: 100%;
    margin: 0 auto;
  }

  .footer__adress {
    margin: 0 auto 14px;
    padding: 0;
    display: block;
    text-align: center;
    list-style-position: inside;
  }

  .footer__adress_item {
    margin: 0px 0 14px;
  }

  .footer__contacts {
    margin: 0 0 14px;
  }

  .footer__contact {
    margin: 0 0 14px;
  }

  .footer__contacs-link {
    justify-content: center;
  }

  .socials-list {
    justify-content: center;
  }

  .developer {
    display: block;
    text-align: center;
    max-width: 220px;
    margin: 0 auto;
  }

  .copyright {
    font-size: 10px;
    line-height: 150%;
    margin-bottom: 43px;
  }


  .structure-list__item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 17px 20px 0;
  }

  .structure-list {
    margin-left: -20px;
    width: calc(100% + 40px);
  }

  .structure-list__img-wrap {
    border-radius: 10px;
  }

  .structure-list__img {
    position: relative;
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .structure-list__content {
    padding: 20px 0;
    max-width: 100%;
  }

  .structure-list__name {
    font-size: 20px;
    line-height: 140%;
  }

  .structure-list__subtitle {
    font-size: 14px;
    line-height: 129%;
  }

  .structure-list__link {
    font-size: 14px;
    line-height: 157%;
  }

  .structure-list__people-title {
    margin-top: 22px;
    padding-top: 22px;
    font-size: 18px;
    line-height: 156%;
  }

  .structure-list__people {
    margin-top: 44px;
  }

  .employee {
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .employee:last-child {
    margin-bottom: 0;
  }

  .employee.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .employee__info,
  .employee__info_second {
    padding: 0 20px 10px;
    top: calc(100% - 95px);
  }

  .employee__title {
    font-size: 18px;
    line-height: 22px;
    min-height: 60px;
    max-width: 100%;

  }

  .employee__text {
    font-size: 18px;
    line-height: 167%;
    margin: 0 0 24px;
  }

  .employee__contact {
    font-size: 18px;
    line-height: 122%;
  }

  .employees .swiper-pagination {
    display: none;
  }

  .pagination {
    margin: 44px 0 0;
    justify-content: center;
  }

  .documents-list__content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .documents-list__type {
    max-width: 50%;
  }

  .documents-list__date {
    position: absolute;
    margin: 0;
    right: 0;
    top: 0;
  }

  .links__icon-container .documents-list__date {
    position: static;
    display: block;
    margin: 0;
  }

  .documents-list__type {
    max-width: 50%;
    display: flex;
  }

  .documents-list__icon {
    margin-right: 6px;
  }

  .documents-list__title {
    font-size: 14px;
    line-height: 140%;
  }

  .documents-list__item::after {
    max-width: 100%;
  }

  .documents-list__item {
    margin-bottom: 16px;
  }

  .error__img {
    max-width: 320px;
    margin-bottom: 40px;
  }

  .order__fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .file-input__subtitle {
    display: none;
  }

  .contacts-items__row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 0px;
    margin-bottom: 0;
    margin-left: 14px;
    margin-right: 14px;
  }

  .contacts-items__row:first-child {
    border-bottom: 0;
  }

  .contacts-items {
    padding: 19px 0;
  }

  .contacts-items__info {
    grid-column: 1;
    justify-self: start;
    display: block;
  }

  .contacts__list {
    margin: 32px 0 0 0;
  }

  .contacts-items__block {
    margin-bottom: 10px;
  }

  .contacts-items__block:last-child {
    margin-bottom: 0;
  }

  .contacts__list-item_active .contacts__list-head {
    padding: 25px 14px;
    padding-bottom: 0;
  }

  .contacts__list-item_active .contacts__list__title {
    font-size: 18px;
    line-height: 130%;
  }

  .contacts__list-head {
    padding: 25px 14px;
  }

  .contacts__list_sector {
    padding: 25px 14px 0 14px;
  }

  .pages__list li a {
    font-size: 14px;
    line-height: 140%;
  }

  .social-qr-popup {
    left: 20px;
  }

}

@media (max-width: 425px) {
  .header__top-wrapper {
    display: block;
    padding: 13px 20px;
    border-bottom: none;
  }

  .header__logo {
    max-width: 210px;
  }

  .header__rightbar {
    margin-left: -20px;
    width: calc(100% + 40px);
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-end;
  }

  .vi {
    left: 20px;
  }

  .search-btn {
    /* left: 72px; */
  }

  .header__menu_btn {
    top: 17px;
  }

  .lead__wrapper {
    padding: 0 20px;
  }

  .lead__swiper .swiper-slide {
    min-height: 610px;
  }

  .swiper-slide__container {
    padding: 0 13px;
    padding-top: 13px;
    padding-bottom: 145px;
    display: block;
  }

  .lead__swiper-navigation {
    max-width: 94px;
    height: 80px;
  }

  .lead__swiper-title {
    font-weight: 800;
    font-size: 24px;
    line-height: 33px;
    margin: 0 0 12px;
  }

  .lead__swiper-subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
  }

  .lead__swiper-controls {
    min-height: 80px;
  }

  .lead__swiper_wrapper {
    padding: 0 20px;
  }

  .lead .btn__primary_gray {
    min-width: 128px;
  }

  .lead .swiper {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    max-height: 610px;
  }

  .btn {
    font-weight: 500;
    font-size: 14px;
    line-height: 135%;
  }

  .complex {
    padding: 20px 20px 60px;
  }

  .complex__banner-content {
    padding: 102px 17px 37px 17px;
  }

  .complex__title {
    font-size: 18px;
    line-height: 25px;
    margin: 0 0 34px;
  }

  .complex__banner {
    margin-bottom: 38px;
  }

  .complex .btn__primary_gray {
    min-width: 124px;
  }

  .complex__subtitle {
    font-size: 18px;
    line-height: 138%;
    margin: 0 0 0;
  }

  .complex__content {
    gap: 20px;
  }

  .complex__text {
    font-size: 14px;
    line-height: 135%;
  }

  .links-slider__wrapper {
    padding: 0 20px;
  }

  .swiper-line_top,
  .swiper-line_bottom {
    display: none;
  }

  .swiper__controls {
    margin-top: 30px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 34px;
    height: 34px;
  }

  .industry {
    padding: 32px 0 42px;
  }

  .industry__wrapper {
    padding: 0 20px;
  }

  .industry__title {
    font-size: 20px;
    line-height: 135%;
    margin: 0 0 45px;
  }

  .industry__link {
    padding: 14px 22px 15px 22px;
    font-size: 13px;
    line-height: 169%;
  }

  .industry__link svg {
    width: 40px;
    height: 40px;
    margin-right: 29px;
    min-width: 40px;
  }

  .links__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .documents__wrapper {
    padding: 0 20px;
  }

  .documents__title {
    font-size: 20px;
    line-height: 135%;
    margin: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
  }

  .documents__title-icon {
    display: block;
    width: 40px;
    height: 40px;
    margin-right: 14px;
    min-width: 14px;
  }

  .links__icon-wrapper {
    width: 18px;
    height: 18px;
    padding: 1px 3px;
    background: none;
    border-radius: 0;
    margin-right: 11px;
  }

  .links__icon-container {
    margin-right: 11px;
  }

  .links__icon-container .links__icon-wrapper {
    margin-right: 0;
    margin-bottom: 6px;
  }

  .links__icon-container .documents-list__date {
    position: static;
    display: block;
    margin: 0;
  }

  .links__link {
    font-size: 14px;
    line-height: 157%;
    align-items: flex-start;
  }

  .documents .btn__primary_gray {
    max-width: 149px;
    margin: 32px auto 0;
    min-width: 100px;
  }

  .brands__wrapper {
    padding: 0 20px;
  }

  .brands .swiper__controls {
    margin-top: 32px;
  }

  .footer {
    padding: 34px 0 34px;
  }

  .footer__wrapper {
    padding: 0 20px;
  }

  .breadcrumbs-list {
    padding: 0 20px;
  }

  .breadcrumbs {
    padding: 24px 0 24px;
  }

  .inner {
    padding: 22px 0 100px;
  }

  .inner__wrapper {
    padding: 0 20px;
  }

  .documents-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .documents-sidebar {
    display: none;
  }

  .documents-category-dropdown {
    display: block;
  }

  .documents-sidebar__link {
    padding: 10px 15px;
    font-size: 14px;
  }

  .inner__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    margin: 0 0 22px;
  }

  .inner__filter {
    margin-top: 38px;
  }

  .form-search__input {
    font-size: 14px;
    line-height: 19px;
    padding-left: 14px;
  }

  .form-search__btn {
    width: 18px;
    height: 18px;
  }

  .form-search__main {
    padding-bottom: 26px;
  }

  .form-search__filter {
    padding: 0 0 23px;
  }

  .form-search__filter-head {
    font-size: 14px;
    line-height: 19px;
  }

  .form-search__filter-count {
    width: 21px;
    height: 21px;
    font-size: 13px;
    line-height: 16px;
  }

  .inner__content p {
    font-size: 14px;
    line-height: 150%;
  }

  .inner__content {
    font-size: 14px;
    line-height: 150%;
  }

  .inner__content blockquote {
    font-size: 14px;
    line-height: 150%;
  }

  .inner__content h1 {
    font-size: 20px;
  }

  .inner__content h2 {
    font-size: 18px;
  }

  .inner__content h3 {
    font-size: 16px;
  }

  .inner__content h4 {
    font-size: 14px;
  }

  .inner__content h5 {
    font-size: 14px;
  }

  .inner__content h6 {
    font-size: 14px;
  }

  .inner-filter__result {
    font-size: 14px;
    line-height: 157%;
  }

  .inner-filter__wrapper {
    margin-bottom: 30px;
  }

  .inner-filter__btn {
    font-size: 13px;
    margin-right: 15px;
  }

  .inner-filter__btn-reset {
    font-size: 13px;
    line-height: 22px;
  }

  .filter-search__filter-item {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 13px;
  }

  .inner__filter {
    margin-bottom: 44px;
  }

  .error {
    margin-top: 38px;
  }

  .error__img {
    margin-bottom: 52px;
  }

  .error__title {
    font-size: 26px;
    line-height: 100%;
    margin: 0 0 40px;
  }

  .error__subtitle {
    font-size: 18px;
    line-height: 160%;
    margin: 0 0 40px;
  }

  .inner__content img {
    margin-bottom: 32px;
  }

  .inner__image-wrapper {
    margin-bottom: 32px;
    overflow: visible;
  }

  .inner__image-bg {
    display: none;
  }

  .inner__image-wrapper img {
    width: 100%;
    max-width: 100%;
  }

  .inner__content .inner__article p {
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
  }

  .inner__subtite {
    font-size: 14px;
    line-height: 140%;
    margin-bottom: 44px;
  }

  .order__input {
    margin-bottom: 32px;
  }

  .file-input {
    margin-bottom: 44px;
  }

  .order__checkbox-text p {
    font-size: 12px;
    line-height: 114%;
  }

  .order__checkbox-inner {
    align-items: flex-start;
  }

  .contacts__list__title {
    font-size: 16px;
    line-height: 175%;
  }

  .news-list__img-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .news-list__img-bg {
    display: block;
  }

  .news-list__img img {
    position: relative;
    z-index: 1;
    /* На маленьких экранах всегда тянем картинку по ширине контейнера,
       чтобы не оставался блюр со всех сторон у узких кешированных версий (290px и т.п.) */
    width: 100%;
    height: auto !important;
    max-width: 100%;
  }


  /* .structure-list__item {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 17px 20px 0;
  }

  .structure-list {
    margin-left: -20px;
    width: calc(100% + 40px);
  }

  .structure-list__img-wrap {
    border-radius: 10px;
  }

  .structure-list__img {
    position: relative;
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .structure-list__content {
    padding: 20px 0;
    max-width: 100%;
  }

  .structure-list__name {
    font-size: 20px;
    line-height: 140%;
  }

  .structure-list__subtitle {
    font-size: 14px;
    line-height: 129%;
  }

  .structure-list__link {
    font-size: 14px;
    line-height: 157%;
  }

  .structure-list__people-title {
    margin-top: 22px;
    padding-top: 22px;
    font-size: 18px;
    line-height: 156%;
  }

  .structure-list__people {
    margin-top: 44px;
  }

  .employee {
    border-radius: 10px;
    margin-bottom: 24px;
  }

  .employee:last-child {
    margin-bottom: 0;
  }

  .employee.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .employee__info {
    padding: 0 20px 10px;
    top: calc(100% - 95px);
  }

  .employee__title {
    font-size: 18px;
    line-height: 25px;
    min-height: 60px;
    max-width: 280px;
  }

  .employee__text {
    font-size: 18px;
    line-height: 167%;
    margin: 0 0 24px;
  }

  .employee__contact {
    font-size: 18px;
    line-height: 122%;
  }

  .employees .swiper-pagination {
    display: none;
  } */
}

/* Адаптив для фильтра новостей */
@media (max-width: 1024px) {
  .inner__title-wrapper {
    margin-bottom: 40px;
    gap: 15px;
  }

  .news-filter {
    gap: 12px;
  }

  .news-filter__search {
    min-width: 180px;
  }

  .news-filter__date-wrapper {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .inner__title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 20px;
  }

  .news-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    width: 100%;
  }

  .news-filter__toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    border: 1px solid #878787 !important;
    color: #253027 !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    background-color: #fff !important;
    padding: 8px 40px 8px 12px !important;
    cursor: pointer;
    transition: border-color 0.2s;
  }

  .news-filter__toggle-btn:hover {
    border-color: #4BAC6C !important;
  }

  .news-filter__toggle-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
    position: absolute;
    right: 12px;
    color: #878787;
  }

  .news-filter__toggle-btn:hover .news-filter__toggle-icon {
    color: #4BAC6C;
  }

  .news-filter--active .news-filter__toggle-icon {
    transform: rotate(180deg);
  }

  .news-filter__content {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .news-filter--active .news-filter__content {
    display: flex;
  }

  .documents-category-select {
    padding: 8px 40px 8px 12px !important;
    font-size: 14px !important;
    line-height: 22px !important;
    font-weight: 600 !important;
    border: 1px solid #878787 !important;
    color: #253027 !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23878787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-position: right 12px center !important;
  }

  .documents-category-select:hover {
    border-color: #4BAC6C !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%234BAC6C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }

  .documents-category-select option {
    color: #253027;
    font-weight: 400;
  }

  .documents-category-select option:checked {
    color: #4BAC6C;
    font-weight: 600;
  }

  .news-filter__date-wrapper {
    width: 100%;
    flex: 1 1 100%;
  }

  .news-filter__search {
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
  }

  .news-filter__buttons {
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    width: 100%;
  }

  .news-filter__filter-btn,
  .news-filter__reset-btn {
    flex: 1 1 auto;
    min-width: calc(50% - 7.5px);
  }
}

@media (max-width: 650px) {
  .inner__title-wrapper {
    margin-bottom: 24px;
    gap: 16px;
  }

  .news-filter {
    gap: 12px;
  }

  .news-filter__content {
    gap: 12px;
  }

  .news-filter__date-wrapper {
    order: 0;
  }

  .news-filter__search {
    order: 1;
  }

  .news-filter__buttons {
    order: 2;
    gap: 12px;
  }

  .news-filter__reset-btn {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }

  .news-filter__filter-btn {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }

  .social-qr-popup {
    left: 20px;
  }
}

@media (max-width: 425px) {
  .inner__title-wrapper {
    margin-bottom: 20px;
    gap: 12px;
  }

  .news-filter {
    gap: 10px;
  }

  .news-filter__filter-btn,
  .news-filter__reset-btn {
    padding: 8px;
    font-size: 13px;
  }

  .social-qr-popup {
    left: 42%;
    transform: translateX(-50%);
  }
}


/* cookie-consent */
@media (max-width: 480px) {
  #cookie-consent .popup__container {
    padding: 12px 14px;
    margin: 8px;
  }

  #cookie-consent .popup__subtitle {
    line-height: 150%;
    margin: 0 0 14px;
    font-size: 12px;
  }

  #cookie-consent .cookie-consent__checks {
    gap: 8px;
    margin: 0 0 10px;
  }

  #cookie-consent .btn__primary {
    min-width: auto;
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* BVI fix */

.bvi-active .header__socials-list .social-list__icon .max-icon path {
  fill: #fff !important;
}

.bvi-active .footer__socials-list .social-list__icon .max-icon path {
  fill: #fff !important;
}

.bvi-active .news-filter__filter-btn svg path {
  stroke: #000 !important;
}

body.bvi-body[data-bvi-theme=white] .socials-list .social-list__icon path {
  fill: #000000 !important;
}

.bvi-body .news-list__img-bg {
  filter: grayscale(100%) blur(5px) !important;
  opacity: 0.3;
}