/* Deixar a sigla RBGEAS no cabeçalho sólida, nítida e maior */
.pkp_site_name_wrapper > .pkp_site_name,
.pkp_site_name_wrapper > .pkp_site_name a,
.pkp_site_name_wrapper > a.pkp_site_name {
color: #FFFFFF !important;
opacity: 1 !important;
font-weight: 600 !important;
font-size: 18px !important;
letter-spacing: 1px !important;
text-shadow: none !important;
}

/* Colocar a sigla e o nome completo lado a lado, sempre visíveis (sem posição absoluta) */
.pkp_site_name_wrapper {
display: flex !important;
align-items: center !important;
flex-wrap: nowrap !important;
gap: 18px !important;
}

#rbgeas-header-title {
display: inline-block !important;
color: #FFFFFF !important;
font-weight: 800 !important;
font-size: 24px !important;
line-height: 1.3 !important;
max-width: none !important;
white-space: nowrap !important;
opacity: 1 !important;
}

@media (max-width: 1100px) {
#rbgeas-header-title {
display: none !important;
}
}

/* Rodapé com fundo branco, ocupando toda a largura da tela */
.pkp_structure_footer,
.pkp_footer,
#footer {
background-color: #FFFFFF !important;
color: #1F3864 !important;
padding: 32px 48px 160px 48px !important;
border-top: 1px solid #D9D9D9 !important;
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
box-sizing: border-box !important;
position: relative !important;
}

.pkp_structure_footer .pkp_structure_content,
.pkp_structure_footer .pkp_content,
.pkp_structure_footer > div {
max-width: 100% !important;
width: 100% !important;
}

.rbgeas-footer {
position: relative;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: 32px;
width: 100%;
color: #1F3864;
font-size: 0.9em;
line-height: 1.6;
}

.rbgeas-footer a {
color: #1F3864 !important;
text-decoration: none;
}

.rbgeas-footer a:hover {
text-decoration: underline;
color: #3B5998 !important;
}

.rbgeas-footer-col {
min-width: 220px;
flex: 1;
}

.rbgeas-footer-item {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 10px;
}

.rbgeas-footer-item svg {
flex-shrink: 0;
margin-top: 2px;
}

/* Logos institucionais (FGH, CEE, Instagram) */
.rbgeas-footer-logos {
display: flex;
align-items: center;
gap: 24px;
flex-wrap: wrap;
}

.rbgeas-footer-logoimg {
display: block;
width: auto !important;
}

.rbgeas-logo-fgh,
.rbgeas-logo-cee,
.rbgeas-logo-insta {
height: 38px !important;
}

/* Marca RBGEAS no canto inferior direito do rodapé (3x maior) */
.rbgeas-footer-brand {
position: absolute;
right: 0;
bottom: -135px;
height: 120px !important;
width: auto !important;
}

@media (max-width: 768px) {
.rbgeas-footer-brand {
position: static;
margin-top: 16px;
height: 80px !important;
}
.pkp_structure_footer,
.pkp_footer,
#footer {
padding-bottom: 32px !important;
}
}

/* Ocultar a marca "Platform & workflow by OJS/PKP" */
.pkp_brand_footer,
.pkp_structure_footer_poweredBy,
footer .pkp_brand_footer,
a[href*="pkp.sfu.ca"],
a[href*="publicknowledge"],
a[href*="pkp.sfu.ca"] img {
display: none !important;
visibility: hidden !important;
}

/* Edição: título "Sumário" acima da lista de artigos */
.obj_issue_toc .sections::before {
content: "Sumário";
display: block;
font-size: 1.4em;
font-weight: 700;
color: #1F3864;
border-bottom: 2px solid #1F3864;
padding-bottom: 6px;
margin: 24px 0 12px;
}

/* Edição: link do PDF completo como botão "Baixar a revista completa" */
.obj_issue_toc .heading .description a[href*="sharepoint"] {
display: inline-block;
font-size: 0 !important;
background: #1F3864;
border-radius: 4px;
padding: 10px 18px;
margin-top: 8px;
text-decoration: none !important;
}

.obj_issue_toc .heading .description a[href*="sharepoint"]::after {
content: "Baixar a revista completa (PDF)";
font-size: 14px;
font-weight: 600;
color: #FFFFFF;
}
