@media (max-width: 1399px) {
  .header__menu ul a {
    padding: 0.625rem 0.625rem;
  }
  .news__banner {
    min-height: 550px;
  }
  .header__social{
    width: 190px;
    padding:0.75rem 1rem;
    /*padding: 0.5rem 0.5rem;*/
    /*justify-items: center;*/
  }
}
@media (max-width: 1199px) {
  .header__menu_mobile ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  .header__menu_mobile ul li {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(22, 22, 22, 0.4);
  }
  .header__menu_mobile ul li a {
    color: var(--black);
    font-size: 1.125rem;
  }
  .header__second-menu {
    margin-bottom: 1.25rem;
  }
  .header__second-menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }
  .header__second-menu ul li {
    width: 50%;
    border: none;
    padding: 0.25rem;
  }
  .header__search-form {
    position: absolute;
    top: -5px;
    right: 0;
    display: none;
    width: 300px;
    z-index: 2;
  }
  .card__title-big {
    font-size: 1.375rem;
  }
  .order-sidebar {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .order-sidebar .card {
    height: 100%;
  }
  .card__item_mini {
    padding: 0.625rem 0;
  }
  .news__title {
    padding: 0 1.875rem;
  }
  .news__banner {
    min-height: 450px;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "A A" "B C" "B D" "B E";
  }
}
@media (max-width: 991px) {
  .card__title-big {
    font-size: 1.25rem;
  }
  .map {
    height: 340px;
    margin-top: 1.875rem;
  }
  .news__banner {
    min-height: 400px;
  }
}
@media (max-width: 767px) {
  .header {
    padding-top: 1rem;
  }
  .header__social {
    padding: 0.625rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "A" "B" "C" "D" "E";
  }
  .news h1 {
    font-size: 1.5rem;
  }
  .news__banner {
    min-height: 350px;
  }
}
@media (max-width: 575px) {
  .header__search-btn, .header__burger, .search-form__btn {
    width: 40px;
    height: 40px;
  }
  .header__search-form {
    width: 275px;
  }
  .header__menu_mobile {
    padding: 3.75rem 1.25rem 1.875rem;
  }
  .header__burger_right.opened {
    top: 10px;
    right: 10px;
  }
  .btn {
    width: 100%;
    max-width: 100%;
  }
  .btn_gray {
    padding: 0.625rem;
  }
  .header .social {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header .social a {
    margin: 0 0.375rem;
  }
  .footer__menu li {
    margin-bottom: 0.75rem;
  }
  .footer {
    padding: 1.875rem 0;
  }
  .popup-form-callback {
    --popup-width: 340px;
  }
  textarea {
    height: 120px;
  }
  .acceptance {
    font-size: 0.875rem;
  }
  .news h1 {
    font-size: 1.25rem;
  }
  .news__title {
    padding: 0 1rem;
    bottom: 1rem;
  }
  .card {
    padding: 1rem;
  }
  .slider_video {
    padding-bottom: 3.125rem;
  }
  .slider-wrapper .slider_video .slick-arrow {
    bottom: 0;
  }
}