/* Interactive service-card tiles (whole card is the link). */
a.svc-card {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
a.svc-card:hover,
a.svc-card:focus-visible {
  transform: translateY(-5px);
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 16px 48px rgba(27, 104, 180, 0.22) !important;
  color: inherit !important;
  text-decoration: none !important;
}
a.svc-card:focus-visible {
  outline: 2px solid #2E8AF6 !important;
  outline-offset: 3px !important;
}
a.svc-card .svc-name,
a.svc-card .svc-desc {
  color: inherit !important;
  text-decoration: none !important;
}
a.svc-card .svc-name {
  color: #ffffff !important;
}
/* Remove legacy title-only link chrome if any remain. */
.svc-link {
  color: inherit !important;
  text-decoration: none !important;
}
.svc-link::after {
  content: none !important;
}
/* 8 service cards (services-grid--8, added by functions/_middleware.js): 4 + 4 on wide screens,
   2 x 4 from 601-1023px, 1 column on phones (index.html's own rule) — no orphan tile. */
@media (min-width: 1024px) {
  .services-grid--8 { grid-template-columns: repeat(4, 1fr); }
  .services-grid--8 a.svc-card { padding: 24px; }
}
a.svc-card .svc-name .nw { white-space: nowrap; }
@media (min-width: 601px) and (max-width: 1023px) {
  .services-grid--8 { grid-template-columns: 1fr 1fr; }
}
