.jms-row.footer-up {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.jms-row.footer-up .services-row {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1fr 1.1fr;
  gap: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.jms-row.footer-up .services-row::before,
.jms-row.footer-up .services-row::after {
  display: none;
}

.jms-row.footer-up .service-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 72px;
  padding: 14px 18px;
  text-align: left;
}

.jms-row.footer-up .service-block:not(:last-child)::after {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  content: "";
  background: #d8d8d8;
}

.jms-row.footer-up .service-block > a {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  background: transparent;
  border-radius: 0;
}

.jms-row.footer-up .service-block > a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.jms-row.footer-up .service-block p {
  min-width: 0;
  margin: 0;
  color: #171717;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

.jms-row.footer-up .ProductService--title,
.jms-row.footer-up .ProductService--title a {
  color: #171717 !important;
}

@media (min-width: 1200px) {
  .jms-row.footer-up .service-block p {
    white-space: normal;
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .jms-row.footer-up .services-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jms-row.footer-up .service-block:nth-child(1),
  .jms-row.footer-up .service-block:nth-child(2) {
    border-bottom: 1px solid #e5e5e5;
  }

  .jms-row.footer-up .service-block:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .jms-row.footer-up .services-row {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .jms-row.footer-up .services-row::-webkit-scrollbar {
    display: none;
  }

  .jms-row.footer-up .service-block {
    flex: 0 0 calc(100vw - 64px);
    min-width: 260px;
    max-width: 360px;
    min-height: 70px;
    padding: 14px 20px;
    background: #fff;
    border: 0;
    border-right: 1px solid #e5e5e5;
    border-radius: 0;
    scroll-snap-align: start;
  }

  .jms-row.footer-up .service-block::after {
    display: none;
  }
}
