/* Product imagery stays fully framed; the lower image fades into readable copy. */
main .product-card.treatment-photo-card {
  display:flex; flex-direction:column; min-width:0; padding:0;
  overflow:hidden; isolation:isolate; background:#fff;
  border:1px solid #d5e3ed; border-radius:14px;
  box-shadow:0 8px 26px rgba(8,31,48,.08);
}
main .product-card.treatment-photo-card::before { display:none; }
main .product-card.treatment-photo-card > .treatment-card-photo {
  position:relative; display:block; flex:none; width:100%; height:auto;
  aspect-ratio:1; object-fit:contain; margin:0; border:0; border-radius:0;
}
main .treatment-photo-card > .treatment-card-copy {
  position:relative; z-index:1; flex:1; display:flex; flex-direction:column;
  margin-top:-128px; padding:88px 28px 30px;
  background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.93) 82px,#fff 145px);
}
main .treatment-photo-card .treatment-card-copy h3 {
  margin:0 0 12px; color:#081f30; font-family:var(--font-head);
  font-size:1.35rem; font-weight:700; line-height:1.3;
}
main .treatment-photo-card .treatment-card-copy p {
  margin:0 0 22px; color:#526479; font-size:.96rem; line-height:1.65;
}
main .treatment-photo-card .treatment-card-copy :is(.card-link,.card-link-hint) {
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  margin-top:auto; color:#0b2540; font-weight:700; text-decoration:none;
}
main .treatment-photo-card a:focus-visible { outline:3px solid #08758c; outline-offset:5px; border-radius:3px; }
main .treatment-photo-card:focus-within { border-color:#20a8c9; box-shadow:0 8px 28px #071b2e24,0 0 24px #35b4d152; }
@media(max-width:940px) { .treatment-photo-grid { width:100%; max-width:420px; margin-inline:auto; } }
@media(max-width:480px) {
  main .treatment-photo-card > .treatment-card-copy { padding-inline:22px; }
}
@media(prefers-reduced-motion:reduce) {
  main .product-card.treatment-photo-card { transition:none; }
  main .product-card.treatment-photo-card:hover { transform:none; }
}
