@charset "UTF-8";
/* ==========================================================================
   FOLHA DE ESTILO OFICIAL — REVISTA RMAT (OJS 3.4 / 3.5)
   Revista de Matemática da UFOP | ISSN: 2237-8103
   Harmonizada com o Portal de Periódicos UFOP e Diretrizes PKP/WCAG 2.2 AA
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. IMPORTAÇÃO DE FONTES & ANIMAÇÕES (Google Fonts v2)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Noto+Serif:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:ital,wght@0,400;0,600;0,700;1,400&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

@keyframes rmat-fade-in {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate-fade {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------------------------------------
   1. SISTEMA DE DESIGN TOKENS (VARIÁVEIS CSS EM :ROOT)
   -------------------------------------------------------------------------- */
:root {
    /* Identidade Institucional RMAT / UFOP */
    --primary-green: #009a21;
    --secondary-green: #1f7d02;
    --rmat-green-dark: #0f5a28;
    --rmat-green-light: #15803d;
    --gold-gold: #d4af37;
    --gold-dark: #85580e;
    --rmat-surface-green: #f0fdf4;
    --rmat-border-green: #bbf7d0;

    /* Escala Neutra de Alta Legibilidade (Slate) */
    --dark-grey: #2d3748;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --light-grey: #f7faf7;
    --border-color: #e2e8f0;

    /* Cores Semânticas de Galés */
    --galley-pdf: #b91c1c;
    --galley-pdf-hover: #991b1b;
    --galley-html: #0f5a28;
    --galley-html-hover: #0a401c;
    --galley-xml: #334155;
    --galley-xml-hover: #1e293b;

    /* Cores de Badges de Autores */
    --badge-lattes-bg: #eff6ff;
    --badge-lattes-border: #bfdbfe;
    --badge-lattes-text: #1d4ed8;
    --badge-lattes-hover-bg: #dbeafe;
    --badge-lattes-hover-text: #1e40af;

    --badge-orcid-bg: #f0fdf4;
    --badge-orcid-border: #bbf7d0;
    --badge-orcid-text: #15803d;
    --badge-orcid-hover-bg: #dcfce7;
    --badge-orcid-hover-text: #166534;

    /* Tipografia Harmonizada */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-subheading: 'Raleway', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: 'Noto Serif', Georgia, Cambria, "Times New Roman", serif;

    /* Espaçamentos & Sombras */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 20px -3px rgba(15, 90, 40, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Acessibilidade - Anel de Foco WCAG 2.2 */
    --rmat-focus-ring: #0f5a28;
    --rmat-focus-ring-header: #fde047;
}

/* --------------------------------------------------------------------------
   2. RESETS E ESTRUTURA GLOBAL BOXED DA RMAT
   -------------------------------------------------------------------------- */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--rmat-focus-ring) !important;
    outline-offset: 2px !important;
}

.pkp_structure_head a:focus-visible,
.pkp_structure_head button:focus-visible,
.pkp_structure_head input:focus-visible {
    outline: 2px solid var(--rmat-focus-ring-header) !important;
    outline-offset: 2px !important;
}

html, body {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--dark-grey) !important;
    background: #6e7a86 !important;
}

body, p, li {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--dark-grey);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--secondary-green) !important;
    font-weight: 700 !important;
}

a {
    color: #000000;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #1f7d02;
}

