/* CSS para Formatação Completa de Notícias */
/* Toda a formatação aplicada aos elementos dentro de .news-content e .trumbowyg-editor */

/* Configurações base para o container */
.news-content,
.trumbowyg-editor {
	/* font-family: 'Georgia', 'Times New Roman', serif; */
	font-size: 18px;
	line-height: 1.8;
	color: #333;
}

/* Parágrafos */
.news-content p,
.trumbowyg-editor p {
	margin-bottom: 20px;
	/* text-align: justify; */
}

/* Primeiro parágrafo (lead) */
.news-content p:first-child,
.news-content .lead,
.trumbowyg-editor p:first-child,
.trumbowyg-editor .lead {
	font-size: 18px;
	font-weight: 500;
	color: #2c2c2c;
	margin-bottom: 15px;
}

/* Subtítulos dentro do texto */
.news-content h1,
.trumbowyg-editor h1 {
	font-size: 2.5em;
	font-weight: bold;
	line-height: 1.2;
	margin: 35px 0 15px 0;
	color: #1a1a1a;
	font-family: 'Arial', 'Helvetica', sans-serif;
}

.news-content h2,
.trumbowyg-editor h2 {
	font-size: 1.8em;
	font-weight: bold;
	color: #333;
	margin: 35px 0 20px 0;
	padding-left: 0px;
}

.news-content h3,
.trumbowyg-editor h3 {
	font-size: 1.4em;
	font-weight: bold;
	color: #333;
	margin: 35px 0 20px 0;
	border-left: 4px solid #007acc;
	padding-left: 15px;
}

.news-content h4,
.trumbowyg-editor h4 {
	font-size: 1.2em;
	font-weight: bold;
	color: #444;
	margin: 25px 0 15px 0;
}

.news-content h5,
.trumbowyg-editor h5 {
	font-size: 1.1em;
	font-weight: bold;
	color: #555;
	margin: 20px 0 10px 0;
}

.news-content h6,
.trumbowyg-editor h6 {
	font-size: 1em;
	font-weight: bold;
	color: #666;
	margin: 20px 0 10px 0;
}

/* Formatação de texto */
.news-content strong,
.news-content b,
.trumbowyg-editor strong,
.trumbowyg-editor b {
	font-weight: bold;
	color: #1a1a1a;
}

.news-content em,
.news-content i,
.trumbowyg-editor em,
.trumbowyg-editor i {
	font-style: italic;
	color: #444;
}

.news-content u,
.trumbowyg-editor u {
	text-decoration: underline;
	text-decoration-color: #007acc;
}

.news-content mark,
.trumbowyg-editor mark {
	background-color: #fff3cd;
	padding: 2px 4px;
	border-radius: 2px;
}

.news-content small,
.trumbowyg-editor small {
	font-size: 0.85em;
	color: #666;
}

.news-content del,
.trumbowyg-editor del {
	text-decoration: line-through;
	color: #666;
}

.news-content ins,
.trumbowyg-editor ins {
	text-decoration: underline;
	background-color: #d4edda;
	padding: 1px 2px;
}

