/* ==========================================================================
   Conteúdo editorial (Gutenberg e HTML importado): tipografia, imagens, galerias, embeds, citações.
   As artes e montagens da matéria são conteúdo do jornalista — o tema só garante exibição correta.
   ========================================================================== */

.le-entry { min-width: 0; overflow-wrap: break-word; font-size: var(--body-size, 17px); line-height: var(--lh, 1.7); color: var(--text); }
.le-entry > * + * { margin-top: 1.15em; }

/* Parágrafos principais justificados (desktop e mobile); nada mais é justificado */
.le-justify .le-entry--article > p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; text-align-last: left; }
.le-justify .le-entry--article > p.has-text-align-left { text-align: left; }
.le-justify .le-entry--article > p.has-text-align-center { text-align: center; text-align-last: center; }
.le-justify .le-entry--article > p.has-text-align-right { text-align: right; text-align-last: right; }

.le-entry h2, .le-entry h3, .le-entry h4, .le-entry h5, .le-entry h6 { font-family: var(--font-heading); font-weight: var(--heading-weight); text-align: left; text-wrap: balance; letter-spacing: -.005em; }
.le-entry h2 { margin-top: 1.9em; font-size: var(--h2-size); line-height: 1.22; }
.le-entry h3 { margin-top: 1.7em; font-size: var(--h3-size); line-height: 1.28; }
.le-entry h4 { margin-top: 1.5em; font-size: 18px; line-height: 1.3; }
.le-entry h5 { margin-top: 1.4em; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.le-entry h6 { margin-top: 1.4em; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.le-entry h2 + *, .le-entry h3 + *, .le-entry h4 + * { margin-top: .65em; }

.le-entry a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.le-entry a:hover { text-decoration-thickness: 2px; }
.le-entry strong, .le-entry b { font-weight: 700; }

.le-entry ul, .le-entry ol { padding-left: 1.4em; }
.le-entry ul { list-style: disc; }
.le-entry ol { list-style: decimal; }
.le-entry li { margin-top: .4em; text-align: left; }
.le-entry li > ul, .le-entry li > ol { margin-top: .4em; }

/* Imagens, figuras e montagens (sem recorte e sem deformação) */
.le-entry img { display: block; max-width: 100%; height: auto; }
.le-entry figure { margin-inline: 0; margin-block: 1.6em; max-width: 100%; }
.le-entry figure img { margin-inline: auto; }
.le-entry figcaption, .le-entry .wp-element-caption, .le-entry .wp-caption-text { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: left; }
.le-entry .wp-block-image img { width: auto; max-width: 100%; height: auto; }
.le-entry .wp-block-image.alignwide img, .le-entry .wp-block-image.alignfull img, .le-entry .wp-block-image .alignwide { width: 100%; }
.le-entry .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.le-entry .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.le-entry .aligncenter { margin-inline: auto; }
.le-entry .alignwide, .le-entry .alignfull { max-width: 100%; margin-inline: 0; }
.le-entry::after { content: ""; display: table; clear: both; }

/* Galerias */
.le-entry .wp-block-gallery, .le-entry .gallery { max-width: 100%; }
.le-entry .wp-block-gallery img, .le-entry .gallery img { max-width: 100%; height: auto; }
.le-entry .wp-block-gallery .wp-block-image figcaption { font-size: 12px; }
.le-entry .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.le-entry .gallery-item { margin: 0; }
.le-entry .gallery-item img { width: 100%; object-fit: cover; }
.le-entry .wp-block-gallery img, .le-entry .gallery img { cursor: zoom-in; }

/* Citações editoriais */
.le-entry blockquote {
	margin-inline: 0; padding: 4px 0 4px 20px;
	border-left: 4px solid var(--primary);
	font-size: 1.08em; font-style: italic; line-height: 1.55;
	text-align: left;
}
.le-entry blockquote p + p { margin-top: .7em; }
.le-entry blockquote cite, .le-entry .wp-block-quote__citation { display: block; margin-top: .6em; font-size: 14px; font-style: normal; font-weight: 600; color: var(--muted); }
.le-entry .wp-block-pullquote { margin-block: 2em; padding: 22px 8px; border-block: 3px solid var(--primary); text-align: center; }
.le-entry .wp-block-pullquote blockquote { padding: 0; border: 0; font-family: var(--font-heading); font-weight: 800; font-style: normal; font-size: 1.5em; line-height: 1.25; text-align: center; }
.le-entry .is-style-large, .le-entry .wp-block-quote.is-large { padding-left: 24px; font-size: 1.3em; }
.le-entry .le-note, .le-entry .is-style-le-note { padding: 14px 18px; background: var(--surface-soft); border-left: 4px solid var(--muted); border-radius: var(--card-radius); font-size: .95em; }
.le-entry .has-drop-cap:not(:focus)::first-letter { font-family: var(--font-heading); font-weight: 800; font-size: 3.6em; line-height: .85; padding: .06em .1em 0 0; float: left; }

/* Vídeo, áudio e embeds responsivos (sem autoplay) */
.le-entry iframe { display: block; max-width: 100%; border: 0; }
.le-entry iframe[src*="youtube"], .le-entry iframe[src*="youtu.be"], .le-entry iframe[src*="vimeo"], .le-entry iframe[src*="dailymotion"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.le-entry video { display: block; width: 100%; height: auto; background: #000; }
.le-entry audio { width: 100%; }
.le-entry .wp-block-embed__wrapper { max-width: 100%; }
.le-entry .wp-has-aspect-ratio .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.le-entry .instagram-media, .le-entry .twitter-tweet, .le-entry .tiktok-embed, .le-entry .fb-post { max-width: 100% !important; min-width: 0 !important; margin-inline: auto !important; }
.le-entry .wp-block-embed-twitter .wp-block-embed__wrapper, .le-entry .wp-block-embed-instagram .wp-block-embed__wrapper, .le-entry .wp-block-embed-tiktok .wp-block-embed__wrapper { display: flex; justify-content: center; overflow: hidden; }

/* Tabelas, código e separadores */
.le-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.le-entry table { width: 100%; border-collapse: collapse; font-size: .92em; }
.le-entry th, .le-entry td { padding: 9px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.le-entry th { background: var(--surface-soft); font-weight: 700; }
.le-entry pre { max-width: 100%; overflow-x: auto; padding: 14px 16px; background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--card-radius); font: 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; text-align: left; }
.le-entry code { padding: .1em .35em; background: var(--surface-soft); border-radius: 3px; font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.le-entry pre code { padding: 0; background: none; }
.le-entry hr, .le-entry .wp-block-separator { height: 1px; margin-block: 2em; background: var(--border); border: 0; }

/* Anúncios dentro do texto não pesam na coluna */
.le-entry .le-ad { margin-block: 26px; }

/* Editor de blocos (admin) */
.editor-styles-wrapper { font-family: var(--font-body, 'Inter', Arial, sans-serif); }