/* Container de Conteúdo Boxed Original da RMAT */
.pkp_structure_page {
    margin: 0 auto;
    max-width: 1160px;
    background: #ffffff;
    box-shadow: 0px 0px 10px #222222;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

@media (min-width: 1200px) {
    .pkp_structure_page {
        margin-top: 2.143rem;
        margin-bottom: 2.143rem;
    }
}

@media (max-width: 991px) {
    .pkp_structure_page {
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
    }
}

.pkp_structure_content {
    background: #f3f3f3 !important;
    padding-top: 0;
}

.pkp_structure_main::before, 
.pkp_structure_main::after {
    display: none;
}

/* --------------------------------------------------------------------------
   3. CABEÇALHO, DEGRADÊ E LOGO DA REVISTA RMAT (EXATAMENTE COMO NO ORIGINAL)
   -------------------------------------------------------------------------- */
.pkp_structure_head, 
.pkp_site_name_wrapper {
    background: linear-gradient(135deg, #1f7d02 0%, #009a21 55%, #d4af37 100%) !important;
}

.pkp_structure_head {
    border-bottom: 1px solid #dddddd;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.pkp_head_wrapper, 
.has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
}

.pkp_site_name_wrapper {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding-left: 2.143rem;
    padding-right: 2.143rem;
    height: auto;
}

@media (min-width: 992px) {
    .pkp_head_wrapper {
        padding-top: 2.143rem;
        padding-bottom: 1.5rem;
    }

    .has_site_logo .pkp_head_wrapper {
        padding-top: 2.143rem;
    }

    .pkp_site_name {
        position: relative;
        width: 75%;
        margin: 0 auto;
        left: auto;
        right: auto;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 1.071rem !important;
        padding-bottom: 1.071rem !important;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        font-size: 2em;
        background: transparent;
        overflow: visible;
        text-align: center !important;
    }

    .pkp_site_name .is_img {
        display: inline-block;
        text-align: center;
        margin: 0 auto;
    }

    /* IMAGEM DA REVISTA GRANDE E CENTRALIZADA (250px) */
    .pkp_site_name .is_img img,
    .pkp_site_name > .is_img img {
        display: block;
        margin: 0 auto;
        max-height: 250px !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        padding-top: 25px;
        transition: transform 0.3s ease;
    }

    .pkp_site_name .is_img img:hover {
        transform: scale(1.015);
        opacity: 0.98;
        filter: none !important;
    }

    .pkp_site_name .is_text {
        font-family: var(--font-heading);
        font-size: 1.35rem;
        line-height: 2.143rem;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        text-transform: uppercase;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    }
}

/* --------------------------------------------------------------------------
   4. MENU DO USUÁRIO NO TOPO DIREITO (theagos 44)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .pkp_navigation_user_wrapper {
        position: absolute !important;
        top: 13px !important;
        right: 0 !important;
        left: auto !important;
        width: auto !important;
        transform: none !important;
        padding-right: 2.143rem !important;
        padding-left: 0.714rem !important;
        text-align: right !important;
        margin-top: 0 !important;
        border-top: none !important;
        z-index: 1000 !important;
    }

    .pkp_navigation_user {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .pkp_navigation_user > li > a {
        color: rgba(240, 240, 240, 0.95) !important;
        font-family: var(--font-heading);
        font-size: 0.93rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        padding: 4px 8px;
        text-decoration: none;
        transition: all 0.2s ease;
        width: auto !important;
        white-space: nowrap;
    }

    .pkp_navigation_user > li > a:hover,
    .pkp_navigation_user > li > a:focus {
        color: #ffffff !important;
        background: rgba(0, 0, 0, 0.25);
        border-radius: 12px;
    }

    .pkp_navigation_user .task_count {
        display: inline-block;
        min-width: 1.43rem;
        height: 1.43rem;
        line-height: 1.43rem;
        margin-left: 0.5em;
        border-radius: 50%;
        background: #d4af37;
        color: #000000;
        font-weight: 700;
        text-align: center;
        font-size: 0.857rem;
    }
}

/* --------------------------------------------------------------------------
   5. MENU DE NAVEGAÇÃO PRINCIPAL EM LINHA ÚNICA + EFEITO SANFONA (ACCORDION)
   -------------------------------------------------------------------------- */
.pkp_site_nav_menu {
    background: #ebebeb !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

@media (min-width: 992px) {
    .pkp_site_nav_menu,
    .pkp_navigation_primary_row {
        background: #dddddd !important;
        padding-left: 30px;
        padding-right: 30px;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .pkp_navigation_primary_wrapper {
        width: auto;
        flex: 1 1 auto;
    }

    /* Linha única contínua para os 7 itens principais */
    .pkp_navigation_primary {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        gap: 0.15rem;
    }

    #navigationPrimary a {
        font-family: var(--font-heading);
        font-size: 0.93rem;
        font-weight: 700;
        text-transform: uppercase;
        color: rgba(0, 0, 0, 0.84);
        white-space: nowrap;
        text-decoration: none;
    }

    #navigationPrimary a:hover, 
    #navigationPrimary a:focus {
        color: #1f7d02;
    }

    #navigationPrimary > li {
        position: relative;
        display: inline-block;
    }

    #navigationPrimary > li > a {
        display: block;
        margin: 0.357rem 0.35em 0;
        padding: 0.357rem 0.45em calc(0.714rem - 2px);
        padding-bottom: 6px;
        border-bottom: 4px solid transparent;
        color: rgba(0, 0, 0, 0.84);
        text-decoration: none;
        white-space: nowrap;
        transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    #navigationPrimary > li > a:hover {
        color: rgba(0, 0, 0, 0.84);
        border-color: #1f7d02;
        background: rgba(255, 255, 255, 0.35);
    }

    #navigationPrimary > li > a:focus {
        padding-bottom: 6px;
        border-bottom-width: 4px;
        background: rgba(240, 240, 240);
        color: #1f7d02;
    }

    #navigationPrimary > [aria-haspopup] > a:hover, 
    #navigationPrimary > [aria-haspopup] > a:focus {
        border-color: transparent;
    }

    #navigationPrimary [aria-expanded="true"]:before {
        border-bottom-color: #1f7d02;
    }

    /* EFEITO SANFONA / ACCORDION NO SUBMENU DESKTOP */
    #navigationPrimary ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        min-width: 15rem;
        margin: 0;
        padding: 0;
        background: #1f7d02;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        list-style: none;
        overflow: hidden;
        
        /* Transição Sanfona suave via max-height e opacidade */
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    transform 0.25s ease,
                    visibility 0.4s ease;
    }

    /* Expansão Sanfona no Hover / Foco / Clique */
    #navigationPrimary li:hover > ul,
    #navigationPrimary li:focus-within > ul,
    #navigationPrimary li[aria-expanded="true"] > ul,
    #navigationPrimary li.pkp_nav_list--is-open > ul {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 0.5rem 0;
    }

    #navigationPrimary ul a {
        color: #ffffff !important;
        padding: 0.714rem 1.25rem;
        display: block;
        font-size: 0.88rem;
        font-weight: 600;
        text-transform: none;
        transition: background 0.2s ease, padding-left 0.2s ease;
    }

    #navigationPrimary ul a:hover, 
    #navigationPrimary ul a:focus {
        background: #0d4a22 !important;
        color: #d4af37 !important;
        padding-left: 1.5rem;
    }

    /* BARRA DE BUSCA: LUPA VERMELHA + 'BUSCAR' À DIREITA DO MENU */
    .pkp_navigation_search_wrapper {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .pkp_navigation_search_wrapper a {
        margin: 0.357rem 0 0 0;
        padding: 0.357rem 0.5em calc(0.714rem - 2px);
        padding-bottom: 6px;
        border-bottom: 4px solid transparent !important;
        color: #ffffff !important; /* 'BUSCAR' em branco como na captura */
        font-family: var(--font-heading);
        font-size: 0.93rem;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .pkp_navigation_search_wrapper a:hover, 
    .pkp_navigation_search_wrapper a:focus {
        color: #1f7d02 !important;
        border-color: #1f7d02 !important;
    }

    /* Lupa Vermelha (#B71C1C) exatamente como na captura */
    .pkp_navigation_search_wrapper a:before,
    .pkp_head_wrapper .pkp_search .search_controls .search_prompt:before,
    .pkp_search span::before, 
    .pkp_search_desktop span::before {
        font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
        font-weight: 900 !important;
        content: "\f002" !important;
        color: #B71C1C !important;
        display: inline-block !important;
        margin-right: 0.25em !important;
    }
}

/* MENU SANFONA COMPLETO NO MOBILE (< 992px) */
@media (max-width: 991px) {
    .pkp_site_nav_toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: #1f7d02;
        color: #ffffff;
        border: none;
        padding: 10px 16px;
        margin: 8px 12px;
        border-radius: 6px;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

    .pkp_navigation_primary_wrapper {
        width: 100%;
    }

    /* Sanfona Principal Mobile */
    .pkp_navigation_primary {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .pkp_navigation_primary > li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .pkp_navigation_primary > li > a {
        display: block;
        padding: 12px 16px;
        font-family: var(--font-heading);
        font-weight: 700;
        color: #222222;
        text-decoration: none;
        text-transform: uppercase;
    }

    /* Submenus em Sanfona no Mobile */
    .pkp_navigation_primary ul {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f0fdf4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .pkp_navigation_primary li[aria-expanded="true"] > ul,
    .pkp_navigation_primary li.open > ul,
    .pkp_navigation_primary li:focus-within > ul {
        max-height: 400px;
    }

    .pkp_navigation_primary ul a {
        display: block;
        padding: 10px 16px 10px 32px;
        color: #1f7d02;
        text-decoration: none;
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 154, 33, 0.1);
    }
}

/* --------------------------------------------------------------------------
   6. BOTÕES E GALÉS SEMÂNTICOS (.obj_galley_link)
   -------------------------------------------------------------------------- */
.cmp_manuscript_button, 
.block_make_submission a {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    background: #1f7d02;
    color: #ffffff !important;
    border: 1px solid #1f7d02;
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    line-height: calc(2.143rem - 2px);
    transition: var(--transition-fast);
    text-decoration: none;
}

.cmp_manuscript_button:hover, 
.cmp_manuscript_button:focus, 
.block_make_submission a:hover, 
.block_make_submission a:focus {
    background: #ffffff;
    color: #1f7d02 !important;
    border-color: #1f7d02;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Botões Galley Modernos (.obj_galley_link) - Altura Mínima 40px (WCAG) */
.obj_galley_link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    background: var(--primary-green) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-green) !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    transition: var(--transition-fast) !important;
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    text-decoration: none !important;
}

/* Galé PDF - Vermelho Carmim Acadêmico */
.obj_galley_link.pdf,
.viewspdf {
    background: var(--galley-pdf) !important;
    border-color: var(--galley-pdf) !important;
    color: #ffffff !important;
}

.obj_galley_link.pdf:hover, 
.obj_galley_link.pdf:focus,
.viewspdf:hover,
.viewspdf:focus {
    background: var(--galley-pdf-hover) !important;
    border-color: var(--galley-pdf-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.obj_galley_link.pdf:before,
.viewspdf:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
    font-weight: 900 !important;
    content: "\f1c1" !important;
    font-size: 14px !important;
    margin-right: 0 !important;
}

/* Galé HTML - Verde Floresta */
.obj_galley_link.html {
    background: var(--galley-html) !important;
    border-color: var(--galley-html) !important;
    color: #ffffff !important;
}

.obj_galley_link.html:hover,
.obj_galley_link.html:focus {
    background: var(--galley-html-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.obj_galley_link.html:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
    font-weight: 900 !important;
    content: "\f1c9" !important;
    font-size: 14px;
}

/* Galé XML / JATS */
.obj_galley_link.xml {
    background: var(--galley-xml) !important;
    border-color: var(--galley-xml) !important;
    color: #ffffff !important;
}

.obj_galley_link.xml:hover,
.obj_galley_link.xml:focus {
    background: var(--galley-xml-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* Galé Restrito */
.obj_galley_link.restricted {
    border-color: #dddddd !important;
    background: #dddddd !important;
    color: rgba(0, 0, 0, 0.54) !important;
}

.obj_galley_link.restricted:hover, 
.obj_galley_link.restricted:focus {
    background: rgba(0, 0, 0, 0.54) !important;
    color: #ffffff !important;
}

.obj_galley_link.restricted:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif !important;
    content: "\f023" !important;
    color: rgba(0, 0, 0, 0.54);
}

/* --------------------------------------------------------------------------
   7. BREADCRUMBS E PAGINAÇÃO (.cmp_breadcrumbs, .cmp_pagination)
   -------------------------------------------------------------------------- */
.cmp_breadcrumbs {
    padding: 2.143rem 0;
    font-family: var(--font-heading);
    font-size: 0.93rem;
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
}

.cmp_breadcrumbs > ol {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
}

.cmp_breadcrumbs .current,
.cmp_breadcrumbs [aria-current="page"] {
    text-transform: none;
    font-weight: 700;
}

.cmp_breadcrumbs .current h1 {
    font-family: var(--font-heading);
    font-size: inherit;
    display: inline;
}

.cmp_breadcrumbs .separator {
    padding: 0 0.5rem;
    opacity: 0.4;
}

/* Paginação com FontAwesome corrigido */
.cmp_pagination {
    font-family: var(--font-heading);
}

.cmp_pagination a {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-green);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.cmp_pagination a:hover,
.cmp_pagination a:focus {
    background: var(--rmat-surface-green);
    border-color: var(--primary-green);
}

.cmp_pagination .prev:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f053";
    margin-right: 0.5em;
}

.cmp_pagination .next:after {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f054";
    margin-left: 0.5em;
}

/* --------------------------------------------------------------------------
   8. BARRAS LATERAIS, BLOCOS E NUVEM DE PALAVRAS
   -------------------------------------------------------------------------- */
.pkp_block {
    padding: 2.143rem 1.43rem;
    font-size: 12px;
    line-height: 1.43rem;
    background: #ffffff;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.pkp_block .title {
    display: inline-block;
    padding-bottom: 0.5em;
    border-bottom: 3px solid #1f7d02;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.143rem;
    color: rgba(0, 0, 0, 0.54);
    cursor: pointer;
}

/* Nuvem de palavras responsiva (sem overflow horizontal) */
div #wordcloud {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 300px;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden;
}

@media (min-width: 992px) {
    .pkp_block {
        padding: 2.143rem;
    }

    .pkp_structure_sidebar::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        border-left: 1px solid #ffffff;
    }

    .pkp_structure_sidebar > * {
        position: relative;
    }
}

/* --------------------------------------------------------------------------
   9. PÁGINA INICIAL, ANÚNCIOS E EDIÇÃO ATUAL
   -------------------------------------------------------------------------- */
.pkp_page_index .homepage_image {
    margin-top: 0px;
}

.pkp_page_index .cmp_announcements {
    border: none;
}

.pkp_page_index .homepage_about {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: justify !important;
}

.cmp_announcements {
    border: none;
    padding: 0;
    list-style: none;
}

.cmp_announcements > li {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.cmp_announcements .obj_announcement_summary h2, 
.cmp_announcements .obj_announcement_summary h3, 
.cmp_announcements .obj_announcement_summary h4, 
.cmp_announcements .date, 
.cmp_announcements .read_more {
    font-family: var(--font-heading);
    font-size: 0.93rem;
    font-weight: 700;
}

.cmp_announcements .read_more {
    text-transform: uppercase;
}

.cmp_announcements .date {
    font-weight: 400;
    color: var(--slate-500);
}

.cmp_announcements .date:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f073";
    color: #1f7d02;
    margin-right: 0.35em;
}

.pkp_page_index .current_issue h2 {
    display: inline-block;
    padding-bottom: 0.5em;
    border-bottom: 3px solid #1f7d02;
    text-transform: uppercase;
    font-weight: 700;
    color: #1f7d02 !important;
}

.pkp_page_index .current_issue .current_issue_title {
    font-family: var(--font-heading);
    font-size: 1.143rem;
}

.pkp_page_index .current_issue .sections {
    margin-top: 1.43rem;
}

.pkp_page_index .current_issue .read_more {
    display: inline-block !important;
    position: relative !important;
    padding-right: 2.143rem !important;
    font-size: 0.93rem !important;
    font-weight: 700 !important;
    line-height: 2.143rem !important;
    color: #009a21 !important;
    text-decoration: none !important;
    margin-bottom: 1.43rem !important;
    text-transform: uppercase !important;
    font-family: var(--font-heading) !important;
}

/* Capa da Edição com Animação Suave */
.obj_issue_summary .cover img,
.obj_issue_toc .cover img {
    display: block;
    width: auto;
    max-height: 250px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px 0px #898e79;
    transition: 0.4s ease;
    animation: rmat-fade-in 0.6s ease forwards;
}

.obj_issue_summary .cover img:hover,
.obj_issue_toc .cover img:hover {
    transform: translateY(-8px);
}

.obj_issue_toc .heading .pub_id, 
.obj_issue_toc .heading .published {
    font-family: var(--font-heading);
    font-size: 0.93rem;
}

.obj_issue_toc .heading .pub_id .type, 
.obj_issue_toc .heading .published .label {
    font-weight: 700;
    color: rgba(0, 0, 0, 0.54);
    text-transform: uppercase;
}

.obj_issue_toc .heading .pub_id .id a {
    color: rgba(0, 0, 0, 0.87);
    text-decoration: underline;
}

.obj_issue_toc .heading .pub_id .id a:hover, 
.obj_issue_toc .heading .pub_id .id a:focus {
    color: #009a21;
}

.obj_issue_toc > .galleys h2, 
.obj_issue_toc > .galleys h3, 
.obj_issue_toc .section h2,
.obj_issue_toc .section h3 {
    position: relative !important;
    display: block !important;
    top: auto !important;
    left: auto !important;
    padding: 0 0 0.357rem !important;
    border-bottom: 3px solid #1f7d02 !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 1.143rem !important;
    line-height: 2.143rem !important;
    color: #1f7d02 !important;
}

/* --------------------------------------------------------------------------
   10. LISTA DE ARTIGOS (.obj_article_summary)
   -------------------------------------------------------------------------- */
.obj_article_summary {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-left: 5px solid var(--primary-green) !important;
    border-radius: 8px !important;
    padding: var(--spacing-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition-normal) !important;
    margin-bottom: var(--spacing-lg) !important;
}

.obj_article_summary:hover, 
.obj_article_summary:focus-within {
    background: var(--light-grey) !important;
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-2px) !important;
    border-radius: 8px !important; /* Sem salto para 5px */
}

