/* Cinematic movie header, stills mosaic and native-dialog image viewer. */
.bdp-cinematic-hero { padding: 0; border: 0; }
.bdp-cinematic-hero .bdp-movie-hero-inner {
  position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: 168px minmax(0, 650px) 1fr; grid-template-rows: auto auto;
  gap: 20px 32px; align-content: center; min-height: 390px; padding: 44px;
  background: #111a16; color: #fffaf1; border-radius: 8px;
  box-shadow: 0 14px 35px -24px rgba(24, 28, 22, .65);
}
.bdp-cinematic-hero .bdp-movie-poster { position: relative; z-index: 1; grid-column: 1; grid-row: 1 / 3; width: 168px; height: 252px; align-self: center; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; box-shadow: 0 14px 35px rgba(0,0,0,.4); }
.bdp-cinematic-hero .bdp-movie-heading { position: relative; z-index: 1; grid-column: 2; grid-row: 1; align-self: end; }
.bdp-cinematic-hero .bdp-movie-title { margin: 13px 0 16px; max-width: 15ch; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.04; color: #fffaf1; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.32); }
.bdp-cinematic-hero .bdp-kicker { display: flex; align-items: center; gap: 9px; color: #f3b998; font-size: 10px; letter-spacing: .17em; }
.bdp-cinematic-hero .bdp-status-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #f3b998; }
.bdp-cinematic-hero .bdp-original-title { color: #d8dcd5; font-size: 16px; }
.bdp-cinematic-hero .bdp-meta-row { margin-top: 14px; color: #e4e6de; font-size: 13px; gap: 8px 16px; }
.bdp-cinematic-hero .bdp-score { color: #ffe0a0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 3px 8px; }
.bdp-cinematic-hero .bdp-actions { position: relative; z-index: 1; grid-column: 2; grid-row: 2; align-self: start; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.bdp-cinematic-hero .bdp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 16px; min-height: 44px; border-radius: 3px; font-size: 12px; }
.bdp-cinematic-hero .bdp-btn-primary { background: #fffaf1; border-color: #fffaf1; color: #17201b; }
.bdp-cinematic-hero .bdp-btn-secondary { color: #fffaf1; background: rgba(17,26,22,.48); border: 1px solid rgba(255,255,255,.4); }
.bdp-cinematic-hero .bdp-btn:hover { background: #f3d4ba; border-color: #f3d4ba; color: #17201b; }
.bdp-cinematic-hero a:focus-visible { outline: 2px solid #ffe0a0; outline-offset: 4px; }
.bdp-cinematic-hero .bdp-movie-visual { position: absolute; z-index: 0; inset: 0; grid-column: auto; grid-row: auto; margin: 0; width: 100%; height: 100%; border-radius: 0; background: #111a16; }
.bdp-cinematic-hero .bdp-movie-visual img { position: absolute; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: center 38%; }
.bdp-cinematic-hero .bdp-movie-visual::after { border: 0; background: linear-gradient(90deg, #111a16 0%, #111a16 24%, rgba(17,26,22,.94) 40%, rgba(17,26,22,.48) 60%, rgba(17,26,22,.03) 83%), linear-gradient(0deg, rgba(8,13,10,.55), transparent 40%); }
.bdp-hero-image-open { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; min-height: 44px; border: 1px solid rgba(255,255,255,.42); border-radius: 4px; background: rgba(12,18,15,.75); color: #fffaf1; font-size: 12px; }
.bdp-hero-image-open svg { width: 18px; height: 18px; }
.bdp-hero-image-open:hover { background: #fffaf1; color: #17201b; }
.bdp-movie-byline-wrap .bdp-editorial-byline { margin: 0; padding: 16px 0 0; font-size: 11px; }

.bdp-movie-main .bdp-gallery { padding: 26px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0; }
.bdp-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bdp-gallery-heading h2 { font-size: 32px; margin: 5px 0 0; }
.bdp-gallery-count { font-size: 11px; color: var(--muted); white-space: nowrap; padding-bottom: 4px; font-variant-numeric: tabular-nums; }
.bdp-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 7px; aspect-ratio: 2.25; overflow: hidden; border-radius: 5px; background: #d8d3c9; }
.bdp-gallery-tile { display: block; position: relative; overflow: hidden; min-width: 0; min-height: 0; background: #202821; }
.bdp-gallery-tile:first-child { grid-row: 1 / 3; }
.bdp-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .25s ease; }
.bdp-gallery-tile:hover img { transform: scale(1.035); opacity: .87; }
.bdp-gallery-tile:focus-visible { outline: 3px solid #f3d4ba; outline-offset: -5px; }
.bdp-gallery-tile-label { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 20px; font-size: 11px; color: white; text-shadow: 0 1px 7px black; }
.bdp-gallery-tile:first-child::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.bdp-gallery-tile-label { z-index: 1; }
.bdp-gallery-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: white; background: rgba(10,17,13,.6); font: 400 34px/1 var(--serif); }
.bdp-gallery-more small { font: 500 11px/1.5 var(--sans); margin-top: 5px; }
.bdp-gallery[data-count="0"] .bdp-gallery-grid { display: none; }
.bdp-gallery[data-count="1"] .bdp-gallery-grid { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16/8; }
.bdp-gallery[data-count="1"] .bdp-gallery-tile:first-child { grid-row: auto; }
.bdp-gallery[data-count="2"] .bdp-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 2.7; }
.bdp-gallery[data-count="2"] .bdp-gallery-tile:first-child { grid-row: auto; }
.bdp-gallery[data-count="3"] .bdp-gallery-grid { grid-template-columns: 1.7fr 1fr; }
.bdp-gallery[data-count="4"] .bdp-gallery-grid { grid-template-columns: repeat(3, 1fr); }
.bdp-gallery[data-count="4"] .bdp-gallery-tile:last-child { grid-column: 2 / 4; }
.bdp-gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; }
.bdp-gallery-footer p { color: var(--muted); font-size: 10px; line-height: 1.5; }
.bdp-gallery-all { flex-shrink: 0; min-height: 44px; padding: 7px 0 7px 10px; display: inline-flex; align-items: center; gap: 12px; background: none; color: var(--ink); border: 0; font-size: 12px; font-weight: 600; }
.bdp-gallery-all:hover { color: var(--accent); }
.bdp-gallery-status { color: var(--muted); font-size: 13px; padding: 18px 0; }

html.bdp-gallery-open { overflow: hidden; }
dialog.bdp-photo-dialog { position: fixed; inset: 0; width: min(1440px, calc(100vw - 48px)); max-width: none; height: min(94dvh, 1050px); max-height: none; margin: auto; padding: 0; overflow: hidden; color: #fffaf1; background: #101612; border: 1px solid #39423b; border-radius: 7px; box-shadow: 0 25px 100px rgba(0,0,0,.5); }
dialog.bdp-photo-dialog[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto auto; }
.bdp-photo-dialog::backdrop { background: rgba(3,8,5,.88); backdrop-filter: blur(6px); }
.bdp-photo-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid #303932; }
.bdp-photo-eyebrow { display: block; margin-bottom: 5px; font-size: 9px; text-transform: uppercase; letter-spacing: .17em; color: #f3b998; }
.bdp-photo-top h2 { font-size: 27px; color: #fffaf1; margin: 0; }
.bdp-photo-top-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.bdp-photo-top-actions > span { font-size: 12px; font-variant-numeric: tabular-nums; color: #d0d8cf; }
.bdp-photo-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid #566057; border-radius: 50%; background: rgba(16,22,18,.87); color: white; }
.bdp-photo-icon svg { width: 23px; height: 23px; }
.bdp-photo-icon:hover { background: #fffaf1; color: #111a16; }
.bdp-photo-dialog button:focus-visible, .bdp-photo-dialog a:focus-visible { outline: 2px solid #f3b998; outline-offset: 3px; }
.bdp-photo-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 10px 78px; background: #090e0b; touch-action: pan-y pinch-zoom; }
.bdp-photo-stage .bdp-photo-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: opacity .2s ease; }
.bdp-photo-image.is-loading { opacity: .25; }
.bdp-photo-image.is-error { visibility: hidden; }
.bdp-photo-prev, .bdp-photo-next { position: absolute; z-index: 1; top: calc(50% - 22px); }
.bdp-photo-prev { left: 18px; }.bdp-photo-next { right: 18px; }
.bdp-photo-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: 75%; color: #e4e8e0; font-size: 13px; text-align: center; }
.bdp-photo-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 10px 24px 0; font-size: 10px; color: #b8c3b8; }
.bdp-photo-bottom a { display: inline-flex; align-items: center; min-height: 32px; gap: 8px; color: #f3d4ba; }
.bdp-photo-thumbs { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #697268 #101612; padding: 14px 24px 20px; }
.bdp-photo-thumb { width: 88px; height: 54px; flex: 0 0 88px; padding: 2px; border: 2px solid transparent; border-radius: 3px; background: transparent; opacity: .55; }
.bdp-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bdp-photo-thumb[aria-current="true"] { opacity: 1; border-color: #f3b998; }
.bdp-photo-thumb:hover { opacity: 1; }

@media (max-width:1100px) {
  .bdp-cinematic-hero .bdp-movie-hero-inner { grid-template-columns: 140px minmax(0, 540px) 1fr; gap: 20px 26px; padding: 34px; min-height: 360px; }
  .bdp-cinematic-hero .bdp-movie-poster { width: 140px; height: 210px; }
  .bdp-cinematic-hero .bdp-movie-title { font-size: 43px; }
  .bdp-hero-image-open { right: 18px; bottom: 18px; }
}
@media (max-width:850px) {
  .bdp-cinematic-hero .bdp-movie-hero-inner { display: grid; grid-template-columns: 125px minmax(0,1fr); min-height: 350px; padding: 32px; gap: 20px 24px; }
  .bdp-cinematic-hero .bdp-movie-poster { width: 125px; height: 187.5px; }
  .bdp-cinematic-hero .bdp-movie-title { font-size: 39px; max-width: 17ch; }
  .bdp-cinematic-hero .bdp-movie-visual::after { background: linear-gradient(90deg, #111a16, rgba(17,26,22,.87) 46%, rgba(17,26,22,.4)), linear-gradient(0deg, #111a16, transparent 60%); }
  .bdp-hero-image-open { right: 16px; bottom: 12px; min-height: 36px; padding: 7px 10px; font-size: 10px; }
}
@media (max-width:600px) {
  .bdp-cinematic-hero .bdp-movie-hero-inner { grid-template-columns: 84px minmax(0,1fr); gap: 19px 17px; align-content: start; min-height: 0; padding: 174px 20px 24px; border-radius: 5px; }
  .bdp-cinematic-hero .bdp-movie-poster { width: 84px; height: 126px; grid-row: 1; align-self: start; }
  .bdp-cinematic-hero .bdp-movie-heading { align-self: start; }
  .bdp-cinematic-hero .bdp-movie-title { font-size: clamp(27px, 6.3vw, 35px); margin: 9px 0 11px; max-width: none; }
  .bdp-cinematic-hero .bdp-kicker { font-size: 8px; letter-spacing: .12em; gap: 7px; }
  .bdp-cinematic-hero .bdp-original-title { font-size: 13px; }
  .bdp-cinematic-hero .bdp-meta-row { font-size: 11px; margin-top: 10px; gap: 6px 11px; }
  .bdp-cinematic-hero .bdp-actions { grid-column: 1 / -1; grid-row: 2; gap: 8px; }
  .bdp-cinematic-hero .bdp-actions .bdp-btn { flex: 1 1 auto; padding: 10px 12px; font-size: 11px; }
  .bdp-cinematic-hero .bdp-movie-visual { height: 250px; }
  .bdp-cinematic-hero .bdp-movie-visual img { width: 100%; object-position: center 35%; }
  .bdp-cinematic-hero .bdp-movie-visual::after { background: linear-gradient(0deg, #111a16 0%, rgba(17,26,22,.6) 27%, rgba(17,26,22,.02) 75%); }
  .bdp-hero-image-open { top: 113px; bottom: auto; right: 16px; padding: 8px 11px; min-height: 40px; font-size: 11px; }
  .bdp-movie-byline-wrap .bdp-editorial-byline { padding-top: 14px; line-height: 1.8; }
  .bdp-movie-main .bdp-gallery { padding: 22px 0 16px; margin: 22px 0; }
  .bdp-gallery-heading { gap: 12px; margin-bottom: 16px; align-items: start; }
  .bdp-gallery-heading h2 { font-size: 28px; max-width: 12ch; }
  .bdp-gallery-count { padding-top: 26px; font-size: 10px; }
  .bdp-gallery .bdp-gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: minmax(0,1fr) 65px; aspect-ratio: auto; height: auto; gap: 5px; }
  .bdp-gallery .bdp-gallery-tile:first-child { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16/9; }
  .bdp-gallery[data-count="1"] .bdp-gallery-grid { grid-template-rows: 1fr; }
  .bdp-gallery[data-count="2"] .bdp-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .bdp-gallery[data-count="2"] .bdp-gallery-tile:first-child { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
  .bdp-gallery[data-count="3"] .bdp-gallery-grid { grid-template-columns: 1fr 1fr; }
  .bdp-gallery[data-count="4"] .bdp-gallery-grid { grid-template-columns: repeat(3,1fr); }
  .bdp-gallery[data-count="4"] .bdp-gallery-tile:last-child { grid-column: auto; }
  .bdp-gallery-more { font-size: 25px; }.bdp-gallery-more small { font-size: 9px; margin-top: 3px; }
  .bdp-gallery-footer { gap: 8px; margin-top: 10px; }
  .bdp-gallery-footer p { max-width: 55%; font-size: 9px; }
  .bdp-gallery-all { font-size: 11px; gap: 8px; }
  dialog.bdp-photo-dialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .bdp-photo-top { padding: max(15px,env(safe-area-inset-top)) 15px 14px; gap: 12px; }
  .bdp-photo-top h2 { font-size: 21px; }.bdp-photo-eyebrow { font-size: 8px; }
  .bdp-photo-top-actions { gap: 8px; }.bdp-photo-top-actions > span { font-size: 10px; }
  .bdp-photo-stage { padding: 0; }
  .bdp-photo-prev { left: 8px; }.bdp-photo-next { right: 8px; }
  .bdp-photo-prev, .bdp-photo-next { top: auto; bottom: 15px; }
  .bdp-photo-bottom { padding: 8px 15px 0; font-size: 9px; }
  .bdp-photo-thumbs { padding: 12px 15px max(15px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
  .bdp-gallery-tile img, .bdp-photo-image { transition: none; }
  .bdp-gallery-tile:hover img { transform: none; }
}
