#modalNovoArtigo {
    display: none;  /* Esconde o modal por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fundo translúcido */
    z-index: 9999;  /* Modal fica por cima do conteúdo */
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

#fecharModal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #919191;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fecharModal:hover {
	background: #C9CDCF;
	color: black;
}

#modalNovoArtigo > div {
    background: white;
    padding: 2rem;
    max-width: 960px;
    width: 100%;
    border-radius: 10px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
}

/* Overlay e modal genéricos */
.smt-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
}

.smt-modal {
  background: #fff;
  width: min(520px, 92vw);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
}

.smt-modal__header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
}

.smt-modal__title {
  font-size: 16px; font-weight: 600; color: #111827;
  margin: 0; line-height: 1.2;
  display: flex; align-items: center; gap: 8px;
}

.smt-modal__body {
  padding: 16px 18px; color: #374151; font-size: 14px;
}

.smt-modal__footer {
  display: flex; gap: 8px; justify-content: flex-end;
  padding: 12px 18px; border-top: 1px solid #eee;
}

/* Botões */
.smt-btn {
  border: none; border-radius: 8px; padding: 10px 14px;
  font-size: 14px; cursor: pointer; transition: transform .08s ease, opacity .2s ease;
}

.smt-btn:hover { transform: translateY(-1px); }
.smt-btn:active { transform: translateY(0); }

.smt-btn--primary { background: #2563eb; color: #fff; }
.smt-btn--danger  { background: #dc2626; color: #fff; }
.smt-btn--ghost   { background: #f3f4f6; color: #111827; }

/* Variações visuais por tipo */
.smt-title--success { color: #166534; }
.smt-title--error   { color: #991b1b; }
.smt-title--info    { color: #1e3a8a; }

/* Ícones (SVGs herdam cor currentColor) */
.smt-icon { width: 18px; height: 18px; }



  .btn-comun {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .btn-comun:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
  }
  .btn-comun i {
    font-size: 16px;
  }


    .painel-jornalista {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a; /* Azul forte jornalístico */
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }

  .painel-jornalista i {
    color: #dc2626; /* Vermelho para contraste */
    margin-right: 10px;
  }

  /* Linha decorativa embaixo do título */
  .painel-jornalista::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, #1e3a8a, #dc2626);
    margin: 8px auto 0;
    border-radius: 2px;
  }


   .cabecalho-painel {
    display: flex;
    flex-direction: column;
    align-items: center; /* centraliza o título */
    margin-bottom: 20px;
    position: relative;
  }

  .painel-jornalista {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
    text-align: center;
  }

  .painel-jornalista i {
    color: #dc2626;
    margin-right: 10px;
  }

  #abrirModal {
    align-self: flex-start; /* mantém o botão no canto esquerdo */
    background: #2563eb;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  #abrirModal i {
    color: white;
  }

  #abrirModal:hover {
    background: #1e40af;
  }
/*===============LEIA MAIS BOTÃO NOTICIAS ========*/
/* Estilo do botão "Leia Mais" */
.smt-leia-mais {
  display: inline-block;
  margin-top: 05px;
  padding: 10px 10px;
  background-color: #ffffff00;  /* Fundo azul */
  color: #123a74;  /* Cor do texto */
  text-decoration: none;  /* Remove o sublinhado */
  font-weight: 600;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.smt-leia-mais:hover {
 
  color: #123a74;
   text-decoration: underline;  /* Sublinha o texto */
  transform: scale(1.1);  /* Aumenta o tamanho do botão */
}



/* ---------- PAGINAÇAO NOTICIA----*/

/* ===== Paginação moderna ===== */
.smt-pagination--modern { margin-top: 22px; }
.smt-pg {
  display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0;
}
.smt-pg-item a,
.smt-pg-item > span:not(.dots) {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid #d9e1ef;
  font-weight: 600; font-size: 14px; line-height: 1;
  text-decoration: none;
  background: #fff; color: #0a1f44;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

/* Estado ativo (página atual) */
.smt-pg-item.is-current span {
  background: #123a74; color: #fff; border-color: #123a74;
  box-shadow: 0 6px 14px rgba(18,58,116,.22);
}

/* Links normais: hover/focus */
.smt-pg-item a:hover {
  background: #f3f7ff; border-color: #c8d6f0; color: #123a74;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(18,58,116,.12);
}
.smt-pg-item a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18,58,116,.25);
}

/* Botões anterior/próxima ficam um pouco mais “pill” */
.smt-pg-item:first-child a,
.smt-pg-item:last-child a {
  padding: 0 14px; min-width: 44px;
}

/* Acessibilidade: esconder o texto 'Anterior/Próxima' visualmente mas mantê-lo para leitores de tela */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}



/* Layout */

.smt-layout {
  display: grid;
  grid-template-columns: 1fr; /* padrão: uma coluna */
  width: 100%;
  max-width: 1360px;
  margin: 20px auto 0; /* Centraliza em qualquer resolução */
  padding: 0 16px; /* Respiro lateral nas menores telas */
  gap: 40px; /* Espaçamento entre conteúdo e sidebar */
}

@media(min-width:992px){.smt-layout{grid-template-columns:minmax(0,2fr) 1fr}}
.smt-main .smt-noticia-card{margin-bottom:28px}
.smt-img-wrap {
    position: relative; /* necessário para que o badge fique sobre a imagem */
    display: block;     /* mantém o comportamento atual */
}

.smt-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover; /* já existente */
}

.smt-img-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 10; /* garante que fique sobre a imagem */
}

