/* V40: additive catalogue layouts; original media and copy are preserved. */
.home-edit-v13 .v40-four-grid,.launch-video-catalog .v40-four-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.v40-four-grid>.launch-video-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e1e1e5;border-radius:10px;overflow:hidden;background:#fff}
.v40-four-grid .launch-video-cover{display:block;background:#101720;min-width:0}
.v40-four-grid .launch-video-cover img{display:block;width:100%;height:164px!important;aspect-ratio:auto;object-fit:contain!important;background:#101720}
.v40-four-grid .launch-watch-button{min-height:44px;flex-shrink:0;font-size:12px}
.v40-four-grid .launch-video-info{display:flex;flex-direction:column;flex:1;padding:14px!important;min-width:0;overflow-wrap:break-word}
.v40-four-grid .launch-video-info h3{font-size:18px!important;line-height:1.27;margin:0 0 8px}
.v40-four-grid .launch-video-info small{font-size:10px;line-height:1.5;letter-spacing:0}
.v40-four-grid .launch-video-info p{font-size:13px;line-height:1.55;margin:10px 0;min-height:0}
.v40-four-grid .launch-film-details{font-size:12px;min-height:44px;display:inline-flex;align-items:center;white-space:normal}
.v40-card-links{display:flex;flex-wrap:wrap;gap:0 14px;margin-top:auto;min-width:0}
.v40-book-card .v40-book-poster{width:100%;height:216px;background:#101720;border-radius:7px;overflow:hidden}
.v40-book-card .v40-book-poster img{width:100%;height:100%;object-fit:contain}
.v40-book-card .book-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.v40-book-card .book-card-stores{grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}
.v40-book-card .book-card-stores:empty{display:none}
.v40-detail .detail-hero{padding-block:26px}
.v40-detail .detail-hero-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:30px;align-items:center}
.v40-detail .v40-detail-poster{padding:0;border-radius:10px;overflow:hidden;background:#101720;min-width:0;aspect-ratio:16/9}
.v40-detail .v40-detail-poster img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.v40-detail .detail-copy h1{font-size:clamp(28px,3vw,40px);line-height:1.15;overflow-wrap:break-word}
.v40-detail .detail-copy .detail-lede{font-size:17px;line-height:1.6}
.v40-detail .new-film-heading{padding-top:28px;padding-bottom:20px}
.v40-detail .new-film-heading h1{font-size:clamp(26px,3vw,40px);line-height:1.18}
.v40-detail .catalog-language-nav{margin:8px 0 12px}
.v40-detail .new-film-watch{padding-top:0}
.v40-detail .v40-player{max-width:800px;margin-inline:auto;width:100%;min-width:0}
.v40-detail .v40-player video{display:block;aspect-ratio:16/9;width:100%;height:auto;object-fit:contain;background:#101720;max-height:70svh}
.v40-detail .video-caption{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 16px;font-size:13px}
.v40-detail .video-caption strong{min-width:0;overflow-wrap:anywhere;flex:1 1 180px}
.v40-detail .video-caption span{flex-shrink:0}
.v40-detail .new-film-description{max-width:960px;padding-top:20px;padding-bottom:36px;overflow-wrap:anywhere}
.v40-detail .new-film-description>p{font-size:16px;line-height:1.75}
.v40-detail .new-film-fallback{font-size:12px;line-height:1.5;margin:10px auto;max-width:800px}
.v40-detail .example-actions{flex-wrap:wrap;gap:10px}
.v40-detail .btn{white-space:normal;max-width:100%;min-height:44px}
.v40-credits{border-top:1px solid #e0e0e4;margin-top:24px;padding-top:16px;font-size:12px;line-height:1.75;color:#5c5c65;overflow-wrap:anywhere}
.v40-credits h2{font-size:16px;margin:0 0 10px}
.v40-detail [id]{scroll-margin-top:100px}
@media(max-width:1099px){.home-edit-v13 .v40-four-grid,.launch-video-catalog .v40-four-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:700px){.v40-detail .detail-hero-grid{grid-template-columns:minmax(0,1fr);gap:18px}.v40-detail .v40-detail-poster{width:100%;max-width:400px;margin-inline:auto}.v40-detail .detail-hero{padding-block:20px}.v40-detail .new-film-heading{padding-top:22px}.v40-detail .new-film-description>p{font-size:15px}.v40-detail .detail-copy .detail-lede{font-size:15px}}
@media(max-width:620px){
 .home-edit-v13 .v40-four-grid,.launch-video-catalog .v40-four-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .home-page .v40-four-grid>.launch-video-card,.launch-video-catalog .v40-four-grid>.launch-video-card{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:min-content min-content 1fr}
 .v40-four-grid .launch-video-cover{grid-column:1;grid-row:1;align-self:start}
 .home-page .v40-four-grid .launch-video-cover img,.launch-video-catalog .v40-four-grid .launch-video-cover img{height:104px!important;aspect-ratio:auto;object-fit:contain!important}
 .v40-four-grid .launch-watch-button{grid-column:1;grid-row:2;font-size:12px}
 .home-page .v40-four-grid .launch-video-info,.launch-video-catalog .v40-four-grid .launch-video-info{grid-column:2;grid-row:1/4;padding:12px!important}
 .v40-four-grid .launch-video-info h3{font-size:16px!important}
 .v40-four-grid .launch-video-info p{font-size:12px;line-height:1.5;margin:8px 0}
 .v40-four-grid .launch-play{width:32px;height:32px;font-size:13px}
 .v40-four-grid .launch-film-details{font-size:12px}
}
@media(max-width:559px){.v40-book-card .v40-book-poster{width:88px;height:132px}.v40-book-card .book-card-actions{grid-column:1/-1}.v40-book-card .book-card-stores{grid-column:1/-1}.v40-detail .catalog-stores{grid-template-columns:minmax(0,1fr)}}
