/* Homepage service cards, scoped to this section. */
.home-services--cards{background:var(--stone);}
.home-services--cards .home-svc-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
}
.home-services--cards .home-svc-row,
.home-services--cards .home-svc-row:nth-child(even){
  display:flex;flex-direction:column;min-width:0;gap:0;
  background:#f8f4ec;border:1px solid #dfd2be;border-radius:18px;
  box-shadow:0 5px 18px rgba(52,42,56,.045);
  transition:transform .25s ease,box-shadow .25s ease;
}
.home-services--cards .home-svc-row:hover{
  transform:translateY(-4px);box-shadow:0 12px 26px rgba(52,42,56,.1);
}
.home-services--cards .home-svc-media,
.home-services--cards .home-svc-row:nth-child(even) .home-svc-media{
  order:0;flex:none;width:100%;min-height:0;aspect-ratio:1.6;
}
.home-services--cards .home-svc-media img{width:100%;height:100%;object-fit:cover;}
.home-services--cards .home-svc-body{
  flex:1;min-height:190px;padding:22px 20px 20px;
  display:flex;flex-direction:column;justify-content:flex-start;
}
.home-services--cards .home-svc-body h3{
  margin:0 0 10px;color:#164859;font-size:1.2rem;line-height:1.35;font-weight:400;
}
.home-services--cards .home-svc-body p{
  margin:0 0 24px;color:#576c79;font-size:.9rem;line-height:1.65;
}
.home-services--cards .home-svc-explore{
  align-self:flex-start;display:inline-flex;align-items:center;gap:7px;
  margin-top:auto;color:#bd4a26;text-decoration:none;
  font-family:Arial,Helvetica,sans-serif;font-size:.8rem;font-weight:600;line-height:1.6;
}
.home-services--cards .home-svc-explore:hover{color:#8f3519;text-decoration:underline;text-underline-offset:4px;}
.home-services--cards a:focus-visible{outline:2px solid var(--copper);outline-offset:5px;border-radius:2px;}
@media(min-width:1024px){
  .home-services--cards .home-svc-row:last-child:nth-child(3n + 1){grid-column:2;}
}
@media(max-width:1023px){
  .home-services--cards .home-svc-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
}
@media(max-width:639px){
  .home-services--cards .home-svc-list{grid-template-columns:minmax(0,1fr);gap:22px;}
  .home-services--cards .home-svc-body{min-height:175px;}
}
@media(prefers-reduced-motion:reduce){
  .home-services--cards .home-svc-row,
  .home-services--cards .home-svc-media img{transition:none;}
  .home-services--cards .home-svc-row:hover,
  .home-services--cards .home-media:hover .home-img{transform:none;}
}
