﻿/************************************************
 * ADVANCED RESEARCH & DEVELOPMENT JOURNAL (ARD)
 * COMPLETE FINAL OJS STYLESHEET
 ************************************************/

/****************************************
 * 1. GOOGLE FONTS
 ****************************************/
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Serif+4:wght@400;500;600&family=Inter:wght@500;600&display=swap');

/****************************************
 * 2. COLOR PALETTE
 ****************************************/
:root {
  --ard-navy: #0E2A47;
  --ard-gold: #C9A24D;
  --ard-cream: #F6EED6;
  --ard-border: #E4D8B8;
}

/****************************************
 * 3. BODY & CONTENT
 ****************************************/
body, p, div, span, li, td, th {
  font-family: "Source Serif 4", serif !important;
  font-size: 13px !important;
  line-height: 1.85 !important;
  color: #222 !important;
}

p {
  text-align: justify !important;
  
}
.pkp_structure_main h1, .pkp_structure_main h2, .pkp_structure_main h3, .pkp_structure_main h4 {
  margin: 1rem 0rem !important;
}
.pkp_structure_main p, .pkp_structure_main ul {
margin: 0.3rem 0rem !important;
}
a {
  color: var(--ard-navy) !important;
  text-decoration: none !important;
}



/****************************************
 * 4. HEADINGS
 ****************************************/
h1, h2, h3, h4, h5 {
  font-family: "Merriweather", serif !important;
  font-weight: 700 !important;
  color: var(--ard-navy) !important;
}

/****************************************
 * 5. HEADER — LOGO + TITLE (SIDE BY SIDE)
 ****************************************/
#headerNavigationContainer .pkp_head_wrapper {
  
  border-top: 4px solid var(--ard-gold);
  border-bottom: 4px solid var(--ard-gold);
}
#headerNavigationContainer .pkp_site_name_wrapper{
background: #feffec;
}

#headerNavigationContainer .pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 12px !important;
  
}

#headerNavigationContainer .pkp_site_name a.is_img img {
  max-height: 85px !important;
 
}
.pkp_site_name .is_img{
 margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}
.pkp_site_name{

  padding-bottom: 0rem;
}

#headerNavigationContainer h1.pkp_screen_reader {
  display: none !important;
}

#headerNavigationContainer .pkp_site_name_wrapper::after {
  content: "Advanced Research & Development Journal";
  font-family: "Merriweather", serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--ard-navy), var(--ard-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  padding-left: 0rem;
}

/****************************************
 * 6. PREMIUM NAVIGATION MENU
 ****************************************/
