/* Only Parodontologie uses this anatomical photo presentation. */
.paro-photo-explorer .treatment-explorer-layout {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.paro-photo-explorer .explorer-figure {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #292219;
}
.paro-photo-explorer .paro-photo-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  background: #292219;
}
.paro-photo-explorer .paro-photo-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.paro-photo-explorer .paro-photo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.paro-photo-explorer .diagram-highlight { transition: opacity 300ms ease; }
.paro-photo-explorer .paro-photo-halo,
.paro-photo-explorer .paro-photo-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.paro-photo-explorer .paro-photo-halo { stroke: #473017; stroke-width: 9; stroke-opacity: .8; }
.paro-photo-explorer .paro-photo-trace {
  stroke: #efd19a;
  stroke-width: 4;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.paro-photo-explorer .diagram-highlight.is-active .paro-photo-trace {
  animation: paro-photo-trace 800ms cubic-bezier(.22,.61,.36,1) both;
}
@keyframes paro-photo-trace {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
.paro-photo-explorer .paro-photo-ai-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border: 0;
  background: #29231ded;
  color: #efe7db;
  font-size: 12px;
  line-height: 1.5;
}
.paro-photo-explorer .explorer-caption {
  display: block;
  margin: 0;
  padding: 22px 24px 25px;
  border-top: 1px solid #b59a6e66;
  border-left: 0;
}
.paro-photo-explorer .explorer-caption-title { font-size: 27px; }
.paro-photo-explorer .explorer-caption-text { font-size: 13px; }
.paro-photo-explorer .paro-photo-explanation {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #b59a6e55;
  color: #d4c7b7;
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 760px) {
  .paro-photo-explorer .treatment-explorer-layout { grid-template-columns: minmax(0, 1fr); }
  .paro-photo-explorer .explorer-figure { width: 100%; max-width: 600px; }
}
@media (max-width: 480px) {
  .paro-photo-explorer .explorer-caption { padding: 19px 20px 22px; }
  .paro-photo-explorer .explorer-caption-title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .paro-photo-explorer .diagram-highlight { transition: none; }
  .paro-photo-explorer .diagram-highlight.is-active .paro-photo-trace { animation: none; }
}
@media (forced-colors: active) {
  .paro-photo-explorer .paro-photo-ai-label { background: Canvas; color: CanvasText; }
  .paro-photo-explorer .paro-photo-trace { stroke: Highlight; }
  .paro-photo-explorer .paro-photo-halo { stroke: Canvas; }
}
