/* Homepage service cards retain their layout with explicit text links. */
.page-index .services .service-link {
  position: static;
  width: fit-content;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  justify-self: start;
  align-self: end;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-index .services .service-link img {
  flex-shrink: 0;
}

.page-index .services .service-panel-body p,
.page-index .services .service-panel-body .service-list {
  padding-right: 0;
}

@media (min-width: 1280px) {
  .page-index .hero-benefits {
    justify-content: space-between;
    gap: 0.8rem 0.65rem;
  }

  .page-index .hero-benefits li {
    display: contents;
  }

  .page-index .hero-benefits li:not(:last-child)::after {
    display: block;
    margin: 0;
    flex: 0 0 4px;
  }
}

@media (max-width: 1279px) {
  .page-index .hero-content {
    grid-template-areas:
      "main"
      "scroll";
  }

  .page-index .hero-benefits {
    display: none;
  }
}
