
* {
	margin: 0;
	padding: 0;
}
body {
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #fff;
    overflow-x: hidden;
}
#quadro {
    background-color: #EFECEC;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #BBBBBB;
    border-radius: 5px;
    margin: 0px;
}
		.tarja {  
	background-color: #990000;
	color: #FFFFFF;
	width: 100%;
	border-radius: 5px;
	padding: 3px;
	margin: 3px;
	border: 1px solid #000000;
	
}
.mais-lidos1 {
	margin: 20px 3px 10px 3px;
	background-color: #EFECEC;
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	border: 1px solid #D0CDCD;
	border-radius: 5px;
}
 
.cabec {
	background-color: #000000;
	border: 0px solid #0921DB;
	text-align: right;
	color: #fff;
	height: 36px;
}
 
div.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1;
}
.logo {
	position: relative;
	float: left;
}
.banner {
    width: 100%;
    display: table;
    border: 1px solid #C8C8C8;
    overflow: hidden;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.contato {
	font-size: 12px;
	border: 0px solid #fff;
	padding: 5px;
}
.container {
	width: 100%;
	border: 0px solid #7F7B7B;
	padding: 0px;
}
main {
	align-items: center;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
h1 {
    text-align: center;
    font-size: x-large;
    margin: 10px;
}
h2 {
    text-align: center;
    font-size: 18px;
    margin: 0 auto;
}
h3 {
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
}
p {
    margin: 5px;
    font-size: large;
}
.tx-hom {
	font-size: 14px;
	text-align: center;
	padding: 2px;
	margin-top: 30px;
	border: 0px solid #34F50D;
	background-color: #E0DFDF;
}
a.link-tx:link {
	color: #0200FF;
	background-color: #E2E2E2;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	padding: 2px;
}
a.link-tx:visited {
	color: #0200FF;
	text-decoration: line-through;
}
a.link-tx:hover {
	color: #FF0000;
	background-color: #BFBEBE;
	text-decoration: underline;
}
a.link-tx:active {
	color: #ffff00;
	text-decoration: none;
	background-color: #990000;
}
 
.link-nav-disable {
    color: #636363;
    background-color: #E2E2E2;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    padding: 2px;
}
/* inicio barra */
.hamburger {
    font-size: 1.2em;
    display: block;
    cursor: pointer;
    position: fixed;
    top: 6px;
    margin-right: 5px;
    right: 5px;
    width: 80px;
    height: 26px;
    background: #fff;
    border: 3px solid #AF0202;
    border-radius: 15px;
    color: #AF0202;
    z-index: 1;
}
.fechar {
    font-size: 1.2em;
    margin-top: 5px;
    display: block;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 10px;
    width: 30px;
    height: 28px;
    background: #FF0004;
    color: #FFFFFF;
    border-radius: 50%;
    z-index: 0;
    border: 2px solid #F8FF00;
}
.front-sidebar {
    background-color: #000000;
    width: 210px;
    border: 2px solid #fff;
}
.front-sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 250px;
    background-color: #E0E0E0;
    line-height: 15px;
}
.front-sidebar li a {
    display: block;
    color: #000000;
    padding: 8px 10px;
    text-decoration: none;
}
.front-sidebar li a:hover:not(.active) {
    background-color: #000000;
    color: #fff;
}
.media {
    width: auto;
    position: fixed;
    border: 2px solid #97051C;
    margin-top: 15px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    background-color: #333333;
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    bottom: 60px;
    line-height: 22px;
    z-index: -1;
}
.media p {
  color: #fff;
  margin: 0 0 10px 0;
}

.media strong {
  color: #fff;
}

.img {
    margin: auto;
    border: 0px solid #990000;
     
}
.sidebar-title {
  background-color: #555555; /* ou #990000 */
  margin-bottom: 5px;
  margin-top: 7px;
  border-radius: 10px;
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 16px;
}

.sidebar-title:first-of-type {
  margin-top: 0;
}
/* ---------------------- inicio barra */
.titulo {
    text-align: center;
    font-size: 16px;
    margin: 0 auto;
    font-weight: bolder;
}
.descr {
    background-color: #F4F4F4;
    margin: 1px;
    font-size: 14px;
}
/* Tamanho menor para o link "Continuar lendo" em todas as telas */
a.link-tx { font-size: 13px; line-height: 1.2; }
@media screen and (min-width: 900px) {
  a.link-tx { font-size: 13px; }
}

/* --------- Materias: aprimoramento visual --------- */
/* Cart container only on article pages */
.article-page .caixa1 {
    background: #FFFFFF;
    border: 1px solid #E7E5E5;
    border-radius: 12px;
    padding: 6px 1px 14px 1px; /* menos espaço no topo, mantém no rodapé */
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.article-page .caixa1 .titulo h1,
.article-page .caixa1 h1 {
    font-size: clamp(20px, 3.6vw, 26px);
    line-height: 1.25;
}
.article-page .caixa1 h2 {
    text-align: left;
    font-size: clamp(17px, 2.8vw, 20px);
    margin: 14px 0 8px 0;
}
.article-page .caixa1 p,
.article-page .caixa1 ul,
.article-page .caixa1 ol {
    font-size: 15px;
    line-height: 1.6;
    color: #222;
    margin: 8px 4px 10px 4px;
}
.article-page .img-materia-p .img-g img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Soft panels to organize sections */
.section-panel {
    background: #FAFAFA;
    border: 1px solid #ECECEC;
    border-left: 4px solid #990000; /* acento sutil */
    border-radius: 8px;
    padding: 12px 12px;
    margin: 10px 10px 12px 2px; /* recuo ainda menor à esquerda */
}
.section-panel--alt {
    background: #FDFCFB;
    border: 1px solid #EFEAE6;
    border-left: 4px solid #C53A3A;
}
.section-panel h2 { margin-top: 0; }

/* Tipos auxiliares */
.list-check {
    list-style: none;
    padding-left: 0;
}
.list-check li {
    position: relative;
    padding-left: 22px;
    margin: 6px 0;
}
.list-check li:before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #1a7f37;
    font-weight: bold;
}

/* Grid simples para dicas curtas */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.tips-grid .tip {
    background: #F8F8F8;
    border: 1px solid #ECECEC;
    border-radius: 8px;
    padding: 10px;
}

/* leve respiro nas imagens principais das matérias */
.article-page .img-materia-p { padding-left: 2px; padding-right: 8px; }
.menu-nav-cat {
    font-size: 13px;
    background: #E4DEDE;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 2px;
    display: block;
    line-height: 1.4;
    margin: 0 0 8px 0;
}
.menu-nav-cat a {
    background-color: #C4C1C1;
    padding: 1px 3px;
    text-decoration: none;
    color: blue;
    border-radius: 7px;
    border: 1px solid #000000;
    display: inline-block;
    margin: 2px 4px 2px 0;
    vertical-align: middle;
}
.menu-nav-cat a:hover {
    background-color: #990000;
    color: #fff;
    text-decoration: underline;
}
.data {
    background-color: #fff;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    color: #C53A3A;
    font-size: 12px;
    text-align: left; 
}
.mais-lidos1 {
	background-color: #EFECEC;
	width: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	border: 1px solid #939191;
	border-radius: 5px;
	margin: 2px;
	padding: 2px;
}
.mais-lidos1 a {
	color: #0200FF;
	background-color: #D2D2D2;
	text-decoration: none;
	padding: 2px;
	font-size: 16px;
	border-radius: 5px;
	line-height: 3px;
	font-weight: normal;
}
.mais-lidos1 a:hover {
	color: #EDFC00;
	background-color: #990000;
	text-decoration: underline;
	border-radius: 5px;
}
.link-materia {
	background-color: #E11C1C;
	color: #FFFFFF;
	width: auto;
	border-radius: 5px;
	padding: 3px;
	border: 1px solid #000000;
	text-decoration: none;
	margin-bottom: 15px;
}
a.link-materia:hover {
	color: #ffff00;
	background-color: #990000;
	text-decoration: underline;
	margin-bottom: 15px;
}
#footer ul {
    width: 100%;
    padding: 3px;
    margin: 20px 0px 5px 0px;
    background-color: #EDEDED;
    list-style: none;
    float: left;
    text-align: center;
}
#footer ul li {
    display: inline;
}
#footer ul li a {
    padding: 2px 10px;
    display: inline-block;
    /* link */
    background-color: #EDEDED;
    color: #333;
    text-decoration: none;
    border-bottom: 3px solid #EDEDED;
}
#footer ul li a:hover {
    background-color: #D6D6D6;
    color: #6D6D6D;
    border-bottom: 3px solid #EA0000;
}
#footer p {
    text-align: center;
    font-size: 12px;
}
code {
	width: auto;
	font-size: 13px;
	line-height: 1.1;
	color: #fff;
	display: block;
	background-color: #575757;
	border: 2px solid #000000;
	border-radius: 10px;
	padding: 4px 8px;
	word-wrap: break-word;
	font-family: Consolas, "Courier New", monospace;
}
code .verm {
	color: #FC8489;
}
code .cinz {
	color: #AEAEAE;
}
code .azul {
	color: #15B8CF;
}
code .branco {
	color: #fff;
}
code .verde {
	color: #99C78A;
}
	code .verdeC {
	color: #4CAF50;
}
code .roxo {
	color: #B991EC;
}
	code .laran {
	color: #DB802A;
}