/* Links */
.news-content a,
.trumbowyg-editor a {
	color: #007acc;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.news-content a:hover,
.trumbowyg-editor a:hover {
	color: #005999;
	border-bottom-color: #005999;
}

.news-content a:focus,
.trumbowyg-editor a:focus {
	outline: 2px solid #007acc;
	outline-offset: 2px;
}

/* Citações */
.news-content blockquote,
.trumbowyg-editor blockquote {
	background: #f8f9fa;
	border-left: 5px solid #007acc;
	margin: 15px 0;
	padding: 20px 25px;
	font-style: italic;
	font-size: 1.1em;
	color: #555;
	border-radius: 0 5px 5px 0;
}

.news-content blockquote p:last-child,
.trumbowyg-editor blockquote p:last-child {
	margin-bottom: 0;
}

/* Citação inline */
.news-content q,
.trumbowyg-editor q {
	font-style: italic;
	color: #555;
}

.news-content q:before,
.trumbowyg-editor q:before {
	content: "“";
}

.news-content q:after,
.trumbowyg-editor q:after {
	content: "”";
}

/* Listas */
.news-content ul,
.news-content ol,
.trumbowyg-editor ul,
.trumbowyg-editor ol {
	margin: 20px 0;
	padding-left: 30px;
}

.news-content li,
.trumbowyg-editor li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.news-content ul li,
.trumbowyg-editor ul li {
	list-style-type: disc;
}

.news-content ol li,
.trumbowyg-editor ol li {
	list-style-type: decimal;
}

/* Listas aninhadas */
.news-content ul ul,
.news-content ol ol,
.news-content ul ol,
.news-content ol ul,
.trumbowyg-editor ul ul,
.trumbowyg-editor ol ol,
.trumbowyg-editor ul ol,
.trumbowyg-editor ol ul {
	margin: 10px 0;
	padding-left: 25px;
}

/* Listas de definição */
.news-content dl,
.trumbowyg-editor dl {
	margin: 20px 0;
}

.news-content dt,
.trumbowyg-editor dt {
	font-weight: bold;
	margin-bottom: 5px;
	color: #333;
}

.news-content dd,
.trumbowyg-editor dd {
	margin-left: 20px;
	margin-bottom: 15px;
}

/* Imagens - LARGURA COMPLETA */
.news-content img,
.trumbowyg-editor img {
	width: 100%;
	height: auto;
	margin: 15px 0;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: block;
}

/* Figuras e legendas */
.news-content figure,
.trumbowyg-editor figure {
	margin: 15px 0;
}

.news-content figure img,
.trumbowyg-editor figure img {
	margin-bottom: 10px;
}

.news-content figcaption,
.news-content .image-caption,
.trumbowyg-editor figcaption,
.trumbowyg-editor .image-caption {
	font-size: 13px;
	color: #666;
	font-style: italic;
	text-align: center;
	margin-top: 8px;
	padding: 0 20px;
}

.news-content .image-credit,
.trumbowyg-editor .image-credit {
	font-size: 11px;
	color: #999;
	text-align: right;
	margin-top: 5px;
}

/* Código */
.news-content code,
.trumbowyg-editor code {
	background: #f4f4f4;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
	color: #d63384;
}

.news-content pre,
.trumbowyg-editor pre {
	background: #f8f8f8;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 15px;
	overflow-x: auto;
	margin: 20px 0;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 1.4;
}

.news-content pre code,
.trumbowyg-editor pre code {
	background: none;
	padding: 0;
	color: inherit;
}

/* Teclado e saída de computador */
.news-content kbd,
.trumbowyg-editor kbd {
	background: #212529;
	color: #fff;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
	font-size: 0.85em;
}

.news-content samp,
.trumbowyg-editor samp {
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
	background: #f8f9fa;
	padding: 2px 4px;
}

/* Tabelas */
.news-content table,
.trumbowyg-editor table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	font-size: 16px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	overflow: hidden;
}

.news-content thead,
.trumbowyg-editor thead {
	background: #007acc;
	color: white;
}

.news-content th,
.news-content td,
.trumbowyg-editor th,
.trumbowyg-editor td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.news-content th,
.trumbowyg-editor th {
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
}

.news-content tbody tr:nth-child(even),
.trumbowyg-editor tbody tr:nth-child(even) {
	background: #f8f9fa;
}

.news-content tbody tr:hover,
.trumbowyg-editor tbody tr:hover {
	background: #e8f4ff;
}

.news-content caption,
.trumbowyg-editor caption {
	font-style: italic;
	margin-bottom: 10px;
	color: #666;
}

/* Elementos de destaque */
.news-content .highlight-box,
.trumbowyg-editor .highlight-box {
	background: #e8f4ff;
	border: 2px solid #007acc;
	padding: 20px;
	margin: 15px 0;
	border-radius: 8px;
}

.news-content .info-box,
.trumbowyg-editor .info-box {
	background: #d1ecf1;
	border-left: 4px solid #17a2b8;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 0 5px 5px 0;
}

.news-content .warning-box,
.trumbowyg-editor .warning-box {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 0 5px 5px 0;
}

.news-content .alert,
.trumbowyg-editor .alert {
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 5px;
	border-left: 4px solid #007acc;
}

.news-content .alert-info,
.trumbowyg-editor .alert-info {
	background: #d1ecf1;
	border-color: #17a2b8;
}

.news-content .alert-warning,
.trumbowyg-editor .alert-warning {
	background: #fff3cd;
	border-color: #ffc107;
}

.news-content .alert-success,
.trumbowyg-editor .alert-success {
	background: #d4edda;
	border-color: #28a745;
}

.news-content .alert-danger,
.trumbowyg-editor .alert-danger {
	background: #f8d7da;
	border-color: #dc3545;
}

