/**
 * Frontend styles for the serve block.
 */
:root {
  --cyan: #13b8ea;
  --ink: #111827;
  --line: #ebf2fa;
  --icon: #415c82;
}

.serve {
  background: #fff;
}

.serve .container {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--ink);
}

.serve h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.serve h2 span {
  color: var(--cyan);
}

.serve .grid-block {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  text-align: center;
}

.serve h3 {
  font-size: 1rem;
  height: 3rem;
  margin: 0 0.5rem;
}

.serve p {
  margin: 0 0 0.25rem;
  font-weight: bold;
}

.serve article {
  position: relative;
  height: 120px;
  padding-top: 0.5rem;
}

.serve article img {
  height: 60px;
  display: block;
  margin: auto;
}

.serve article .icon {
  height: 60px;
  display: block;
  margin: auto;
  color: var(--icon);
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.serve .grid-block article::after {
  content: "";
  display: block;
  width: 2px;
  background-color: var(--line);
  height: 100%;
  position: absolute;
  bottom: 0;
  right: -1rem;
}

.serve .grid-block article:last-child::after {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .serve .grid-block {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .serve .grid-block article::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .serve .grid-block {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 576px) {
  .serve .container {
    padding: 2rem 1rem;
  }
  .serve .grid-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