.centraliza {
    position: absolute;
    border: 1px solid #000000;
    width: 100%;
    margin-top: 0;
    background: #990000;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.centraliza-pg {
    width: 100%;
    margin-top: 0;
    background: #fff;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    color: #333333;
}
.menu {
    width: 100%;
    list-style: none;
    float: left;
    background: #990000;
}
.menu li {
    position: relative;
    float: left;
    border-right: 1px solid #fff;
}
.menu li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}
.menu li a:hover {
    background: #CCC;
    color: #0705FC;
    -moz-box-shadow: 0 3px 10px 0 #CCC;
    -webkit-box-shadow: 0 3px 10px 0 #990000;
    text-shadow: 0px 0px 5px #ccc;
}
.menu li ul {
    position: absolute;
    top: 25px;
    left: 0;
    background-color: #990000;
    display: none;
    width: auto
}
.menu li:hover ul {
    display: block;
}
.menu li ul li {
    border: 1px solid #fff;
    display: block;
    width: 100%;
}
.fade {
    opacity: 1;
}
.fade:hover {
    opacity: 0.5;
}
/*-----------------------------------------------------*/
.busca {
	position: relative;
	width: 175px;
	margin-right: 1px;
	float: right;
	z-index: -0;
}
:root {
 --rad: .7rem;
 --dur: .3s;
 --color-dark: #2f2f2f;
 --color-light: #fff;
 --color-brand: #57bd84;
 --font-fam: 'Lato', sans-serif;
 --height: 5rem;
 --btn-width: 6rem;
 --bez: cubic-bezier(0, 0, 0.43, 1.49);
	 
}
.fonte-busca {
	box-sizing: border-box;
	height: 25px;
	font-size: 15px;
	width: 50px;
	 
}
.fonte {
	border: 0px solid #000000;
	width: 100%;
	text-align: right;
	font-size: 12px;
	color: #990000;
}
*, *::before,  *::after {
	box-sizing: inherit;
}
form {
	position: relative;
	width: 165px;
	background: var(--color-brand);
	border-radius: var(--rad);
}
input, button {
	height: var(--height);
	font-family: var(--font-fam);
	border: 0;
	color: var(--color-dark);
	font-size: 30px;
	border: 2px solid #00FF2C;
}
input[type="search"] {
	outline: 0;
	width: 170px;
	background: var(--color-light);
	padding: 0 5px;
	border-radius: var(--rad);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: all var(--dur) var(--bez);
	transition-property: width, border-radius;
	z-index: 1;
	position: relative;
}
button {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: var(--btn-width);
	font-weight: bold;
	background: var(--color-brand);
	border-radius: 0 var(--rad) var(--rad) 0;
	cursor: pointer;
}
input:not(:placeholder-shown) {
	border-radius: var(--rad) 0 0 var(--rad);
	width: calc(129% - var(--btn-width));/*abertura botao*/
}
input:not(:placeholder-shown)+button {
	display: block;
}
label {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0;
	border: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
/*paginacao*/		
#paginacao {
	display: block;
	width: 80%;
	text-align: center;
	font-size: 13px;
	margin: 10px auto;
	padding: 3px;
	border: 1px solid #990000;
	background-color: #fff;
}
#pages {
	padding: 3px;
	border: 0px solid #990000;
	width: auto;
}
#pages ul {
	list-style-type: none;
	width: auto;
}
#pages li {
	float: left;
	display: inline;
	margin: 0 5px 0 0;
	display: block;
}
#pages li a {
	color: #990000;
	padding: 10px 12px;
	border: 1px solid #ddd;
	text-decoration: none;
	float: left;
}
#pages li a:hover {
	color: #fff;
	background: #990000;
	border: 1px solid #0000FF;
}
#pages li.nolink {
	color: #666666;
	border: 1px solid #ddd;
	padding: 10px 12px;
    background-color: #f5f5f5;
}
#pages li.current {
	color: #000000;
	border: 1px solid #990000;
	padding: 10px 12px;
	background: #FF9393;
}
/*------------------------------------------------------------*/
        /* ############### max-width ##################### */
        /*Padrão*/
.wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 15px 3px 15px 3px;
	background-color: #EFECEC;
	justify-content: center;
	border: 1px solid #BBBBBB;
	border-radius: 5px;
}
.box {
	box-sizing: border-box;
	padding: 3px;
	margin: 5px;
	background-color: silver;
	width: calc((100% / 2) - 10px);
	max-width: 400px;
}

/* max-width  */
@media screen and (max-width: 590px) {
/*Celular*/
.caixa1 {
    display: table;
    background-color: #FFFFFF;
    width: 96%;
    color: #000000;
    border: 1px solid #990000;
    margin-bottom: 25px;
    padding: 2px;
    border-radius: 5px;
}
.box {
	width: calc((100% / 1) - 10px);
}

.menu {
	display: none;
}
.contato {
	display: none;
}
.tx-hom {
	margin-top: 3px;
}
}

/* min-width & max-width */
@media screen and (min-width: 590px) and (max-width: 900px) {
.caixa1 {
	/*Tablet*/
    /*Tablet*/
    width: 46%;
    height: auto;
    margin: 5px 4px;
    background: #FFFFFF;
    float: left;
    border: 1px solid #990000;
    padding: 5px;
    border-radius: 5px;
}
   .article-page{
       margin-top: 35px
       }
#quadro {
	width: 100%;
}
.container {
	width: 100%;
}

