/* Keep the lesson in the available track when its curriculum is hidden. */
.learning-grid[data-curriculum-hidden="true"] > .lesson-view {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}

/* Drive's own header is clipped together with our caption in fullscreen. */
#player-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
}
#player-shell:fullscreen .video-caption { display: none; }
#player-shell:fullscreen iframe {
  position: absolute;
  inset: -58px 0 auto;
  display: block;
  height: calc(100% + 58px);
  min-height: 0;
}
#player-shell:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  aspect-ratio: auto;
}
#player-shell:-webkit-full-screen .video-caption { display: none; }
#player-shell:-webkit-full-screen iframe {
  position: absolute;
  inset: -58px 0 auto;
  display: block;
  height: calc(100% + 58px);
  min-height: 0;
}


.video-drive-embed{position:absolute;inset:0;overflow:hidden;background:#000}
.video-drive-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-drive-corner{position:absolute;top:0;right:0;width:56px;height:54px;background:#000;z-index:2;pointer-events:auto}
