/* =======================
   RESET E CONFIGURAÇÕES BASE
   ======================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::-webkit-scrollbar {
  width: 0px;
}

/* =======================
   BODY
   ======================= */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* =======================
   CABEÇALHO (HEADER)
   ======================= */
header {
  z-index: 100;
  width: 100%;
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10pt;
  position: sticky;
  top: 0;
  left: 0;
}

header > a {
  text-decoration: none;
  color: white;
}

.logoMarca {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.logoMarca > h3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logoMarca > h3 > a {
  color: white;
  text-decoration: none;
}

.logoMarca > h3 > a:nth-child(1) {
  opacity: 0.6;
}

.logoMarca > h4 {
  font-size: 10pt;
  opacity: 0.6;
  font-weight: 300;
}

/* =======================
   LISTA DE NOTÍCIAS
   ======================= */
.noticias-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.noticia-bloco {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.noticia-bloco:hover {
  transform: translateY(-5px);
}

.noticia-bloco img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: 50% 5%;
}

.noticia-info {
  padding: 16px;
}

.noticia-info h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.noticia-data {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  display: block;
}

.noticia-info p {
  font-size: 1rem;
  margin: 10px 0;
}

/* Botão "Leia mais" */
.btn-leia-mais {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.btn-leia-mais:hover {
  background-color: #0066cc;
}

/* =======================
   RODAPÉ (FOOTER)
   ======================= */
footer {
  background-color: #eee;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.footer-texto {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