.smt-badge-chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 3px;
    background: #123a74;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* Títulos */
.smt-sidebox-title {
  font-weight: 700;
  color: #0a1f44;
}
.smt-noticia-titulo {
    margin:.9rem 0 .4rem;
    font-size:1.6rem;
    line-height:1.25;
}
.smt-noticia-titulo a {
    text-decoration:none;
    color:#0e0e0e;
}
.smt-noticia-titulo:hover {
    color:#123a74;
}

/* ===== Sidebar – melhorias de UX/hover/ativo ===== */
.smt-sidebar {
  width: 380px; /* Ajuste esse valor conforme necessário */
}

@media (max-width: 992px) {
  .smt-sidebar {
    width: 100%; /* Em telas menores, a sidebar vai ocupar toda a largura */
  }
}


/* Busca (escopada ao form da página de notícias) */
.smt-noticias-search .smt-form-row { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
}
.smt-noticias-search .smt-input-wrap { 
  position: relative; 
  flex: 1; 
}

.smt-noticias-search input[type="text"] {
  width: 100%; 
  padding: 12px 30px 12px 14px; /* Ajuste do padding */
  border: none; /* Remove as bordas laterais e superior */
  border-bottom: 1px solid #949596; /* Borda cinza na parte de baixo */
  background: #fff;
}

/* Quando o campo está focado */
.smt-noticias-search input[type="text"]:focus {
  outline: none; /* Remove a borda de foco padrão */
  border-bottom: 1px solid #949596; /* Mantém a borda cinza na parte de baixo */
}

.smt-noticias-search .smt-submit {
  position: absolute; 
  right: 6px; 
  top: 50%; 
  transform: translateY(-50%);
  width: 26px; 
  height: 26px; 
  border: 0; 
  border-radius: 3px;
  background: #fefeff00; 
  color: #123a74; 
  cursor: pointer;
  transition: background 0.3s ease; /* Transição suave */
}

/* Efeito hover da submit */
.smt-noticias-search .smt-submit:hover { 
  background: rgba(255, 255, 255, 0.3); 
  color: #123a74; 
}

/* Remove o efeito de foco */
.smt-noticias-search .smt-submit:focus {
  outline: none; /* Remove o contorno de foco */
  background: #fefeff00; /* Mantém o fundo transparente quando clicado */
}

/* Para o botão "Limpar Filtro" */
.smt-noticias-search .smt-clear-btn {
  padding: 8px 12px;
  border-radius: 0px;
  background: transparent; /* Sem fundo */
  border: 0; 
  color: #123a74;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px; /* Desce um pouco o botão */
  position: relative;
  transition: background-color 0.3s ease; /* Transição suave para o fundo */
}