.obj_article_summary > .title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.43rem;
    font-weight: 700;
    border-bottom: none;
    margin: 0 0 0.5rem 0;
}

.obj_article_summary > .title a {
    text-decoration: none;
    color: var(--slate-900);
}

.obj_article_summary > .title a:hover,
.obj_article_summary > .title a:focus {
    color: #1f7d02;
    text-decoration: underline;
}

.obj_article_summary .subtitle {
    font-family: var(--font-serif);
    font-size: 0.93rem;
    display: block;
    margin-top: 0.25em;
    margin-bottom: 0.5em;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.54);
}

.obj_article_summary .pub_id.doi {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: var(--font-heading);
    width: 100%;
}

.obj_article_summary .pub_id.doi .label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #1f7d02;
    text-transform: uppercase;
}

.obj_article_summary .pub_id.doi .label:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f0c1";
    color: var(--primary-green);
    margin-right: 4px;
}

.obj_article_summary .pub_id.doi .value a {
    color: #4a5568;
    font-weight: 600;
    text-decoration: underline;
}

.obj_article_summary .pub_id.doi .value a:hover {
    color: #009a21;
}

/* --------------------------------------------------------------------------
   11. PÁGINA DE DETALHES DO ARTIGO (.obj_article_details) - GRID OJS 3.5
   -------------------------------------------------------------------------- */
