
/* ========== GOOGLE FONTS: Poppins (including extra-bold) ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========== 1. Apply Poppins font to the entire site ========== */
body,
html,
.pkp_structure,
.pkp_content,
.pkp_navigation,
.pkp_block,
.title,
h1, h2, h3, h4, h5, h6,
p, a, span, div,
.pkp_page,
.pkp_page_index,
.pkp_content_main,
.pkp_sidebar,
.pkp_issue,
.pkp_article,
.pkp_about,
.pkp_information,
.pkp_submission {
  font-family: 'Poppins', sans-serif !important;
}

/* ========== 2. Grey outer background (the frame around the journal) ========== */
body {
  background: #e5e5e5;
  margin: 0;
  padding: 0;
}

/* ========== 3. Constrain and center the main journal structure ========== */
.pkp_structure_main,
.pkp_page_index,
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_content_main,
.pkp_footer,
.pkp_header,
.pkp_page,
.pkp_issue,
.pkp_article,
.pkp_about,
.pkp_information,
.pkp_submission,
.pkp_structure_content {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== 4. Make ALL main content areas PURE WHITE on every page ========== */
/* Core page containers */
.pkp_structure_main,
.pkp_page_index,
.pkp_page_home,
.pkp_content_main,
.pkp_content_main .block,
.pkp_content_main .page,
.pkp_content_main .issue_list,
.pkp_content_main .article,
.pkp_content_main .section,
.pkp_page,
.pkp_issue,
.pkp_article,
.pkp_about,
.pkp_submission,
.pkp_structure_content,
.pkp_issue_view,
.pkp_article_view,
.pkp_about_page,
.pkp_submission_page,
.pkp_block,
.pkp_block .content,
.pkp_sidebar .pkp_block,
.page,
.article_list,
.issue,
.pkp_issue_view .content,
.pkp_article_view .content {
  background: #ffffff !important;
  color: #333333;
}

/* Blocks and content inside main area */
.pkp_block,
.pkp_block .content,
.pkp_sidebar .pkp_block,
.page,
.article_list,
.issue,
.pkp_content_main .block,
.pkp_content_main .page,
.pkp_content_main .issue_list,
.pkp_content_main .article,
.pkp_content_main .section,
.pkp_issue_list,
.pkp_article_list,
.pkp_issue_view .content,
.pkp_article_view .content {
  background: #ffffff !important;
}

/* Remove any default backgrounds that might override our grey frame */
.site,
.x-site,
.pkp_structure,
.pkp_structure_container {
  background: transparent !important;
}

/* ========== 5. Tight header: remove large white block around logo ========== */
.pkp_site_name_wrapper,
.pkp_header,
.pkp_header_content,
.pkp_site_logo,
.pkp_site_logo img,
.pkp_site_name,
.pkp_journal_title {
 display: block;
    padding-left: 0.0015rem;
    max-width: 100%;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .98rem;
    color: #fff
}

.pkp_site_logo {
  padding: 0.25rem 0 !important;
  margin: 0 !important;
}

.pkp_site_name_wrapper {
  padding: 0.5rem 0 !important;
}

/* Align journal title with navigation menu items */
.pkp_site_name_wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1180px !important;
}

.pkp_navigation_primary_wrapper {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.pkp_structure_page {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* ========== 6. Journal title: larger and bolder than body text, aligned with menu ========== */
.pkp_site_name,
.pkp_journal_title,
.pkp_site_name > a,
.pkp_journal_title > a {
  /* IMPORTANT: same left padding as menu bar wrapper */
  margin-left: 0 !important;
  padding-right: 0 !important;
  margin-right: 0 !important;

  font-size: 1.75rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-block;
}

/* Ensure logo doesn't push title off alignment */
.pkp_site_logo {
  float: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* ========== 7. Menu bar spacing + BOLD menu items ========== */
.pkp_navigation_primary_wrapper {
  background: #ffffff !important;
  padding-left: 2rem;
  padding-right: 2rem;
  border-bottom: 1px solid #dddddd;
}

.pkp_navigation_primary {
  background: transparent;
  margin: 0 auto;
}

.pkp_navigation_primary > li > a {
  padding: 1rem 1.25rem;
  color: #333333;
  font-size: 0.95rem;
  font-weight: 700 !important;
}

.pkp_navigation_primary > li > a:hover {
  color: #005cae;
  background: rgba(0, 92, 206, 0.08);
}

/* ========== 8. Sidebar: WHITE background on every page ========== */
.pkp_sidebar,
.pkp_sidebar .pkp_block,
.pkp_sidebar .block {
  background: #ffffff !important;
  padding: 1.5rem 1rem;
}

.pkp_sidebar .pkp_block {
  background: transparent;
  margin-bottom: 2rem;
}

.pkp_sidebar .title {
  color: #333333;
  border-bottom: none;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ========== 9. Keywords : spacing of keywords ========== */

.article-keywords li,
.obj_article_details_keywords span {
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

/* ========== 10. Footer: reduced size, aligned with white page bottom ========== */
.pkp_footer {
  background: #f0f0f0 !important;
  color: #666666;
  padding: 0.75rem 1rem !important;
  border-top: 1px solid #dddddd;
  font-size: 0.8rem !important;
  line-height: 1.4;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.pkp_footer a {
  color: #005cae;
  font-size: 0.8rem !important;
}

.pkp_footer .title,
.pkp_footer h1,
.pkp_footer h2,
.pkp_footer h3,
.pkp_footer h4,
.pkp_footer h5,
.pkp_footer h6 {
  font-size: 0.9rem !important;
  font-weight: 600;
}

/* ========== 11. Ensure white background extends through all pages ========== */
.pkp_structure_container,
.pkp_page,
.pkp_page_index,
.pkp_content_wrapper,
.pkp_structure_content,
.pkp_main {
  background: #ffffff !important;
 text-align: left !important;
}

/* ========== 12. Ensure all inner content blocks stay white ========== */
.pkp_content_main .page .content,
.pkp_content_main .issue .content,
.pkp_content_main .article .content,
.pkp_issue .content,
.pkp_article .content,
.pkp_about .content,
.pkp_information .content {
  background: #ffffff !important;
}

/* ========== 13. Links ========== */
a {
  color: #005cae;
}

a:visited {
  color: #004a99;
}

a:hover,
a:focus {
  color: #003d80;
  text-decoration: none;
}

/* ========== 14. Headings (clean, dark, Poppins) ========== */
h1, h2, h3, h4, h5, h6 {
  color: #222222;
  font-weight: 600;
}

/* ========== 15. Remove any unwanted shadows or borders ========== */
.pkp_structure_main,
.pkp_page_index,
.pkp_content_main,
.pkp_page,
.pkp_issue,
.pkp_article {
  box-shadow: none;
  border: none;
}

/* ========== 16. Mobile responsiveness ========== */
@media (max-width: 768px) {
  .pkp_navigation_primary_wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .pkp_navigation_primary > li > a {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .pkp_site_logo img {
    max-width: 150px;
  }

  .pkp_footer {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.75rem !important;
  }

  /* On mobile, reduce title padding and size */
  .pkp_site_name,
  .pkp_journal_title,
  .pkp_site_name > a,
  .pkp_journal_title > a {
    padding-left: 1rem !important;
    font-size: 1.35rem !important;
  }
}