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

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

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

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

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

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

.news-content 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 {
	font-size: 1.2em;
	font-weight: bold;
	color: #444;
	margin: 25px 0 15px 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* Citações */
.news-content blockquote {
	background: #f8f9fa;
	border-left: 5px solid #007acc;
	margin: 25px 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 {
	margin-bottom: 0;
}

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

.news-content q:before {
	content: "" ";

}

.news-content q:after {
	content: "" ";

}

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

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

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

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

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

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

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

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

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

/* Figuras e legendas */
.news-content figure {
	margin: 25px 0;
}

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

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

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

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

.news-content 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 {
	background: none;
	padding: 0;
	color: inherit;
}

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

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

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

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

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

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

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

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

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

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

.news-content .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 {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 15px 20px;
	margin: 20px 0;
	border-radius: 0 5px 5px 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Endereços */
.news-content 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 {
	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 {
	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 {
	background: #005999;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsividade específica para .news-content */
@media (max-width: 768px) {
	.news-content {
		font-size: 16px;
	}

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

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

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

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

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

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

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

@media (max-width: 480px) {
	.news-content {
		font-size: 15px;
	}

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

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

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

*/
/* Elementos específicos para impressão */
@media print {
	.news-content {
		font-size: 12pt;
		line-height: 1.4;
	}

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

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

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

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

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

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

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

/* Elementos de acessibilidade */
.news-content .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 {
	background: #007acc;
	color: white;
}

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

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

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

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

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

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

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

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

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

.news-content iframe {
	width: 100%;
	margin: 25px 0;
	border: none;
	border-radius: 5px;
}

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

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

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

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

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

/* Elementos de output */
.news-content 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 {
	font-style: italic;
}

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

/* Container da tarefa */
.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 */
}