/* Optional dealer video. Existing guest/photo/contact styles stay intact. */
.cd-guest .guest-video-slot { min-width: 0; }
.cd-guest .guest-dealer-video {
  min-width: 0; margin: 26px 20px 0; overflow: hidden;
  border: 1px solid #e5dbea; border-radius: 16px;
  background: #5a3676;
  box-shadow: 0 5px 20px #34214308;
}
.cd-guest .guest-video-poster {
  position: relative; display: grid; place-items: center; width: 100%;
  aspect-ratio: 16 / 9; min-height: 140px; overflow: hidden;
  background: radial-gradient(ellipse at 95% 0%,#a482b862,transparent 64%),linear-gradient(125deg,#3c244f 0%,#5a3676 55%,#846397 100%);
  color: white; text-decoration: none;
}
.guest-video-poster::before { content: ''; position: absolute; width: 130%; height: 140%; left: 13%; top: 25%; border: 1px solid #ffffff20; border-radius: 50%; transform: rotate(-22deg); box-shadow: 0 0 0 32px #ffffff04,0 0 0 64px #ffffff04; pointer-events: none; }
.guest-video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guest-video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,#21142b05,#21142b45); pointer-events: none; }
.cd-guest .guest-video-play-icon {
  z-index: 1; display: grid; place-items: center; width: 54px; height: 54px;
  border: 1px solid #ffffff80; border-radius: 50%;
  background: linear-gradient(145deg,#a67acb,#6e449e);
  box-shadow: 0 4px 20px #22132e30;
  transition: transform .2s ease,box-shadow .2s ease;
}
.cd-guest .guest-video-play-icon svg { width: 20px; height: 20px; fill: white; stroke: none; margin-left: 3px; }
.guest-video-poster:hover .guest-video-play-icon { transform: scale(1.06); box-shadow: 0 5px 24px #22132e40; }
.guest-video-poster:focus-visible { outline: 3px solid #7950b3; outline-offset: -4px; }
@media(min-width:1024px) {
  .cd-guest .guest-people.has-dealer-video { display: grid; align-content: start; align-self: start; min-width: 0; gap: 24px; }
  .cd-guest .guest-people.has-dealer-video > .guest-contact { min-width: 0; width: 100%; }
  .cd-guest .guest-people > .guest-dealer-video { margin: 0; }
}
/* Player chrome is outside the YouTube iframe; nothing covers its controls. */
.guest-video-dialog { width: min(1080px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #7e668e; border-radius: 20px; background: #19121e; color: white; overflow: auto; box-shadow: 0 25px 100px #1b102970; }
.guest-video-dialog::backdrop { background: #160c21ba; backdrop-filter: blur(9px); }
.guest-video-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.guest-video-dialog-header h2 { margin: 0; font: 600 17px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.guest-video-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; color: white; background: #ffffff10; border: 1px solid #ffffff30; border-radius: 50%; cursor: pointer; }
.guest-video-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.guest-video-player { aspect-ratio: 16/9; min-height: 200px; background: #000; }
.guest-video-player iframe { display: block; border: 0; width: 100%; height: 100%; min-height: 200px; }
.guest-video-dialog-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; font: 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color: #c5b9ce; }
.guest-video-dialog-footer a { display: inline-flex; align-items: center; min-height: 32px; color: #e9d9f6; text-underline-offset: 3px; }
@media(prefers-reduced-motion:reduce) { .guest-video-play-icon { transition: none !important; } }
