/* ==========================================================================
   Portal Editorial Finance — tabelas financeiras no texto das matérias
   Cada tabela é envolvida por .pef-table-wrap (rolagem horizontal só dentro do contêiner).
   ========================================================================== */
.pef-table-wrap{position:relative;max-width:100%;margin:28px 0;overflow-x:auto;overscroll-behavior-x:contain}
.pef-table-wrap:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.entry-content figure.wp-block-table{margin:0;overflow:visible}
.entry-content table{width:100%;max-width:none;margin:0;border-collapse:collapse;border-spacing:0;font-family:var(--font-body);font-size:16px;line-height:1.3;color:var(--muted);background:transparent;table-layout:auto}
.entry-content caption{caption-side:bottom;padding:10px 0 0;font:400 14px/1.4 var(--font-sans);color:var(--muted);text-align:left}
.entry-content thead{background:var(--surface-secondary)}
.entry-content th{padding:10px 12px;border-bottom:2px solid var(--border-strong);font-weight:700;font-size:15px;line-height:1.25;text-align:left;vertical-align:bottom;color:var(--text);background:var(--surface-secondary)}
.entry-content td{padding:9px 12px;border-bottom:1px solid var(--border);vertical-align:top;text-align:left}
.entry-content tbody tr:nth-child(even) td,.entry-content tbody tr:nth-child(even) th{background:var(--surface)}
.entry-content tbody tr:hover td{background:var(--surface-secondary)}
.entry-content tfoot td,.entry-content tfoot th{border-top:2px solid var(--border-strong);font-weight:700;color:var(--text)}
.entry-content table .pef-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.entry-content table td:first-child{color:var(--text)}
.entry-content table td strong{color:var(--text)}
.entry-content table a{color:var(--primary)}
.entry-content.is-justified table p,.entry-content table p{text-align:left;margin:0}
@media (max-width:767.98px){
	.pef-table-wrap table{min-width:520px}
	.entry-content th,.entry-content td{padding:8px 10px}
}