.pkp_navigation_primary_wrapper {
  background: linear-gradient(90deg, #0E2A47, #123A63);
  border-top: 3px solid var(--ard-gold);
  
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

.pkp_navigation_primary {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px;
  margin: 0 !important;
  padding: 10px 20px !important;
  list-style: none;
}

.pkp_navigation_primary > li {
  position: relative;
}

.pkp_navigation_primary > li > a {
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #ffffff !important;
  
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-flex !important;
  align-items: center !important;
}

/* Hover & Active */
.pkp_navigation_primary > li:hover > a,
.pkp_navigation_primary > li.current > a {
  background: linear-gradient(135deg, var(--ard-gold), #e6c36a);
  color: #0E2A47 !important;
  box-shadow: 0 4px 10px rgba(201,162,77,0.6);
  transform: translateY(-2px);
}

/****************************************
 * 7. DROPDOWN MENU (CLEAN)
 ****************************************/
 .pkp_navigation_primary_row{
  background: #feffec;
 }
.pkp_navigation_primary li ul {
  position: absolute;
  top: 115%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--ard-border);

  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  z-index: 999;
}

.pkp_navigation_primary li ul li a {
  font-family: "Inter", sans-serif !important;
  font-size: 12px !important;
 
  color: var(--ard-navy) !important;
}

.pkp_navigation_primary li ul li a:hover {
  background: rgba(201,162,77,0.2);
}

/****************************************
 * 8. SEARCH (MENU SAME ROW)
 ****************************************/
.pkp_navigation_search_wrapper {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.pkp_navigation_search_wrapper .pkp_search_desktop {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 6px;
}

.pkp_navigation_search_wrapper .pkp_search_desktop:hover {
  background: rgba(255,255,255,0.15);
}

/****************************************
 * 9. CONTENT SPACING
 ****************************************/
.pkp_structure_main,
.pkp_page_content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #feffec;;
}

.cmp_breadcrumbs {
  display: none;
}

/****************************************
 * 10. SIDEBAR (LEFT ALIGNED)
 ****************************************/
.pkp_structure_sidebar,
.pkp_structure_sidebar * {
  text-align: left !important;
}

.pkp_structure_sidebar ul {
  padding-left: 18px !important;
}

/****************************************
 * 11. FOOTER (CENTERED, CLEAN)
 ****************************************/
.pkp_footer,
.pkp_footer_content,
.pkp_footer_content * {
  text-align: center !important;
  float: none !important;
}

.pkp_brand_footer,
.pkp_footer_content .pkp_footer_brand,
.pkp_footer_content .pkp_brand_text,
.pkp_footer_content .pkp_workflow_link {
  display: none !important;
}


/****************************************
 * SIDEBAR BLOCKS – SHADOW ONLY (NO BORDER)
 ****************************************/

.pkp_structure_sidebar .pkp_block {
  border: none !important;
  background: #feffec;
  padding: 12px 14px;
  margin: 10px;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

/* Sidebar block title */
.pkp_structure_sidebar .pkp_block .title {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ard-navy);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Links inside sidebar */
.pkp_structure_sidebar .pkp_block a {
  font-size: 12px;
  color: var(--ard-navy);
}

/* List spacing */
.pkp_structure_sidebar .pkp_block ul {
  padding-left: 16px;
  margin: 0;
}

.pkp_structure_sidebar .pkp_block li {
  margin-bottom: 6px;
}

/* Hover effect (optional, subtle) */
.pkp_structure_sidebar .pkp_block:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: box-shadow 0.3s ease;
}




.cmp_manuscript_button, .block_make_submission a, .obj_galley_link {
    background: #c9a24d !important;

}

/* ===== CURRENT ISSUE – CLEAN PROFESSIONAL LOOK ===== */

/* Page width & spacing */
.pkp_page_index .cmp_announcements,
.pkp_page_index .current_issue,
.pkp_page_index .issue {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Issue title */
.current_issue h2,
.issue h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0E2A47;
  margin-bottom: 15px;
  border-bottom: 2px solid #C9A24D;
  padding-bottom: 8px;
}

/* Section headings (Research Articles, etc.) */
.tocSectionTitle {
  font-size: 20px;
  font-weight: 600;
  color: #0E2A47;
  margin: 35px 0 15px;
  padding-left: 10px;
  border-left: 4px solid #C9A24D;
}

/* Each article block */
.obj_article_summary {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.obj_article_summary:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Article title */
.obj_article_summary .title a {
  font-size: 18px;
  font-weight: 600;
  color: #0E2A47;
  text-decoration: none;
}

.obj_article_summary .title a:hover {
  color: #C9A24D;
}

/* Author names */
.obj_article_summary .meta {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}

/* Abstract text */
.obj_article_summary .abstract {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  margin-top: 12px;
}

/* View Full Article / PDF button */
.obj_article_summary .galleys_links a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background: #0E2A47;
  color: #fff !important;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.obj_article_summary .galleys_links a:hover {
  background: #C9A24D;
}


.obj_issue_toc .sections:not(:first-child){
  margin-top: 0rem !important;
}
.cmp_article_list>li{
  margin-bottom: 0rem;
}

/************************************************
 * MOBILE + TABLET – CLEAN HEADER & MENU
 * Desktop untouched
 ************************************************/

/* ===============================
   TABLET VIEW (768px – 1024px)
   =============================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* HEADER */
  #headerNavigationContainer .pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 120px !important;
    padding: 18px 12px !important;
    position: relative !important;
    background: #feffec !important;
  }

  /* Logo center */
  #headerNavigationContainer .pkp_site_name {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  #headerNavigationContainer .pkp_site_name a.is_img img {
    max-height: 80px !important;
    width: auto !important;
  }

  /* Hide title */
  #headerNavigationContainer .pkp_site_name_wrapper::after {
    content: none !important;
    display: none !important;
  }

  /* Hamburger left */
  #headerNavigationContainer .pkp_site_nav_toggle {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 200 !important;
  }

  /* MENU */
  .pkp_site_nav_menu {
    position: static !important;
    background: #ffffff !important;
    padding: 20px 24px !important;
    box-shadow: none !important;
  }

  .pkp_navigation_primary {
    display: block !important;
  }

  .pkp_navigation_primary > li {
    margin-bottom: 14px !important;
  }

  .pkp_navigation_primary > li > a {
    color: #0E2A47 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
  }

  /* SUBMENU – FIXED */
  .pkp_navigation_primary li ul {
    position: static !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #E4D8B8 !important;
    margin-top: 8px !important;
    padding: 10px 14px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
  }

  .pkp_navigation_primary li ul li a {
    font-size: 13px !important;
    color: #0E2A47 !important;
  }

  /* Search */
  .pkp_navigation_search_wrapper {
    margin-top: 18px !important;
    padding-top: 12px !important;
    border-top: 1px solid #C9A24D !important;
  }
}


/* ===============================
   MOBILE VIEW (≤ 767px)
   =============================== */
