/* === 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 {
    color: #333;
    margin: 0 !important;
    padding: 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 (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;
    }
}







.main_entry .item.references .value p,
.main_entry .item.references .value a {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
/*
.pkp_structure_footer_wrapper {
    background: #cccccc;
    border-bottom: 1.43rem solid #666666;
}
*/
.pkp_head_wrapper, .has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
    margin: 0px;
    padding: 0px;
    width: 100%;
}
.pkp_site_name_wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding: 0px;
    margin: 0px;
    /*width: 100%;*/
}

.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
    /*width: 100%;*/
    padding: 0px;
    margin: 0px;
}

.pkp_site_name .is_img {
    display: inline-block;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0;
    margin: 0px;
    padding: 0px;
    width: 100%;
}

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


@media (min-width: 992px) {

   
    .pkp_navigation_user>li>a {
        color: #ffffff;
    }

    .pkp_navigation_user > li > a {
    color: #ffffff;
    }

    .pkp_navigation_user > li > a:hover,
    .pkp_navigation_user > li > a:focus {
        color: #01714B;
    }



.pkp_site_name {
    display: inline-block;
    position: relative;
    padding: 0;
}

.pkp_site_name::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #666666;
    box-sizing: border-box;
    pointer-events: none;
}

.pkp_site_name img {
    display: block;
}





#customblock-estadsticas {
  overflow: hidden;
}

#customblock-estadsticas .content {
  padding: 0 10px;
  box-sizing: border-box;
}

#customblock-estadsticas iframe {
  max-width: 100%;
  width: 100% !important;
  height: 200px;
  border: 0;
  display: block;
  margin: 0 auto;
}

#customblock-estadsticas p {
  margin: 10px 0;
}




   #navigationPrimary ul a {
        color: #666666;
    }

    .pkp_navigation_user_wrapper{
        width: 50% !important;
    }

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

    .pkp_navigation_user_wrapper .dropdown-menu li a{
        color: #000000 !important;
    }
*/

    #navigationUserWrapper {
        margin-top: 5px !important;
    }


    .pkp_navigation_user_wrapper {
        width: 50% !important;
        top: 5px !important;
    }

    .pkp_site_name .is_img img {
        max-height: 100%;
        /*width: 100%;*/
        height: auto;
    }
    .pkp_navigation_primary_row {
        padding-left: 30px !important;
        background-color: #ffffff;
    }
    
    .pkp_nav_list ul {
        background: #ffffff !important;
    }
}

@media (max-width: 991px) {
    
    .pkp_site_name .is_img img {
        display: block  !important;
        max-height: 110px  !important;
        min-height: 65px  !important;
        max-width: 100%  !important;
        width: 100%  !important;
        height: 65px !important;
    }
    .pkp_site_name_wrapper {
       /*height: 110px !important;*/
       min-height: 65px  !important;
    }

    .pkp_site_nav_toggle {
        top: 12px !important;
    }

    .pkp_structure_footer {
        position: unset;
        
    }


}





/* 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;
}

/* Pequeno ajuste de leitura geral */
body {
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 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;
}