/* Match the homepage service card icons to the hero pricing ribbons. */
#service-offerings .home-service-card .home-service-icon > svg {
  display: none !important;
}

#service-offerings .home-service-card .home-service-icon::before {
  display: block;
  width: 21px;
  height: 21px;
  content: "";
  background: currentColor;
  -webkit-mask: var(--nsa-home-service-icon) center / contain no-repeat;
  mask: var(--nsa-home-service-icon) center / contain no-repeat;
}

#service-offerings .home-service-card:nth-child(1) .home-service-icon {
  --nsa-home-service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 9v12h14V9'/%3E%3Cpath d='M9 21v-7h6v7'/%3E%3C/svg%3E");
}

#service-offerings .home-service-card:nth-child(2) .home-service-icon {
  --nsa-home-service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='6.8' cy='8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='12' cy='5.8' rx='1.7' ry='2.1'/%3E%3Cellipse cx='17.2' cy='8' rx='1.7' ry='2.1'/%3E%3Cpath d='M6 16.5c0-2.7 2.6-4.9 6-4.9s6 2.2 6 4.9c0 1.5-1 2.5-2.4 2.5-1 0-2.1-.8-3.6-.8s-2.6.8-3.6.8C7 19 6 18 6 16.5Z'/%3E%3C/svg%3E");
}

#service-offerings .home-service-card:nth-child(3) .home-service-icon {
  --nsa-home-service-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7c28e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/* Align the desktop price strips and restore the action row to its shared baseline. */
@media (min-width: 1001px) {
  #service-offerings .home-service-card:nth-child(2) .home-service-price,
  #service-offerings .home-service-card:nth-child(3) .home-service-price {
    margin-top: 20px !important;
  }

  #service-offerings .home-service-card:nth-child(2) .home-card-actions,
  #service-offerings .home-service-card:nth-child(3) .home-card-actions {
    margin-top: 0 !important;
  }
}