.menu-resp {
	display: none;
}
}

/* min-width */
@media screen and (min-width: 900px) {
.caixa1 {
	/*Desktop*/
    width: 23%;
    height: auto;
    margin: 5px 4px;
    background-color: #FFFFFF;
    float: left;
    border: 1px solid #990000;
    padding: 5px;
    border-radius: 5px;
}
#quadro {
	width: 100%;
}
.container {
	width: 100%;
}
#quadro {
	width: 100%;
}
.container {
	width: 100%;
}
.menu-resp {
	display: none;
}
}



/* Extra CSS to support non-AMP behavior and keep layout intact */

/* Ensure responsive images after replacing amp-img */
img { max-width: 100%; height: auto; }
/* Garantir imagens das caixas ocupando toda a largura disponível */
.img img, .caixa1 .img img { width: 100%; height: auto; display: block; }
/* Garantir 100% de largura das imagens dentro das caixas de conteúdo */
#quadro .caixa1 img { width: 100%; height: auto; display: block; }
/* Garantir imagens AMP responsivas */
amp-img { max-width: 100%; height: auto; }

/* Sidebar slide-in behavior to replace amp-sidebar */
.front-sidebar { position: fixed; top: 0; right: -260px; height: 100vh; overflow-y: auto; transition: right .3s ease; z-index: 2; }
.front-sidebar.open { right: 0; }
.menu-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0); z-index: 1; }
.menu-backdrop.show { display: block; }

