/* 1. FUNDO DO SITE (IMAGEM VERMELHA) */
body {
    background-image: url('../../../images/siteLogo/bg-blue.jpg') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* 2. TRANSPARÊNCIA DOS CONTAINERS */
/* Adicionei o #sp-header aqui para garantir que ele seja transparente */
body, .body-innerwrapper, section, .container, .row, #sp-header {
    background: transparent !important;
    box-shadow: none !important; /* Remove sombras que podem marcar o topo */
}

/* 3. CAIXAS BRANCAS GLOBAIS (Conteúdo e Lateral) */
/* Aplica branco no menu, área de artigos e em qualquer coisa na lateral esquerda */
#sp-menu, 
#sp-component, 
#sp-left .sp-module, 
.sp-column.left .sp-module,
.sp-column.left > div { 
    background: #ffffff !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flow-root !important;
}

/* Ajuste fino para os textos do módulo HTML da esquerda */
.sp-column.left p {
    margin-bottom: 10px !important;
    line-height: 1.5;
}

/* Cor dos links dos parceiros para combinar com a UFMA */
.sp-column.left a {
    color: #cc0000 !important;
    text-decoration: none;
}

.sp-column.left a:hover {
    text-decoration: underline;
    color: #333 !important;
}
/* 4. AJUSTE DO MENU (Continua branco com letras pretas) */
#sp-menu .sp-megamenu-parent > li > a, 
#sp-menu .sp-megamenu-parent > li > span {
    color: #333333 !important;
    font-weight: 600 !important;
    padding: 0 15px !important;
    line-height: 50px !important;
}

/* 5. AJUSTE REFINADO DA BARRA DE PESQUISA */
.sp-module .search-query, 
.sp-module input[type="text"].form-control {
    height: 40px !important;       /* Altura um pouco maior para facilitar o clique */
    width: 250px !important;       /* Deixa a barra mais comprida */
    max-width: 300px !important;   /* Limite máximo para não quebrar no celular */
    margin-top: 25px !important;   /* O "pulo do gato": empurra a barra para baixo */
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    float: right;                  /* Garante que ela encoste na direita */
}

/* Ajuste para telas menores (celular) não quebrar */
@media (max-width: 768px) {
    .sp-module .search-query {
        width: 100% !important;
        margin-top: 10px !important;
    }
}

