/* === World Nutrition - Footer === */

.pkp_structure_footer_wrapper {
    background: #f1f1f1 !important;
    border-top: 1px solid #ddd;
    padding: 0 !important;
    margin: 0 !important;
}

.pkp_structure_footer {
    max-width: 1200px;
    margin: 0 auto !important;
    /*padding: 1.5rem 1.5rem 1rem !important;*/
    color: #333;
}

.pkp_footer_content {
    padding: 1.5rem 1.5rem 1rem !important;
    color: #333;
    margin: 0 !important;
    
}

.pkp_footer_content p,
.pkp_footer_content a {
    color: #333;
}

/* Remove parágrafos vazios deixados pelo editor */
.pkp_footer_content > p:empty,
.pkp_footer_content > p:has(> br:only-child),
.pkp_footer_content > p:last-child:not(:has(*:not(br))) {
    display: none !important;
}

/* Bloco institucional WPHNA - empilhado verticalmente */
.wn-footer-journal {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.85rem;
    text-align: center;
    margin: 0 0 1.5rem !important;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #d8d8d8;
}

.wn-footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0 !important;
    color: #2a2a2a;
}

.wn-wphna-logo {
    display: inline-block;
}

.wn-wphna-logo img {
    height: 64px;
    width: auto;
    display: block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.wn-wphna-logo:hover img {
    transform: scale(1.04);
}

/* Título dos índices */
.wn-footer-indexed-title {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin: 0 0 1rem !important;
}

/* Grade uniforme dos indexadores - centralizada */
.wn-footer-indexes {
    list-style: none;
    padding: 0 !important;
    margin: 0 auto 1.5rem !important;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 980px;
}

.wn-footer-indexes li {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 6px 10px;
    margin: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wn-footer-indexes li:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-color: #c8c8c8;
}

.wn-footer-indexes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.wn-footer-indexes img {
    max-height: 36px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}



/* Rodapé final: licença + PKP alinhados aos indexadores */
.wn-footer-bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 980px;
    margin: 0 auto !important;
    padding-top: 1rem;
    border-top: 1px solid #d8d8d8;
    font-size: 0.92rem;
    color: #444;
}

.wn-footer-license {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.wn-footer-license img {
    height: 26px;
    width: auto;
    display: block;
}

.wn-footer-license a {
    color: #5a1a1a;
    text-decoration: underline;
    text-decoration-color: rgba(90, 26, 26, 0.35);
}

.wn-footer-license a:hover {
    text-decoration-color: #5a1a1a;
}

.wn-footer-pkp {
    display: inline-block;
}

.wn-footer-pkp img {
    height: 38px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.wn-footer-pkp:hover img {
    opacity: 1;
}



/* Esconde o brand footer antigo do tema, pois movemos a logo para .wn-footer-bottom */
.pkp_brand_footer {
    display: none !important;
}

/* Remove faixas/divs vazias após o rodapé customizado */
.pkp_structure_footer_wrapper > *:not(.pkp_structure_footer):not(#pkp_content_footer) {
    display: none !important;
}

/* Responsivo */
@media (max-width: 900px) {
    .wn-footer-indexes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .pkp_site_name {
        font-size: 5em !important;
    }
    .pkp_navigation_primary {
        display: inline-block;
        max-width: 90%;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .pkp_structure_footer {
        padding: 1.25rem 1rem 0.75rem !important;
    }
    .wn-footer-indexes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .wn-footer-bottom {
        justify-content: center;
        text-align: center;
    }
    .wn-footer-license {
        justify-content: center;
        flex-wrap: wrap;
    }
}







.pkp_footer_content p.r1{
    float: left !important;
}
.pkp_footer_content p.r2{
    float: left !important;
}





/* Fonte global da revista: World Nutrition */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap');

html,
body,
.pkp_structure_page,
.pkp_structure_page *:not(.fa):not([class^="fa-"]):not([class*=" fa-"]),
.pkp_structure_head,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_footer_wrapper,
.pkp_site_nav_menu,
.pkp_navigation_primary,
.pkp_navigation_user,
.pkp_nav_list,
.page,
.page_index_journal,
.homepage_about,
.current_issue,
.obj_issue_toc,
.obj_article_summary,
.cmp_article_list,
.additional_content,
.pkp_block,
.doiInSummary,
.cmp_breadcrumbs,
.cmp_notification,
.cmp_button,
.obj_galley_link,
.block_make_submission_link,
.read_more,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
li,
label,
strong,
em,
small,
button,
input,
select,
textarea {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif !important;
}

/* Mantém ícones FontAwesome funcionando */
.fa,
.fa::before,
.fa::after,
[class^="fa-"],
[class*=" fa-"],
[class^="fa-"]::before,
[class*=" fa-"]::before {
    font-family: FontAwesome !important;
}

/* Corrige o bloco de nuvem de palavras, que no HTML força serif via JS */
.block_keyword_cloud text,
#wordcloud text,
svg text.keyword {
    font-family: 'Noto Sans', Arial, Helvetica, sans-serif !important;
}


/* Títulos com aparência mais limpa */
h1,
h2,
h3,
h4,
h5,
h6,
.pkp_block .title,
.current_issue_title,
.obj_article_summary .title {
    font-weight: 700;
    letter-spacing: -0.01em;
}