.obj_article_details > .page_title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--slate-900);
    margin: 0 0 0.5rem 0;
}

.obj_article_details .subtitle {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

/* Layout em Grid Responsivo OJS 3.4 / 3.5 (Elimina Layout Drop e Largura Fixa de 240px) */
.obj_article_details .row {
    border: none;
}

@media (min-width: 992px) {
    .obj_article_details .row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 290px !important;
        gap: 2.5rem !important;
        align-items: start !important;
    }
    .obj_article_details .main_entry {
        min-width: 0;
        width: 100% !important;
    }
    .obj_article_details .entry_details {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 991px) {
    .obj_article_details .row {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
    .obj_article_details .main_entry,
    .obj_article_details .entry_details {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Bloco do Resumo (Abstract) - 100% da Largura, sem shrink de inline-block */
.obj_article_details .abstract {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    background: var(--light-grey) !important;
    border-left: 4px solid var(--primary-green) !important;
    border-radius: 0 6px 6px 0 !important;
    margin: var(--spacing-md) 0 !important;
    text-align: justify;
    color: #000000;
    line-height: 1.7;
}

.obj_article_details .abstract h2,
.obj_article_details .abstract h3 {
    margin-top: 0 !important;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-green) !important;
    border-bottom: none !important;
}

/* Bloco do DOI na Página do Artigo */
.obj_article_details .item.doi {
    display: block;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f7faf7;
    border: 1px solid rgba(0, 154, 33, 0.12);
    border-left: 4px solid #009a21;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.obj_article_details .item.doi:hover {
    background: #f0f7f0;
    border-color: rgba(0, 154, 33, 0.22);
    box-shadow: 0 4px 15px rgba(0, 154, 33, 0.08);
}

.obj_article_details .item.doi .label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #1f7d02;
    text-transform: uppercase;
    margin-bottom: 8px !important;
}

.obj_article_details .item.doi .label:before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f0c1";
    color: #1f7d02;
}

.obj_article_details .item.doi .value a {
    color: #2d3748;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
}

.obj_article_details .item.doi .value a:hover {
    color: #009a21;
}

/* Palavras-chave */
.obj_article_details .item.keywords .label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--secondary-green);
}

