/* Service photography, with shared framing and calm image motion. */
.service-photo{position:relative;display:block;margin:0;overflow:hidden;min-width:0;background:var(--soft);border:1px solid var(--line);border-radius:5px}
.service-photo>img{display:block;width:100%;height:auto;max-width:100%;filter:none;transition:transform 1.4s cubic-bezier(.2,.65,.3,1)}
.service-photo:hover>img{transform:scale(1.035)}
.service-detail-photo{margin-top:30px}
.service-detail-photo>img{aspect-ratio:auto}
.service-card{--service-picture-padding:26px;min-width:0;overflow:hidden;padding:var(--service-picture-padding);border-radius:5px}
.service-card-photo{width:calc(100% + var(--service-picture-padding)*2);max-width:none;margin:calc(-1*var(--service-picture-padding)) calc(-1*var(--service-picture-padding)) 24px;border:0;border-bottom:1px solid var(--line);border-radius:0}
.service-card-photo>img{aspect-ratio:2.55;object-fit:cover;object-position:center 36%}
.service-card[data-service-id="pnp"] .service-card-photo>img{object-position:center 44%}
.service-card .card-category{margin-bottom:19px}
.service-card:hover .service-card-photo>img{transform:scale(1.035)}
.service-card:focus-within{border-color:var(--red)}
.path-card{--path-picture-inline:23px;--path-picture-block:26px;overflow:hidden}
.service-path-photo{width:calc(100% + var(--path-picture-inline)*2);max-width:none;margin:calc(-1*var(--path-picture-block)) calc(-1*var(--path-picture-inline)) 24px;border:0;border-bottom:1px solid var(--line);border-radius:0}
.service-path-photo>img{aspect-ratio:2.35;object-fit:cover;object-position:center 36%}
.path-card:hover .service-path-photo>img{transform:scale(1.035)}
.study-steps>article{min-width:0;padding-top:0;border-top:3px solid var(--red)}
.service-study-photo{width:100%;margin-bottom:25px;border:0;border-radius:0 0 5px 5px}
.service-study-photo>img{aspect-ratio:514/323;object-fit:cover}
.study-steps .step-number{margin-bottom:19px}
.planning-guidance-links{display:flex;flex-wrap:wrap;gap:12px 18px}
@media(min-width:761px) and (max-width:1100px){
  .service-card{--service-picture-padding:23px}
}
@media(max-width:760px){
  .service-card{--service-picture-padding:23px}
  .service-detail-photo{margin-top:24px}
}
@media(prefers-reduced-motion:reduce){
  .service-photo>img{transition:none}
  .service-photo:hover>img,.service-card:hover .service-card-photo>img,.path-card:hover .service-path-photo>img{transform:none}
}
@media print{.service-photo{break-inside:avoid;box-shadow:none}}
