/* Only additions; existing styles remain untouched. */
.bh-video-frame{max-width:380px;margin-inline:auto!important;width:100%}
.bh-video-frame .photo-stage{height:auto!important;aspect-ratio:9/16;background:#101210}
.bh-video{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:#101210}
.bh-teaser .episode-summary h2{margin:18px 0 24px}
.bh-audio{padding:0 0 5px;border:0;border-bottom:2px solid currentColor;background:transparent;color:inherit;text-align:left}
#teaser,#shirts{scroll-margin-top:110px}
@media(max-width:640px){.bh-video-frame{max-width:300px}.bh-teaser .episode-summary{min-width:0}}

/* Filled episode frames: preserve the full original image at its actual ratio. */
.bh-episode-filled.episode-card.bh-polaroid .media-stage{height:auto!important;aspect-ratio:var(--bh-art-ratio);width:100%;padding:0!important}
.bh-episode-filled.episode-card.bh-polaroid .media-stage>:is(img,svg.inline-art){width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
.bh-gif-card.episode-card.bh-polaroid .media-stage{height:auto!important;aspect-ratio:1;width:100%}
.bh-gif-card .media-stage img{width:100%;height:100%;object-fit:contain}

.bh-gif-card .episode-image{aspect-ratio:auto}

/* Mobile episode gateway: fill the frame with the complete portrait. */
@media(max-width:680px){
 .quick.bh-polaroid.bh-follow-gateway .media-stage{height:auto!important;aspect-ratio:9/16!important;width:100%;padding:0!important}
 .quick.bh-polaroid.bh-follow-gateway .media-stage>svg.inline-art{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
}

/* Homebase portrait fills its mobile frame; inset photo stays unchanged. */
@media(max-width:680px){
 .yard-collage.bh-polaroid.frame-yard>.media-stage{height:auto!important;aspect-ratio:9/16!important;width:100%;max-height:none!important;padding:0!important}
 .yard-collage.bh-polaroid.frame-yard>.media-stage>svg.inline-art{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
}

/* Original photographs use existing polaroids at their natural proportions. */
.bh-real-card .bh-polaroid>.media-stage{height:auto!important;aspect-ratio:var(--bh-real-ratio);padding:0!important;max-height:none!important}
.bh-real-card .bh-polaroid>.media-stage>img{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
.bh-reality-mix{margin-bottom:42px}

/* Make the complete shirt image region a direct product link. */
#shirts a.episode-image{display:block;width:100%;cursor:pointer;touch-action:manipulation}
#shirts a.episode-image .media-stage{width:100%;pointer-events:none}
#shirts a.episode-image img{pointer-events:none}

/* Product contrast and uniform compact episode previews. */
#shirts .episode-card.bh-polaroid .media-stage{background:#fff!important}
.bh-uniform-episodes{align-items:stretch;grid-auto-rows:1fr}
.bh-uniform-episodes>.photo-shell{display:flex;flex-direction:column}
.bh-uniform-episodes .bh-episode-filled{display:flex;flex-direction:column;flex:1}
.bh-uniform-episodes .bh-episode-filled .episode-image{display:block;flex:none}
.bh-uniform-episodes .bh-episode-filled.episode-card.bh-polaroid .media-stage{height:auto!important;aspect-ratio:4/3!important}
.bh-uniform-episodes .bh-episode-filled.episode-card.bh-polaroid .media-stage>:is(img,svg.inline-art){object-fit:cover}
.bh-uniform-episodes .episode-copy{display:flex;flex-direction:column;flex:1}
.bh-uniform-episodes .episode-copy .card-link{margin-top:auto}

/* Fill gateway and Homebase frames on every viewport without stretching. */
.quick.bh-polaroid .media-stage > img.bh-frame-fill,
.yard-collage.bh-polaroid.frame-yard > .media-stage > img.bh-frame-fill {
 display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;
}
.quick.bh-follow-gateway .media-stage > img.bh-frame-fill {object-position:50% 40%}
.yard-collage.frame-yard > .media-stage > img.bh-frame-fill {object-position:50% 44%}
.panorama-photo.bh-polaroid .full-panorama.bh-panorama-fill {
 display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:50% 50%;
}
@media(max-width:680px){
 .panorama-photo.bh-polaroid .full-panorama.bh-panorama-fill{aspect-ratio:4/3}
}
.quick.bh-polaroid .media-stage{position:relative}
.yard-collage.bh-polaroid.frame-yard>.media-stage{position:relative;height:auto!important;aspect-ratio:1.4!important;max-height:none!important}
.quick.bh-polaroid .media-stage>img.bh-frame-fill,
.yard-collage.bh-polaroid.frame-yard>.media-stage>img.bh-frame-fill{position:absolute;inset:0}
@media(max-width:680px){
 .quick.bh-polaroid .media-stage{height:auto!important;aspect-ratio:16/9!important}
 .quick.bh-polaroid.bh-follow-gateway .media-stage,
 .yard-collage.bh-polaroid.frame-yard>.media-stage{aspect-ratio:9/16!important}
}