/* Referências */
.obj_article_details .item.references .value {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--slate-700);
}

.obj_article_details .item.references li {
    margin-bottom: 0.75rem;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   12. BADGES DE AUTORES (MAPEAMENTO INTELIGENTE DE LATTES, ORCID, E-MAIL)
   -------------------------------------------------------------------------- */
.obj_article_details .authors {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem 0;
}

.obj_article_details .authors li {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--slate-200);
    line-height: 1.6;
}

.obj_article_details .authors li:last-child {
    border-bottom: none;
}

.obj_article_details .authors .name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #222222;
}

.obj_article_details .authors .affiliation {
    display: block;
    font-size: 0.9rem;
    color: var(--slate-600);
    margin-top: 2px;
}

/* BASE UNIVERSAL DE BADGES DE METADADOS */
.obj_article_details .authors a[href*="lattes.cnpq.br"],
.obj_article_details .author_bios a[href*="lattes.cnpq.br"],
.obj_article_details .lattes a,
.obj_article_details .authors a[href*="orcid.org"],
.obj_article_details .author_bios a[href*="orcid.org"],
.obj_article_details .orcid a,
.obj_article_details .authors a[href^="mailto:"],
.obj_article_details .authors .email,
.obj_article_details .authors a[href^="http"]:not([href*="lattes.cnpq.br"]):not([href*="orcid.org"]):not([href*="doi.org"]) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-right: 8px !important;
    margin-top: 6px !important;
    vertical-align: middle !important;
    transition: var(--transition-fast) !important;
}