/* Separadores */
.news-content hr,
.trumbowyg-editor hr {
	border: none;
	height: 2px;
	background: linear-gradient(to right, transparent, #ddd, transparent);
	margin: 30px 0;
}

/* Elementos semânticos */
.news-content article,
.trumbowyg-editor article {
	margin-bottom: 40px;
}

.news-content section,
.trumbowyg-editor section {
	margin-bottom: 30px;
}

.news-content aside,
.trumbowyg-editor aside {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	padding: 20px;
	margin: 20px 0;
	border-radius: 5px;
	font-size: 16px;
}

.news-content details,
.trumbowyg-editor details {
	margin: 20px 0;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}

.news-content summary,
.trumbowyg-editor summary {
	background: #f8f9fa;
	padding: 15px;
	cursor: pointer;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
}

.news-content summary:hover,
.trumbowyg-editor summary:hover {
	background: #e9ecef;
}

.news-content details[open]>*:not(summary),
.trumbowyg-editor details[open]>*:not(summary) {
	padding: 15px;
}

/* Endereços */
.news-content address,
.trumbowyg-editor address {
	font-style: italic;
	margin: 20px 0;
	padding: 15px;
	background: #f8f9fa;
	border-left: 4px solid #6c757d;
}

/* Elementos de formulário (se houver) */
.news-content input,
.news-content textarea,
.news-content select,
.trumbowyg-editor input,
.trumbowyg-editor textarea,
.trumbowyg-editor select {
	width: 100%;
	padding: 10px;
	margin: 5px 0 15px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
}

.news-content button,
.trumbowyg-editor button {
	background: #007acc;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s ease;
}

.news-content button:hover,
.trumbowyg-editor button:hover {
	background: #005999;
}

.news-content button:focus,
.news-content input:focus,
.news-content textarea:focus,
.news-content select:focus,
.trumbowyg-editor button:focus,
.trumbowyg-editor input:focus,
.trumbowyg-editor textarea:focus,
.trumbowyg-editor select:focus {
	outline: 2px solid #007acc;
	outline-offset: 2px;
}

.news-content label,
.trumbowyg-editor label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #333;
}

.news-content fieldset,
.trumbowyg-editor fieldset {
	margin: 20px 0;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
}

.news-content legend,
.trumbowyg-editor legend {
	font-weight: bold;
	padding: 0 10px;
	color: #333;
}

/* Elementos de citação e referência */
.news-content cite,
.trumbowyg-editor cite {
	font-style: italic;
	color: #666;
}

.news-content abbr,
.trumbowyg-editor abbr {
	text-decoration: underline dotted;
	cursor: help;
}

.news-content dfn,
.trumbowyg-editor dfn {
	font-style: italic;
	font-weight: bold;
}

/* Elementos de tempo */
.news-content time,
.trumbowyg-editor time {
	color: #666;
	font-style: italic;
}

