.header-bg {
  object-fit: cover;
  object-position: top -250px left 0;
  width: 100vw;
  height: 400px;
  margin: 0 0 20px 0;
}

.header {
  background-color: #FFFFFFE5;
}

.header-mover {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: calc(var(--containerWidth) + 30px);
  margin: 0 auto;
  padding: 0 15px;
}

.menu {
  position: unset;
  column-gap: 32px;
  padding: 15px;
  border-radius: 15px;
  background-color: #ffffff;
  top: 130px !important;
}

.menu,
.search-input {
  margin: 0 0 20px 0;
}

.tabs-aligner>.container {
  display: flex;
}

.today {
  display: flex;
  justify-content: space-between;
  column-gap: 2%;
  max-height: 460px;
}

.today .slider {
  flex: 0 0 58%;
}

.today .links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 5%;
}

.today__right .news-item {
  max-height: 218px;
}

.deputy-activity {
  height: 358px;
  display: flex;
  column-gap: 2%;
}

.deputy-activity .slider {
  flex: 1 1 50%;
}

.deputy-activity__right {
  display: flex;
  flex-direction: column;
  row-gap: 5.6%;
  flex: 1 1 50%;
}

.popular-pages .news-item__title {
  font-size: 17px;
}

.blue-row {
  color: #fff;
  font-size: 17px;
  line-height: 20.72px;
  background-color: #82b0e0;
}

.blue-row .container {
  display: flex;
  column-gap: 15px;
  justify-content: space-around;
}

.blue-row__item {
  padding: 60px 0;
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.blue-row__item img {
  border-radius: 100px;
  width: 66px;
  height: 66px;
  object-fit: cover;
}

.party-lables {
  display: flex;
  justify-content: space-between;
}

.party-lables img {
  max-height: 75px;
}

.useful-links {
  text-align: center;
}

.useful-links img {
  display: block;
  height: 87px;
  margin: 0 auto;
  /*filter: grayscale(100%);*/
}

.useful-links .carousel__slide {
  background-color: #fff;
}

.useful-links .carousel__arrows {
  position: static;
  margin: 0;
  transform: none;
}

@media (max-width: 1200px) {
  .header-mover {
    max-width: 100% !important;
  }

  .menu {
    max-width: calc(100% - 30px) !important;
  }
}

@media (max-width: 992px) {
  .deputy-activity {
    flex-wrap: wrap;
    height: auto;
    gap: 14px;
  }

  .deputy-activity .slider {
    flex: 100%;
  }

  .deputy-activity__right {
    flex: 100%;
    row-gap: 14px;
  }

  .deputy-activity__right .news-item {
    height: 120px;
  }

  .deputy-activity__right .news-item_small .news-item__img {
    flex: 0 0 40.33%;
  }

  .deputy-activity__right .news-item_small .news-item__title {
    font-size: 16px;
    line-height: 18.82px;
  }

  .header-bg {
    object-position: center;
  }

  .today {
    gap: 12px;
    flex-wrap: wrap;
    max-height: none;
  }

  .today .slider {
    flex: 100%;
  }

  .today .links {
    row-gap: 12px;
    flex: 100%;
  }
}

@media (max-width: 769px) {
  .blue-row {
    padding: 20px 0;
    font-size: 15px;
    line-height: 18.72px;
  }

  .blue-row .container {
    flex-direction: column;
  }

  .header-bg {
    height: 260px;
  }

  .blue-row__item {
    padding: 10px 0;
  }

  .today__content {
    flex-direction: column;
  }
}

.slider-component,
.carousel-component {
  display: none;
}

/* Скрыть компонент Carousel на мобильных устройствах */
@media (max-width: 991px) {
  .carousel-component {
    display: none;
  }

  .slider-component {
    display: block;
  }

  .useful-links--desktop {
    display: none;
  }

  .useful-links--mobile {
    display: block;
  }
}

/* Скрыть компонент Slider на десктопных устройствах */
@media (min-width: 992px) {
  .slider-component {
    display: none;
  }

  .carousel-component {
    display: block;
  }

  .useful-links--desktop {
    display: block;
  }

  .useful-links--mobile {
    display: none;
  }
}

.menu.act {
  margin-top: 189px;
} 