/* ============================================================
   MH Editor — estilos do CONTEÚDO na página pública.
   Carregue no site (não no admin) e envolva o texto salvo em
   <div class="mh-content"> ... </div>
   ============================================================ */
.mh-content { line-height: 1.75; overflow-wrap: break-word; }
.mh-content::after { content: ''; display: table; clear: both; } /* fecha os floats das imagens */
.mh-content img { max-width: 100%; height: auto; }
.mh-content blockquote { border-left: 3px solid currentColor; padding: 8px 14px; margin: 16px 0; opacity: .85; }
.mh-content table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.mh-content td, .mh-content th { border: 1px solid rgba(0,0,0,.15); padding: 8px 10px; }
.mh-content code { background: rgba(0,0,0,.06); padding: 2px 5px; border-radius: 4px; font-family: monospace; }

.mh-content .editor-figure { margin: 20px 0; max-width: 100%; }
.mh-content .editor-figure.align-center { display: table; margin-left: auto; margin-right: auto; }
.mh-content .editor-figure.align-left  { float: left;  margin: 4px 20px 12px 0; }
.mh-content .editor-figure.align-right { float: right; margin: 4px 0 12px 20px; }
.mh-content .editor-figure img { width: 100%; display: block; border-radius: 6px; }
.mh-content .editor-figure figcaption { margin-top: 6px; font-size: .8rem; opacity: .7; text-align: center; }
.mh-content .editor-figure figcaption:empty { display: none; }

.mh-content .video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 20px 0; border-radius: 10px; overflow: hidden; }
.mh-content .video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* No celular, imagens alinhadas à esquerda/direita ocupam a largura toda */
@media (max-width: 600px) {
  .mh-content .editor-figure.align-left,
  .mh-content .editor-figure.align-right { float: none; width: 100% !important; margin: 16px 0; }
}
