/* Vidéo courte verticale (série « Pricing en 1 min ») insérée dans un article de blog.
   Se charge après video-demo.css, dont elle reprend le lecteur et le bouton de lecture. */
.video-short {
  margin: 2rem 0 2.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.video-short-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.video-short .video-short-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
}

/* Format vertical : jamais recadré, en particulier en plein écran sur un écran horizontal
   (video-demo.css utilise object-fit: cover pour la vidéo 16:9). */
.video-short .video-short-player video {
  object-fit: contain;
}

.video-short .video-short-player video:fullscreen {
  background: #000000;
}

.video-short .video-short-player video:-webkit-full-screen {
  background: #000000;
}

.video-short .video-demo-eyebrow {
  margin-bottom: 0.75rem;
}

.video-short .video-demo-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.video-short .video-demo-lead {
  font-size: 1rem;
  margin: 0 0 1rem;
}

.video-short-transcript {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
}

.video-short-transcript summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary, #3A32AE);
}

.video-short-transcript p {
  margin: 0.6rem 0 0;
  color: var(--text-light, #666666);
}

.video-short .video-demo-cta {
  justify-content: flex-start;
  margin-top: 0;
}

.video-short-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-light, #666666);
}

/* Bouton de lecture centré en bas du format vertical */
.video-short .video-demo-play-pill {
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.45rem;
  font-size: 0.95rem;
}

.video-short .video-demo-play:hover .video-demo-play-pill,
.video-short .video-demo-play:focus-visible .video-demo-play-pill {
  transform: translateX(-50%) scale(1.04);
}

.video-short .video-demo-play-icon {
  width: 2.25rem;
  height: 2.25rem;
}

@media (max-width: 640px) {
  .video-short {
    padding: 1rem;
  }

  .video-short-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .video-short .video-short-player {
    max-width: 260px;
    margin: 0 auto;
  }

  .video-short .video-demo-play-duration {
    font-size: 0.95rem;
  }
}
