/* 1. FUNDO E CARD PRINCIPAL */
html,
body {
    background-color: #d1d5db !important;
    margin: 0;
    padding: 0;
}

.pkp_structure_page {
    max-width: 1250px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* 2. LIMPEZA DO CABEÇALHO */
/* Esconde o título em texto que está em cima da imagem */
.pkp_site_name .is_text {
    display: none !important;
}

.pkp_site_name_wrapper {
    height: 11rem !important;
}

.pkp_structure_head {
    padding: 50px 0 0 0 !important;
    border: none !important;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Força os itens a ficarem um abaixo do outro */
}

/* Ajuste da imagem para não ser cortada */
.pkp_site_name .is_img img {
    max-height: 350px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px auto;
    /* Espaço abaixo da imagem */
}

/* 3. BARRA DE MENU (O VERDE ESCURO) */
.pkp_navigation_primary_row {
    background-color: #01A004 !important;
}

.pkp_structure_navigation_wrapper {
    /* Verde escuro do balão */
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    clear: both !important;
    border: none !important;
    margin-top: 10px !important;
}

/* Ajuste dos links do menu */
.pkp_navigation_primary a,
.pkp_navigation_user a {
    color: #ffffff !important;
    font-weight: bold !important;
    text-transform: uppercase;
    padding: 10px 17px 10px 17px !important;
}

.pkp_navigation_primary>li>a:hover {
    border-color: transparent !important;
}

.pkp_nav_list li a {
    font-size: 14px !important;
}

.pkp_site_nav_menu {
    padding: 0 !important;
}

.pkp_navigation_primary_wrapper {
    height: 50px !important;
}

.pkp_navigation_primary a:hover {
    background-color: #01A004 !important;
}

.pkp_navigation_search_wrapper {
    margin-top: .2rem;
}

.pkp_navigation_search_wrapper a {
    text-transform: uppercase !important;
    font-weight: bold !important;
    color: #fff !important;
}

.pkp_navigation_search_wrapper a:hover {
    border-color: transparent !important;
}

.pkp_navigation_search_wrapper a:focus {
    background: transparent !important;
}

#pkpDropdown4 {
    background: #01A004 !important;
    border-radius: 6px;
    color: #fff !important;
}

#navigationUser>li>a {
    background: #01A004 !important;
    border-radius: 6px;
    color: #fff !important;
}

@media (min-width: 992px) {
    .pkp_navigation_user ul {
        width: 13.4em;
    }

    .pkp_nav_list ul {
        background: #fff !important;
    }

    .pkp_navigation_user>li:hover ul {
        left: 0 !important;
    }
}

.profile a {
    color: #339664 !important;
}

.pkp_nav_list ul li a {
    color: #01A004 !important;
}

.pkp_nav_list ul li a:hover {
    background-color: #DDDDDD !important;
}

/* 4. RODAPÉ */

.pkp_footer_content {
    padding: 0 !important
}

.rodape-contato {
    margin-top: 20px;
}

.pkp_structure_footer_wrapper {
    background-color: #01A004 !important;
    margin-top: 20px !important;
    padding: 20px 0 20px 0 !important;
    color: #ffffff !important;
    border-top: 5px solid #f75b5b;
}

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

.pkp_brand_footer {
    padding: 0 2.142rem 0 2.142rem !important;
}

/* --- LOGOS INSTITUCIONAIS DO RODAPÉ --- */

/* Organiza as três marcas na mesma linha */
.pkp_brand_footer .d-flex.col-8 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 25px !important;
    position: relative;
}

/* Logo IFRN */
#logoIfrn {
    order: 1;
    flex-shrink: 0;
}

