/* =====================================================================
   Cinematizando v0.15.0 — ESTRUTURA PÚBLICA ÚNICA
   A Home é a referência de largura/alinhamento para todas as páginas.
   Esta folha é carregada por último e substitui as camadas v0.14.x.
   ===================================================================== */

html,body{width:100%;max-width:100%;overflow-x:hidden}
body.public-layout-v15{
  --v15-gutter:var(--page-gutter,24px);
  --v15-shell:calc(100vw - (var(--v15-gutter) * 2));
  --v15-reading:var(--reading-max,960px);
}

/* EIXO ÚNICO: Home e todas as demais telas. */
body.public-layout-v15 main.home-axis-page,
body.public-layout-v15 .legacy-masthead,
body.public-layout-v15 .heritage-banner,
body.public-layout-v15 .footer-grid,
body.public-layout-v15 .footer-bottom{
  width:var(--v15-shell)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body.public-layout-v15 main.home-axis-page{
  padding-left:0!important;
  padding-right:0!important;
}

/* Qualquer wrapper direto da página ocupa exatamente o mesmo eixo. */
body.public-layout-v15 main.home-axis-page > .catalog-hero,
body.public-layout-v15 main.home-axis-page > .catalog-toolbar-mobile,
body.public-layout-v15 main.home-axis-page > .catalog-layout,
body.public-layout-v15 main.home-axis-page > .section,
body.public-layout-v15 main.home-axis-page > .author-hero,
body.public-layout-v15 main.home-axis-page > .detail-content,
body.public-layout-v15 main.home-axis-page > .page-content-wrap,
body.public-layout-v15 main.home-axis-page > .page-hero-inner,
body.public-layout-v15 main.home-axis-page > .legacy-content-shell,
body.public-layout-v15 main.home-axis-page > article.article{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}

/* NUNCA existe coluna lateral pública. */
body.public-layout-v15 .legacy-sidebar,
body.public-layout-v15 .public-sidebar,
body.public-layout-v15 .page-sidebar,
body.public-layout-v15 .content-sidebar,
body.public-layout-v15 aside.sidebar,
body.public-layout-v15 aside.home-sidebar{
  display:none!important;
}
body.public-layout-v15 .legacy-content-shell,
body.public-layout-v15 .legacy-one-column,
body.public-layout-v15 .legacy-two-column,
body.public-layout-v15 .page-content-wrap{
  display:block!important;
  grid-template-columns:1fr!important;
}
body.public-layout-v15 .legacy-main-column{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* CATÁLOGOS: filtro acima e resultados em largura total. */
body.public-layout-v15 .catalog-layout{
  width:100%!important;
  max-width:none!important;
  display:block!important;
  grid-template-columns:1fr!important;
  margin:0!important;
  padding:0 0 56px!important;
}
body.public-layout-v15 .filters-panel,
body.public-layout-v15 .filters-panel.filters-top{
  position:static!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 28px!important;
  box-sizing:border-box!important;
}
body.public-layout-v15 .filters-panel form{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px 18px!important;
  align-items:start!important;
}
body.public-layout-v15 .filters-panel .filter-search{grid-column:span 2!important}
body.public-layout-v15 .filters-panel .filter-actions{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}
body.public-layout-v15 .catalog-results,
body.public-layout-v15 .work-teaser-list,
body.public-layout-v15 .home-work-grid,
body.public-layout-v15 .editorial-list,
body.public-layout-v15 .archive-list,
body.public-layout-v15 .author-grid,
body.public-layout-v15 .story-grid,
body.public-layout-v15 .movie-grid{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.public-layout-v15 .catalog-toolbar-mobile,
body.public-layout-v15 .filter-mobile-head,
body.public-layout-v15 .filter-overlay{display:none!important}

/* PÁGINAS EDITORIAIS/ÍNDICES: sem max-width herdado. */
body.public-layout-v15 .editorial-page .catalog-hero,
body.public-layout-v15 .editorial-page .section,
body.public-layout-v15 .editorial-page .author-hero{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* DETALHES DE FILME/SÉRIE: fundo pode ser full bleed; conteúdo usa o mesmo eixo da Home. */
body.public-layout-v15 main.detail-page{width:var(--v15-shell)!important}
body.public-layout-v15 .detail-hero{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc((var(--v15-gutter)) * -1)!important;
  margin-right:0!important;
}
body.public-layout-v15 .detail-hero .detail-inner{
  width:var(--v15-shell)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:var(--layout-gap,24px)!important;
}
body.public-layout-v15 .detail-hero .detail-inner.no-poster{grid-template-columns:1fr!important}
body.public-layout-v15 .detail-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.public-layout-v15 .detail-copy,
body.public-layout-v15 .detail-synopsis,
body.public-layout-v15 .author-bio{max-width:none!important}

/* ARTIGOS/CRÍTICAS: shell amplo; somente o texto corrido tem largura de leitura. */
body.public-layout-v15 main.article-page,
body.public-layout-v15 main.article-page .article,
body.public-layout-v15 .movie-review,
body.public-layout-v15 .legacy-review-layout,
body.public-layout-v15 .page-rich,
body.public-layout-v15 .contact-panel{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.public-layout-v15 .article-body,
body.public-layout-v15 .movie-review-body,
body.public-layout-v15 .movie-review-deck,
body.public-layout-v15 .article-deck,
body.public-layout-v15 .page-rich>p,
body.public-layout-v15 .page-rich>ul,
body.public-layout-v15 .page-rich>ol,
body.public-layout-v15 .page-rich>blockquote{
  width:100%!important;
  max-width:var(--v15-reading)!important;
  margin-left:0!important;
  margin-right:auto!important;
}
body.public-layout-v15 .article-image,
body.public-layout-v15 .movie-review-image{
  width:100%!important;
  max-width:var(--v15-reading)!important;
  margin-left:0!important;
  margin-right:auto!important;
}
body.public-layout-v15 .article-related,
body.public-layout-v15 .legacy-adjacent,
body.public-layout-v15 .review-tags,
body.public-layout-v15 .share-block{
  width:100%!important;
  max-width:none!important;
}

/* PÁGINAS INSTITUCIONAIS: mesmo eixo; formulário abaixo do conteúdo. */
body.public-layout-v15 .page-hero,
body.public-layout-v15 .page-template .page-content-wrap{
  width:100%!important;
  max-width:none!important;
}
body.public-layout-v15 .page-hero-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.public-layout-v15 .contact-panel{margin-top:32px!important}

/* HEADER/FAIXA/RODAPÉ: mesma margem lateral da Home. Menu continua full width. */
body.public-layout-v15 .legacy-site-header.nav-full-width .legacy-nav-shell{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:0!important;
}
body.public-layout-v15 .legacy-site-header.nav-contained .legacy-nav-shell{
  width:var(--v15-shell)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.public-layout-v15 .heritage-wrap{width:100%!important;max-width:none!important}
body.public-layout-v15 .heritage-wrap.heritage-full-width .heritage-banner{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
}
body.public-layout-v15 .site-footer{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}

/* 404 usa o mesmo eixo. */
body.public-layout-v15 main.not-found.home-axis-page{
  width:var(--v15-shell)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:1100px){
  body.public-layout-v15{--v15-gutter:var(--page-gutter-tablet,16px)}
  body.public-layout-v15 .filters-panel form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.public-layout-v15 .filters-panel .filter-search{grid-column:1/-1!important}
  body.public-layout-v15 .detail-hero .detail-inner{grid-template-columns:160px minmax(0,1fr)!important}
}

@media(max-width:700px){
  body.public-layout-v15{--v15-gutter:var(--page-gutter-mobile,12px)}
  body.public-layout-v15 .filters-panel form{grid-template-columns:1fr!important}
  body.public-layout-v15 .filters-panel .filter-search,
  body.public-layout-v15 .filters-panel .filter-actions{grid-column:1!important}
  body.public-layout-v15 .filters-panel .filter-actions{display:grid!important;grid-template-columns:1fr!important}
  body.public-layout-v15 .detail-hero .detail-inner,
  body.public-layout-v15 .detail-hero .detail-inner.no-poster{display:block!important}
  body.public-layout-v15 .detail-poster{width:130px!important;margin-bottom:18px!important}
}

/* v0.15.1 — índices de Filmes/Séries/Clássicos/Terror/Variedades no mesmo formato da Home */
body.public-layout-v15 .legacy-feed-index .legacy-content-shell{padding-top:24px!important}
body.public-layout-v15 .legacy-feed-index .legacy-main-column{width:100%!important;max-width:none!important;margin:0!important}
body.public-layout-v15 .legacy-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:0 0 22px;margin:0 0 12px;border-bottom:1px solid var(--site-border,#333)}
body.public-layout-v15 .legacy-list-heading h1{font-family:var(--site-font,'Poppins',sans-serif)!important;font-size:34px;line-height:1.08;font-weight:500;margin:0 0 6px;color:var(--site-text,#fff)}
body.public-layout-v15 .legacy-list-heading p{font-size:13px;line-height:1.55;color:var(--site-muted,#aaa);margin:0;max-width:780px}
body.public-layout-v15 .legacy-list-search{display:flex;gap:6px;min-width:min(360px,100%)}
body.public-layout-v15 .legacy-list-search input{height:36px;min-width:0;flex:1;background:#f1f1f1;color:#111;border:1px solid #aaa;padding:0 10px;font-family:var(--site-font,'Poppins',sans-serif)}
body.public-layout-v15 .legacy-list-search button{height:36px;border:0;background:#2a2a2a;color:#fff;padding:0 14px;cursor:pointer;font-family:var(--site-font,'Poppins',sans-serif)}
body.public-layout-v15 .legacy-list-count{font-size:11px;color:var(--site-muted,#999);margin:0 0 22px}
body.public-layout-v15 .legacy-feed-index .legacy-post-card{width:100%!important;max-width:none!important}
@media(max-width:760px){body.public-layout-v15 .legacy-list-heading{display:block}body.public-layout-v15 .legacy-list-search{margin-top:14px;min-width:0;width:100%}body.public-layout-v15 .legacy-list-heading h1{font-size:28px}}

/* v0.15.3 — Quem Somos sem hero */
body.public-layout-v15 .page-template-no-hero .page-content-wrap{
  padding-top:28px;
}
@media(max-width:900px){
  body.public-layout-v15 .page-template-no-hero .page-content-wrap{padding-top:22px;}
}
@media(max-width:580px){
  body.public-layout-v15 .page-template-no-hero .page-content-wrap{padding-top:18px;}
}


/* v0.15.4 — Faixa Memória no mesmo eixo/largura das páginas */
body.public-layout-v15 .heritage-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
body.public-layout-v15 .heritage-banner,
body.public-layout-v15 .heritage-wrap.heritage-full-width .heritage-banner{
  width:calc(100vw - (var(--page-gutter,24px) * 2))!important;
  max-width:none!important;
  margin-left:var(--page-gutter,24px)!important;
  margin-right:var(--page-gutter,24px)!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.public-layout-v15 .heritage-banner img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:980px){
  body.public-layout-v15 .heritage-banner,
  body.public-layout-v15 .heritage-wrap.heritage-full-width .heritage-banner{
    width:calc(100vw - (var(--page-gutter-tablet,16px) * 2))!important;
    margin-left:var(--page-gutter-tablet,16px)!important;
    margin-right:var(--page-gutter-tablet,16px)!important;
  }
}
@media(max-width:640px){
  body.public-layout-v15 .heritage-banner,
  body.public-layout-v15 .heritage-wrap.heritage-full-width .heritage-banner{
    width:calc(100vw - (var(--page-gutter-mobile,12px) * 2))!important;
    margin-left:var(--page-gutter-mobile,12px)!important;
    margin-right:var(--page-gutter-mobile,12px)!important;
  }
}