/* Sub e superscrito */
.news-content sub,
.news-content sup,
.trumbowyg-editor sub,
.trumbowyg-editor sup {
	font-size: 0.8em;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

.news-content sub,
.trumbowyg-editor sub {
	bottom: -0.25em;
}

.news-content sup,
.trumbowyg-editor sup {
	top: -0.5em;
}

/* Elementos de dados */
.news-content data,
.trumbowyg-editor data {
	font-family: 'Courier New', monospace;
}

.news-content var,
.trumbowyg-editor var {
	font-style: italic;
	color: #007acc;
}

/* Progress e meter */
.news-content progress,
.news-content meter,
.trumbowyg-editor progress,
.trumbowyg-editor meter {
	width: 100%;
	margin: 10px 0;
}

/* Responsividade específica para .news-content e .trumbowyg-editor */
@media (max-width: 768px) {

	.news-content,
	.trumbowyg-editor {
		font-size: 16px;
	}

	.news-content p:first-child,
	.news-content .lead,
	.trumbowyg-editor p:first-child,
	.trumbowyg-editor .lead {
		font-size: 18px;
	}

	.news-content h1,
	.trumbowyg-editor h1 {
		font-size: 2em;
	}

	.news-content h2,
	.trumbowyg-editor h2 {
		font-size: 1.5em;
	}

	.news-content h3,
	.trumbowyg-editor h3 {
		font-size: 1.3em;
	}

	.news-content table,
	.trumbowyg-editor table {
		font-size: 14px;
	}

	.news-content th,
	.news-content td,
	.trumbowyg-editor th,
	.trumbowyg-editor td {
		padding: 8px 10px;
	}

	.news-content blockquote,
	.trumbowyg-editor blockquote {
		padding: 15px 20px;
		margin: 20px -10px;
	}
}

@media (max-width: 480px) {

	.news-content,
	.trumbowyg-editor {
		font-size: 15px;
	}

	.news-content h1,
	.trumbowyg-editor h1 {
		font-size: 1.6em;
	}

	.news-content h2,
	.trumbowyg-editor h2 {
		font-size: 1.3em;
	}

	.news-content h3,
	.trumbowyg-editor h3 {
		font-size: 1.2em;
	}
}

*/
/* Elementos específicos para impressão */
@media print {

	.news-content,
	.trumbowyg-editor {
		font-size: 12pt;
		line-height: 1.4;
	}

	.news-content h1,
	.trumbowyg-editor h1 {
		font-size: 18pt;
	}

	.news-content h2,
	.trumbowyg-editor h2 {
		font-size: 16pt;
	}

	.news-content h3,
	.trumbowyg-editor h3 {
		font-size: 14pt;
	}

	.news-content blockquote,
	.trumbowyg-editor blockquote {
		page-break-inside: avoid;
	}

	.news-content table,
	.trumbowyg-editor table {
		page-break-inside: avoid;
	}

	.news-content img,
	.trumbowyg-editor img {
		max-width: 100%;
		page-break-inside: avoid;
	}

	.news-content .highlight-box,
	.news-content .info-box,
	.news-content .warning-box,
	.news-content .alert,
	.trumbowyg-editor .highlight-box,
	.trumbowyg-editor .info-box,
	.trumbowyg-editor .warning-box,
	.trumbowyg-editor .alert {
		page-break-inside: avoid;
	}
}

/* Elementos de acessibilidade */
.news-content .sr-only,
.trumbowyg-editor .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Melhorias visuais adicionais */
.news-content ::selection,
.trumbowyg-editor ::selection {
	background: #007acc;
	color: white;
}

.news-content ::-moz-selection,
.trumbowyg-editor ::-moz-selection {
	background: #007acc;
	color: white;
}

/* Scrollbar personalizada para elementos com overflow */
.news-content pre::-webkit-scrollbar,
.trumbowyg-editor pre::-webkit-scrollbar {
	height: 8px;
}

.news-content pre::-webkit-scrollbar-track,
.trumbowyg-editor pre::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.news-content pre::-webkit-scrollbar-thumb,
.trumbowyg-editor pre::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.news-content pre::-webkit-scrollbar-thumb:hover,
.trumbowyg-editor pre::-webkit-scrollbar-thumb:hover {
	background: #555;
}

/* Estados de foco melhorados */
.news-content a:focus-visible,
.trumbowyg-editor a:focus-visible {
	outline: 2px solid #007acc;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Animações sutis */
.news-content a,
.news-content button,
.trumbowyg-editor a,
.trumbowyg-editor button {
	transition: all 0.3s ease;
}

.news-content details summary,
.trumbowyg-editor details summary {
	transition: background-color 0.3s ease;
}

/* Elementos de vídeo e áudio */
.news-content video,
.news-content audio,
.trumbowyg-editor video,
.trumbowyg-editor audio {
	width: 100%;
	margin: 15px 0;
	border-radius: 5px;
}

.news-content iframe,
.trumbowyg-editor iframe {
	width: 100%;
	margin: 15px 0;
	border: none;
	border-radius: 5px;
}

/* Canvas e SVG */
.news-content canvas,
.news-content svg,
.trumbowyg-editor canvas,
.trumbowyg-editor svg {
	max-width: 100%;
	height: auto;
	margin: 15px 0;
}

/* Elementos matemáticos */
.news-content math,
.trumbowyg-editor math {
	display: block;
	text-align: center;
	margin: 20px 0;
}

/* Elementos ruby para anotações */
.news-content ruby,
.trumbowyg-editor ruby {
	font-size: 1em;
}

.news-content rt,
.trumbowyg-editor rt {
	font-size: 0.7em;
	color: #666;
}

/* Tooltips e títulos */
.news-content [title],
.trumbowyg-editor [title] {
	cursor: help;
	text-decoration: underline dotted;
}

/* Elementos de output */
.news-content output,
.trumbowyg-editor output {
	display: inline-block;
	background: #f8f9fa;
	padding: 5px 10px;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
}

/* Melhorias finais para elementos inline */
.news-content bdi,
.news-content bdo,
.trumbowyg-editor bdi,
.trumbowyg-editor bdo {
	font-style: italic;
}

.news-content wbr,
.trumbowyg-editor wbr {
	/* Word break opportunity - sem estilo específico necessário */
}

/* Container da tarefa (não estava associado a .news-content, então permanece igual) */
.todo {
	display: flex;
	align-items: flex-start;
	padding: 8px 12px;
	margin: 6px 0;
	background: #f9f9f9;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	line-height: 1.4;
}

/* Checkbox desabilitada */
.todo input[type="checkbox"] {
	width: 16px;
	height: 16px;
	border: 2px solid #bbb;
	border-radius: 4px;
	background: #f0f0f0;
	cursor: not-allowed;
	margin-right: 10px;
	margin-top: 2px;
	flex-shrink: 0;
}

/* Texto em destaque */
.todo strong {
	font-weight: bold;
	padding: 0 2px;
	/* dá respiro antes e depois */
}



/* YouTube */
.trumbowyg-editor iframe[src*="youtube.com"],
.trumbowyg-editor iframe[src*="youtu.be"],
.news-content iframe[src*="youtube.com"],
.news-content iframe[src*="youtu.be"],

/* Instagram */
.trumbowyg-editor iframe[src*="instagram.com"],
.news-content iframe[src*="instagram.com"],

/* Facebook */
.trumbowyg-editor iframe[src*="facebook.com"],
.news-content iframe[src*="facebook.com"],

/* TikTok */
.trumbowyg-editor iframe[src*="tiktok.com"],
.news-content iframe[src*="tiktok.com"] {
	width: 100% !important;
	/* Largura total */
	height: auto;
	aspect-ratio: 16 / 9;
	/* Mantém proporcional */
	min-height: 350px;
	/* Altura mínima */
	border: none;
	/* Remove bordas */
	border-radius: 8px;
	/* Cantos arredondados */
}







/* Fontes levemente menores apenas para .trumbowyg-editor */
.trumbowyg-editor {
	font-size: 16px;
	/* ao invés de 16px */
	line-height: 1.6;
	/* ao invés de 1.8 */
}

.trumbowyg-editor p {
	margin-bottom: 16px;
	/* ao invés de 20px */
}

.trumbowyg-editor p:first-child,
.trumbowyg-editor .lead {
	font-size: 16px;
	/* ao invés de 20px */
	margin-bottom: 15px;
	/* ao invés de 25px */
}

.trumbowyg-editor h1 {
	font-size: 2.2em;
	/* ao invés de 2.5em */
	line-height: 1.1;
	/* ao invés de 1.2 */
	margin: 32px 0 15px 0;
	/* ao invés de 35px 0 25px 0 */
}

.trumbowyg-editor h2 {
	font-size: 1.6em;
	/* ao invés de 1.8em */
	margin: 32px 0 16px 0;
	/* ao invés de 35px 0 20px 0 */
}

.trumbowyg-editor h3 {
	font-size: 1.3em;
	/* ao invés de 1.4em */
	margin: 32px 0 16px 0;
	/* ao invés de 35px 0 20px 0 */
	padding-left: 13px;
	/* ao invés de 15px */
}

.trumbowyg-editor h4 {
	font-size: 1.1em;
	/* ao invés de 1.2em */
	margin: 15px 0 13px 0;
	/* ao invés de 25px 0 15px 0 */
}

.trumbowyg-editor h5 {
	margin: 16px 0 9px 0;
	/* ao invés de 20px 0 10px 0 */
}

.trumbowyg-editor h6 {
	margin: 16px 0 9px 0;
	/* ao invés de 20px 0 10px 0 */
}

.trumbowyg-editor blockquote {
	font-size: 1em;
	/* ao invés de 1.1em */
	margin: 15px 0;
	/* ao invés de 25px 0 */
	padding: 12px 15px;
	/* ao invés de 20px 25px */
}

.trumbowyg-editor table {
	font-size: 15px;
	/* ao invés de 16px */
	margin: 15px 0;
	/* ao invés de 25px 0 */
}

.trumbowyg-editor th,
.trumbowyg-editor td {
	padding: 10px 13px;
	/* ao invés de 12px 15px */
}

.trumbowyg-editor ul,
.trumbowyg-editor ol {
	margin: 16px 0;
	/* ao invés de 20px 0 */
	padding-left: 27px;
	/* ao invés de 30px */
}

.trumbowyg-editor li {
	margin-bottom: 7px;
	/* ao invés de 8px */
	line-height: 1.4;
	/* ao invés de 1.6 */
}

.trumbowyg-editor pre {
	line-height: 1.3;
	/* ao invés de 1.4 */
	padding: 13px;
	/* ao invés de 15px */
	margin: 16px 0;
	/* ao invés de 20px 0 */
}

.trumbowyg-editor img {
	margin: 15px 0;
	/* ao invés de 25px 0 */
}

.trumbowyg-editor figure {
	margin: 15px 0;
	/* ao invés de 25px 0 */
}