/* Individual Videos & film pages share the library's charcoal presentation.
   Native player, editorial content, related links and advertising stay intact. */
body.single-post_video.bhm-editorial #main-content.bhm-article-main {
  --bhm-watch-dark: #181c22;
  --bhm-watch-paper: #f7f4ee;
  --bhm-watch-text: #e1e4e9;
  --bhm-watch-muted: #c2c8d0;
  --bhm-watch-line: #3b424c;
  --bhm-watch-red: #a51e2c;
  --bhm-watch-link: #f4acb6;
  --bhm-watch-inset: clamp(20px, 2.5vw, 36px);
  padding: 28px 0 60px;
  background: #fff;
}

/* The film has one broad column. Related information follows it, with the
   existing narrow advertising rail at the right on larger screens. */
body.single-post_video.bhm-editorial #main-content .bhm-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "reader" "rail";
  grid-template-rows: auto;
  justify-content: stretch;
  align-items: start;
  gap: 38px 32px;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-layout--sidebar {
  grid-template-areas: "reader" "sidebar" "rail";
}
body.single-post_video.bhm-editorial #main-content .bhm-article-layout > .bhm-reader {
  grid-area: reader;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  background: var(--bhm-watch-dark);
  color: var(--bhm-watch-text);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-layout > .bhm-reader-sidebar {
  grid-area: sidebar;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 32px;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  background: #fff;
  color: #29313a;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-layout > .bhm-reader-ad-rail {
  grid-area: rail;
  justify-self: center;
  width: 160px;
  max-width: 100%;
  margin: 0 auto;
}