/* Logo PROEX inserida entre as duas marcas */
.pkp_brand_footer .d-flex.col-8::after {
    content: "";
    display: block;
    order: 2;
    width: 130px;
    height: 75px;
    flex-shrink: 0;

    background-image: url("https://www2.ifrn.edu.br/ojs/public/site/images/dialogosdaextensao2025/chatgpt-image-13-de-ago.-de-2026-11-07-01.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Logo Editora IFRN */
#logoEditora {
    order: 3;
    margin-left: 0 !important;
    flex-shrink: 0;
}



@media (min-width: 992px) and (min-width: 992px) {
    .pkp_navigation_primary {
        max-width: 90% !important;
    }
}

.pkp_brand_footer .svg-logo {
    background-color: #fff !important;
}


/* IDIOMA */
.content ul li {
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.content ul li::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.locale_en_US::before {
    background-image: url("https://rematec.net.br/index/flag/united-states-of-america.svg");
}

.locale_es_ES::before {
    background-image: url("https://rematec.net.br/index/flag/spain.svg");
}

.locale_pt_BR::before {
    background-image: url("https://rematec.net.br/index/flag/brazil.svg");
}

/* 5. CONTEÚDO E TEXTOS */

/* Justifica os parágrafos das páginas e resumos */
.pkp_structure_main p,
.page .content p,
.obj_article_details .abstract p,
.obj_article_summary .abstract p {
    text-align: justify !important;
    text-justify: inter-word;
    /* Melhora o espaçamento entre as palavras */
    hyphens: auto;
    /* Adiciona hifenização automática para evitar buracos no texto */
}

/* Garante que títulos de seções continuem centralizados ou à esquerda se desejar */
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3 {
    text-align: left;
    /* Ou 'center' se preferir títulos centralizados */
}

/* Biografia do autor: mesmo estilo do Resumo */
.obj_article_details .author_bios .sub_item .value p {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    font-size: 16px;
    line-height: 1.785;
    /* igual ao Resumo (28,56px) */
}

/* Referências: texto alinhado à esquerda */
.obj_article_details .references .value p {
    text-align: left !important;
    hyphens: manual;
}

/* ORCID dos autores: mesmo tamanho do link do DOI */
.obj_article_details .authors .orcid a {
    font-size: 1rem;
    /* 16px, igual ao link do DOI */
}

/* ÍCONES DE ORCID E DOI (só na página do artigo; um ícone por domínio) */

/* orcid.org: logo oficial do ORCID iD */
.obj_article_details .authors .orcid a[href*="orcid.org"]::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 6px;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23A6CE39%22%20d%3D%22M256%2C128c0%2C70.7-57.3%2C128-128%2C128C57.3%2C256%2C0%2C198.7%2C0%2C128C0%2C57.3%2C57.3%2C0%2C128%2C0C198.7%2C0%2C256%2C57.3%2C256%2C128z%22%2F%3E%3Cg%20fill%3D%22%23FFF%22%3E%3Cpath%20d%3D%22M86.3%2C186.2H70.9V79.1h15.4v48.4V186.2z%22%2F%3E%3Cpath%20d%3D%22M108.9%2C79.1h41.6c39.6%2C0%2C57%2C28.3%2C57%2C53.6c0%2C27.5-21.5%2C53.6-56.8%2C53.6h-41.8V79.1z%20M124.3%2C172.4h24.5c34.9%2C0%2C42.9-26.5%2C42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z%22%2F%3E%3Cpath%20d%3D%22M88.7%2C56.8c0%2C5.5-4.5%2C10.1-10.1%2C10.1c-5.6%2C0-10.1-4.6-10.1-10.1c0-5.6%2C4.5-10.1%2C10.1-10.1C84.2%2C46.7%2C88.7%2C51.3%2C88.7%2C56.8z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat;
}

/* doi.org: ícone DOI no lugar do rótulo "DOI:" (o texto continua para leitor de tela) */
.obj_article_details .main_entry .item.doi .label {
    font-size: 0;
}

.obj_article_details .item.doi .value a[href*="doi.org"]::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 19px;
    margin-right: 6px;
    vertical-align: middle;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAATCAYAAACUef2IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDoAABSCAABFVgAADqXAAAXb9daH5AAAAPNSURBVHjajJRPbFRVFMZ/574384YObe1k+gcNbS21JP4DpNWGDf9coHGjK0OiIVEjIYKagMaF0URjtAE0xiasdEFSExPZGCMiWkgEpdgmWgIRaS10oLUlVJxOZzrvvXtcvKHtlJr4JXdxb8797nfO+e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2HJlZcj8r0UmHuQgUIIOFeCeSQGrsdMVuAFiBZauswYdgrSA9xvYgj8z1ZhH8HAH5mpendgvzNAAAAAElFTkSuQmCC") center / contain no-repeat;
}

/* CAIXINHAS DA COLUNA LATERAL DO ARTIGO (Publicado, Como citar, Edição, Licença), em cinza como no RBEPT */
.obj_article_details .entry_details .item.published,
.obj_article_details .entry_details .item.citation,
.obj_article_details .entry_details .item.issue,
.obj_article_details .entry_details .item.copyright {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    padding: 0;
    margin: 30px 0;
    overflow: hidden;
    word-wrap: break-word;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

/* Faixa de título de cada caixinha */
.obj_article_details .entry_details .item.published > .sub_item:first-child > .label,
.obj_article_details .entry_details .item.issue > .sub_item:first-child > .label,
.obj_article_details .entry_details .item.copyright > .label,
.obj_article_details .entry_details .item.citation .citation_display .label {
    background-color: #ddd;
    border-bottom: none;
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
    font-size: 0.93rem;
    font-weight: 400;
    letter-spacing: normal;
    padding: 0.5em 1.43rem;
    margin: 0;
}

.obj_article_details .entry_details .item.published .value,
.obj_article_details .entry_details .item.issue .value,
.obj_article_details .entry_details .item.citation .citation_display .value {
    padding: 1.43rem;
}

/* Edição: o segundo título (Seção) fica menor, com sublinhado cinza */
.obj_article_details .entry_details .item.issue > .sub_item:not(:first-child) .label {
    display: inline-block;
    margin: 0 1.43rem;
    padding: 0.5em 0;
    border-bottom: 3px solid rgba(0, 0, 0, 0.54);
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
    font-size: 0.93rem;
    font-weight: 400;
    letter-spacing: normal;
}

/* Licença: o texto fica direto dentro da caixinha, então o espaço é dado nela */
.obj_article_details .entry_details .item.copyright {
    padding: 0 1.43rem 1.43rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.obj_article_details .entry_details .item.copyright > .label {
    margin: 0 -1.43rem 1rem;
}

/* Como citar: texto da citação e menu de formatos */
.obj_article_details .citation_display .csl-entry {
    font-size: 0.75rem;
    line-height: 1.6;
    text-align: left;
    hyphens: manual;
    overflow-wrap: anywhere;
}

.obj_article_details .citation_display .citation_formats {
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 3px;
}

.obj_article_details .citation_display .citation_formats_button {
    color: rgba(0, 0, 0, 0.54);
}

/* Edição: link da edição em preto e sublinhado, como no RBEPT (sem verde) */
.obj_article_details .entry_details .item.issue .value a {
    color: rgba(0, 0, 0, 0.87);
    text-decoration: underline;
}

/* Licença: esconde a linha "Copyright (c) ANO Nome da revista" */
.obj_article_details .entry_details .item.copyright > p:first-of-type {
    display: none;
}

/* ARTIGOS */
.cmp_article_list li:hover {
    background: #f1ffe0
}

.obj_article_summary {
    margin: 20px;
}