/* GLOBAL BODY AND TYPOGRAPHY */
body {
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #222;
    background-color: #f9f9f9;
    line-height: 1.6;
  }
  
  /* HEADER AND SITE TITLE */
  .pkp_site_name {
    font-size: 2em;
    font-weight: bold;
    color: #ffffff;
  }
  
  .pkp_structure_head {
    background-color: #004080;
    border-bottom: 4px solid #0059b3;
    padding: 20px;
  }
  
  .pkp_structure_head .pkp_site_name a {
    color: #fff !important;
    text-decoration: none;
  }
  
  /* NAVIGATION MENU */
  .pkp_navigation_primary {
    background-color: #0059b3;
    text-align: center;
  }
  
  .pkp_navigation_primary .nav li a {
    color: #ffffff !important;
    font-weight: bold;
    padding: 10px 20px;
  }
  
  .pkp_navigation_primary .nav li a:hover {
    background-color: #003d66;
    border-radius: 4px;
  }
  
  /* PAGE CONTENT */
  .pkp_structure_main {
    background-color: #ffffff;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  /* ARTICLE TITLES & HEADINGS */
  .obj_article_details h1,
  .page_issue h2,
  .page_submissions h2 {
    color: #003366;
    font-size: 1.8em;
    margin-bottom: 0.5em;
  }
  
  /* AUTHORS, ABSTRACT, METADATA */
  .pkp_article_author,
  .obj_article_details .author_string,
  .article_abstract {
    color: #666;
    font-style: italic;
  }
  
  .article_abstract {
    margin-top: 1em;
    font-size: 1em;
  }
  
  /* TABLES */
  table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
  }
  
  th, td {
    padding: 10px;
    border: 1px solid #ccc;
  }
  
  th {
    background-color: #e6f0ff;
  }
  
  /* SIDEBAR */
  .pkp_structure_sidebar {
    background-color: #f0f4f8;
    padding: 20px;
    border-left: 4px solid #0059b3;
  }
  
  /* FOOTER */
  .pkp_structure_footer {
    background-color: #00264d;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
  }
  
  .pkp_structure_footer a {
    color: #ccc;
    text-decoration: underline;
  }
  
  .pkp_structure_footer a:hover {
    color: #ffffff;
  }
  
  /* BUTTONS */
  .button, .cmp_button {
    background-color: #0059b3;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .button:hover, .cmp_button:hover {
    background-color: #003d66;
  }
  
  /* FORMS */
  input[type="text"],
  input[type="email"],
  textarea,
  select {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  input[type="submit"] {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  input[type="submit"]:hover {
    background-color: #003366;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .pkp_navigation_primary .nav li {
      display: block;
      text-align: center;
    }
  
    .pkp_structure_main {
      padding: 10px;
    }
  }
  /* Ensure logo and journal title appear side-by-side */
  .pkp_brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Style for the journal title */
  .pkp_site_name {
    display: inline-block;
    vertical-align: middle;
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
  }
  
  /* Style for the journal title link */
  .pkp_site_name a {
    color: #000; /* Change to match your site theme */
    text-decoration: none;
  }
  
  
  /* Styles for the footer layout */
  /* BEIGIN */
    .pkp_footer_content {
      padding: 0 2.143rem;
      text-align: left;
  }
  
    .pkp_structure_footer {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    
    .pkp_brand_footer img {
      filter: brightness(0) invert(1);
    }
    /* END */  
  
    @media (min-width: 992px) {
      .pkp_head_wrapper {
          padding: 2rem 0;
      }
  }
  
  .pkp_site_name {
    margin: 0 0 2rem 0;
    z-index: 1100;
    position: relative;
    max-width: fit-content;
  }
  
  div#navigationUserWrapper {
    top: 35px;
    z-index: 1000;
  }
  
  
  /* Footer height reduction override */
  .pkp_structure_footer {
      padding: 6px 20px !important; /* smaller top/bottom, same left/right */
      font-size: 0.85em !important; /* slightly smaller text */
      margin-top: 0 !important; /* remove extra gap above footer if present */
  }
  
  .pkp_footer_content {
      padding: 0 1.5rem !important; /* optional: smaller horizontal padding */
  }
  
  
  /* Remove padding so footer text aligns flush left */
  .pkp_footer_content {
      padding: 0 !important;
  }
  
  /* Footer horizontal layout, aligned left */
  .pkp_structure_footer {
      justify-content: flex-start !important;
  }
  
  .pkp_footer_content {
      flex: 1 1 auto !important;
      padding: 0 !important;
      text-align: left !important;
  }

/* Sidebar font consistency - Added */
.pkp_structure_sidebar,
.pkp_structure_sidebar .pkp_block,
.pkp_structure_sidebar .block_makeSubmission,
.pkp_structure_sidebar .block_information {
    font-size: 0.95em;  /* or 14px â€” adjust as needed */
    line-height: 1.4;
    font-family: 'Georgia', serif; /* match body font */
}

.pkp_structure_sidebar h2,
.pkp_structure_sidebar a {
    font-size: 1em; /* same as body */
    color: #003366;
}

.pkp_page_index .additional_content {
  border-top: 0;
}