/* Companion models on their treatment pages. */
.veneer-model-link {
  display: grid;
  grid-template-columns: clamp(108px, 11vw, 150px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  margin: 26px 0 20px;
  color: inherit;
  text-decoration: none;
}
.veneer-model-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #393831;
}
.veneer-model-image > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.veneer-model-credit {
  position: absolute;
  left: 6px;
  top: 6px;
  border-radius: 20px;
  padding: 3px 7px;
  color: #3e352d;
  background: #faf6ef;
  font: 500 10px/1.4 var(--sans);
}
.veneer-model-text { display: grid; gap: 8px; line-height: 1.55; }
.veneer-model-text > strong {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.veneer-model-text > span { font-size: .92rem; }
.veneer-model-link:focus-visible {
  outline: 2px solid #ddc29a;
  outline-offset: 5px;
}
.steps > .treatment-3d {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: clamp(16px, 3vw, 40px);
  background: #f7f4ee;
}
.treatment-3d .clinical-studies, .treatment-3d .study-model {
  margin: 0;
  padding: 0;
  border: 0;
}
.treatment-3d .study-model > h3 {
  margin: 0 0 10px;
  font: 500 clamp(27px, 2.8vw, 40px)/1.15 var(--serif);
}
.treatment-3d .study-intro { margin-bottom: 20px; }
.treatment-3d .treatment-files h4 {
  margin: 0 0 12px;
  color: #292522;
  font: 500 clamp(24px, 2.3vw, 32px)/1.2 var(--serif);
}
.treatment-3d .treatment-files p { margin: 0 0 12px; }
.treatment-3d .treatment-study-references { font-size: .83rem; }
.treatment-3d .treatment-study-references a, .treatment-3d .studio-topic-link a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.treatment-3d .studio-topic-link { margin: 20px 0 0; }
