/* SJB 1.3.8: imagem destacada compacta e conteúdo editorial consistente. */
body.page .sjb-page-featured-wrap{width:min(94%,1240px)!important;max-width:1240px!important;margin:22px auto 32px!important;padding:0!important}
body.page .sjb-page-featured{width:min(100%,820px)!important;max-width:820px!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;border-radius:14px!important;box-shadow:0 8px 24px rgba(35,48,30,.09)}
body.page .sjb-page-featured img,body.page .sjb-page-featured-image{display:block!important;width:100%!important;max-width:100%!important;height:clamp(200px,26vw,320px)!important;object-fit:cover!important;object-position:center!important;margin:0!important;border-radius:14px!important}
body.page .container.prose.entry{width:min(94%,1240px)!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
/* Conteúdo clássico sem grade editorial: evitar fotos gigantes, sem afetar galerias e formulários. */
body.page .prose.entry > figure.wp-block-image:not(.alignfull):not(.alignwide){max-width:760px!important;margin:24px auto!important}
body.page .prose.entry > figure.wp-block-image:not(.alignfull):not(.alignwide) img{display:block!important;max-width:100%!important;width:auto!important;height:auto!important;max-height:380px!important;margin:0 auto!important;object-fit:contain!important;border-radius:12px!important}
body.page .prose.entry .wp-block-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
body.page .prose.entry .wp-block-gallery figure{width:auto!important;min-width:0!important;margin:0!important}
body.page .prose.entry .wp-block-gallery img{width:100%!important;height:240px!important;object-fit:cover!important;border-radius:10px!important}
@media(max-width:760px){body.page .sjb-page-featured-wrap{margin:14px auto 24px!important}body.page .sjb-page-featured img,body.page .sjb-page-featured-image{height:220px!important}body.page .prose.entry .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}body.page .prose.entry .wp-block-gallery img{height:160px!important}}
