/* Created by Content Blocks */
.frame-services {
  position: relative;
}

.online-services .services__item {
  background: rgb(var(--c-neutral-light));
  border-radius: var(--b-radius-m);
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: var(--f-weight-b);
  color: rgb(var(--c-neutral-darkest));
  z-index: 10;
  padding: 1rem;
}

.online-services .swiper-backface-hidden .swiper-slide:first-child {
  margin-left: 0.75rem;
}

.online-services .services__icon {
  position: relative;
  text-align: center;
  font-size: var(--f-size-l-5);
  color: rgb(var(--c-neutral-darkest));
  height: 60px;
  display: flex;
  justify-content: center;
}

.online-services .services__title {
  text-align: center;
}

.online-services .services__title h5 {
  color: rgb(var(--c-neutral-darkest));
  font-size: var(--f-size-l-1);
  font-family: var(--f-family);
  font-weight: var(--f-weight-b);
}

.online-services .services__slider {
  z-index: 1;

  & .swiper-slide {
    box-sizing: border-box;
    transition: padding ease 0.3s;
  }

  & .swiper-navigation {
    position: relative;
    top: auto;
    bottom: auto;
  }
}

.online-services .swiper-wrapper {
  display: flex;
  flex-direction: row;
}

.online-services div.services__slider {
  position: relative;
  padding-bottom: 50px;
}

@media (hover: hover) {
  .online-services .services__item:hover {
    background: rgb(var(--c-primary));
  }

    .online-services .services__item:hover .services__title h5,
    .online-services .services__item:hover .services__icon {
    color: rgb(var(--c-neutral-lightest));
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 640px) {
  .online-services {
    padding-bottom: 1rem;
  }
  
  .online-services .services__item {
    width: 180px;
  }

  .online-services div.swiper-button-next {
    right: 45%;
    transform: translateX(-45%);
  }
}

@media (min-width: 800px) {
  /* .online-services .swiper-slide {
    width: 1000px !important;
  } */

  .online-services .services__image img {
    display: block;
    height: 100% !important;
    object-fit: cover;
  }

  .online-services {
    padding-bottom: 3rem;
  }

  .online-services .services__item {
    width: 200px;
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .online-services .services__item {
    width: 220px;
    height: 220px;
  }

  .online-services .services__icon {
    height: 80px;
  }
}

@media (min-width: 1580px) {
  .online-services .services__item {
    width: 270px;
    height: 270px;
  }
}
