.spyserviceblock {
  width: 100%;
  margin: 32px 0 0;
  padding: 18px 0;
  background: #f5f7f9;
  border-top: 1px solid #e4e8ed;
  border-bottom: 1px solid #e4e8ed;
}

.spyserviceblock__inner {
  width: 100%;
}

.spyserviceblock__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.spyserviceblock__item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 16px;
  position: relative;
}

.spyserviceblock__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: #e4e8ed;
}

.spyserviceblock__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  color: #1645d8;
}

.spyserviceblock__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spyserviceblock__content {
  min-width: 0;
}

.spyserviceblock__title {
  margin: 0 0 3px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  color: #151515;
}

.spyserviceblock__text {
  font-size: 13px;
  line-height: 1.35;
  color: #444;
}

@media (max-width: 1199px) {
  .spyserviceblock__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spyserviceblock__item::after {
    display: none;
  }

  .spyserviceblock__item {
    border-right: 1px solid #e4e8ed;
    border-bottom: 1px solid #e4e8ed;
  }

  .spyserviceblock__item:nth-child(3n) {
    border-right: 0;
  }

  .spyserviceblock__item:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .spyserviceblock {
    margin-top: 22px;
    padding: 12px 0;
  }

  .spyserviceblock__grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 4px;
  }

  .spyserviceblock__item {
    padding: 14px 12px;
    gap: 10px;
  }

  .spyserviceblock__item:nth-child(3n) {
    border-right: 1px solid #e4e8ed;
  }

  .spyserviceblock__item:nth-child(2n) {
    border-right: 0;
  }

  .spyserviceblock__item:nth-last-child(-n+2) {
    border-bottom: 1px solid #e4e8ed;
  }

  .spyserviceblock__item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
    justify-content: center;
  }

  .spyserviceblock__icon {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
  }

  .spyserviceblock__title {
    font-size: 13px;
  }

  .spyserviceblock__text {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .spyserviceblock__grid {
    grid-template-columns: 1fr;
  }

  .spyserviceblock__item,
  .spyserviceblock__item:nth-child(2n),
  .spyserviceblock__item:nth-child(3n),
  .spyserviceblock__item:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid #e4e8ed;
  }

  .spyserviceblock__item:last-child {
    grid-column: auto;
    justify-content: flex-start;
    border-bottom: 0;
  }
}