/* BADGE CURRÍCULO LATTES (Mapeamento Direto do Campo URL do Autor no OJS) */
.obj_article_details .authors a[href*="lattes.cnpq.br"],
.obj_article_details .author_bios a[href*="lattes.cnpq.br"],
.obj_article_details .lattes a,
.obj_article_summary a[href*="lattes.cnpq.br"] {
    background: var(--badge-lattes-bg) !important;
    border: 1px solid var(--badge-lattes-border) !important;
    color: var(--badge-lattes-text) !important;
}

.obj_article_details .authors a[href*="lattes.cnpq.br"]:hover,
.obj_article_details .author_bios a[href*="lattes.cnpq.br"]:hover,
.obj_article_details .lattes a:hover,
.obj_article_summary a[href*="lattes.cnpq.br"]:hover {
    background: var(--badge-lattes-hover-bg) !important;
    border-color: #93c5fd !important;
    color: var(--badge-lattes-hover-text) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 5px rgba(29, 78, 216, 0.15) !important;
}

.obj_article_details .authors a[href*="lattes.cnpq.br"]::before,
.obj_article_details .author_bios a[href*="lattes.cnpq.br"]::before,
.obj_article_details .authors .lattes::before,
.obj_article_details .lattes a::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url('https://clappx.ufop.br/icons-rmat/lattes.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    vertical-align: middle !important;
    flex-shrink: 0;
}

