/* ==================================================
   RBCIAMB - CSS PREMIUM DISCRETO
   Refinamento institucional e acadêmico
   Substitua TODO o CSS atual
   ================================================== */

/* ---------- BASE ---------- */
body{
  color:#222;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

a{
  transition:all .2s ease;
}

a:hover{
  opacity:.85;
}

/* ---------- CABEÇALHO ---------- */
.pkp_head_wrapper{
  padding:22px 0 14px 0 !important;
  border-bottom:1px solid #e8e8e8;
}

.pkp_site_name{
  text-align:center;
  margin:0 auto 10px auto !important;
}

.pkp_site_name img{
  max-height:165px !important;
  width:auto !important;
  position:relative !important;
  left:-90px !important;
}

/* ---------- MENU ---------- */
.pkp_navigation_primary_wrapper{
  text-align:center;
}

.pkp_navigation_primary{
  display:block !important;
  text-align:center;
  margin:0 auto;
  padding:0;
  white-space:nowrap;
}

.pkp_navigation_primary li{
  display:inline-block !important;
  float:none !important;
  vertical-align:middle;
}

.pkp_navigation_primary li a{
  display:block;
  padding:8px 11px !important;
  font-size:16px !important;
  font-weight:500;
}

.pkp_navigation_primary li a:hover{
  color:#22884B !important;
}

.pkp_navigation_user_wrapper{
  text-align:right;
  padding:6px 30px 0 0;
}

/* ---------- CONTEÚDO ---------- */
.pkp_structure_main{
  padding-top:26px;
}

/* ---------- TÍTULOS ---------- */
h1,
.pkp_structure_main h1{
  color:#22884B;
  font-size:2rem;
  line-height:1.2;
  font-weight:700;
  margin:0 0 18px;
}

h2{
  font-size:1.45rem;
  line-height:1.25;
  font-weight:700;
  margin:0 0 14px;
}

h3{
  font-size:1.15rem;
  font-weight:700;
}

/* ---------- HOME ---------- */
section.homepage_about h1,
section.homepage_about .page_title,
section.homepage_about h2:first-of-type{
  display:none !important;
}

section.homepage_about h2:last-of-type{
  display:block !important;
  color:#22884B !important;
  font-size:1.8rem !important;
  margin-bottom:18px !important;
}

section.homepage_about p{
  max-width:920px;
  margin-bottom:1.1em;
}

/* ---------- SIDEBAR ---------- */
.pkp_structure_sidebar{
  padding-left:28px;
}

.pkp_block{
  margin-bottom:28px;
}

.pkp_block h2{
  color:#444;
  font-size:1.25rem;
  font-weight:700;
  border-bottom:2px solid #22884B;
  padding-bottom:8px;
  margin-bottom:14px;
}

/* ---------- BOTÕES ---------- */
.obj_issue_summary .title a,
.cmp_button,
button,
input[type=submit]{
  border-radius:3px;
}

/* ---------- TODAS AS EDIÇÕES ---------- */
.page_issue_archive h1,
.page_issue_archive .page_title{
  font-size:1.7rem !important;
}

.page_issue_archive .obj_issue_summary{
  padding:18px 0 !important;
  border-bottom:1px solid #ececec;
}

.page_issue_archive .cover img{
  max-width:220px;
  border:1px solid #ddd;
}

/* ---------- ARTIGOS ---------- */
.page_article .article-details h1,
.page_issue .current_issue_title{
  font-size:1.8rem !important;
  line-height:1.25;
}

/* ---------- RODAPÉ ---------- */
.pkp_structure_footer_wrapper{
  margin-top:40px;
  border-top:1px solid #e8e8e8;
}

.pkp_footer_content{
  font-size:.95rem;
  color:#555;
  padding:24px 0;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width:768px){

  .pkp_site_name img{
    max-height:110px !important;
    left:0 !important;
  }

  .pkp_navigation_primary{
    white-space:normal;
  }

  .pkp_navigation_primary li{
    display:block !important;
  }

  .pkp_navigation_primary li a{
    font-size:15px !important;
    padding:8px !important;
  }

  .pkp_structure_sidebar{
    padding-left:0;
    margin-top:30px;
  }

  h1{
    font-size:1.6rem;
  }

  section.homepage_about h2:last-of-type{
    font-size:1.45rem !important;
  }
}
/* ===== RODAPÉ AJUSTADO ===== */

.pkp_structure_footer_wrapper{
  background:#f3f3f3 !important;
  padding:20px 0 !important;
  margin-top:40px !important;
}

.pkp_footer_content{
  min-height:auto !important;
  padding:0 !important;
}

.pkp_brand_footer{
  padding:0 !important;
  margin:0 !important;
}

.pkp_brand_footer img,
.pkp_brand_footer a img{
  max-height:90px !important;
  width:auto !important;
}

.pkp_structure_footer_wrapper .pkp_footer_content,
.pkp_structure_footer_wrapper .pkp_brand_footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

/* remove excesso de espaço interno */
.pkp_structure_footer_wrapper p{
  margin:0 0 8px 0 !important;
}

/* mobile */
@media (max-width:768px){
  .pkp_structure_footer_wrapper .pkp_footer_content,
  .pkp_structure_footer_wrapper .pkp_brand_footer{
    display:block;
    text-align:center;
  }

  .pkp_brand_footer img{
    margin-top:15px;
    max-height:70px !important;
  }
.pkp_site_name,
.homepage_image,
.page_index_journal .homepage_image img,
.page_index_journal .cmp_announcements + div img {
    width: 100%;
    max-height: 340px;
    min-height: 240px;
    object-fit: cover;
    display: block;
}
.page {
    padding-top: 20px;
    padding-bottom: 30px;
}

section,
.obj_issue_toc,
.cmp_announcements,
.current_issue,
.additional_content {
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
}
.pkp_structure_content,
.pkp_structure_main,
.page {
    max-width: 1380px;
    width: 94%;
    margin: 0 auto;
}
.obj_article_summary,
.current_issue,
.cmp_announcements {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 18px;
}
.page_index_journal .homepage_image img,
.homepage_image img {
    max-height: 380px !important;
}.obj_issue_toc,
.current_issue,
.cmp_announcements,
.additional_content,
.pkp_block {
    background: #fff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}.page,
.pkp_structure_content,
.pkp_structure_main {
    max-width: 1460px !important;
    width: 95% !important;
}.pkp_structure_footer_wrapper,
.pkp_footer_content {
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    line-height: 1.5;
}h1, h2, h3,
.cmp_notification,
.page_title {
    font-weight: 700;
    letter-spacing: -.2px;
}body {
    background: #f5f5f5 !important;
}

.pkp_structure_main {
    border: 5px solid red !important;
}

.homepage_image img {
    height: 420px !important;
    object-fit: cover !important;
}/* ===== FOOTER RBCIAMB ===== */

.pkp_structure_footer_wrapper {
    padding: 28px 0 !important;
    margin-top: 20px !important;
}

.pkp_footer_content {
    padding: 0 !important;
}

.pkp_footer_content .pkp_brand_footer {
    margin-top: 10px !important;
    text-align: center !important;
}

.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div {
    line-height: 1.45 !important;
}

.pkp_structure_footer_wrapper .page {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    gap: 24px;
    align-items: start;
}.pkp_structure_footer_wrapper {
    padding: 20px 0 !important;
}

.pkp_brand_footer {
    margin-top: 8px !important;
}/* ===== FOOTER RBCIAMB SEM CAPA ===== */

.pkp_structure_footer_wrapper{
    background:#062b4f !important;
    margin-top:30px;
    padding:0 !important;
}

.pkp_footer_content{
    max-width:1380px;
    margin:0 auto;
    padding:0 !important;
}

.rbciamb-footer{
    display:grid;
    grid-template-columns:2fr 1fr 2fr 1.2fr;
    gap:36px;
    padding:30px 20px;
}

.rbf-col h4{
    color:#fff;
    font-size:14px;
    font-weight:700;
    margin:0 0 12px;
}

.rbf-col p,
.rbf-journal{
    color:rgba(255,255,255,.88);
    margin:0 0 8px;
    line-height:1.55;
}

.rbf-journal{
    font-size:20px;
    font-weight:700;
}

.rbf-journal em{
    display:block;
    margin-top:8px;
    font-size:17px;
    font-style:italic;
    font-weight:600;
}

.rbf-copy{
    border-top:1px solid rgba(255,255,255,.15);
    color:rgba(255,255,255,.75);
    text-align:center;
    padding:14px 20px;
    font-size:14px;
}

@media(max-width:992px){
.rbciamb-footer{
grid-template-columns:1fr 1fr;
}}


@media(max-width:768px){
.rbciamb-footer{
grid-template-columns:1fr;
}}
/* ===== FOOTER NATIVO OJS - AJUSTE ===== */

.pkp_structure_footer_wrapper{
    padding: 22px 0 !important;
}

.pkp_footer_content{
    font-size: 15px;
    line-height: 1.5;
}

/* Compacta colunas */
.pkp_structure_footer_wrapper .page{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:28px !important;
    align-items:flex-start !important;
}

/* Logo OJS */
.pkp_brand_footer{
    margin-top:0 !important;
}
.pkp_footer_content a img{
    display:inline-block;
}

.pkp_footer_content a{
    line-height:1.5;
}/* ===== FOOTER RBCIAMB REFINADO ===== */

.pkp_structure_footer_wrapper{
    background:#062b4f !important;
    color:#fff !important;
    padding:26px 0 !important;
    margin-top:32px !important;
}

.pkp_footer_content,
.pkp_footer_content a,
.pkp_footer_content p,
.pkp_footer_content div{
    color:rgba(255,255,255,.92) !important;
}

.pkp_structure_footer_wrapper .page{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:28px !important;
    align-items:flex-start !important;
}

.pkp_brand_footer{
    margin-top:0 !important;
}

.pkp_footer_content a{
    text-decoration:underline;
}

.pkp_footer_content img{
    vertical-align:middle;
}/* ===== FOOTER RBCIAMB FINAL ===== */

/* bloco geral */
.pkp_structure_footer_wrapper{
    background:#062b4f !important;
    padding:24px 0 14px !important;
    margin-top:32px !important;
}

/* textos gerais */
.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_content a{
    color:rgba(255,255,255,.92) !important;
    line-height:1.5 !important;
}

/* layout principal */
.pkp_structure_footer_wrapper .page{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:28px !important;
    align-items:flex-start !important;
}

/* colunas */
.pkp_structure_footer_wrapper .page > *{
    flex:1 1 180px;
    min-width:160px;
}

/* logo OJS */
.pkp_brand_footer{
    margin-top:0 !important;
    text-align:center;
}

/* licença */
.rb-license{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:18px;
    padding-top:14px;
    border-top:1px solid rgba(255,255,255,.15);
    text-decoration:none;
    font-size:14px;
}

.rb-license img{
    display:block;
    flex:0 0 auto;
}

/* links */
.pkp_footer_content a{
    text-decoration:underline;
}

/* mobile */
@media(max-width:768px){
    .rb-license{
        flex-direction:column;
        align-items:flex-start;
    }
/* ===== RBCIAMB FOOTER FIX REAL ===== */

/* fundo geral do rodapé */
footer,
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
    background: #062b4f !important;
    color: #ffffff !important;
    padding: 24px 0 !important;
    margin-top: 30px !important;
    border: none !important;
}

/* container interno */
footer .page,
.pkp_structure_footer_wrapper .page,
.pkp_footer_content {
    max-width: 1380px !important;
    width: 94% !important;
    margin: 0 auto !important;
}

/* textos */
footer,
footer p,
footer div,
footer span,
footer a,
.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_content span,
.pkp_footer_content a {
    color: rgba(255,255,255,.92) !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
}

/* layout em colunas */
footer .page,
.pkp_structure_footer_wrapper .page {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
    align-items: flex-start !important;
}

/* blocos internos */
footer .page > *,
.pkp_structure_footer_wrapper .page > * {
    flex: 1 1 180px !important;
    min-width: 160px !important;
}

/* logo OJS */
.pkp_brand_footer {
    margin-top: 0 !important;
    text-align: center !important;
}

/* imagens do footer */
footer img,
.pkp_footer_content img {
    max-width: 100% !important;
    height: auto !important;
    vertical-align: middle !important;
}

/* links */
footer a,
.pkp_footer_content a {
    text-decoration: underline !important;
}

/* mobile */
@media (max-width: 768px) {
    footer .page,
    .pkp_structure_footer_wrapper .page {
        display: block !important;
    }

    footer .page > *,
    .pkp_structure_footer_wrapper .page > * {
        margin-bottom: 16px !important;
    }
/* ===== PATCH RODAPÉ RBCIAMB ===== */

/* área externa */
.pkp_structure_footer_wrapper{
  padding-top:16px !important;
  padding-bottom:16px !important;
  margin-top:24px !important;
}

/* conteúdo */
.pkp_footer_content{
  padding:0 !important;
  line-height:1.45 !important;
}

/* parágrafos/textos */
.pkp_footer_content p,
.pkp_footer_content div{
  margin-bottom:6px !important;
}

/* logo OJS/PKP */
.pkp_brand_footer{
  margin-top:8px !important;
}

.pkp_brand_footer img{
  max-height:58px !important;
  width:auto !important;
}

/* licença CC */
.rb-license{
  margin-top:10px !important;
  font-size:14px !important;
  display:flex;
  align-items:center;
  gap:10px;
}

.rb-license img{
  max-height:28px;
  width:auto;
}

/* mobile */
@media (max-width:768px){
  .rb-license{
    flex-direction:column;
    align-items:flex-start;
  }

  .pkp_brand_footer{
    text-align:left;
  }
/* ===== FORÇAR RODAPÉ ===== */

footer,
footer *,
[role="contentinfo"],
[role="contentinfo"] *,
.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper *,
.pkp_footer_content,
.pkp_footer_content *{
  line-height:1.45 !important;
}

footer,
[role="contentinfo"],
.pkp_structure_footer_wrapper{
  padding-top:16px !important;
  padding-bottom:16px !important;
  margin-top:24px !important;
}

footer img,
[role="contentinfo"] img,
.pkp_structure_footer_wrapper img{
  max-height:60px !important;
  width:auto !important;
}
/* ===== FOOTER FIX DEFINITIVO ===== */

/* reset dos flex errados */
.pkp_structure_footer_wrapper,
.pkp_footer_content,
.pkp_brand_footer{
  display:block !important;
}

/* layout correto no pai */
.pkp_structure_footer{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:32px !important;
  padding:18px 0 !important;
}

/* conteúdo textual */
.pkp_footer_content{
  flex:1 1 auto !important;
  line-height:1.45 !important;
}

/* logo OJS */
.pkp_brand_footer{
  flex:0 0 auto !important;
  margin:0 !important;
  text-align:right !important;
}

.pkp_brand_footer img{
  max-height:70px !important;
  width:auto !important;
}

/* compactar textos */
.pkp_footer_content p{
  margin:0 0 6px !important;
}

/* mobile */
@media (max-width:768px){
  .pkp_structure_footer{
    display:block !important;
  }

  .pkp_brand_footer{
    text-align:left !important;
    margin-top:14px !important;
  }
}/* ===== FOOTER BILÍNGUE INTELIGENTE ===== */

/* padrão: mostra tudo */
.pkp_footer_content{
  line-height:1.45;
}

/* página em inglês */
html[lang="en-US"] .pkp_footer_content{
}

/* esconde português no inglês */
html[lang="en-US"] .pkp_footer_content{
}

/* se o texto estiver em linhas separadas */
html[lang="en-US"] .pkp_footer_content{
}

/* ===== SOLUÇÃO REAL VIA CONTEÚDO MANUAL ===== */