/* Efeito ao passar o mouse */
.smt-noticias-search .smt-clear-btn:hover {
  background-color: #e0f1fd; /* Cor de fundo quando passar o mouse */
  color: #0a1f44; /* Cor do texto ao passar o mouse */
}

/* Remover o fundo quando o botão for clicado */
.smt-noticias-search .smt-clear-btn:focus {
  outline: none; /* Remove o contorno de foco */
  background-color: transparent; /* Mantém o fundo transparente quando clicado */
}

/* Exibe o texto "Limpar Filtro..." ao passar o mouse */
.smt-noticias-search .smt-clear-btn:hover::after {
  content: "Limpar Filtro..."; /* Texto que aparece ao passar o mouse */
  position: absolute;
  top: 100%; /* Coloca o texto logo abaixo do botão */
  left: 50%;
  transform: translateX(-50%);
  background: #123a74;
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
}



/* Lista de categorias */
.smt-cats{ list-style: none; margin:0; padding:0; display:grid; gap:10px; }
.smt-cats li a{
  display:flex; align-items:center; gap:5px;
  padding:08px 10px;
  color: #0a1f44;
  border:1px solid #e3eaf5; border-radius:05px; background:#fff;
  text-decoration:none;
  transition: transform .12s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.smt-cats li a:hover{
  transform: translateX(4px);
  border-color:#c8d6f0;
  box-shadow: 0 6px 16px rgba(18,58,116,.08);
  background:#f7faff;
}

/* Estado ativo (li tem .is-active; também cobre aria-current) */
.smt-cats li.is-active a,
.smt-cats li a[aria-current="page"],
.smt-cats li a[aria-current="true"]{
  background: #123a74;
  color: #fff;
  border-color: #123a74;
  box-shadow: 0 10px 22px rgba(18,58,116,.18);
}

/* Desabilitar o efeito de transformação no hover do item ativo */
.smt-cats li.is-active a:hover {
  transform: none;
}

/* Focus acessível - para links de categoria */
.smt-cats li a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18,58,116,.18); /* pode mudar a cor conforme sua necessidade */
  border-color: #123a74;
}

/* Focus acessível - Para o botão de limpar e submit (não sobrecarregar o estilo do botão de pesquisa) */
.smt-noticias-search .smt-clear-btn:focus-visible,
.smt-noticias-search .smt-submit:focus-visible {
  outline: none;
  box-shadow: none; /* Remover qualquer sombra ao focar no botão */
  border-color: transparent; /* Garantir que não haja borda de foco indesejada */
}