/* BADGE ORCID */
.obj_article_details .authors a[href*="orcid.org"],
.obj_article_details .author_bios a[href*="orcid.org"],
.obj_article_details .orcid a {
    background: var(--badge-orcid-bg) !important;
    border: 1px solid var(--badge-orcid-border) !important;
    color: var(--badge-orcid-text) !important;
}

.obj_article_details .authors a[href*="orcid.org"]:hover,
.obj_article_details .author_bios a[href*="orcid.org"]:hover,
.obj_article_details .orcid a:hover {
    background: var(--badge-orcid-hover-bg) !important;
    border-color: #86efac !important;
    color: var(--badge-orcid-hover-text) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 5px rgba(21, 128, 61, 0.15) !important;
}

.obj_article_details .authors a[href*="orcid.org"]::before,
.obj_article_details .author_bios a[href*="orcid.org"]::before,
.obj_article_details .authors .orcid::before,
.obj_article_details .orcid a::before,
.orcid-icon {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url('https://clappx.ufop.br/icons-rmat/orcid.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    vertical-align: middle !important;
    flex-shrink: 0;
}

/* BADGE DE E-MAIL */
.obj_article_details .authors a[href^="mailto:"],
.obj_article_details .authors .email {
    background: var(--slate-100) !important;
    border: 1px solid var(--slate-200) !important;
    color: var(--slate-700) !important;
}

.obj_article_details .authors a[href^="mailto:"]:hover,
.obj_article_details .authors .email:hover {
    background: var(--slate-200) !important;
    color: var(--slate-900) !important;
    transform: translateY(-1px) !important;
}

.obj_article_details .authors a[href^="mailto:"]::before,
.obj_article_details .authors .email::before {
    content: "" !important;
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    background-image: url('https://clappx.ufop.br/icons-rmat/email.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    vertical-align: middle !important;
    flex-shrink: 0;
}

/* BADGE DE HOMEPAGE / WEBSITE GERAL DO AUTOR */
.obj_article_details .authors a[href^="http"]:not([href*="lattes.cnpq.br"]):not([href*="orcid.org"]):not([href*="doi.org"]) {
    background: var(--slate-100) !important;
    border: 1px solid var(--slate-200) !important;
    color: var(--slate-700) !important;
}

.obj_article_details .authors a[href^="http"]:not([href*="lattes.cnpq.br"]):not([href*="orcid.org"]):not([href*="doi.org"]):hover {
    background: var(--slate-200) !important;
    color: var(--slate-900) !important;
}

.obj_article_details .authors a[href^="http"]:not([href*="lattes.cnpq.br"]):not([href*="orcid.org"]):not([href*="doi.org"])::before {
    font-family: 'FontAwesome', 'Font Awesome 5 Free', 'Font Awesome 6 Free', sans-serif;
    content: "\f0ac";
    color: var(--slate-500);
}

/* --------------------------------------------------------------------------
   13. COMPONENTES NATIVOS DO OJS 3.5 (CSL, MÉTRICAS, DATAS, LICENÇAS)
   -------------------------------------------------------------------------- */

/* BLOCO "COMO CITAR" (Citation Style Language) */
.obj_article_details .entry_details .item.citation,
.obj_article_details .citation_display {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.obj_article_details .citation_display .label,
.obj_article_details .entry_details .item.citation .label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.35rem;
}

.obj_article_details .citation_display .value,
.obj_article_details .csl-bib-body {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--slate-800);
    word-break: break-word;
}

.citation_formats {
    margin-top: 1rem;
}

.citation_formats_button,
.citation_display .btn {
    background: #ffffff !important;
    border: 1px solid var(--slate-200) !important;
    color: var(--rmat-green-dark) !important;
    font-family: var(--font-heading) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: var(--transition-fast);
}

.citation_formats_button:hover,
.citation_display .btn:hover {
    background: var(--rmat-surface-green) !important;
    border-color: var(--primary-green) !important;
}

/* BLOCO DE MÉTRICAS (Visualizações e Downloads) */
.obj_article_details .entry_details .item.metrics,
.obj_article_details .item.statistics {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.obj_article_details .item.metrics .label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.35rem;
}

.pkp_stats_count,
.metrics_views,
.metrics_downloads {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--slate-700);
    border-bottom: 1px dashed var(--slate-200);
}