@media (max-width: 767px) {

  /* HEADER */
  #headerNavigationContainer .pkp_site_name_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 110px !important;
    padding: 14px 10px !important;
    position: relative !important;
    background: #feffec !important;
  }

  /* Logo center */
  #headerNavigationContainer .pkp_site_name {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  #headerNavigationContainer .pkp_site_name a.is_img img {
    max-height: 70px !important;
  }

  /* Hide title */
  #headerNavigationContainer .pkp_site_name_wrapper::after {
    content: none !important;
    display: none !important;
  }

  /* Hamburger left */
  #headerNavigationContainer .pkp_site_nav_toggle {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 200 !important;
  }

  /* MENU – LIKE IJSIT */
  .pkp_site_nav_menu {
    position: static !important;
    background: #ffffff !important;
    padding: 16px 18px !important;
  }

  .pkp_navigation_primary {
    display: block !important;
  }

  .pkp_navigation_primary > li {
    margin-bottom: 12px !important;
  }

  .pkp_navigation_primary > li > a {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0E2A47 !important;
  }

  /* SUBMENU – SIMPLE INDENT */
  .pkp_navigation_primary li ul {
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 16px !important;
    margin-top: 6px !important;
  }

  .pkp_navigation_primary li ul li a {
    font-size: 13px !important;
    font-weight: 500 !important;
  }

  /* Search */
  .pkp_navigation_search_wrapper {
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px solid #C9A24D !important;
  }
}
/************************************************
 * FIX: MOBILE + TABLET MENU VISIBILITY & FONT
 ************************************************/

/* ===============================
   TABLET (768px – 1024px)
   =============================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* REMOVE BLUE BACKGROUND */
  .pkp_navigation_primary_wrapper,
  .pkp_site_nav_menu {
    background: #ffffff !important;
  }

  /* MENU TEXT COLOR FIX */
  .pkp_navigation_primary > li > a {
    color: #0E2A47 !important;
    font-size: 13px !important;   /* body-like */
    font-weight: 500 !important;
  }

  /* SUBMENU FIX */
  .pkp_navigation_primary li ul {
    background: #ffffff !important;
  }

  .pkp_navigation_primary li ul li a {
    color: #0E2A47 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
}


/* ===============================
   MOBILE (≤ 767px)
   =============================== */
@media (max-width: 767px) {

  /* REMOVE BLUE BACKGROUND */
  .pkp_navigation_primary_wrapper,
  .pkp_site_nav_menu {
    background: #ffffff !important;
  }

  /* MENU TEXT – BODY SIZE */
  .pkp_navigation_primary > li > a {
    color: #0E2A47 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
  }

  /* SUBMENU – CLEAN */
  .pkp_navigation_primary li ul {
    background: transparent !important;
  }

  .pkp_navigation_primary li ul li a {
    color: #0E2A47 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
  }
}
/************************************************
 * MOBILE MENU – SPACING, PADDING & SEARCH FIX
 ************************************************/
@media (max-width: 767px) {

  /* ===== MENU CONTAINER LEFT PADDING ===== */
  .pkp_site_nav_menu {
    padding: 16px 16px 16px 20px !important; /* left padding added */
  }

  /* ===== MAIN MENU ITEMS – COMPACT ===== */
  .pkp_navigation_primary > li {
    margin: 6px 0 !important;   /* spacing reduced */
  }

  .pkp_navigation_primary > li > a {
    padding: 4px 4px !important;  /* vertical space reduced */
    font-size: 12px !important;
    line-height: 1.5 !important;
  }

  /* ===== SUBMENU INDENT & COMPACT ===== */
  .pkp_navigation_primary li ul {
    padding-left: 14px !important;
    margin-top: 4px !important;
  }

  .pkp_navigation_primary li ul li {
    margin: 4px 0 !important;
  }

  .pkp_navigation_primary li ul li a {
    padding: 3px 0 !important;
    font-size: 12.5px !important;
  }

  /* ===== SEARCH – FORCE VISIBLE ===== */
  .pkp_navigation_search_wrapper {
    display: block !important;
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px solid #C9A24D !important;
  }

  .pkp_navigation_search_wrapper a,
  .pkp_navigation_search_wrapper .pkp_search_desktop {
    display: inline-block !important;
    color: #0E2A47 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
}

 /* ===============================
   TABLET VIEW (768px – 1024px)
   =============================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Remove blue background */
  .pkp_navigation_primary_wrapper,
  .pkp_site_nav_menu {
    background: #ffffff !important;
  }

  /* Menu text – body size */
  .pkp_navigation_primary > li > a {
    color: #0E2A47 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }

  /* Submenu */
  .pkp_navigation_primary li ul {
    background: #ffffff !important;
  }

  .pkp_navigation_primary li ul li a {
    color: #0E2A47 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }
}