/* The title, player and description read as one film page. */
body.single-post_video.bhm-editorial #main-content .bhm-reader-header {
  box-sizing: border-box;
  margin: 0;
  padding: 30px var(--bhm-watch-inset) 24px;
  border-top: 4px solid var(--bhm-watch-red);
  background: var(--bhm-watch-dark);
  color: var(--bhm-watch-paper);
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-kicker {
  margin: 0 0 14px;
  color: var(--bhm-watch-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-title {
  max-width: 30ch;
  margin: 0;
  color: var(--bhm-watch-paper);
  font: 400 clamp(36px, 4.2vw, 60px)/1.08 var(--bhm-display, Georgia, serif);
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-standfirst {
  max-width: 70ch;
  margin-top: 22px;
  color: var(--bhm-watch-text);
  font-size: 19px;
  line-height: 1.65;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-meta {
  margin-top: 23px;
  padding-top: 15px;
  border-color: var(--bhm-watch-line);
  color: var(--bhm-watch-muted);
  font-size: 14px;
  line-height: 1.5;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-meta .bhm-reader-byline {
  color: var(--bhm-watch-paper);
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-header a {
  color: inherit;
}
body.single-post_video.bhm-editorial #main-content .post-article.bhm-article-body {
  box-sizing: border-box;
  display: flow-root;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 0 32px;
  background: var(--bhm-watch-dark);
  color: var(--bhm-watch-text);
  font-size: 18px;
  line-height: 1.75;
}
/* Converted introductions must inherit the dark panel's readable text colour. */
body.single-post_video.bhm-editorial #main-content .bhm-article-body p.bhm-reader-intro {
  color: inherit;
}

body.single-post_video.bhm-editorial #main-content .bhm-article-body > :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, pre, table),
body.single-post_video.bhm-editorial #main-content .bhm-article-body > div:not([class]):not([style]):not(:has(iframe, video, object, embed, table, figure)) {
  box-sizing: border-box;
  width: calc(100% - var(--bhm-watch-inset) - var(--bhm-watch-inset));
  max-width: 760px;
  margin-left: var(--bhm-watch-inset);
  margin-right: var(--bhm-watch-inset);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(p, li, span, strong, b, em, i)[style*="color"] {
  color: inherit !important;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(h1, h2, h3, h4, h5, h6),
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(h1, h2, h3, h4, h5, h6) * {
  color: var(--bhm-watch-link) !important;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body a {
  color: var(--bhm-watch-link);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body a:hover {
  color: #fff;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body blockquote {
  border-left-color: var(--bhm-watch-link);
  background: transparent;
  color: var(--bhm-watch-paper);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(pre, th) {
  background: #252b34;
  color: var(--bhm-watch-paper);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(th, td) {
  border-color: #4c5562;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body tbody tr:nth-child(even) {
  background: #20262e;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(figcaption, .wp-caption-text, table caption) {
  color: var(--bhm-watch-muted);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-body hr {
  background: var(--bhm-watch-line);
}

/* Keep the player at the reader's full width, including on small screens. */
body.single-post_video.bhm-editorial #main-content .bhm-article-body .bhm-article-media--video {
  box-sizing: border-box;
  float: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: var(--bhm-watch-dark);
}
body.single-post_video.bhm-editorial #main-content .bhm-article-media--video .bhm-video-player {
  width: 100%;
  min-width: 0;
  margin: 0;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a0d;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player-frame > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player .bhm-video-player-fallback {
  margin: 18px var(--bhm-watch-inset) 0;
  font-size: 14px;
  line-height: 1.5;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 17px;
  background: var(--bhm-watch-paper);
  color: #181c22;
  font-weight: 700;
  text-decoration: none;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player-fallback a:hover {
  background: #fff;
  color: #181c22;
}
body.single-post_video.bhm-editorial #main-content .bhm-article-media--video > figcaption {
  max-width: 760px;
  margin: 18px var(--bhm-watch-inset) 0;
  padding: 0;
  color: var(--bhm-watch-muted);
  font-size: 15px;
  line-height: 1.65;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-header a:focus-visible,
body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(a, button):focus-visible {
  outline: 3px solid var(--bhm-watch-paper);
  outline-offset: 4px;
}
body.single-post_video.bhm-editorial #main-content .bhm-video-player-frame > iframe:focus-visible {
  outline: 3px solid var(--bhm-watch-paper);
  outline-offset: -4px;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-pagination {
  margin: 0;
  padding: 0 var(--bhm-watch-inset) 32px;
  color: var(--bhm-watch-paper);
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-pagination > :is(a, span) {
  border-color: var(--bhm-watch-line);
  color: inherit;
}

/* Native related videos and useful information return to a light surface. */
body.single-post_video.bhm-editorial #main-content .bhm-reader-more,
body.single-post_video.bhm-editorial #main-content .bhm-reader-comments {
  margin: 0;
  padding: 40px 0 0;
  background: #fff;
  color: #29313a;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  height: 100%;
  padding: 22px 0;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9e6e0;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: var(--bhm-image-focus-x, 50%) var(--bhm-image-focus-y, 30%);
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card__title {
  font-size: 23px;
  line-height: 1.35;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card__summary {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-sidebar .bhm-context-card__title {
  font-size: 18px;
  line-height: 1.4;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-sidebar .bhm-context-card__summary {
  font-size: 14px;
  line-height: 1.65;
}
body.single-post_video.bhm-editorial #main-content .bhm-reader-sidebar .bhm-context-list--profiles .bhm-context-card__title {
  font-size: 16px;
}
body.single-post_video.bhm-editorial #main-content :is(.bhm-reader-more, .bhm-reader-sidebar, .bhm-reader-comments) a:focus-visible {
  outline: 3px solid var(--bhm-watch-red);
  outline-offset: 4px;
}

@media screen and (min-width: 640px) {
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout > .bhm-reader-sidebar,
  body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (min-width: 960px) {
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout--rail {
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas: "reader rail";
    grid-template-rows: auto;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout--sidebar.bhm-article-layout--rail {
    grid-template-areas: "reader rail" "sidebar rail";
    grid-template-rows: auto auto;
  }
  /* Respect the native rail controller when it removes an empty ad column. */
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout--rail:has(> .bhm-reader-ad-rail[data-bhm-ad-rail-empty="true"]) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "reader";
    grid-template-rows: auto;
    max-width: none;
    margin-inline: 0;
    column-gap: 0;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout--sidebar.bhm-article-layout--rail:has(> .bhm-reader-ad-rail[data-bhm-ad-rail-empty="true"]) {
    grid-template-areas: "reader" "sidebar";
    grid-template-rows: auto auto;
  }
}

@media screen and (max-width: 599px) {
  body.single-post_video.bhm-editorial #main-content.bhm-article-main {
    --bhm-watch-inset: 20px;
    padding-top: 20px;
    padding-bottom: 38px;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout { gap: 30px; }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-header { padding-top: 24px; padding-bottom: 22px; }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-title {
    max-width: none;
    font-size: clamp(30px, 7.8vw, 43px);
    line-height: 1.12;
    text-wrap: pretty;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-meta { margin-top: 19px; font-size: 13px; }
  body.single-post_video.bhm-editorial #main-content .post-article.bhm-article-body { padding-bottom: 24px; font-size: 17px; line-height: 1.72; }
  body.single-post_video.bhm-editorial #main-content .bhm-article-media--video > figcaption { font-size: 14px; }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-more,
  body.single-post_video.bhm-editorial #main-content .bhm-reader-comments { padding-top: 30px; }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-more .bhm-context-card__title { font-size: 22px; }
}

@media print {
  body.single-post_video.bhm-editorial #main-content.bhm-article-main { padding: 0; }
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout { display: block; }
  body.single-post_video.bhm-editorial #main-content .bhm-article-layout > .bhm-reader,
  body.single-post_video.bhm-editorial #main-content .bhm-reader-header,
  body.single-post_video.bhm-editorial #main-content .post-article.bhm-article-body {
    background: #fff;
    color: #000;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-header { padding: 0 0 20px; border-top: 0; }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-header :is(h1, p, a, time),
  body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(h1, h2, h3, h4, h5, h6, a, figcaption, table caption),
  body.single-post_video.bhm-editorial #main-content .bhm-article-body :is(h1, h2, h3, h4, h5, h6) * {
    color: #000 !important;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-reader-title { font-size: 30px; }
  body.single-post_video.bhm-editorial #main-content .bhm-article-body > :is(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote, pre, table),
  body.single-post_video.bhm-editorial #main-content .bhm-article-body > div:not([class]):not([style]):not(:has(iframe, video, object, embed, table, figure)) {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  body.single-post_video.bhm-editorial #main-content .bhm-video-player-fallback a { padding: 0; background: none; color: #000; }
}
