/* Reset and Base Styles */
/* {
  box-sizing: border-box;
}*/

body {
  margin: 0;
  padding: 0;
 }

/* Header Styles */
header .header {
  background-color: #af6d91;
  padding:20px 20px;
  display: grid;
  align-items: center;
  max-width: 100%;
}

header .upper-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  position: static;
}

.logo-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo-wrapper h1 {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex: 1;
}

.logo-wrapper .home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
}

.journal-logo {
    max-width: 100%;
    height: auto;
}

#user-nav-wraper {
  text-align: right;
  justify-content: unset;
}

#navigationUser {
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#navigationUser .nav-link {
  color: #000 !important;
  border: none !important;
}

.task_count{
    color: #000;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    background-color: #af6d91;
}

/* Lower Header - Navigation */
.lower-header{
    order: 1;
    margin: 10px auto 0;
}

#primary-nav-wraper {
  background: transparent;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-self: center;
}

#close-small-modal {
  display: none;
}

#navigationPrimary {
  display: flex !important;
  width: auto;
  flex-wrap: wrap;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

#navigationPrimary .nav-item {
  display: flex;
  
}

#navigationPrimary .nav-link {
  color: #000 !important;
  border: none !important;
  padding: 12px 10px !important;
  font-size: 17px;
  background-color: transparent !important;
}

#navigationPrimary .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.navigation-dropdown {
  background-color: #fff !important;
  border: 1px solid #ddd !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navigation-dropdown .dropdown-item {
  color: #000 !important;
}

.ion-icon-text{
    display: none;
}
.nav-tabs{
    border:none;
    display: flex;
}

#nav-small{
    display: none;
}

/* Main Content */
main{
  background-color: #fff;
  width: 100%;
}

.container-page {
  padding: 40px 20px;
  max-width: 100%;
  overflow-x: hidden;
}

/*
.container-page { 
  padding: 40px 20px; 
  max-width: 100%; 
  overflow-x: hidden; 
}
*/

/* Footer */
.site-footer {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.pkpbrand-wrapper {
  text-align: center;
}

.footer-brand-image {
  max-width: 150px;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  header .header {
    flex-wrap: wrap;
  }

  .logo-wrapper::after {
    font-size: 20px;
  }

  .journal-logo {
    width: 80px;
    margin-right: 15px;
  }

  #user-nav-wraper {
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  #navigationPrimary {
    flex-direction: column;
  }

  #navigationPrimary .nav-item {
    width: 100%;
  }
}

/* IJEDE-style centered layout */
.pkp_structure_content {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop columns */
@media (min-width: 992px) {
  .pkp_structure_main {
    width: 75%;
  }
  .pkp_structure_sidebar {
    width: 25%;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .pkp_structure_main {
    width: 66.6666%;
  }
  .pkp_structure_sidebar {
    width: 33.3333%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .pkp_structure_main,
  .pkp_structure_sidebar {
    width: 100%;
  }
}
/* =====================================================
   IJEDE-style layout structure for JSJE
   ===================================================== */

.pkp_structure_content {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .pkp_structure_main {
    width: 75%;
  }
  .pkp_structure_sidebar {
    width: 25%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .pkp_structure_main {
    width: 66.6666%;
  }
  .pkp_structure_sidebar {
    width: 33.3333%;
  }
}

@media (max-width: 767px) {
  .pkp_structure_main,
  .pkp_structure_sidebar {
    width: 100%;
  }
}

/* Space between header and navigation band */
.pkp_site_name_wrapper {
  margin-bottom: 10px; /* adjust until it matches IJEDE */
}

/* Space nav band below the purple header */
.pkp_site_name_wrapper {
  margin-bottom: 10px; /* adjust slightly if needed */
}

/* =====================================================
   JSJE full-width LIGHT navigation band (IJEDE-style)
   ===================================================== */

/* Full-width light band */
.pkp_navigation_primary {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-color: #FBE5EE; /* light, subtle */
}

/* Space below purple header */
.pkp_site_name_wrapper {
  margin-bottom: 12px;
}

/* Center menu items inside the band */
.pkp_navigation_primary_wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 0;
}

/* Horizontal menu */
#navigationPrimary {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* Menu links */
#navigationPrimary > li > a {
  color: #ffffff;
  font-weight: 600;
  background: transparent;
  padding: 0;
}
/* Anchor header */
.pkp_site_name_wrapper {
  position: relative;
}

/* User menu top-right */
#navigationUser {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
}

#navigationUser a {
  color: #ffffff;
  font-size: 14px;
}
/* ================================
   Full-width LIGHT navigation band
   ================================ */

.pkp_navigation_primary {
  display: block;

  /* Full-bleed technique */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  /* Light band (NOT blue) */
  background-color: rgba(255, 255, 255, 0.15);
}
.pkp_navigation_primary_wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6px 0;
}
.journal-logo {
  max-height: 120px;   /* increase from current */
  width: auto;
}
header .upper-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1140px;
  margin: 0 auto;
  gap: 24px; /* space between logo and title */
}
#navigationUser {
  position: absolute;
  top: 12px;
  right: 24px;
}
/* ---------- Header layout reset ---------- */

header .header {
  display: block;
  padding: 24px 20px 12px;
}

header .upper-header {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

/* Larger logo, left aligned */
.journal-logo {
  max-height: 120px;
  width: auto;
}
/* ---------- User profile top-right ---------- */

.pkp_site_name_wrapper {
  position: relative;
}

#navigationUser {
  position: absolute;
  top: 12px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#navigationUser a {
  color: #ffffff;
  font-size: 14px;
}
/* ---------- Full-width LIGHT nav band ---------- */

.pkp_navigation_primary {
  /* break out of header grid */
  display: block;

  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);

  /* subtle light strip */
  background-color: rgba(255, 255, 255, 0.25);

  /* spacing from header */
  padding: 6px 0;
}
.pkp_navigation_primary_wrapper {
  max-width: 1140px;
  margin: 0 auto;
}
#navigationPrimary {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

#navigationPrimary > li > a {
  color: #ffffff;
  font-weight: 600;
  background: none;
  padding: 0;
}

#navigationPrimary > li > a:hover {
  text-decoration: underline;
}