/* Shell comum para cabeçalho, grades e componentes amplos. */
:root{--cjp-max:76rem;--cjp-editorial:60rem;--cjp-reading:58rem}
body:not(.home) main#conteudo{width:min(var(--cjp-max),calc(100% - 2rem))!important;max-width:var(--cjp-max)!important;margin-inline:auto!important}

/* Breadcrumb, título e conteúdo de leitura formam uma coluna centralizada.
   O texto permanece alinhado à esquerda dentro dessa coluna. */
body:not(.home) main#conteudo>:is(.wp-block-shortcode,.wp-block-post-title,.cjp-breadcrumbs,.cjp-post-meta,.cjp-post-taxonomy,.cjp-share,.cjp-related){width:min(100%,var(--cjp-editorial))!important;max-width:var(--cjp-editorial)!important;margin-inline:auto!important;text-align:left}
body:not(.home) main#conteudo>.wp-block-shortcode .cjp-breadcrumbs{width:100%;max-width:none;margin-inline:0;text-align:left}
body:not(.home) main#conteudo>.wp-block-post-content{width:100%!important;max-width:none!important;margin-inline:0!important}
body:not(.home) main#conteudo>.wp-block-post-content>:is(p,ul,ol,h2,h3,blockquote,.cjp-page-text,.cjp-page-text--wide,.cjp-institutional-text,.cjp-universalismo){width:min(100%,var(--cjp-editorial))!important;max-width:var(--cjp-editorial)!important;margin-inline:auto!important;text-align:left}
body:not(.home) main#conteudo>.wp-block-post-content>.cjp-universalismo p{max-width:50rem}
body:not(.home) main#conteudo>.wp-block-post-content>:is(.cjp-page-text,.cjp-page-text--wide,.cjp-institutional-text,.cjp-universalismo) :is(p,ul,ol){width:min(100%,var(--cjp-reading))!important;max-width:var(--cjp-reading)!important;margin-left:0!important;margin-right:auto!important}

/* Componentes amplos continuam no shell; sua abertura textual acompanha a coluna editorial. */
body:not(.home) main#conteudo .cjp-contact-page>.cjp-content-intro,
body:not(.home) main#conteudo .cjp-livraria>p,
body:not(.home) main#conteudo .cjp-livraria>h2,
body:not(.home) main#conteudo .cjp-livraria__story{width:min(100%,var(--cjp-editorial));max-width:var(--cjp-editorial);margin-inline:auto}

/* Instagram da Home: nenhum shortcode/erro aparece quando a conta não está conectada. */
.cjp-instagram-home{background:var(--cjp-paper)}
.cjp-instagram-home__inner{padding-block:clamp(2.5rem,5vw,4rem)}
.cjp-instagram-home__head{max-width:48rem;margin-bottom:1.5rem}
.cjp-instagram-home__head h2{margin:0 0 .6rem}
.cjp-instagram-home__head p{margin:0;color:var(--cjp-muted)}
.cjp-instagram-home__fallback{display:grid;gap:.8rem;justify-items:start;padding:1.5rem;border:1px solid var(--cjp-border);border-radius:var(--cjp-radius);background:#f1f7f3}
.cjp-instagram-home__fallback p{margin:0}
.cjp-instagram-home__cta{margin:1.5rem 0 0}
.cjp-instagram-home .sbi_item{min-width:0}
.cjp-instagram-home .sbi_photo{border-radius:.55rem;overflow:hidden}
.cjp-instagram-home .sbi_load_btn,.cjp-instagram-home .sbi_follow_btn{display:none!important}
