/* Homepage service cards. The images and links are editable on the Home page. */
.home-services .agp-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.home-services .agp-service-card{display:flex;min-width:0;flex-direction:column;overflow:hidden;border:1px solid #d4e5eb;border-radius:23px;background:#fff;box-shadow:0 12px 34px rgba(5,27,42,.055);transition:border-color .2s,box-shadow .2s,transform .2s}
.home-services .agp-service-card:hover{transform:translateY(-4px);border-color:#8bdff0;box-shadow:0 20px 46px rgba(5,27,42,.11)}
.home-services .agp-service-image{display:block;overflow:hidden;aspect-ratio:3/2;margin:14px 14px 0;border-radius:16px;background:#eaf8f8}
.home-services .agp-service-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .35s ease}
.home-services .agp-service-card:hover .agp-service-image img{transform:scale(1.025)}
.home-services .agp-service-content{display:flex;flex:1;flex-direction:column;padding:19px 22px 22px}
.home-services .agp-service-content h3{margin:0 0 8px;font-size:clamp(1.17rem,1.7vw,1.4rem);line-height:1.25;letter-spacing:-.025em}
.home-services .agp-service-content h3 a:hover,.home-services .agp-service-content h3 a:focus-visible{color:#007fa0}
.home-services .agp-service-content p{flex:1;margin:0 0 20px;color:#4c6471;font-size:.96rem;line-height:1.55}
.home-services .agp-service-button{display:inline-flex;align-self:flex-start;align-items:center;justify-content:flex-start;min-height:47px;width:max-content;max-width:100%;padding:10px 15px;border:1px solid #a2eaf7;border-radius:12px;background:#eafbff;color:#006f8e;font-size:.91rem;font-weight:800;line-height:1.25;text-align:left;transition:background .2s,border-color .2s,color .2s}
.home-services .agp-service-button:hover,.home-services .agp-service-button:focus-visible{border-color:#0bc6f2;background:#0bc6f2;color:#052235}
.home-services .agp-service-button span[aria-hidden="true"]{display:none}
.home-services .agp-service-image:focus-visible,.home-services .agp-service-content h3 a:focus-visible,.home-services .agp-service-button:focus-visible{outline:3px solid #08a9d0;outline-offset:3px}
@media(max-width:1050px){.home-services .agp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}}
@media(max-width:640px){
  .home-services .agp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-services .agp-service-card{border-radius:17px}
  .home-services .agp-service-image{aspect-ratio:4/3;margin:8px 8px 0;border-radius:12px}
  .home-services .agp-service-content{padding:12px 10px 11px}
  .home-services .agp-service-content h3{font-size:.96rem;line-height:1.25;overflow-wrap:anywhere}
  .home-services .agp-service-content p{font-size:.78rem;line-height:1.4;margin-bottom:12px;overflow-wrap:anywhere}
  .home-services .agp-service-button{min-height:44px;padding:8px 9px;font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){.home-services .agp-service-card,.home-services .agp-service-image img,.home-services .agp-service-button{transition:none}.home-services .agp-service-card:hover,.home-services .agp-service-card:hover .agp-service-image img{transform:none}}
