/* =====================================================
   TELLUS – UCDB
   Health Sciences Theme – Versão Editorial Internacional
===================================================== */

/* ===============================
   IMPORTAÇÃO DE FONTES
================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Merriweather:wght@300;400;700&display=swap');

/* ===============================
   PALETA INDIGENISTA SOFISTICADA
================================= */
/*
Verde floresta: #3E5C47
Verde médio: #6F8A63
Ocre terra: #B07A3F
Fundo areia: #F5F1E8
Cinza editorial: #6D6D6D
*/

/* ===============================
   FUNDO GERAL
================================= */

html,
body,
.pkp_structure_page,
.pkp_structure_content {
    background: #F5F1E8 !important;
    font-family: 'Open Sans', sans-serif !important;
    color: #2E2E2E !important;
}

/* ===============================
   HEADER
================================= */

.pkp_structure_head {
    background: #F5F1E8 !important;
    border-bottom: 4px solid #3E5C47 !important;
}

.pkp_structure_head .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.pkp_site_name_wrapper {
    text-align: center !important;
    margin: 20px 0 !important;
}

.pkp_site_name img {
    max-height: 150px !important;
    width: auto !important;
}

/* ===============================
   MENU SUPERIOR
================================= */

.pkp_navigation_primary_row {
    background: #3E5C47 !important;
}

.pkp_navigation_primary_row a {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pkp_navigation_primary_row a:hover {
    background: #6F8A63 !important;
    color: #ffffff !important;
}

/* ===============================
   GRID EDITORIAL HOMEPAGE
================================= */

.page_index_journal .homepage_content {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 40px !important;
    align-items: start;
}

.page_index_journal .current_issue {
    background: #ffffff !important;
    padding: 35px !important;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}

.page_index_journal .pkp_block {
    background: #ffffff !important;
    padding: 25px !important;
    border-radius: 6px;
    border: 1px solid #E0DDD5 !important;
}

/* Responsivo */

@media (max-width: 900px) {
    .page_index_journal .homepage_content {
        grid-template-columns: 1fr !important;
    }
}

/* ===============================
   CARDS DE ARTIGOS
================================= */

.obj_article_summary,
.obj_issue_summary {
    background: #ffffff !important;
    border: 1px solid #E5E1D8 !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease;
}

.obj_article_summary:hover,
.obj_issue_summary:hover {
    box-shadow: 0 8px 26px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

/* ===============================
   TÍTULOS
================================= */

h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif !important;
    color: #3E5C47 !important;
    font-weight: 700 !important;
}

/* ===============================
   CONTEÚDO DO ARTIGO – SERIFADO
================================= */

.page_article .main_entry,
.page_article .item.abstract p,
.page_article .item.references,
.page_article p {
    font-family: 'Merriweather', serif !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #2E2E2E !important;
    margin-bottom: 1.2em !important;
}

/* ===============================
   ABSTRACT BOX
================================= */

.page_article .item.abstract {
    background: #EFE9DD !important;
    border-left: 5px solid #B07A3F !important;
    padding: 28px !important;
    margin: 30px 0 !important;
    border-radius: 4px;
}

.page_article .item.abstract h2 {
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px;
}

/* ===============================
   DOI DESTACADO
================================= */

.page_article .doi {
    display: inline-block;
    background: #E7E1D4 !important;
    border-left: 4px solid #3E5C47 !important;
    padding: 10px 16px !important;
    margin: 10px 0 20px 0 !important;
    font-weight: 600 !important;
}

.page_article .doi a {
    color: #3E5C47 !important;
    font-weight: 700 !important;
}

/* ===============================
   LINKS
================================= */

a {
    color: #3E5C47 !important;
    text-decoration: none !important;
}

a:hover {
    color: #6F8A63 !important;
    text-decoration: underline !important;
}

/* ===============================
   RODAPÉ
================================= */

.pkp_structure_footer_wrapper {
    background: #F5F1E8 !important;
    border-top: 3px solid #3E5C47 !important;
    color: #6D6D6D !important;
    padding-top: 30px !important;
}

.pkp_structure_footer_wrapper a {
    color: #3E5C47 !important;
    font-weight: 600;
}

/* Diminuir licença Creative Commons */

.pkp_structure_footer_wrapper img {
    max-width: 70px !important;
    opacity: 0.85;
}