/* EPOSENA V31: isolated film component and publication trailer covers. */
.ep-story{scroll-margin-top:90px;padding-block:44px;border-top:1px solid #e5e3df;min-width:0;color:#191919}
.ep-story *, .ep-publication-trailer{box-sizing:border-box}
.ep-story-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}
.ep-story-heading>div{min-width:0;max-width:760px}
.ep-story .ep-story-heading h2{font-size:clamp(28px,3.5vw,46px);line-height:1.12;letter-spacing:-.035em;margin:0;text-wrap:balance;overflow-wrap:break-word}
.ep-story-note{font-size:13px;line-height:1.7;color:#65625d;white-space:pre-line;max-width:230px;margin:0;flex-shrink:0}
.ep-film-shell{background:#0c1016;border-radius:8px;overflow:hidden}
.ep-film-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#16191e;padding:8px 18px;color:#fff}
.ep-film-topline>span{font-size:10px;line-height:1.5;letter-spacing:.13em;min-width:0}
.ep-film-languages{display:flex;gap:4px;flex-shrink:0}
.ep-film-languages button{background:transparent;color:#ccc;border:1px solid transparent;padding:9px 13px;min-height:44px;cursor:pointer;border-radius:4px;font:inherit;font-size:12px}
.ep-film-languages button[aria-pressed=true]{background:#fff;color:#191919}
.ep-film-stage{aspect-ratio:16/9;position:relative;background:#080c12;overflow:hidden}
.ep-film-stage video{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.ep-film-poster{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#080c12}
.ep-film-poster img{display:block;width:100%;height:100%;object-fit:cover}
.ep-film-play{position:absolute;right:24px;bottom:24px;width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#cf1724;font-size:23px;padding-left:3px;box-shadow:0 0 0 8px #ffffff25}
.ep-story [hidden]{display:none!important}
.ep-film-status{margin:0;padding:12px 18px;color:#fff;font-size:13px}.ep-film-status:empty{display:none}
.ep-film-caption{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #dedbd5;color:#65625d;font-size:11px;line-height:1.5}
.ep-film-caption>span:last-child{flex-shrink:0}
.ep-story-copy{max-width:970px;margin:26px auto 0}
.ep-story .ep-story-lead{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.6;margin:0 0 18px;color:#272521}
.ep-story-rest{columns:2;column-gap:36px;font-size:14px;line-height:1.85;color:#53504b}
.ep-story-rest p{margin:0 0 14px;break-inside:avoid}
.ep-story summary{cursor:pointer;font-size:13px;font-weight:700;padding:12px 0;color:#b5121b;min-height:44px}
.ep-story-author{font-weight:700;font-size:14px;margin-top:20px;padding-top:20px;border-top:1px solid #dedbd5}
.ep-story-author:before{content:'';display:inline-block;width:24px;height:1px;background:#cf1724;vertical-align:middle;margin-right:12px}
.ep-story button:focus-visible,.ep-story summary:focus-visible,.ep-publication-trailer:focus-visible{outline:3px solid #e51b23;outline-offset:4px}
.ep-publication-trailer{display:block;position:relative;overflow:hidden;border-radius:7px;text-decoration:none!important;background:#10141a;color:#fff!important;max-width:100%;margin:14px}
.ep-publication-trailer img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover!important;margin:0!important}
.ep-publication-trailer span{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:13px;font-weight:700;text-align:center;line-height:1.4}
.ep-detail-trailer{max-width:900px;margin:0 auto 28px}
#books .catalog-card:has(.ep-publication-trailer){display:flex;flex-direction:column;min-width:0}
#books .catalog-card>.ep-publication-trailer{margin-top:auto}
@media(min-width:700px){.ep-story details[open]>summary{display:none}}
@media(max-width:699px){
 .ep-story{padding-block:28px}
 .ep-story-heading{display:block;margin-bottom:20px}
 .ep-story .ep-story-heading h2{font-size:clamp(28px,7.4vw,36px);line-height:1.13}
 .ep-story-note{font-size:12px;max-width:none;margin-top:14px}
 .ep-film-topline{padding:7px 9px;gap:7px}
 .ep-film-topline>span{font-size:8px;letter-spacing:.08em}
 .ep-film-languages{gap:1px}.ep-film-languages button{padding:8px 10px;font-size:11px}
 .ep-film-play{right:15px;bottom:15px;width:44px;height:44px;font-size:18px;box-shadow:0 0 0 5px #ffffff25}
 .ep-film-caption{font-size:10px;gap:8px}
 .ep-story-copy{margin-top:22px}.ep-story .ep-story-lead{font-size:19px;line-height:1.6}
 .ep-story-rest{columns:1;font-size:14px}.ep-story-author{font-size:13px;margin-top:12px;padding-top:16px}
 .ep-publication-trailer{margin:12px}.ep-detail-trailer{margin:0 0 22px}
}

/* V35: compact Originals and Brand Films, preserving the full story. */
.ep-story.ep-story-compact{padding-block:26px 30px}
.ep-story-compact .ep-story-heading{max-width:1060px;margin:0 auto 18px;gap:24px}
.ep-story-compact .ep-story-heading>div{max-width:660px}
.ep-story-compact .ep-story-heading .eyebrow{font-size:10px;letter-spacing:.1em;margin:0 0 8px}
.ep-story.ep-story-compact .ep-story-heading h2{font-size:clamp(24px,2.5vw,32px);line-height:1.15;letter-spacing:-.025em}
.ep-story-compact .ep-story-note{font-size:12px;line-height:1.6}
.ep-story-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1060px;margin-inline:auto;align-items:start}
.ep-story-layout>*{min-width:0}
.ep-story-compact .ep-film-topline{padding:7px 12px;gap:8px}
.ep-story-compact .ep-film-topline>span{font-size:9px;letter-spacing:.07em}
.ep-story-compact .ep-film-play{width:46px;height:46px;right:16px;bottom:16px;font-size:19px;box-shadow:0 0 0 5px #ffffff22}
.ep-story-compact .ep-film-caption{font-size:10px;padding-block:10px}
.ep-story-compact .ep-story-copy{margin:0;padding:12px 0 0;max-width:none}
.ep-story.ep-story-compact .ep-story-lead{font-size:17px;line-height:1.65;margin:0 0 4px}
.ep-story-compact .ep-story-rest{columns:1;font-size:13px;line-height:1.7}
.ep-story-compact .ep-story-rest p{margin:0 0 12px}
.ep-story-compact details[open]>summary{display:list-item}
.ep-story-compact summary{font-size:12px;line-height:1.5;min-height:44px}
.ep-story-compact .ep-story-author{font-size:12px;line-height:1.5;margin-top:10px;padding-top:14px}
@media(max-width:900px){
 .ep-story-compact .ep-story-heading{align-items:start}
 .ep-story-compact .ep-story-note{max-width:180px}
 .ep-story-compact .ep-film-topline{flex-wrap:wrap}
 .ep-story-compact .ep-film-languages{margin-left:auto}
}
@media(max-width:699px){
 .ep-story.ep-story-compact{padding-block:20px 24px}
 .ep-story-compact .ep-story-heading{display:block;margin-bottom:14px;max-width:480px}
 .ep-story.ep-story-compact .ep-story-heading h2{font-size:26px;line-height:1.17}
 .ep-story-compact .ep-story-note{max-width:none;margin-top:9px;white-space:normal}
 .ep-story-layout{grid-template-columns:minmax(0,1fr);max-width:480px;gap:14px}
 .ep-story-compact .ep-story-copy{padding:0}
 .ep-story.ep-story-compact .ep-story-lead{font-size:15px;line-height:1.6}
 .ep-story-compact .ep-film-topline{padding:7px 9px}
 .ep-story-compact .ep-film-topline>span{font-size:8px}
 .ep-story-compact .ep-film-play{width:44px;height:44px;font-size:18px;right:13px;bottom:13px}
}
