/*Слайдер на Главной*/
.banner__slider__slide {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
  }
  
.banner__slider__slide a {
  margin-top: auto;
}
  
@media only screen and (max-width: 1200px) {
  .banner__slider__slide {
    height: 370px;
    padding-bottom: 35px;
  }
  
  .calc__slide {
    padding-bottom: 35px;
    height: 370px; 
  } 
}
  
@media only screen and (max-width: 768px) {
  .banner__slider__slide {
    height: 280px;
    padding: 15px;
  }
  
  .calc__slide {
    height: 280px;
    padding: 15px;
  }
  
  .calc__slide h1 {
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 36px;
  }
  
  .calc__slide p.section__textMed {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 21px;
  }
  
  .wheels__slide h1 {
    margin-bottom: 15px;
    font-size: 34px;
    line-height: 38px;
  }
  
  .wheels__slide p {
    margin-bottom: 15px;
    line-height: 34px;
  }
  
  .workphoto__slide h1 {
    margin-bottom: 15px;
    font-size: 32px;
    line-height: 36px;
  }
  
  .workphoto__slide p {
    margin-bottom: 15px;
    font-size: 20px;
  }
}
  
@media only screen and (max-width: 568px) {
  .banner__slider {
    display: none;
  }
}
  
  
/*Блок Статьи*/

.nav__news__item__img img {
  vertical-align: top;
}
  
.news-wrapper {
  margin-bottom: 80px;
}
  
.news-wrapper h2 {
  margin-bottom: 60px;
}
  
.news-wrapper {
  display: none;
}
  
.news-wrapper .nav__news {
  flex-wrap: wrap;
  flex-direction: row;
  border-radius: unset;
  background-color: unset;
}
  
.news-wrapper .nav__news__item {
  width: 48%;
  margin-right: 4%;
  margin-bottom: 20px;
}
  
.news-wrapper .nav__news__item:nth-child(2n) {
  margin-right: 0;
}
  
.news-wrapper .nav__news__item__img img {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  height: 250px;
  object-fit: cover;
}
  
.news-wrapper .nav__news__item__text {
  flex-grow: 1;
  background-color: #f3f3f3;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
  
@media only screen and (max-width: 992px) {
  .news-wrapper {
    display: block;
  }
  
  .news-wrapper .nav__news {
    flex-direction: row;
  }

  .nav__news__item__text__inner {
    margin-top: auto;
  }
}
  
@media only screen and (max-width: 768px) {
  .news-wrapper {
    margin-bottom: 30px;
  }
  
  .news-wrapper h2 {
    margin-bottom: 45px;
  }
  
  .news-wrapper .nav__news__item__img img {
    height: 200px;
  }
}

@media only screen and (max-width: 568px) {
  .news-wrapper .nav__news {
    flex-direction: column;
  }

  .news-wrapper .nav__news__item {
    width: 100%;
    margin-right: 0;
  }
}

/*Блок Услуги*/

.service__links {
  display: none;
}

@media only screen and (max-width: 568px) {
  .service__container {
    display: none;
  }

  .service__button-next {
    display: none;
  }

  .service__button-prev {
    display: none;
  }

  .service__links {
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px 1px rgba(166, 166, 166, 0.25);
    background-color: #ffffff;
  }

  .service__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 5px 10px;
    border-bottom: 1px solid #e8e8e8;
  }

  .service__link p {
    font-size: 14px;
    line-height: 18px;
  }

  .service__slide__arrow {
    position: static;
    flex-shrink: 0;
    width: 70px;
    height: 52px;
    margin-left: 20px;
  }
}