/* Optional backdrop for sidebar (not required by original layout) */
/* You can enable an overlay if desired in future */

/* Keep existing classes consistent with original inline styles */
.fechar { cursor: pointer; position: absolute; top: 2px; right: 10px; display: none; }
.front-sidebar.open .fechar { display: block; }

/* Ajuste de posicionamento do bloco de compartilhamento dentro do menu lateral */
.front-sidebar .media { position: static; margin-top: 10px; }

/* Keep header behavior as in original layout (sticky via inline CSS) */

/* Classes adicionadas para substituir estilos inline */
.share-box { width: 60%; border: 1px solid #9A9A9A; text-align: center; background-color: #D6D6D6; border-radius: 5px; padding: 5px; margin: 30px; text-decoration: none; }
.text-center { text-align: center; }

/* Article page overrides to ensure full-width content */
.article-page #quadro { width: 100%; display: block; }
.article-page #quadro .caixa1 { width: 96%; max-width: 900px; float: none; margin: 10px auto; display: block; }
.article-page .img-materia-p img,
.article-page .img-materia-g img,
.article-page .img-g img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
/* Lists inside article content */
.article-page .caixa1 ul { list-style-type: disc; list-style-position: inside; margin: 8px 0 16px 0; padding-left: 0; }
.article-page .caixa1 ul li { margin: 4px 0; }
/* Ensure ordered lists render numbers inside the content box */
.article-page .caixa1 ol { list-style-type: decimal; list-style-position: inside; margin: 8px 0 16px 0; padding-left: 0; }
.article-page .caixa1 ol li { margin: 4px 0; }

/* Desktop-only spacing for article cards */
@media screen and (min-width: 900px) {
  .article-page #quadro .caixa1 { margin-top: 30px; }
  /* Alinhar bloco "Mais Lidos" à esquerda somente no desktop */
  .article-page .mais-lidos1 { display: block; justify-content: flex-start; text-align: left; }
  /* Limitar tamanho da imagem principal no desktop */
  .article-page .img-materia-p img { max-width: 600px; }
}

/* Code block container and copy button */
.cod { position: relative; margin: 10px 0; }
.cod code { overflow-x: auto; white-space: pre; }
.code-copy {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  background: transparent;
  color: #C9C9C9;
  border-radius: 6px;
  padding: 2px;
  font-size: 0; /* oculta texto se houver */
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 0; /* não sobrepor header fixo */
}
.code-copy:hover { background: rgba(255,255,255,0.06); color: #FFFFFF; }
.code-copy:focus-visible { outline: 2px dashed #AF0202; outline-offset: 2px; }
.code-copy.copied { border-color: #1a7f37; color: #1a7f37; }
.cod .code-copy i { font-size: 16px; }
.cod .code-copy { opacity: 0.7; }
.cod:hover .code-copy { opacity: 1; }

/* Melhorar leitura de código no mobile */
@media (max-width: 600px) {
  code { font-size: 15.5px; line-height: 1.2; }
}

/* ------------------------- FAQ (global) ------------------------- */
.faq-list { 
    margin: 8px 4px 10px 4px; 
    padding: 0; 
}
.faq-item {
    background: #FFFFFF;
    border: 1px solid #D0CDCD;
    border-radius: 8px;
    margin: 8px 0;
    overflow: hidden;
}
.faq-item summary.faq-q {
    list-style: none;
    cursor: pointer; /* mãozinha */
    padding: 10px 12px;
    font-weight: bold;
    position: relative;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary.faq-q:hover { background: #EFECEC; }
.faq-item summary.faq-q:focus-visible { outline: 2px dashed #AF0202; outline-offset: 2px; }
.faq-item .faq-q::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #990000;
    font-weight: bold;
}
.faq-item[open] .faq-q::after { content: "–"; }
.faq-item .faq-a {
    padding: 10px 12px;
    border-top: 1px solid #ECECEC;
    background: #FAFAFA;
    line-height: 1.6;
}
