/* A landscape film preview and larger player opposite the Ask Black History launcher. */
.bhm-home-video {
  position: fixed;
  z-index: 90;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 460px;
  max-width: calc(100% - 48px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid #d9d4cc;
  border-top: 3px solid #951b2a;
  background: #fff;
  color: #242424;
  box-shadow: 0 8px 32px #16161626;
  font: 400 13px/1.5 var(--bhm-font, Arial, sans-serif);
}
.bhm-home-video, .bhm-home-video * { box-sizing: border-box; }
.bhm-home-video[hidden], .bhm-home-video [hidden] { display: none !important; }
body.bhm-drawer-open .bhm-home-video,
body:has(#bhai-popup[open]) .bhm-home-video { display: none !important; }
.bhm-home-video.is-expanded { width: 640px; }
.bhm-home-video__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-left: 16px; border-bottom: 1px solid #e7e3dd; background: #fff; }
.bhm-home-video__bar > span { color: #751522; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bhm-home-video__controls { display: flex; align-items: center; flex-shrink: 0; }
.bhm-home-video__controls button { display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-left: 1px solid #e7e3dd; border-radius: 0; background: transparent; color: #37322f; cursor: pointer; }
.bhm-home-video__controls button:hover { background: #f4f0e9; color: #951b2a; }
.bhm-home-video__preview { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; color: #242424; text-align: left; font: inherit; cursor: pointer; }
.bhm-home-video__preview:hover { background: #faf8f5; }
.bhm-home-video__poster { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #951b2a; }
.bhm-home-video__poster img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.bhm-home-video__brand { color: #fff; font-size: 64px; font-weight: 850; letter-spacing: -.07em; }
.bhm-home-video__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: #15151530; }
.bhm-home-video__play svg { width: 58px; height: 58px; padding: 13px; border: 2px solid #ffffffd9; border-radius: 50%; background: #161616b3; }
.bhm-home-video__preview-copy { display: block; min-width: 0; padding: 14px 18px 16px; }
.bhm-home-video__preview-copy > span { display: block; margin-bottom: 4px; color: #756a61; font-size: 12px; }
.bhm-home-video__preview-copy strong { display: block; color: #242424; font-size: 17px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.bhm-home-video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #161616; }
.bhm-home-video__frame > iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; }
.bhm-home-video__details { padding: 14px 16px 15px; }
.bhm-home-video .bhm-home-video__details h2 { margin: 0 0 9px; color: #242424; font: 650 18px/1.4 var(--bhm-font, Arial, sans-serif); letter-spacing: -.01em; overflow-wrap: anywhere; }
.bhm-home-video__details > div { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.bhm-home-video .bhm-home-video__details a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #951b2a; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.bhm-home-video :is(button, a):focus-visible { outline: 3px solid #951b2a; outline-offset: -3px; }
.bhm-home-video__frame > iframe:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
@media (max-width: 760px) {
  .bhm-home-video { left: max(12px, env(safe-area-inset-left)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 84px); width: min(340px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 140px); }
  .bhm-home-video.is-expanded { width: min(460px, calc(100% - 24px)); }
  .bhm-home-video__bar { padding-left: 12px; }
  .bhm-home-video__bar > span { font-size: 10px; }
  .bhm-home-video__preview-copy { padding: 12px 14px 14px; }
  .bhm-home-video__preview-copy > span { font-size: 11px; }
  .bhm-home-video__preview-copy strong { font-size: 15px; }
  .bhm-home-video__brand { font-size: 48px; }
  .bhm-home-video__play svg { width: 50px; height: 50px; padding: 11px; }
}
@media (max-width: 600px) {
  .bhm-home-video { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 76px); max-height: calc(100dvh - 124px); }
}
@media (max-height: 440px) {
  .bhm-home-video { max-height: calc(100dvh - 140px); }
  .bhm-home-video, .bhm-home-video.is-expanded { width: 360px; }
}
@media print { .bhm-home-video { display: none !important; } }
