/* ===== HEADER ===== */
.pkp_structure_head {
    background-color: #00689E !important;
}

/* Mantém o link, mas esconde o texto */
.pkp_site_name a {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    
    width: 420px;
    height: 90px;

    text-indent: -9999px;
    overflow: hidden;
    z-index: 11;
}

/* ===== FORÇA HEADER FULL ===== */
.pkp_site_name_wrapper {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: flex-start !important; /* FORÇA esquerda */
}

/* Container da logo */
.pkp_site_name {
    position: relative;
    width: 100%;
    height: 10px;
    margin: 0 !important;
    text-align: left !important;
}

/* ===== LOGO GRANDE À ESQUERDA ===== */
.pkp_site_name::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);

    width: 420px;   /* AUMENTEI BEM */
    height: 90px;

    background-image: url("https://revista.ibrac.org.br/public/journals/1/pageHeaderLogoImage_pt_BR.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

/* ===== MENU À DIREITA ===== */
.pkp_navigation_primary_row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 120px;
    padding-right: 30px;
}

/* Links */
.pkp_navigation_primary_row a {
    color: #ffffff !important;
}

/* ===== FOOTER ===== */
.pkp_structure_footer_wrapper {
    background-color: #00689E !important;
    color: #ffffff;
}

.pkp_structure_footer_wrapper a {
    color: #ffffff !important;
}

/* Mantém o bloco, mas remove apenas o logo */
.pkp_brand_footer img,
.pkp_brand_footer svg {
    display: none !important;
}

/* Garante cor do texto no footer */
.pkp_brand_footer {
    color: #ffffff !important;
}

/* Se houver link */
.pkp_brand_footer a {
    color: #ffffff !important;
}

/*Body das capas */

/* ===== ESTILIZAÇÃO DAS CAPAS (BODY) ===== */

/* Container principal que envolve a lista de revistas */
.pkp_structure_main .obj_journal_summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Cria colunas automáticas */
    gap: 30px; /* Espaço entre os cards */
    padding: 40px 20px;
    align-items: start;
    border: none !important; /* Remove linhas divisórias antigas */
}

/* Estilo do Card de cada Revista */
.obj_journal_summary {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px !important;
    display: flex;
    flex-direction: column; /* Coloca imagem em cima e texto embaixo */
    text-align: center;
}

/* Efeito ao passar o mouse */
.obj_journal_summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Ajuste da Imagem (Capa) */
.obj_journal_summary .thumb {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    float: none !important; /* Remove o float que joga pra esquerda */
}

.obj_journal_summary .thumb img {
    max-width: 180px; /* Mantém um tamanho elegante */
    height: auto;
    border-radius: 4px;
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
}

/* Ajuste dos Textos e Títulos */
.obj_journal_summary .body {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.obj_journal_summary .body h2, 
.obj_journal_summary .body h3 {
    font-size: 1.1rem !important;
    color: #00689E !important;
    margin-bottom: 15px !important;
    line-height: 1.3;
    min-height: 3em; /* Alinha os títulos */
}

/* Estilização dos Links (Acessar / Edição Atual) */
.obj_journal_summary .links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.obj_journal_summary .links a {
    background-color: #00689E;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s;
}

.obj_journal_summary .links a:hover {
    background-color: #004d75;
}

.obj_journal_summary .links a.current {
    background-color: #f5f5f5;
    color: #333 !important;
    border: 1px solid #ddd;
}