
.container {
    margin-top: 30px;
}
.table thead th {
    background-color: #f8f9fa;
}
.highlight-section {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.highlight-section img {
    max-width: 150px;
    margin-right: 20px;
    border-radius: 5px;
}
.highlight-section .info {
    flex-grow: 1;
}
.recent-editions {
    display: flex;
    flex-direction: column;
    max-width: 200px;
    gap: 10px;
}
.recent-editions .edition {
    display: flex;
    align-items: center;
    gap: 10px;
}
.recent-editions img {
    max-width: 50px;
}

.header-section {
    background-color: #007bff; /* Azul */
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 30px;
}
.header-section img {
    max-width: 100px; /* Tamanho do brasão */
    margin-right: 20px;
}
.header-section .text {
    font-size: 1.2rem;
}
.header-section .title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.recent-editions {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 300px; /* Limite de largura para as edições */
}

.recent-editions .edition {
display: flex;
align-items: center;
gap: 10px;
white-space: nowrap; /* Evita a quebra de linha no texto */
overflow: hidden; /* Impede que o conteúdo ultrapasse o limite */
text-overflow: ellipsis; /* Adiciona '...' se o texto for muito longo */
}

.recent-editions img {
max-width: 50px;
}

.recent-editions .edition span {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* Estilos gerais para telas pequenas */
@media (max-width: 576px) {
    /* Header Section */
    .header-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .header-section img {
        width: 80%;
        max-width: 200px;
        height: auto;
        margin-bottom: 10px;
    }
    .header-section .text {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Formulário de pesquisa */
    #searchForm {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    #searchForm .form-label {
        font-size: 14px;
    }
    #searchForm .form-control {
        font-size: 14px;
        padding: 8px;
    }
    #searchForm button {
        font-size: 14px;
        padding: 10px;
    }

    /* Tabela de resultados */
    .table-responsive {
        overflow-x: auto;
    }
    table {
        font-size: 12px;
        width: 100%;
    }
    thead th, tbody td {
        font-size: 14px;
        text-align: center;
    }

    /* Paginação */
    #paginationNav ul.pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    #paginationNav li {
        flex: 1 1 auto;
    }

    /* Margem e espaçamento geral */
    .container {
        padding: 10px;
    }
}

/* Estilos gerais */
.d-flex {
    display: flex;
    flex-wrap: wrap; /* Permite que os elementos quebrem para a próxima linha */
    gap: 10px;
}
.align-items-center {
    align-items: center;
}

/* Estilo para o container da última edição */
.info {
    flex: 1; /* Garante que o texto ocupe o espaço restante */
    text-align: center; /* Centraliza o texto em telas pequenas */
}
.info h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.info p {
    font-size: 14px;
    margin-bottom: 5px;
}
.info .btn {
    font-size: 14px;
    padding: 8px 16px;
}

/* Estilo para edições recentes */
.recent-editions {
    margin-top: 20px;
    text-align: center; /* Centraliza conteúdo */
}
.recent-editions h5 {
    font-size: 16px;
    margin-bottom: 10px;
}
.recent-editions .edition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaçamento entre o ícone e o texto */
    margin-bottom: 10px;
}
.recent-editions .edition img {
    width: 20px;
    height: 20px;
}
.recent-editions .edition span {
    font-size: 14px;
}

/* Estilos para telas pequenas */
@media (max-width: 576px) {
    .d-flex {
        flex-direction: column; /* Empilha os elementos verticalmente */
        text-align: center; /* Centraliza o texto */
    }
    .info {
        text-align: center;
    }
    .recent-editions {
        margin-top: 15px;
    }
    .recent-editions .edition {
        flex-direction: column; /* Empilha o ícone e o texto */
    }
    .recent-editions .edition img {
        margin-bottom: 5px;
    }
}


