/* Photos and videos will be replaced with the clinic's supplied materials. */
.noviv-results { scroll-margin-top: 100px; }
.noviv-results__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.noviv-results__photo,
.noviv-results__videos { min-width: 0; }
body .noviv-v5 .noviv-results__subtitle {
  margin: 0 0 16px;
  color: #203342 !important;
  font-size: 22px;
  line-height: 1.3;
}
.noviv-compare {
  --comparison-position: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 365px;
  border: 1px solid #dce8ed;
  border-radius: 22px;
  background: #f0faff;
}
.noviv-compare__layer { position: absolute; inset: 0; }
.noviv-compare__layer > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.noviv-compare__layer--after { background: linear-gradient(140deg, #e3f6ff, #f3fbff); }
.noviv-compare__layer--before {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
  background: linear-gradient(140deg, #edf1f3, #f8fafb);
}
.noviv-compare__empty {
  position: absolute;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 45%;
  color: #52636e;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  transform: translateY(-50%);
}
.noviv-compare__layer--before .noviv-compare__empty { left: 2.5%; }
.noviv-compare__layer--after .noviv-compare__empty { right: 2.5%; }
.noviv-results svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.noviv-compare__empty svg { width: 42px; height: 42px; opacity: .65; }
.noviv-compare__badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  padding: 6px 13px;
  border-radius: 20px;
  background: #fff;
  color: #203342;
  font-size: 13px;
  line-height: 1.4;
}
.noviv-compare__badge--before { left: 18px; }
.noviv-compare__badge--after { right: 18px; }
.noviv-compare__divider {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 2px;
  background: var(--noviv-brand);
  transform: translateX(-50%);
  pointer-events: none;
}
.noviv-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--noviv-brand);
  color: #203342;
  box-shadow: 0 4px 16px rgba(32, 51, 66, .15);
  transform: translate(-50%, -50%);
}
.noviv-compare__handle svg { width: 25px; height: 25px; }
.noviv-compare input[type="range"] {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.noviv-compare:focus-within { outline: 3px solid #203342; outline-offset: 4px; }
body .noviv-v5 .noviv-results__hint { margin: 14px 0 4px; color: #203342 !important; font-size: 14px; line-height: 1.5; }
body .noviv-v5 .noviv-results__pending { margin: 0; color: #52636e !important; font-size: 14px; line-height: 1.5; }
.noviv-results__video-list { display: grid; gap: 14px; }
.noviv-results__video {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid #dce8ed;
  border-radius: 18px;
  background: #fff;
}
.noviv-results__video-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 100px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(var(--noviv-brand-rgb), .065);
  color: #52636e;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.noviv-results__video-placeholder svg { width: 27px; height: 27px; color: var(--noviv-brand); }
body .noviv-v5 .noviv-results__video h4 { margin: 0 0 6px; color: #203342; font-size: 18px; font-weight: 400; line-height: 1.3; }
body .noviv-v5 .noviv-results__video p { margin: 0; color: #52636e !important; font-size: 14px; line-height: 1.45; }
.noviv-results__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1023px) {
  .noviv-results__layout { grid-template-columns: 1fr; gap: 30px; }
  .noviv-results__video-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .noviv-results__video { grid-template-columns: 1fr; align-content: start; gap: 14px; }
  .noviv-results__video-placeholder { min-height: 118px; }
}
@media (max-width: 639px) {
  .noviv-compare { height: 280px; border-radius: 18px; }
  .noviv-compare__empty { font-size: 13px; }
  .noviv-compare__empty svg { width: 32px; height: 32px; }
  .noviv-compare__badge { top: 14px; }
  .noviv-compare__badge--before { left: 14px; }
  .noviv-compare__badge--after { right: 14px; }
  .noviv-results__video-list { grid-template-columns: 1fr; }
  .noviv-results__video { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .noviv-results__video-placeholder { min-height: 94px; padding: 8px; }
  body .noviv-v5 .noviv-results__video h4 { font-size: 17px; }
  body .noviv-v5 .noviv-results__video p { font-size: 13px; }
}
