.directory-services { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.directory-services a {
  --wash:#e5f6ef;
  --accent:#a6d6bf;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:14px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--wash) 20%,var(--accent));
  color:#203039;
  font-size:15px;
  font-weight:600;
}
.directory-services a::before {
  content:"";
  position:absolute;
  z-index:-1;
  width:84px;
  height:84px;
  top:-30px;
  right:-32px;
  border:12px solid #ffffff56;
  border-radius:50%;
}
.directory-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  background:#ffffffdb;
  border-radius:12px;
  box-shadow:0 3px 0 var(--accent),0 5px 9px #233d4714;
  transform:rotate(-5deg);
}
.directory-services a:nth-child(2) { --wash:#fff0e7; --accent:#f1b69a }
.directory-services a:nth-child(3) { --wash:#eaf4ff; --accent:#a6c8f0 }
.directory-services a:nth-child(4) { --wash:#fff5dc; --accent:#e7cb89 }
.directory-services a:nth-child(5) { --wash:#f3edff; --accent:#cab4ec }
.directory-services a:nth-child(6) { --wash:#def6f6; --accent:#94d0d3 }
.directory-services a:is(:hover,:focus-visible) { text-decoration:none; box-shadow:inset 0 0 0 2px var(--accent); }
.directory-services a:is(:hover,:focus-visible) .directory-icon { transform:rotate(0); }
.directory-services a:focus-visible { outline:2px solid #185266; outline-offset:2px; }
@media (max-width:800px) { .directory-services { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:480px) { .directory-services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
