/* Recommended: preserve desktop >=1024 and all custom photo rules. */
/* ENSAYO: provider editorial cards only. No theme/global reset or photo cropping. */
body.single-service .bpv-scope .bpv-box {
  margin-block:1.5rem;
  padding:clamp(1rem,3vw,1.5rem);
  background:var(--bp-beige-bg,#f0f3ef);
  border:1px solid var(--bp-line,rgba(26,36,24,.10));
  border-radius:var(--bp-radius,8px);
}
body.single-service .bpv-scope .bpv-box > h2 { margin:0 0 1rem; }
body.single-service .bpv-scope .bpv-grid {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem;
}
body.single-service .bpv-scope .bpv-card {
  min-width:0; display:grid; grid-template-columns:2.5rem minmax(0,1fr);
  align-content:start; column-gap:.65rem; row-gap:.3rem;
  padding:1rem; background:var(--bp-white,#fff);
  border:1px solid var(--bp-line,rgba(26,36,24,.10)); border-radius:var(--bp-radius,8px);
}
body.single-service .bpv-scope .bpv-card > span[aria-hidden] {
  grid-column:1; grid-row:1 / span 2; font-size:1.3rem; line-height:1.4;
  font-weight:600; color:var(--bp-green-secondary,#4e6349); text-align:center;
}
body.single-service .bpv-scope .bpv-card > h3,
body.single-service .bpv-scope .bpv-card > p { grid-column:2; margin:0; text-align:left; overflow-wrap:anywhere; }
body.single-service .bpv-scope .bpv-card > p:empty {display:none;}

@media(max-width:767px) {
  body.single-service .bpv-scope .bpv-grid {grid-template-columns:minmax(0,1fr);gap:.75rem;}
  body.single-service .bpv-scope .bpv-box {padding:1rem;}
  /* Undo blanket centering only for editorial reading; headings/CTA retain branding. */
  body.single-service .bpv-scope .bp-section > p,
  body.single-service .bpv-scope .bp-section > ul > li,
  body.single-service .bpv-scope .bp-section > ol > li {text-align:left!important;}
}
@media(min-width:768px) and (max-width:1199px) {
 body.single-service .bpv-scope .bpv-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Social links and final provider call-to-action: alignment only. */
body.single-service .bpv-scope .bp-provider-social > ul.bp-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem 1.5rem;list-style:none!important;padding-left:0!important;margin:1rem 0}
body.single-service .bpv-scope .bp-provider-social > ul.bp-list > li{list-style:none!important;text-align:center!important;margin:0;padding-left:0!important}
body.single-service .bpv-scope .bp-provider-social > ul.bp-list > li::before{display:none!important;content:none!important}
body.single-service .bpv-scope .bp-cta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem}
body.single-service .bpv-scope .bp-cta .bp-cta-text{text-align:center;width:100%}
body.single-service .bpv-scope .bp-cta > .bp-btn{align-self:center;margin-left:auto;margin-right:auto}

body.single-service .bpv-scope .bp-section.bp-provider-social > p{text-align:center!important}

/* Intermediate provider photographs: fixed 4:5 crop on phones only. */
@media(max-width:768px){
 body.single-service figure.bp-intermediate-figure img{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:4/5!important;object-fit:cover!important;object-position:50% 40%!important}
}
