/* ================================
   TEMA AZUL MODERNO (Clean)
   Branco – Azul – Preto
   ================================ */

body {
    font-family: "Poppins", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #1f2937;
    background-color: #ddd;
}

/* Cabeçalho */
.header {
  background: #1e3a8a;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 26px;
  font-weight: bold;
}

.header h2 {
  background: #1e3a8a;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-size: 26px;
  font-weight: bold;
}
.header-noticia h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

/* Container principal */

.container {
  max-width: 600px;
  margin: 50px auto;
  background: var(--cor-card);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.container-noticia {
    max-width: 1250px;
    margin: 40px auto;
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.container-noticia p {margin-left: 2rem;}

/* Imagem grande da notícia */
.noticia-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Conteúdo */
.noticia-content {
    padding: 30px 40px;
}

.noticia-content h2 {
    color: #1e3a8a; /* azul mais escuro */
    font-size: 28px;
    margin-bottom: 10px;
    border-left: 6px solid #2563eb;
    padding-left: 10px;
}

.noticia-data {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 20px;
}

.noticia-content p {
    line-height: 1.8;
    font-size: 16px;
}

/* Botão voltar */
.btn-voltar {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
}

.btn-voltar:hover {
    background: #1e40af;
}

/* ================================
   LISTAGEM DE NOTÍCIAS
   ================================ */
.lista-noticias {
    max-width: 1100px;
    margin: 40px auto;
}

.card-noticia {
    display: flex;
    background: white;
    margin-bottom: 25px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.card-noticia:hover {
    transform: scale(1.02);
}

/* Imagem esquerda */
.card-noticia img {
    width: 320px;
    height: 220px;
    object-fit: cover;
}

/* Texto direita */
.card-noticia .info {
    padding: 20px;
    width: 100%;
}

.card-noticia .info h3 {
    margin: 0;
    font-size: 22px;
    color: #1e3a8a;
}

.card-noticia .info p {
    margin-top: 10px;
    font-size: 15px;
    color: #374151;
}

.card-noticia .btn-leia-mais {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.card-noticia .btn-leia-mais:hover {
    background: #1e40af;
}

/* Responsivo */
@media (max-width: 768px) {
    .card-noticia {
        flex-direction: column;
    }
    .card-noticia img {
        width: 100%;
        height: 220px;
    }
}
