/* Estilos para a seção de notícias */
#noticias {
  margin-top: 100px;
  padding: 30px 0;
}

#noticias h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fe8a01;
  text-align: center;
  position: relative;
}

#noticias h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #fe8a01;
  margin: 15px auto 0;
}

.noticias-colunas {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.noticias-coluna {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.noticia-card-horizontal {
  background-color: rgba(26, 26, 26, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  margin-bottom: 30px;
  height: 150px;
}

.noticia-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 117, 0, 0.4);
}

.noticia-imagem-horizontal {
  width: 40%;
  overflow: hidden;
  flex-shrink: 0;
}

.noticia-imagem-horizontal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.noticia-card-horizontal:hover .noticia-imagem-horizontal img {
  transform: scale(1.05);
}

.noticia-conteudo-horizontal {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.noticia-conteudo-horizontal h3 {
  color: #ffad00;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.noticia-conteudo-horizontal p {
  color: #ddd;
  font-size: 0.9rem;
  margin-bottom: 10px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.noticia-link {
  color: #ff7500;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-block;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.noticia-link:hover {
  color: #ffad00;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .noticias-colunas {
    flex-direction: column;
    align-items: center;
  }
  
  .noticias-coluna {
    width: 100%;
    max-width: 100%;
  }
  
  #noticias h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .noticia-card-horizontal {
    height: auto;
    max-width: 500px;
  }
}

@media (max-width: 480px) {
  #noticias h2 {
    font-size: 1.6rem;
  }
  
  .noticia-card-horizontal {
    flex-direction: column;
    height: auto;
  }
  
  .noticia-imagem-horizontal {
    width: 100%;
    height: 150px;
  }
  
  .noticia-conteudo-horizontal {
    padding: 15px;
  }
  
  .noticia-conteudo-horizontal h3 {
    font-size: 1rem;
  }
  
  .noticia-conteudo-horizontal p {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
}

    /* Tela das notícias */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    .container {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .noticia-header {
      margin-bottom: 10px;
      padding-bottom: 20px;
      border-bottom: 1px solid #333;
      position: relative; /* Garante que não seja fixo */
      top: auto; /* Remove qualquer posicionamento fixo */
    }
    
    .noticia-titulo {
      font-size: 2rem;
      color: #ffad00;
      margin-bottom: 10px;
      line-height: 1.3;
    }
    
    .noticia-meta {
      color: #999;
      font-size: 0.9rem;
      margin-bottom: 20px;
    }
    
    .noticia-imagem {
      width: 50%;
      border-radius: 8px;
      margin-bottom: 25px;
    }
    
    .noticia-conteudo p {
      margin-bottom: 20px;
      font-size: 1.1rem;
    }
    
    .noticia-voltar {
      display: inline-block;
      margin-top: 20px;
      color: #ff7500;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
    }
    
    .noticia-voltar:hover {
      text-decoration: underline;
      color: #ffad00;
    }
    
    @media (max-width: 600px) {
      .noticia-titulo {
        font-size: 1.8rem;
      }
      
      .noticia-conteudo p {
        font-size: 1rem;
      }
    }