/* ------------------------------------------
 * Estilos para a listagem de Editais (Vue) 
 * ------------------------------------------ */
.wrapper-editais {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

ul.status-editais-abas {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
    /* Para telas menores */
}

ul.status-editais-abas li {
    padding: 12px 20px;
    margin-right: 2px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    text-align: center;
    flex: 1 1 auto;
    transition: background-color 0.2s, color 0.2s;
}

ul.status-editais-abas li:hover {
    background-color: #e9e9e9;
    color: #333;
}

ul.status-editais-abas li.selected {
    background-color: #fff;
    color: #333;
    border-top: 3px solid #144194;
    /* Fapeam blue */
    margin-bottom: -1px;
    padding-top: 10px;
    /* Ajuste pelo border-top */
    z-index: 2;
    position: relative;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.wrapper-editais .conteudos {
    border: 1px solid #ddd;
    border-top: none;
    background: #fff;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.wrapper-editais .html ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper-editais .html ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.wrapper-editais .html ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wrapper-editais .html h2 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0 !important;
    font-weight: bold;
}

.wrapper-editais .html h2 a {
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
}

.wrapper-editais .html h2 a:hover {
    color: #144194;
    /* Fapeam blue */
    text-decoration: underline;
}

.wrapper-editais .html time {
    display: block;
    color: #666;
    font-size: 0.95rem;
}

.wrapper-editais .arquivos {
    margin-top: 15px;
    background: #fdfdfd;
    padding: 15px;
    border: 1px solid #eee;
    border-left: 4px solid #144194;
}

.wrapper-editais .arquivos h4 {
    margin-top: 0;
    font-size: 1em;
    margin-bottom: 10px;
    color: #333;
}

.wrapper-editais .arquivos ul.resultados {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 0;
}

.wrapper-editais .arquivos ul.resultados li {
    padding-bottom: 5px;
    margin-bottom: 0;
    border-bottom: none;
}

/* Paginação */
.wrapper-editais .paginacao {
    margin-top: 25px;
}

@media (max-width: 768px) {
    ul.status-editais-abas {
        flex-direction: column;
        border-bottom: none;
    }

    ul.status-editais-abas li {
        border-bottom: 1px solid #ddd;
        border-radius: 0;
        margin-right: 0;
    }

    ul.status-editais-abas li.selected {
        margin-bottom: 0;
        border-top: 1px solid #ddd;
        border-left: 5px solid #144194;
        /* Destaca a aba na lateral em mobile */
        padding-top: 12px;
        padding-left: 15px;
    }

    .wrapper-editais .conteudos {
        border-top: 1px solid #ddd;
    }
}

/* Abas de links widget titles (Decisões, Resoluções, Editais) */
.abas-links-bloco .widget-title,
.abas-links-bloco h4.widget-title {
    color: #0273ac !important;
}