.pkp_stats_count strong,
.metrics_views strong,
.metrics_downloads strong {
    color: var(--rmat-green-dark);
    font-weight: 700;
}

/* DATAS DO FLUXO EDITORIAL (Submissão, Aceite, Publicação) */
.obj_article_details .entry_details .item.dates {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.obj_article_details .entry_details .item.dates .sub_item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--slate-200);
}

.obj_article_details .entry_details .item.dates .sub_item:last-child {
    border-bottom: none;
}

.obj_article_details .entry_details .item.dates .label {
    font-weight: 600;
    color: var(--slate-600);
    text-transform: none;
    margin: 0;
}

.obj_article_details .entry_details .item.dates .value {
    color: var(--slate-800);
    font-weight: 500;
}

/* LICENÇA CREATIVE COMMONS & DIREITOS AUTORAIS */
.obj_article_details .entry_details .item.copyright,
.obj_article_details .entry_details .item.license {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
}

.obj_article_details .entry_details .item.copyright .label,
.obj_article_details .entry_details .item.license .label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-green);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 0.35rem;
}

.obj_article_details .entry_details .item.license img {
    max-width: 100px;
    height: auto;
    margin-bottom: 0.5rem;
}

.obj_article_details .entry_details .item.license p {
    font-size: 0.82rem;
    color: var(--slate-600);
    line-height: 1.5;
}

/* Capa do Artigo na Barra Lateral */
.obj_article_details .entry_details .cover_image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 0 auto 1.5rem auto;
}

/* --------------------------------------------------------------------------
   14. LEITOR DE PDF (.header_view) E PÁGINAS ESPECIAIS
   -------------------------------------------------------------------------- */
.header_view {
    background: #1f7d02 !important;
    color: rgba(0, 0, 0, 0.84);
}

.header_view .title {
    color: #ffffff;
}

.header_view .title:hover, 
.header_view .title:focus {
    background: #1f7d02;
    color: #222222;
    text-decoration: none;
}

/* Formulário de Busca Avançada */
.page_search .search_advanced {
    margin-top: 0.714rem;
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
}

.page_search .search_advanced > legend {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-green);
}

/* --------------------------------------------------------------------------
   15. POLÍTICAS INSTITUCIONAIS ÉTICAS (DOAJ, SCIELO & LGPD COMPLIANCE)
   -------------------------------------------------------------------------- */
.section_policy,
.copyright_notice,
.privacy_statement {
    display: block !important;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-left: 4px solid var(--primary-green);
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-grey);
    text-align: justify;
}

.section_policy h2, .section_policy h3,
.copyright_notice h2, .copyright_notice h3,
.privacy_statement h2, .privacy_statement h3 {
    font-size: 1.1rem !important;
    margin-top: 0 !important;
    color: var(--secondary-green) !important;
    border-bottom: none !important;
}

#reviewerOptinGroup {
    display: block !important;
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: rgba(0, 154, 33, 0.05);
    border: 1px solid rgba(0, 154, 33, 0.2);
    border-radius: 6px;
}

#reviewerOptinGroup label {
    font-weight: 600;
    color: var(--dark-grey);
}

/* Banner de Cookies e Consentimento LGPD */
#pkpCookieConsent,
.pkp_cookie_notice {
    background: var(--dark-grey);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 0.88rem;
    border-top: 3px solid var(--primary-green);
}

#pkpCookieConsent a {
    color: var(--gold-gold);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   16. RODAPÉ INSTITUCIONAL RMAT / UFOP (.pkp_structure_footer_wrapper)
   -------------------------------------------------------------------------- */
.pkp_structure_footer_wrapper {
    background: rgba(0, 0, 0, 0.05);
    border-top: 1px solid #dddddd;
    border-bottom: 1.63rem solid #1f7d02;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

.pkp_brand_footer {
    padding: 2px;
}

.pkp_brand_footer a {
    float: right;
    display: block;
    max-width: 50px;
    margin-right: 10px;
}

.pkp_footer_content {
    padding: 1px;
    text-align: left;
}
