:root {
    --kairos-azul: #2F40FA;
    --kairos-amarelo: #E89C24;
  }
  
  /* Página Jornairós */
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
  }
  
  /* Seção principal */
  .jornairos-section {
    width: 100%;
    background-color: #fff;
    padding-bottom: 60px;
    box-sizing: border-box;
  }
  
  /* Cabeçalho */
  .jornairos-cabecalho {
    background-color: var(--kairos-azul);
    padding: 60px 20px 40px;
    text-align: center;
    color: white;
    border-bottom: 5px solid var(--kairos-amarelo);
  }
  
  .titulo-principal {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .subtitulo {
    font-size: 1.2rem;
    font-weight: 400;
  }
  
  /* Área de filtros */
  .filtros-jornairos {
    background-color: #fff;
    padding: 30px 20px;
    margin-top: -20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.384);
    border-radius: 20px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .titulo-filtros {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--kairos-azul);
    margin-bottom: 20px;
  }
  
  /* Formulário */
  .filtros-jornairos form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
  }
  
  .filtros-jornairos select {
    padding: 10px 16px;
    border: 2px solid var(--kairos-azul);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--kairos-azul);
    background: white;
    width: 220px;
  }
  
  .filtros-jornairos button {
    background: var(--kairos-azul);
    color: white;
    font-weight: bold;
    padding: 10px 24px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .filtros-jornairos button:hover {
    background: #1c28b4;
  }
  
  /* Container geral de conteúdo */
  .container-jornairos {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Grade de notícias */
  .jornairos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 280px));
    gap: 32px;
    margin-top: 40px;
  }
  
  /* Card de notícia */
  .jornairos-card {
    background: #fdfdfd;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.308);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    width: 100%;
  }
  
  .jornairos-card:hover {
    transform: translateY(-6px);
  }
  
  .jornairos-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }
  
  .jornairos-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }
  
  /* Categoria */
  .jornairos-categoria {
    text-align: center;
    display: inline-block;
    background: linear-gradient(to right, #E89C24, #FFD180);
    color: #000;
    font-size: 14px;
    padding: 6px 24px;
    clip-path: polygon(0% 0%, 100% 0%, 95% 50%, 100% 100%, 0% 100%, 5% 50%);
    margin-bottom: 4px;
  }
  
  .jornairos-data {
    font-size: 10px;
    color: #888;
  }
  
  .jornairos-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--kairos-azul);
    margin: 8px 0;
  }
  
  .jornairos-resumo {
    font-size: 13px;
    color: #444;
    flex-grow: 1;
  }
  
  /* Botões */
  .jornairos-botoes {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  
  .btn-amarelo {
    background: var(--kairos-amarelo);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .btn-azul {
    background: var(--kairos-azul);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
  }
  
  .btn-amarelo:hover {
    background: #c57f1b;
  }
  
  .btn-azul:hover {
    background: #1e2bbd;
  }



  .toast {
    visibility: hidden;
    min-width: 200px;
    background-color: var(--kairos-azul);
    color: white;
    text-align: center;
    border-radius: 30px;
    padding: 14px 24px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

  
  /* Responsivo */
  @media (max-width: 768px) {
    .titulo-principal {
      font-size: 2.2rem;
    }
  
    .titulo-filtros {
      font-size: 1.5rem;
    }
  
    .filtros-jornairos form {
      flex-direction: column;
    }

    .jornairos-grid {
      justify-content: center;
    }
  
    .jornairos-card {
      height: auto;
    }

    .btn-azul{
      display: none;
    }

    .btn-amarelo{
      width: 100%;
      text-align: center;
    }
  }
  