/* ============================================================
   1. LOGO & TITLE: VISIBILITY AND MOBILE WRAPPING
   ============================================================ */

/* Container for Logo + Title */
.pkp_site_name > a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none;
    height: auto !important;
    overflow: visible !important;
}

/* The Logo (Pseudo-element) */
.pkp_site_name .is_text::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 80px;   /* Size for PC */
    height: 80px;
    margin-right: 15px;
    background: url('https://fwjcdr.com/templates/images/ojs_brand.png') no-repeat center;
    background-size: contain;
}

/* The Title Text - FORCED BLUE FOR PC & MOBILE */
.pkp_site_name .is_text {
    color: #002d56 !important; /* Scopus Blue - Makes it visible on PC white background */
    white-space: nowrap; 
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.2;
}

/* Mobile Fix: Wrap Title into two lines */
@media (max-width: 991px) {
    .pkp_site_name .is_text {
        white-space: normal !important; 
        word-wrap: break-word;
        display: block;
        max-width: 250px; 
        font-size: 1.1em !important;
        color: #002d56 !important;
    }

    .pkp_site_name .is_text::before {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
}

/* ============================================================
   2. SCOPUS / ELSEVIER PROFESSIONAL UI DESIGN
   ============================================================ */

/* Global Typography & Background */
body {
    background-color: #f7f9fa !important;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #333 !important;
}

/* Professional Header (White) */
.pkp_structure_head {
    background-color: #ffffff !important;
    border-bottom: 3px solid #002d56;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Deep Blue Navigation Bar */
.pkp_navigation_primary_wrapper {
    background-color: #002d56 !important;
}

.pkp_navigation_primary a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 15px 20px !important;
}

.pkp_navigation_primary a:hover {
    background-color: #004080 !important;
}

/* Scopus Orange Action Buttons (Submit, Login, etc) */
.pkp_button, 
button, 
input[type="submit"], 
.pkp_navigation_user a {
    background-color: #ff6600 !important; 
    border: none !important;
    border-radius: 2px !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

/* Article List Cards */
.obj_article_summary {
    background: #ffffff !important;
    border: 1px solid #e1e4e8 !important;
    border-left: 5px solid #ff6600 !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.obj_article_summary .title a {
    color: #002d56 !important;
    font-weight: 700 !important;
}

/* Sidebar "Card" Design */
.pkp_structure_sidebar .pkp_block {
    background: #ffffff !important;
    border-top: 4px solid #002d56 !important;
    border-left: 1px solid #e1e4e8 !important;
    border-right: 1px solid #e1e4e8 !important;
    border-bottom: 1px solid #e1e4e8 !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

.pkp_block .title {
    color: #002d56 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* --- SCOPUS SIDEBAR ACTIVE STATES (NO SCRIPT NEEDED) --- */

/* 1. If on Aims & Scope page */
body.pkp_page_about .menu-about,
/* 2. If on Editorial Board page */
body.pkp_op_editorialMasthead .menu-editorial,
/* 3. If on Submissions page */
body.pkp_op_submissions .menu-submissions,
/* 4. General highlight for active state */
.scopus-sidebar-list a.active-manual {
    background-color: #fff9f5 !important;
    color: #ff6600 !important;
    font-weight: 700 !important;
    border-left: 4px solid #ff6600 !important;
}

/* Base Styles for the Sidebar */
.scopus-sidebar-container {
    border: 1px solid #e1e4e8;
    background: #ffffff;
    margin-bottom: 20px;
}
.scopus-sidebar-header {
    background-color: #002d56 !important;
    color: #fff !important;
    padding: 12px 15px;
    text-transform: uppercase;
    font-size: 14px;
}
.scopus-sidebar-list { list-style: none; padding: 0; margin: 0; }
.scopus-sidebar-list a {
    display: block;
    padding: 11px 15px;
    color: #333;
    text-decoration: none;
    border-left: 4px solid transparent;
}
.scopus-sidebar-list a:hover {
    background-color: #f4f6f8;
    border-left: 4px solid #002d56;
}
/* ============================================================
   3. DROPDOWN / SUBMENU FIX
   ============================================================ */

/* 1. Ensure the dropdown container has a solid white background and a subtle border */
.pkp_navigation_primary li ul {
    background-color: #ffffff !important;
    border: 1px solid #e1e4e8 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adds a slight shadow for depth */
}

/* 2. Make the text inside the dropdown dark blue so you can read it */
.pkp_navigation_primary li ul a {
    color: #002d56 !important; 
    text-transform: none; /* Optional: keeps dropdown items from being ALL CAPS */
}

/* 3. When hovering, change the background to blue and the text to white */
.pkp_navigation_primary li ul a:hover {
    background-color: #004080 !important;
    color: #ffffff !important;
}
/* ============================================================
   3. DROPDOWN / SUBMENU FIX
   ============================================================ */

/* 1. Ensure the dropdown container has a solid white background and a subtle border */
.pkp_navigation_primary li ul {
    background-color: #ffffff !important;
    border: 1px solid #e1e4e8 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Adds a slight shadow for depth */
}

/* 2. Make the text inside the dropdown dark blue so you can read it */
.pkp_navigation_primary li ul a {
    color: #002d56 !important; 
    text-transform: none; /* Optional: keeps dropdown items from being ALL CAPS */
}

/* 3. When hovering, change the background to blue and the text to white */
.pkp_navigation_primary li ul a:hover {
    background-color: #004080 !important;
    color: #ffffff !important;
}