.service-category {
  min-width: 0;
  padding: 30px 30px 44px;
  background: #f6f6f6;
}

.service-category__title {
  margin: 0;
  color: var(--color-ink);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.01;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.service-category__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 627px;
  gap: 5px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.service-category__item {
  display: flex;
  min-width: 0;
}

@media (max-width: 999px) {
  .service-category__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .service-category {
    padding: 20px;
  }

  .service-category__title {
    font-size: 22px;
  }

  .service-category__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }
}

@media (max-width: 359px) {
  .service-category__items {
    grid-template-columns: minmax(0, 1fr);
  }
}
