/* Importação da fonte Poppins do Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

/* Reset Básico e Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Estilos Globais e Tipografia */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased; /* Suavização de fonte para WebKit */
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
}

.input_com_botao_89 {
  position: relative;
  display: flex;
  align-items: center;
  width: 50%;
  padding: 0px;
  max-width: 600px;
}

.pesquisar_input_89 {
  width: 100%;
  font-family: "Outfit";
  border: none;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.53);
  color: #454545;
  backdrop-filter: blur(7.6px);
  padding: 10px 15px;
  outline: 2px solid #ff4d4d00;
  transition: 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contêiner para centralizar o conteúdo */
.container89 {
  /* Renomeada */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Padding responsivo */
}

/* --- Header do Site --- */
.site-header89 {
  /* Renomeada */
  background-color: #e9ecef;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding-bottom: 1px;
}

.site-header89 h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.site-header89 p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
}

/* --- Seção de Pesquisa --- */
.search-section89 {
  background-color: #e9ecef;
  padding: 2rem 0;
  text-align: center;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  padding-top: 1px;
}

.search-section89 button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar89 {
  /* Renomeada */
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 600px;
}

.search-bar89 input[type="text"] {
  flex-grow: 1;
  border: none;
  padding: 5px 10px;
  font-size: 1rem;
  outline: none;
  color: #343a40;
}

.search-bar89 input[type="text"]::placeholder {
  color: #6c757d;
  opacity: 0.8;
}

.search-bar89 button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar89 button:hover {
  background-color: #0056b3;
}

/* --- Grid de Notícias --- */
.noticias-grid-wrapper89 {
  /* Renomeada */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 1.5rem;
}