/* Recentes */
.smt-recent{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.smt-recent-item{
  display:flex; gap:10px; align-items:center;
  color: #0a1f44;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  border-radius:3px; padding:6px; 
}
.smt-recent-item:hover{
  transform: translateX(4px);
  background:#f9fbff;
  color: #0a1f44;
  box-shadow: 0 6px 16px rgba(18,58,116,.06);
}
.smt-recent-thumb img{
  width:64px; height:64px; object-fit:cover; border-radius:3px;
  transition: transform .25s ease;
}
.smt-recent-item:hover .smt-recent-thumb img{ transform: scale(1.04); }
.smt-recent-title{ text-decoration:none;
color: #0a1f44; }
.smt-recent-title:hover{ text-decoration:underline; }

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce){
  .smt-cats li a,
  .smt-recent-item,
  .smt-recent-thumb img,
  .smt-noticias-search .smt-input-wrap input[type="text"],
  .smt-noticias-search .smt-submit,
  .smt-noticias-search .smt-clear-btn{
    transition: none !important;
  }
}

/* ======= Sidebar Links ======= */
  .sb-title{ font-weight:600; margin:0 0 12px; }
  .sb-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
  .sb-list a{
    display:block; padding:10px 14px; border:1px solid #e1e1e1; border-radius:10px;
    color:#232323; font-weight:600; text-decoration:none;
    transition:background .15s ease, border-color .15s ease;
  }
  .sb-list a:hover{ background:var(--soft-2); border-color:var(--accent); }

/* Paginação (mantém sua versão modernizada) */
.smt-pagination--modern{margin-top:22px; margin-bottom:30px}
.smt-pg{display:flex;gap:.5rem;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.smt-pg-item a,.smt-pg-item>span:not(.dots){
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;height:40px;padding:0 12px;border-radius:3px;border:1px solid #d9e1ef;
  font-weight:600;font-size:14px;line-height:1;text-decoration:none;background:#fff;color:#0a1f44;
  transition:transform .08s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease
}
.smt-pg-item.is-current>span.page-numbers{background:#123a74;color:#fff;border-color:#123a74;box-shadow:0 6px 14px rgba(18,58,116,.22)}
.smt-pg-item a:hover{background:#f3f7ff;border-color:#c8d6f0;color:#123a74;transform:translateY(-1px);box-shadow:0 6px 14px rgba(18,58,116,.12)}
.smt-pg-item a:focus{outline:none;box-shadow:0 0 0 3px rgba(18,58,116,.25)}
.smt-pg .dots{display:inline-block;padding:0 6px;height:40px;line-height:40px;background:transparent;color:#7b8dab;border:0}

/*------------INDIVIDUAL PAGE------*/

/* ====== CARROSSEL ====== */
.smt-gallery-carousel .smt-track{
  display:flex; gap:0px; overflow: hidden; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; padding:1px 2px; margin-bottom:20px;
}
.smt-gallery-carousel .smt-track::-webkit-scrollbar{height:8px}
.smt-gallery-carousel .smt-track::-webkit-scrollbar-thumb{background:#d9e1ef;border-radius:3px}
.smt-gallery-carousel .smt-slide{
  flex:0 0 clamp(10px, 20vw, 300px);
  scroll-snap-align:start; position:relative; border-radius:3px; overflow:hidden; background:transparent;
}
.smt-gallery-carousel .smt-slide-img{width:90%; height:90%; object-fit:cover; display:block}
.smt-gallery-carousel .smt-car-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  width:38px; height:38px; border:0; border-radius:10%;
  background:#123a74; color:#fff; cursor:pointer; line-height:38px; font-size:22px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(18,58,116,.15);
}
.smt-gallery-carousel .smt-car-prev{left:6px}
.smt-gallery-carousel .smt-car-next{right:6px}
.smt-gallery-carousel .smt-car-btn[disabled]{opacity:.8; cursor:default}
.smt-single-nav a{ text-decoration:none }


/* ===== FAIXA DA PÁGINA DE NOTÍCIAS ===== */
.smt-page-header {
 background: url(https://novo.smttaju.com.br/wp-content/uploads/2025/08/inner-banner.jpg) no-repeat center center;
		background-attachment: fixed;
		background-size: cover;
		background-color: #707d9e;
}

.smt-page-header .overlay {   
		text-align: center;
		padding: 110px 0 30px 0; /* mantém o mesmo do padrão */
		min-height: 250px; /* força altura mínima igual ao padrão */
		display: flex;
		flex-direction: column;
		justify-content: center; /* centraliza verticalmente o conteúdo */
	}
.smt-page-header .overlay h1 {
		font-size: 45px;
		color: #fff;
		text-transform: uppercase;
		font-weight: 700;
	}

.smt-page-header-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center; /* centraliza horizontalmente */
}

.smt-page-header-icon {
  font-size: 32px; /* aumenta o tamanho do ícone */
}

.smt-page-header-title {
  font-size: 32px; /* aumenta o tamanho do título */
  font-weight: 900; /* deixa a fonte mais grossa */
  text-transform: uppercase;
  margin: 0;
}
.icon-circle {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 80px;
          /* Tamanho do círculo */
          height: 80px;
          border-radius: 50%;
          /* Faz o círculo */
          border: 4px solid #fff;
          /* Cor da borda (mude se quiser) */
          background-color: transparent;
          /* Fundo transparente */
          color: #fff;
          /* Cor do ícone */
          margin-right: 10px;
          font-size: 40px;
          /* Tamanho do ícone */
        }




