/* =========================================================
   1. HEADER: DEEP TEAL
   ========================================================= */
.pkp_head_wrapper {
    background-color: #004e5a !important;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    background-position: 0 0, 10px 10px !important;
    
    /* Height Settings */
    min-height: 170px !important; 
    display: block !important; 
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================================================
   2. LOGO & TITLE (HYBRID METHOD)
   ========================================================= */
.pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important; 
    min-height: 150px !important; 
    width: 100%; 
}

.pkp_site_name_wrapper .pkp_site_name {
    /* === YOUR LOGO LINK INSERTED HERE === */
    background-image: url('https://jissaw.org/public/journals/1/pageHeaderLogoImage_en.png');
    
    background-repeat: no-repeat;
    
    /* BIGGER LOGO SIZE */
    background-size: auto 155px !important; 
    background-position: 0px center !important; 
    
    /* PADDING: Moves text to the right to make room for logo */
    padding-left: 160px !important; 
    
    min-height: 150px; 
    display: flex;
    align-items: center; 
}

/* JOURNAL TITLE TEXT (Bigger & Bolder) */
.pkp_site_name_wrapper .pkp_site_name h1 {
    display: block !important;
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif; 
    
    /* BIG FONT SIZE */
    font-size: 42px !important; 

    /* === 2. CENTER ALIGNMENT === */
    text-align: center !important;
    width: 100% !important;

    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.6); 
}

/* HIDE DUPLICATE LOGO (From Homepage Image) */
.pkp_structure_main .homepage_image {
    display: none !important;
}

/* Remove default link underlines */
.pkp_site_name_wrapper a {
    text-decoration: none !important;
}

/* =========================================================
   3. NAVIGATION BAR & DROPDOWN FIX (Full Width & Teal)
   ========================================================= */
.pkp_navigation_primary_row {
    background: linear-gradient(to bottom, #005f6b, #004e5a) !important; 
    border-top: 1px solid #005f6b;
    padding: 0px; 
    
    /* FULL WIDTH FIX */
    width: 100% !important;
    max-width: 100% !important; 
    margin: 0 !important;    
    display: block !important; 
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1); 
}

/* Main Menu */
.pkp_navigation_primary_row a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 14px 20px !important; 
    display: inline-block;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Main Menu Links */
.pkp_navigation_primary_row > nav > ul > li > a {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 14px 20px !important; 
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Hover Effect */
.pkp_navigation_primary_row > nav > ul > li > a:hover,
.pkp_navigation_primary_row > nav > ul > li > a:focus {
    color: #e3dbc5 !important;
    background-color: transparent !important;
}

/* === DROPDOWN MENU FIX (Fixes the White Box) === */
.pkp_navigation_primary_row ul ul {
    background-color: #004e5a !important; /* Deep Teal Background */
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3) !important;
    border-top: 3px solid #e3dbc5 !important; 
    min-width: 200px !important;
    padding: 10px 0 !important;
    margin-top: 0px !important;
}

/* Dropdown Links */
.pkp_navigation_primary_row ul ul li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important; /* White Text */
    text-transform: none !important;
    padding: 8px 20px !important;
    display: block !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Dropdown Hover */
.pkp_navigation_primary_row ul ul li a:hover {
    background-color: #003840 !important; 
    color: #e3dbc5 !important;
    padding-left: 25px !important; 
}

/* Arrow Fix */
.pkp_navigation_primary_row .has_submenu > a::after {
    content: '\25be' !important;
    display: inline-block;
    font-size: 14px; 
    margin-left: 6px;
    color: #ffffff; 
    opacity: 0.7;   
}

/* =========================================================
   4. ARTICLE TITLES & PDF BUTTON
   ========================================================= */
.obj_article_summary .title a,
h3.title a {
    text-decoration: none !important;
    display: inline;
    color: #333;
    background-image: linear-gradient(to right, #004e5a, #004e5a);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.4s ease, color 0.3s ease;
    padding-bottom: 2px;
}
.obj_article_summary .title a:hover,
h3.title a:hover {
    color: #004e5a !important; 
    background-size: 100% 2px; 
}

/* PDF Button */
a.obj_galley_link.pdf:hover, 
.obj_galley_link:hover {
    background-color: #004e5a !important; 
    border-color: #004e5a !important;    
    color: #ffffff !important;           
}

/* =========================================================
   5. FOOTER
   ========================================================= */
.pkp_structure_footer_wrapper {
    background-color: #004e5a !important;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px), 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px) !important;
    background-size: 20px 20px !important;
    background-position: 0 0, 10px 10px !important;
    color: #ffffff !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-top: 5px solid #e3dbc5 !important;
}
.pkp_structure_footer_wrapper a {
    color: #e3dbc5 !important; 
    text-decoration: none !important;
}
.pkp_brand_footer { display: none !important; }

/* =========================================================
   6. MOBILE FIXES
   ========================================================= */
@media (max-width: 767px) {
    .pkp_head_wrapper { min-height: 100px !important; }
    .pkp_site_name_wrapper .pkp_site_name {
        background-size: auto 70px !important;
        padding-left: 80px !important;
        min-height: 80px !important;
    }
    .pkp_site_name_wrapper .pkp_site_name h1 {
        font-size: 18px !important; 
        line-height: 1.2 !important;
    }
}
.item.abstract, .item.abstract p, .obj_article_details .abstract {
    text-align: justify !important;
    text-justify: inter-word !important;
}