/* Pages détail vidéo (lecteur + texte) — réutilisable */

@font-face {
  font-family: "Trade Gothic Next LT Pro Cn";
  src: url("Typos/Trade%20Gothic%20Next%20LT%20Pro%20Cn.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body.page-video-detail {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font-stack, "Futura", "Century Gothic", "Segoe UI", sans-serif);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.page-video-detail .site-header,
.page-video-detail .site-header.is-scrolled {
  background-color: #000 !important;
  padding: var(--header-pad, 1.25rem 2rem);
}

.page-video-detail .nav-main a {
  color: #fff;
}

.page-video-detail .nav-main a:hover {
  color: var(--nav-hover, #00ff0c);
}

.page-video-detail .burger span {
  background: #fff;
}

/* Retour aux vidéos à gauche d’Accueil (même ligne que la nav) */
.page-video-detail .nav-desktop.video-detail-nav-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  width: 100%;
}

.page-video-detail .video-detail-back {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--site-footer-text-size, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.page-video-detail .video-detail-back:hover {
  color: var(--nav-hover, #00ff0c);
}

@media (max-width: 900px) {
  .page-video-detail .nav-main {
    display: none;
  }
}

@media (min-width: 901px) {
  .page-video-detail .burger {
    display: none;
  }
}

.video-detail-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Zone lecteur ~60 % hauteur viewport comme la maquette */
.video-detail-hero {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-height: min(62vh, 720px);
  max-height: 70vh;
  padding-top: clamp(4.25rem, 11vw, 5.5rem);
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
  padding-right: clamp(0.75rem, 3vw, 1.5rem);
  padding-bottom: clamp(0.75rem, 2vh, 1.25rem);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.video-detail-player-inner {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  min-height: clamp(200px, 48vh, 560px);
  max-height: min(58vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-detail-player-inner video {
  width: 100%;
  height: 100%;
  max-height: min(58vh, 640px);
  object-fit: contain;
  background: #000;
  border-radius: clamp(4px, 0.8vw, 10px);
}

/* Lecteur resserré pour sources verticales (ex. Mmi Lan Easter Egg) */
.video-detail-player-inner--vertical {
  max-width: min(440px, 92vw);
}

.video-detail-player-inner--vertical video {
  max-height: min(65vh, 720px);
}

/* Texte explicatif */
.video-detail-copy {
  flex: 1 1 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2rem)
    clamp(2.5rem, 6vw, 4rem);
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.video-detail-title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-family: "Trade Gothic Next LT Pro Cn", var(--font-stack, sans-serif);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff;
}

.video-detail-body {
  margin: 0;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.video-detail-body p {
  margin: 0 0 1rem;
}

.video-detail-body p:last-child {
  margin-bottom: 0;
}

/* Pied de page identique à la page vidéos (pas de clic sur le nom, pas de flèche) */
.page-video-detail .site-footer.videos-page-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: clamp(1rem, 5vw, 2rem);
  padding-right: 1rem;
  padding-left: 1rem;
  padding-bottom: calc(clamp(1rem, 5vw, 2rem) + env(safe-area-inset-bottom, 0px));
}

.page-video-detail .videos-page-footer .footer-inner {
  pointer-events: auto;
}

.page-video-detail .videos-page-footer .footer-links a {
  color: #fff;
}

.page-video-detail .videos-page-footer .footer-links a:hover {
  color: var(--nav-hover, #00ff0c);
}

.page-video-detail .videos-page-footer .footer-links span {
  color: rgba(255, 255, 255, 0.85);
}

.page-video-detail .videos-footer-brand {
  display: inline-flex;
  align-items: center;
  font-size: var(--site-footer-text-size, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  font-family: inherit;
  padding: 0;
  margin: 0;
  line-height: 1.2;
  cursor: default;
  user-select: none;
}