/* --- Cartão de Notícia (Card) --- */
.noticia-card-item89 {
  /* Renomeada */
  background-color: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.noticia-card-item89:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.noticia-card-item89 .noticia-card-image89 {
  /* Renomeada */
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.noticia-card-item89 .noticia-card-image89 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.noticia-card-item89:hover .noticia-card-image89 img {
  transform: scale(1.05);
}

.noticia-card-item89 .noticia-card-content89 {
  /* Renomeada */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.noticia-card-item89 .noticia-card-category89 {
  /* Renomeada */
  display: inline-block;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.assunto-88 {
  display: inline-block;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.imagens-carousel {
    padding: 0px;
    width: 70%;
    margin: auto;
    margin-bottom: 10px;
    border-radius: 20px;
    margin-top: 10px;
}

.noticia-card-item89 .noticia-card-title89 {
  /* Renomeada */
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
  color: #343a40;
  line-height: 1.3;
  font-weight: 600;
}

.noticia-card-item89 .noticia-card-summary89 {
  /* Renomeada */
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #6c757d;
  margin-bottom: 1rem;
  flex-grow: 1;
  font-weight: 500;
}

.noticia-card-item89 .noticia-card-btn-readmore89 {
  /* Renomeada */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.noticia-card-item89 .noticia-card-btn-readmore89:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.noticia-card-item89 .noticia-card-btn-readmore89 span {
  margin-left: 0.5rem;
  transition: margin-left 0.2s ease;
}

.noticia-card-item89 .noticia-card-btn-readmore89:hover span {
  margin-left: 0.75rem;
}

.noticia-card-item89 .noticia-card-meta89 {
  /* Renomeada */
  font-size: 0.8rem;
  color: #969696;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
  font-weight: 500;
}

/* --- Footer do Site --- */
.site-footer89 {
  /* Renomeada */
  background-color: #343a40;
  color: #f8f9fa;
  padding: 2.5rem 0;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.site-footer89 p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.site-footer89 p:last-child {
  margin-bottom: 0;
}

/* Paginador Básico */
.pagination89 {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  justify-content: center;
}

.page-item89 {
  margin: 0;
  width: auto;
}

.page-link89 {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #007bff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 50px;
}

.page-link-inicio-fim {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #007bff;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 80px;
}


.page-link89:hover {
  background-color: #e9ecef;
  color: #0056b3;
}

/* Estado Ativo */
.page-item89.active89 .page-link89 {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* Estado Desabilitado */
.page-item89.disabled89 .page-link89 {
  color: #6c757d;
  pointer-events: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.fontes89 {
  font-family: "Poppins", sans-serif;
}

.article-container {
  max-width: 900px; /* Largura ideal para um artigo longo */
  width: 100%; /* Garante que ocupe a largura disponível em telas menores */
  background-color: #ffffff;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-subtle);
  padding: 50px; /* Mais padding para um visual mais premium */
  margin-bottom: 50px; /* Espaço inferior para rolar */
  opacity: 0; /* Inicia oculto para animação */
  transform: translateY(20px); /* Inicia ligeiramente abaixo para animação */
  animation: fadeInSlideUp 0.8s forwards ease-out; /* Animação de entrada */
  margin: auto;
}

@keyframes fadeInSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Botão "Voltar" --- */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-highlight) !important;
  font-weight: 600;
  margin-bottom: 30px;
  transition: all var(--transition-ease);
  font-size: 16px;
}

.back-button svg {
  width: 24px;
  height: 24px;
  fill: var(--color-highlight);
}

.back-button:hover {
  color: var(--color-primary);
  transform: translateX(-5px); /* Efeito sutil ao passar o mouse */
}

/* --- Título Principal da Notícia --- */
.article-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.4em; /* Título bem imponente */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.25;
  text-align: center; /* Centralizado para destaque */
  letter-spacing: -0.02em; /* Pequeno ajuste para elegância */
  opacity: 0;
  transform: scale(0.98);
  animation: fadeInScale 0.7s forwards ease-out 0.2s; /* Atraso na animação */
}

@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- Metadados (Autor e Data) --- */
.article-meta {
  color: var(--color-secondary);
  font-size: 0.9em;
  text-align: center;
  margin-bottom: 40px; /* Mais espaço */
  padding-bottom: 25px;
  border-bottom: 1px solid var(--color-border); /* Linha divisória suave */
  opacity: 0;
  animation: fadeIn 0.6s forwards ease-out 0.4s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.article-meta span {
  margin: 0 8px; /* Espaçamento entre os itens */
  display: inline-block;
  font-weight: 500;
}

/* --- Imagem Principal da Notícia --- */
.article-main-image {
  box-shadow: var(--shadow-subtle); /* Sombra mais visível na imagem */
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInSlideUp 0.7s forwards ease-out 0.6s;
  display: flex;
  width: 50%;
  border-radius: 20px;
  margin: auto;
}

/* --- Conteúdo do Artigo --- */
.article-content {
  font-size: 1.15em; /* Tamanho ligeiramente maior para o corpo do texto */
  line-height: 1.9; /* Maior espaçamento entre linhas */
  color: var(--color-secondary);
}

.article-content p {
  margin-bottom: 1.5em; /* Espaçamento entre parágrafos */
  font-weight: 500;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.9em; /* Título de seção dentro do artigo */
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 45px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-accent); /* Linha de destaque chamativa */
  padding-left: 15px;
  line-height: 1.3;
}

.article-content ul {
  list-style: none; /* Remove bullet padrão */
  padding-left: 0;
  margin-bottom: 2em;
}

.article-content ul li {
  position: relative;
  padding-left: 25px; /* Espaço para o bullet customizado */
  margin-bottom: 0.8em;
  color: var(--color-secondary);
  font-weight: 500;
}

.article-content ul li::before {
  content: "•"; /* Bullet customizado */
  position: absolute;
  left: 0;
  color: var(--color-highlight); /* Cor do bullet */
  font-size: 1.2em;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

:root {
  --color-primary: #263238; /* Cinza Escuro Quase Preto para Títulos */
  --color-secondary: #424242; /* Cinza Mais Claro para Texto */
  --color-highlight: #4a90e2; /* Azul para Links e Destaques */
  --color-accent: #69f0ae; /* Verde Neon Suave para Linhas de Destaque */
  --color-background-light: #fbfbfb; /* Fundo Muito Claro */
  --color-border: #eceff1; /* Cor de Borda Suave */
  --font-display: "Lora", serif; /* Fonte para Títulos */
  --font-body: "Inter", sans-serif; /* Fonte para Corpo do Texto */
  --border-radius-base: 10px;
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition-ease: 0.3s ease-out;
}
/* --- Reset Global e Configurações Básicas --- */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }


/* --- Media Queries para Responsividade Adicional --- */
@media (max-width: 768px) {
  .pagination89 {
    justify-content: space-between;
  }
  .page-item89 {
    margin: 0 2px;
  }

  .noticias-grid-wrapper89 {
    /* Renomeada */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .site-header89 {
    /* Renomeada */
    padding: 2.5rem 0;
  }

  .search-section89 {
    /* Renomeada */
    padding: 1.5rem 0;
  }

  .search-bar89 {
    /* Renomeada */
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .noticias-grid-wrapper89 {
    /* Renomeada */
    grid-template-columns: 1fr;
    padding: 1.5rem 0.75rem;
  }

  .site-header89 {
    /* Renomeada */
    padding: 2rem 0;
  }

  .search-section89 {
    /* Renomeada */
    padding: 1rem 0;
  }

  .search-bar89 {
    /* Renomeada */
    flex-direction: column;
    border-radius: 0.5rem;
    box-shadow: none;
  }

  .search-bar89 input[type="text"],
  .search-bar89 button {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .search-bar89 button {
    margin-bottom: 0;
  }
}
