/* V12.4 — Videoteca propia con portadas entregadas por la clínica */
#video-carousel.single-video .video-track {
  justify-content: center;
  overflow-x: hidden;
  scroll-snap-type: none;
  padding-bottom: 28px;
}
#video-carousel.single-video .owned-video-card {
  flex: 0 1 clamp(245px, 26vw, 330px);
  max-width: 330px;
  opacity: 1;
  transform: none;
  filter: none;
}
.owned-local-video-card .video-preview {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #082d3b;
  border: 1px solid #a8cbc7;
  box-shadow: 0 12px 32px rgba(0, 28, 42, .22);
}
.owned-local-video-card .video-cover {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #edf3ef;
}
.owned-local-video-card .video-card-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 31, 43, .58), transparent 37%);
}
.owned-local-video-card .owned-play {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  color: #fff;
  background: rgba(4, 58, 72, .58);
  backdrop-filter: blur(9px);
  box-shadow: 0 5px 24px rgba(0,0,0,.18);
  transition: transform .25s ease, background-color .25s ease;
}
.owned-local-video-card .video-card-open:hover .owned-play,
.owned-local-video-card .video-card-open:focus-visible .owned-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 132, 145, .88);
}
.owned-local-video-card .watch-label {
  position: absolute;
  left: 23px;
  bottom: 19px;
  font: 600 11px/1 var(--sans);
  letter-spacing: .02em;
  color: #fff;
}
.owned-local-video-card .video-card-open:focus-visible {
  outline: 3px solid #7bd2cc;
  outline-offset: -5px;
}
#video-player video.local-featured-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #001722;
}
.video-dialog-controls[hidden] { display: none !important; }
.video-dialog .video-dialog-head h2 {
  max-width: 390px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
}
@media (max-width: 600px) {
  #video-carousel.single-video .owned-video-card {
    flex-basis: min(78vw, 310px);
    max-width: 310px;
  }
  .owned-local-video-card .owned-play { width: 52px; height: 52px; }
  .owned-local-video-card .watch-label { left: 17px; bottom: 16px; }
  .video-dialog .video-dialog-head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .owned-local-video-card .owned-play { transition: none; }
}
/* V14.65: control de arrastre y avance continuo compartido; no usar snap durante auto-scroll. */
.owned-carousel.editorial-loop .video-track{scroll-snap-type:none;scroll-behavior:auto;overscroll-behavior-x:contain;user-select:none;-webkit-user-select:none;cursor:grab;}
.owned-carousel.editorial-loop .video-track.is-dragging{cursor:grabbing;}
.owned-carousel.editorial-loop .video-track.is-dragging .video-card-open{cursor:grabbing;}
