/* =========================================================
   PHYTOPHARM JOURNAL - FINAL VISUAL STYLES
   Optimized for OJS 3.4 & Professional Academic Layout
   ========================================================= */

/* --- 1. LAYOUT ADJUSTMENTS (Wider Content) --- */
@media (min-width: 992px) {
    .pkp_structure_main.col-md-8 { width: 75%; }
    .pkp_structure_sidebar.col-md-4 { width: 25%; }
}

.pkp_structure_content.container {
    width: 95%;
    max-width: 1300px;
}

/* --- 2. MENU TYPOGRAPHY --- */
.navbar-default .navbar-nav > li > a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333333;
    padding: 1.2rem 1.5rem;   
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a {
    color: #006633;
    background-color: transparent;
    border-bottom: 3px solid #006633; 
}

/* --- 3. MAIN BODY TYPOGRAPHY & GLOBAL JUSTIFICATION --- */
body, p, li, .journal-description, .page_content, .description, .value, .content, .section_description {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.5 !important; 
    color: #333;
    text-align: justify !important;   
    text-justify: inter-word !important;
}

/* Standard paragraph spacing for general pages */
p {
    margin-bottom: 1.2rem; 
}

/* --- 4. SCALED HEADINGS --- */
h1, h2, h3, .site-name {
    font-family: "Georgia", serif;
    color: #222;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    font-weight: normal;
    line-height: 1.2;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }

.journal-description strong { color: #006633; }

/* --- 5. SIDEBAR STYLING --- */
.pkp_block {
    background-color: #fcfcfc;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: 4px;
}

.pkp_block .title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #006633;
    text-transform: uppercase;
    border-bottom: 2px solid #006633;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem;
}

/* --- 6. BUTTONS & LINKS --- */
.btn-primary, input[type="submit"] { 
    background-color: #006633 !important; 
    border-color: #005c2e !important; 
    text-transform: uppercase;
    font-weight: bold;
}

a { color: #006633; text-decoration: none; }
a:hover { color: #004d26; text-decoration: underline; }

/* --- 7. THE "EDITORIAL TEAM" SPACING FIX (NUCLEAR) --- */
/* This forces the names and institutions to sit close together */

.page_editorial_team .pkp_structure_main p, 
.page_editorial_team .pkp_structure_main li,
.page_editorial_team .pkp_structure_main div,
.pkp_view_editorialTeam .editorial_team p,
.pkp_view_editorialTeam .editorial_team li {
    margin-top: 0 !important;
    margin-bottom: 0.15rem !important; /* Forces the 1.5 tight look */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.4 !important;
    text-align: justify !important;
}

/* Remove extra gaps caused by empty lines in the editor */
.page_editorial_team p:empty {
    display: none !important;
}

/* Ensure bold names stand out but stay tight to the text below */
.page_editorial_team strong {
    display: inline-block;
    margin-bottom: 0px !important;
}