.custom-button-next:hover,
.custom-button-prev:hover,
.related-slider .article-item__category:hover,
.related-slider .article-item__title:hover {
  opacity: 0.7;
}
swiper-container::part(container) {
  padding-bottom: 40px;
}
swiper-container::part(bullet-active) {
  background: rgba(0, 0, 0);
}
swiper-slide {
  height: auto;
}
.slider {
  position: relative;
}
.custom-button-next,
.custom-button-prev {
  position: absolute;
  top: var(--swiper-navigation-top-offset, 48%);
  max-width: 70px;
  width: 100%;
  height: 55px;
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
  z-index: 10;
  cursor: pointer;
  background: #000;
}
.custom-button-next .icon-svg,
.custom-button-prev .icon-svg {
  color: #fff;
  width: 30px;
  height: 24px;
  position: absolute;
  z-index: 15;
  top: 15px;
  left: 20px;
  transition: 0.25s;
}
.custom-button-next .icon-svg {
  transform: rotateY(180deg);
  left: 15px;
}
.custom-button-next .background-svg,
.custom-button-prev .background-svg {
  position: relative;
  color: #fff;
  z-index: 10;
  transition: 0.25s;
}
.custom-button-prev {
  right: var(--swiper-navigation-sides-offset, -35px);
  left: auto;
}
.custom-button-next {
  left: var(--swiper-navigation-sides-offset, -35px);
  right: auto;
}
@media screen and (max-width: 1290px) {
  .custom-button-prev {
    right: var(--swiper-navigation-sides-offset, 0);
  }
  .custom-button-next {
    left: var(--swiper-navigation-sides-offset, 0);
  }
}
.slider-footer-img {
  position: absolute;
  bottom: -1px;
  z-index: 20;
}
.slider-footer-img img {
  display: block;
}
.slider .slider-caption {
  text-align: center;
}
.slider .slider-caption h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}
.slider .slider-caption p {
  font-size: 18px;
  margin-bottom: 20px;
}
.slider .testimonial-slide {
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.slider .testimonial-slide .quote {
  font-weight: 400;
  font-size: 20px;
  min-height: 180px;
  margin: 20px 0;
}
.slider .testimonial-slide .rating {
  margin-bottom: 20px;
  margin-top: auto;
}
.slider .testimonial-slide .name {
  font-weight: 600;
}
.slider .testimonial-slide .logo-wrap {
  max-width: 120px;
}
.slider .testimonial-slide .logo-wrap img {
  width: 100%;
  height: auto;
}
.related-slider .wrapper {
    position: relative;
  }
.related-slider .slider-caption h3 {
  text-align: right;
  line-height: 1.2;
}
.related-slider .article-item__img-wrap {
  overflow: hidden;
  max-height: 183px;
}
.related-slider .article-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 545px) {
    .related-slider .custom-button-next,
    .related-slider .custom-button-prev {
        top: -15px !important;
    }
}
.related-slider .custom-button-next,
.related-slider .custom-button-prev {
  top: 25px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #949494;
  color: #666;
  border-radius: 8px;
  max-width: 35px;
}
.related-slider .custom-button-next .icon-svg,
.related-slider .custom-button-prev .icon-svg {
  color: #666;
  position: static;
  width: 18px;
  height: 14px;
}
.related-slider .swiper-button-disabled {
  border-color: #afafaf78;
}
.related-slider .swiper-button-disabled .icon-svg {
  color: #afafaf;
}
.related-slider .custom-button-next {
  left: 24px;
}
.related-slider .custom-button-prev {
  left: 80px;
  right: auto;
}
.related-slider swiper-container::part(container) {
  padding: 0;
}
.related-slider .article-item__category {
  color: #404040;
  font-size: 14px;
  font-weight: 400;
  margin: 10px 0;
  transition: 0.25s;
}
.related-slider .article-item__title {
  color: #404040;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  transition: 0.25s;
  margin: 20px 0;
}
a {
  color: inherit;
}
/* Стили для слайдера статей */
.article-item__title a {
  color: #fff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-item__title a:hover {
  color: #f97316 !important;
}

.article-item__image-link img {
  margin: 0 !important;
}
