.online-services {
  position: relative;
  border-bottom: 2px solid rgb(var(--c-neutral-lightest))
}

.service__item {
  position: relative;
}

.service__image {
  position: relative;
  overflow: hidden;
}

.service__item img {
  max-width: inherit;
  transition: transform ease 0.3s;
  width: 100%;
  object-fit: cover;
  transform: scale(1.01);
  height: 100%;
}

.online-services .swiper-button-next,
.online-services .swiper-button-prev {
  background-color: rgba(var(--c-primary), .8);
  width: 35px;
  height: 50px;
}

.online-services .swiper-button-next {
  right: 0;
}

.online-services .swiper-button-prev {
  left: 0;
}

.service__title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: .3rem 1rem;
  font-size: var(--f-size-l-1);
  text-transform: uppercase;
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.online-services a[rel="noreferrer"]::after {
  right: 4rem;
  position: absolute;
  top: 0.25rem;
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  z-index: 10;
  background-color: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  .service__item:hover .service__title {
    background-color: rgb(var(--c-secondary));
  }

  .service__item:hover img {
    transform: scale(1.2);
  }
}

@media (min-width: 480px) {
  .online-services .swiper-slide {
    width: 50%;
  }
}

@media (min-width: 800px) {
  .online-services .swiper-slide {
    width: 33.33%;
  }
}

@media (min-width: 1280px) {
  .online-services .swiper-button-next,
  .online-services .swiper-button-prev {
    width: 50px;
    height: 75px;
  }

  .online-services .swiper-slide {
    width: 25%;
  }
}
