/* =========================================
   NOTÍCIAS (FORMATO LISTA / HORIZONTAL)
========================================= */
.grid-noticias { 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    max-width: 900px; 
    margin: 0 auto; 
}

.noticia-card { 
    display: flex; 
    align-items: center;
    background: var(--white); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
    transition: transform 0.2s; 
    border-left: 4px solid var(--secondary-color);
}

.noticia-card:hover { 
    transform: translateX(5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

.noticia-img { 
    width: 180px !important; 
    height: 180px !important; 
    object-fit: cover; 
}

.noticia-conteudo { 
    padding: 1.5rem; 
    flex: 1; 
    text-align: left;
}

.noticia-data { font-size: 0.85rem; color: #777; margin-bottom: 0.5rem; display: block; }
.noticia-titulo { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 0.5rem; line-height: 1.4; }
.btn-ler-mais { color: var(--secondary-color); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; }
.btn-ler-mais:hover { color: #e65100; text-decoration: underline; }

@media(max-width: 600px) {
    .noticia-card { flex-direction: column; align-items: stretch; }
    .noticia-img { width: 100% !important; height: 160px !important; }
}

/* =========================================
   DECRETOS E DOCUMENTOS
========================================= */
.lista-decretos { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.decreto-item { background: var(--white); padding: 1rem 1.5rem; border-left: 4px solid var(--secondary-color); border-radius: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.decreto-info h4 { color: var(--text-color); margin-bottom: 0.2rem; }
.decreto-info p { font-size: 0.85rem; color: #666; }

/* =========================================
   EDITAIS
========================================= */
.editais { background-color: var(--white); }

.lista-editais {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px; 
    margin: 0 auto;
}

.edital-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.edital-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.edital-info h3 { margin: 0.5rem 0; color: var(--text-color); font-size: 1.2rem; }
.data-publicacao { font-size: 0.9rem; color: #666; }

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
}

.status-aberto { background-color: var(--primary-color); }
.status-encerrado { background-color: #999; }

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media(max-width: 600px) {
    .edital-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .edital-acoes { width: 100%; }
    .edital-acoes .btn-outline { justify-content: center; width: 100%; }
}

/* =========================================
   BANNER DE IMAGEM CLICÁVEL
========================================= */
.banner-destaque {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0; 
    padding: 0 5%;
}

.banner-destaque a {
    display: block;
    width: 100%;
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-destaque a:hover {
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.banner-destaque img {
    width: 100%;
    height: 250px; 
    object-fit: cover; 
    display: block;
}

@media(max-width: 768px) {
    .banner-destaque img { height: 150px; }
}


/* Ícone de Usuário no Menu */
.menu-acesso-painel a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px; /* Ajuste este valor para igualar o espaçamento do seu menu atual */
    color: inherit; /* Herda a cor das outras letras do menu */
    transition: all 0.3s ease;
}

.menu-acesso-painel svg {
    width: 20px; /* Tamanho do ícone */
    height: 20px;
}

/* Efeito ao passar o rato (hover) */
.menu-acesso-painel a:hover {
    color: #007bff; /* Coloque aqui a cor de destaque do seu site */
    transform: scale(1.1); /* Dá um ligeiro aumento no ícone */
}