/****************************************
 * 1. GLOBAL TYPOGRAPHY + BODY
 ****************************************/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* Base font */
body,
p,
div,
span,
a,
li,
td,
th,
input,
textarea,
button {
  font-family: "Lato", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #222 !important;
}

/* Page background */

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  color: #084b55 !important;
}

/* Section Headings */
h2 {
  font-size: 24px !important;
  margin-top: 28px !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 2px solid #d8eef2 !important;
}

h3 {
  font-size: 20px !important;
  margin-top: 22px !important;
  margin-bottom: 8px !important;
}

/* Paragraphs */
p {
  text-align: justify !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin-bottom: 18px !important;
}

/* Bold text */
strong, b {
  color: #0b5560 !important;
  font-weight: 600 !important;
}

/* Lists */
ul li, ol li {
  margin-bottom: 6px !important;
  line-height: 1.7 !important;
  font-size: 16px !important;
}

/* Links */
a {
  color: #0a6f84 !important;
  text-decoration: none !important;
}

a:hover {
  color: #084b55 !important;
  text-decoration: underline !important;
}


/****************************************
 * 2. HEADER — LOGO + TITLE + ADMIN
 ****************************************/

/* Header background */
#headerNavigationContainer .pkp_head_wrapper {
  background: linear-gradient(135deg, #e8fafd, #f8feff);
  border-top: 2px solid #18a7c3;
  border-bottom: 2px solid #18a7c3;
}

/* Header layout */
#headerNavigationContainer .pkp_site_name_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 6px 20px !important;
}

/* Logo */
#headerNavigationContainer .pkp_site_name a.is_img img {
  max-height: 90px !important;
  width: auto !important;
}

/* Hide screen-reader title */
#headerNavigationContainer h1.pkp_screen_reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}

/* Journal Title */
#headerNavigationContainer .pkp_site_name_wrapper::after {
  content: "BioClinix: Journal of Medical and Pharmaceutical Sciences";
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, #0a6f84, #0b5560);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  white-space: normal;
  order: 2;
}

/* Admin links on the right */
#headerNavigationContainer .pkp_navigation_user_wrapper {
  margin-left: auto !important;
}


/****************************************
 * 3. MAIN NAVIGATION MENU
 ****************************************/

.pkp_navigation_primary_wrapper {
  background-color: #dff7fc;
  border-top: 1px solid #cbe8ee;
  border-bottom: 1px solid #cbe8ee;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pkp_navigation_primary {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pkp_navigation_primary > li > a {
  font-family: "Lato", sans-serif !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  text-transform: uppercase;
  color: #084b55 !important;
  border-radius: 3px;
  transition: 0.25s ease;
}

.pkp_navigation_primary > li > a:hover {
  background: #0b5560;
  color: #fff !important;
}

.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.active > a {
  background: #0b5560 !important;
  color: #fff !important;
}

/* Dropdowns */
.pkp_navigation_primary li ul.dropdown-menu {
  background: #fff;
  border: 1px solid #d0dde2;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  padding: 5px 0;
}

.pkp_navigation_primary li ul.dropdown-menu li a {
  padding: 8px 16px !important;
  font-size: 13px !important;
  color: #084b55 !important;
}

.pkp_navigation_primary li ul.dropdown-menu li a:hover {
  background: #0b5560 !important;
  color: #fff !important;
}


/****************************************
 * 4. SEARCH BUTTON
 ****************************************/

.pkp_navigation_search_wrapper .pkp_search_desktop {
  font-size: 14px !important;
  font-weight: 600;
  color: #084b55 !important;
}


/****************************************
 * 5. REMOVE FOOTER BRANDING
 ****************************************/

.pkp_brand_footer,
.pkp_footer_content .pkp_footer_brand,
.pkp_footer_content .pkp_brand_image,
.pkp_footer_content .pkp_brand_text,
.pkp_footer_content .pkp_workflow_link {
  display: none !important;
}


/****************************************
 * 6. REMOVE ALL BREADCRUMBS
 ****************************************/

.pkp_breadcrumbs,
.pkp_breadcrumb,
.pkp_structure_breadcrumb,
.pkp_navigation_breadcrumb,
.cmp_breadcrumbs,
.breadcrumbs,
.breadcrumb {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/****************************************
 * 7. SIDEBAR — CLEAN SPACING (without layout change)
 ****************************************/

.pkp_structure_sidebar,
.pkp_structure_sidebar_left,
.pkp_structure_sidebar_right {
  padding-left: 12px !important;   /* small spacing left */
  padding-right: 12px !important;  /* small spacing right */
}

/* Remove extra spacing inside sidebar blocks */
.pkp_block {
  margin: 0 !important;
  padding: 0 !important;
}


/****************************************
 * 8. MOBILE RESPONSIVE FIXES
 ****************************************/

@media (max-width: 768px) {

  #headerNavigationContainer .pkp_site_name_wrapper {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
padding-left: 105px !important;
  }

#headerNavigationContainer .pkp_site_name_wrapper::after {
  content: "BioClinix: Journal of Medical and Pharmaceutical Sciences";
  font-family: "Playfair Display", serif;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(90deg, #0a6f84, #0b5560);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  white-space: normal;
  order: 2;
}

#headerNavigationContainer .pkp_site_name a.is_img img {
    margin-top: -10px;
    max-height: 70px !important;
    width: auto !important;
    margin-left: 10px;
}


.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
    margin-bottom: 11px;
}

#headerNavigationContainer .pkp_head_wrapper {
    height: 70px;
    background: white;
}


.pkp_navigation_primary_row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    height: auto;
    overflow: visible;
}

.pkp_navigation_primary {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pkp_navigation_primary > li {
    width: 100%;
}


  .pkp_navigation_primary_wrapper {
    flex-direction: column;
    padding: 10px 15px;
  }

  .pkp_navigation_primary {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* Center footer content */
.pkp_footer,
.pkp_footer_content,
.pkp_footer_content p,
.pkp_footer_content div,
.pkp_footer_text,
.pkp_footer_info {
    text-align: center !important;
    margin: 0 auto !important;
}

/* Remove unwanted floats */
.pkp_footer_content * {
    float: none !important;
}

/* Make footer full width */
.pkp_footer {
    width: 100% !important;
    display: block !important;
}
/* Sidebar text should always be left aligned */
.pkp_structure_sidebar,
.pkp_structure_sidebar_left,
.pkp_structure_sidebar_right,
.pkp_block,
.pkp_block p,
.pkp_block li,
.pkp_block a {
    text-align: left !important;
}
