/* =========================================================
   NJRST / NCRST OJS CLEAN STYLESHEET
   Cleaned: 21 May
   Purpose:
   - Consolidated duplicated rules from the working stylesheet.
   - Removed broken/orphaned selector blocks.
   - Keeps the Primary Navigation styling stable.
   - Restores the Dashboard / View Profile / Logout user menu to the upper right.
   - Keeps article, issue, archive, announcement and homepage fixes.
   ========================================================= */

/* =========================================================
   1. Brand colours and global defaults
   ========================================================= */

:root {
  --ncrst-navy: #071f3d;
  --ncrst-navy-2: #082747;
  --ncrst-blue: #27357f;
  --ncrst-yellow: #ffc400;
  --ncrst-yellow-dark: #d89d00;
  --ncrst-green: #00a83b;
  --ncrst-red: #e40035;
  --ncrst-teal: #008c95;
  --ncrst-white: #ffffff;
  --ncrst-bg: #f7f8fb;
  --ncrst-text: #18233f;
  --ncrst-muted: #5f6b82;
  --ncrst-border: #e5e9f0;
  --ncrst-border-2: #dfe6ee;
  --ncrst-shadow: 0 8px 22px rgba(7,31,61,0.06);
  --ncrst-shadow-strong: 0 12px 28px rgba(7,31,61,0.12);
  --ncrst-max: 1320px;
  --ncrst-content-max: 1264px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ncrst-bg);
  color: var(--ncrst-text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--ncrst-navy);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--ncrst-yellow-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.pkp_structure_page {
  background: var(--ncrst-bg);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_sidebar h2,
.pkp_structure_sidebar h3,
.pkp_structure_footer h2,
.pkp_structure_footer h3 {
  color: #001f4e;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

/* Remove earlier pseudo underlines safely */
.pkp_structure_main h1::after,
.pkp_structure_main h2::after,
.pkp_structure_main h3::after,
.pkp_structure_sidebar h2::after,
.pkp_structure_sidebar h3::after,
.pkp_structure_footer h2::after,
.pkp_structure_footer h3::after {
  content: none !important;
  display: none !important;
}

/* Short yellow underline on main section headings */
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_sidebar h2,
.pkp_structure_footer h2,
.pkp_structure_footer h3 {
  background-image: linear-gradient(var(--ncrst-yellow), var(--ncrst-yellow));
  background-repeat: no-repeat;
  background-size: 54px 3px;
  background-position: left bottom;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

/* Do not underline article/list titles */
.obj_article_summary h3,
.obj_issue_toc h3,
.obj_issue_toc .section h3,
.obj_issue_toc .sections h3,
.cmp_announcements .obj_announcement_summary h3 {
  background-image: none !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   2. Header, masthead and navigation
   ========================================================= */

.pkp_structure_head {
  position: relative;
  overflow: visible;
  background: var(--ncrst-navy-2) !important;
  border-bottom: none !important;
  margin: 0;
  padding: 0;
  box-shadow: 0 8px 25px rgba(7,31,61,0.15);
}

.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name,
.pkp_site_name a {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: var(--ncrst-navy-2) !important;
}

.pkp_site_name > a {
  color: var(--ncrst-white);
}

.pkp_site_name > a:hover,
.pkp_site_name > a:focus {
  color: var(--ncrst-white);
}

/* Uploaded masthead/banner */
.pkp_site_name img,
.pkp_site_name .is_img img {
  display: block !important;
  width: 100vw !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
}

/* White navigation bar */
.pkp_site_nav_menu {
  position: relative !important;
  overflow: visible !important;
  background: var(--ncrst-white) !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid var(--ncrst-border);
}

/* Keep primary navigation as currently intended: one row, slightly right-aligned */
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  position: relative !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  background: var(--ncrst-white) !important;
}

.pkp_navigation_primary_wrapper {
  max-width: var(--ncrst-max) !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 40px 0 130px !important;
  text-align: left !important;
}

#navigationPrimary,
.pkp_navigation_primary {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 34px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  position: relative !important;
  transform: none !important;
}

#navigationPrimary > li,
.pkp_navigation_primary > li {
  display: block !important;
  flex: 0 0 auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

#navigationPrimary > li > a,
.pkp_navigation_primary > li > a {
  display: block !important;
  color: var(--ncrst-navy) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.2 !important;
  padding: 18px 0 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  border-bottom: 4px solid transparent;
}

#navigationPrimary > li > a:hover,
#navigationPrimary > li > a:focus,
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.current_page_item > a {
  color: var(--ncrst-navy) !important;
  border-bottom-color: var(--ncrst-yellow);
}

/* Primary dropdowns */
#navigationPrimary ul,
.pkp_navigation_primary ul,
.pkp_navigation_primary .dropdown-menu {
  position: absolute !important;
  z-index: 9999 !important;
  background: var(--ncrst-white);
  border: 1px solid var(--ncrst-border);
  border-radius: 8px;
  box-shadow: var(--ncrst-shadow-strong);
  text-align: left !important;
  white-space: normal !important;
}

.pkp_navigation_primary .dropdown-menu a,
#navigationPrimary ul a,
.pkp_navigation_primary ul a {
  color: var(--ncrst-navy);
  font-weight: 700;
}

.pkp_navigation_primary .dropdown-menu a:hover,
#navigationPrimary ul a:hover,
.pkp_navigation_primary ul a:hover {
  background: #fff8d7;
  color: var(--ncrst-navy);
}

/* User menu: Dashboard / View Profile / Logout or Register / Login */
#navigationUserWrapper,
.pkp_navigation_user_wrapper {
  position: absolute !important;
  top: 10px !important;
  right: 28px !important;
  left: auto !important;
  z-index: 100000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  transform: none !important;
  overflow: visible !important;
}

#navigationUser,
.pkp_navigation_user {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  white-space: nowrap !important;
  background: transparent !important;
}

#navigationUser > li,
.pkp_navigation_user > li {
  position: relative !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

#navigationUser > li > a,
.pkp_navigation_user > li > a {
  display: inline-block !important;
  padding: 6px 9px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: var(--ncrst-white) !important;
  background: rgba(7,31,61,0.78) !important;
  border-radius: 4px !important;
  white-space: nowrap !important;
}

#navigationUser > li > a:hover,
#navigationUser > li > a:focus,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus {
  color: var(--ncrst-yellow) !important;
}

/* User dropdown */
#navigationUser ul,
.pkp_navigation_user ul {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  min-width: 190px !important;
  z-index: 100001 !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  background: var(--ncrst-white) !important;
  border: 1px solid var(--ncrst-border-2) !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 18px rgba(0,31,78,0.12) !important;
  text-align: left !important;
}

#navigationUser ul li,
.pkp_navigation_user ul li {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#navigationUser ul a,
.pkp_navigation_user ul a {
  display: block !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  color: var(--ncrst-navy) !important;
  background: var(--ncrst-white) !important;
  white-space: nowrap !important;
}

#navigationUser ul a:hover,
#navigationUser ul a:focus,
.pkp_navigation_user ul a:hover,
.pkp_navigation_user ul a:focus {
  background: #fff8d7 !important;
  color: var(--ncrst-navy) !important;
}

/* =========================================================
   3. Main layout and content width
   ========================================================= */

.pkp_structure_content,
.pkp_structure_main,
.page_static,
.page_home {
  max-width: var(--ncrst-max) !important;
  width: calc(100% - 56px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.pkp_structure_main {
  padding: 22px 28px 48px;
}

/* Homepage index blocks */
.pkp_page_index .pkp_structure_main {
  max-width: var(--ncrst-content-max) !important;
  width: calc(100% - 56px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide breadcrumbs */
.cmp_breadcrumbs,
.breadcrumb,
.breadcrumbs {
  display: none !important;
}

/* Hide automatic heading only on custom/static pages, not article/issue pages */
.pkp_page_page.pkp_op_view .pkp_structure_main > h1:first-child,
.pkp_page_page.pkp_op_view .page_custom > h1:first-child,
.pkp_page_page.pkp_op_view .obj_custom_page > h1:first-child,
.page_custom > h1:first-child,
.obj_custom_page > h1:first-child {
  display: none !important;
}

/* Remove top gap on custom pages */
.pkp_page_page.pkp_op_view .pkp_structure_content,
.pkp_page_page.pkp_op_view .pkp_structure_main,
.pkp_page_page.pkp_op_view .pkp_structure_main > *:first-child,
.pkp_page_page.pkp_op_view .page_custom > *:first-child,
.pkp_page_page.pkp_op_view .obj_custom_page > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* =========================================================
   4. Custom NJRST homepage components
   ========================================================= */

.njrst-single-banner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 28px auto !important;
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 5px solid var(--ncrst-yellow);
  box-shadow: 0 10px 28px rgba(8,33,64,0.16);
}

.njrst-single-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.njrst-banner-link {
  position: absolute;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 5;
}

.njrst-submit-link {
  left: 3.6%;
  bottom: 18%;
  width: 21%;
  height: 13%;
}

.njrst-current-link {
  left: 26.4%;
  bottom: 18%;
  width: 20%;
  height: 13%;
}

.njrst-banner-link:focus {
  outline: 3px solid var(--ncrst-yellow);
  outline-offset: 2px;
}

.njrst-home-grid {
  max-width: 1180px;
  margin: 24px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 0.9fr;
  gap: 18px;
}

.njrst-card {
  background: var(--ncrst-white);
  border: 1px solid var(--ncrst-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(8,33,64,0.08);
  padding: 20px;
}

.njrst-card h2 {
  margin: 0 0 16px;
  color: #082140;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 3px solid #078b68;
  display: inline-block;
  padding-bottom: 5px;
  background-image: none;
}

.njrst-card h3 {
  color: #082140;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.35;
}

.njrst-card p {
  color: #26384d;
  font-size: 13px;
  line-height: 1.5;
}

.njrst-card a {
  color: #007a5a;
  text-decoration: none;
  font-weight: 600;
}

.njrst-card a:hover {
  text-decoration: underline;
}

.njrst-current-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.njrst-cover img {
  width: 145px;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(8,33,64,0.18);
}

.njrst-current-text {
  flex: 1;
}

.njrst-badge {
  display: inline-block;
  background: #078b68;
  color: var(--ncrst-white);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.njrst-outline-btn {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid #082140;
  color: #082140 !important;
  padding: 9px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.njrst-outline-btn:hover {
  background: #082140;
  color: var(--ncrst-white) !important;
  text-decoration: none !important;
}

.njrst-small-links {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  font-size: 12px;
}

.njrst-small-links a {
  border-right: 1px solid #d7dde6;
  padding-right: 12px;
}

.njrst-small-links a:last-child {
  border-right: none;
}

.njrst-card-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.njrst-card-header h2 {
  margin-bottom: 0;
}

.njrst-card-header > a {
  font-size: 12px;
  color: #082140;
  white-space: nowrap;
}

.njrst-article-item {
  display: flex;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ncrst-border);
}

.njrst-article-item:last-child {
  border-bottom: none;
}

.njrst-article-item span {
  color: #078b68;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.njrst-article-item p {
  margin: 3px 0;
  font-size: 12px;
}

.njrst-article-item a {
  font-size: 11px;
}

.njrst-icon,
.njrst-author-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}

.njrst-icon.green,
.njrst-author-icon.green {
  background: #dcefe8;
  color: #078b68;
}

.njrst-icon.blue,
.njrst-author-icon.blue {
  background: #d8edf6;
  color: #007fae;
}

.njrst-icon.gold,
.njrst-author-icon.gold {
  background: #f3e7cb;
  color: #c3942e;
}

.njrst-author-icon.navy {
  background: #dce4ef;
  color: #082140;
}

.njrst-author-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  margin-bottom: 12px;
  border: 1px solid var(--ncrst-border);
  border-radius: 9px;
  background: var(--ncrst-white);
  color: #082140 !important;
  box-shadow: 0 3px 10px rgba(8,33,64,0.06);
}

.njrst-author-link:hover {
  text-decoration: none !important;
  transform: translateY(-1px);
}

.njrst-author-link span {
  font-size: 12px;
  line-height: 1.35;
}

.njrst-author-link strong {
  font-size: 13px;
  color: #082140;
}

.njrst-author-link em {
  margin-left: auto;
  color: #082140;
  font-style: normal;
  font-size: 24px;
}

.njrst-announcement-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.njrst-announcement-item h3 {
  font-size: 14px;
}

.njrst-announcement-item p {
  color: #078b68;
  font-weight: 700;
}

/* Legacy NCRST homepage components retained for safety */
.ncrst-journal-home,
.ncrst-banner-image,
.ncrst-feature-grid,
.ncrst-content-grid,
.ncrst-lower-grid {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.ncrst-journal-home,
.ncrst-banner-image {
  border-radius: 10px !important;
  overflow: hidden !important;
}

.ncrst-feature-grid,
.ncrst-content-grid,
.ncrst-lower-grid {
  padding-left: 28px !important;
  padding-right: 28px !important;
  box-sizing: border-box !important;
}

/* =========================================================
   5. Homepage index: Announcements and Current Issue
   ========================================================= */

.pkp_page_index .homepage_image,
.pkp_page_index .homepageImage,
.pkp_page_index img[alt=""],
.pkp_page_index img:not([src]),
.pkp_page_index img[src=""] {
  display: none !important;
}

.pkp_page_index .cmp_announcements,
.pkp_page_index .current_issue {
  width: 100% !important;
  max-width: var(--ncrst-content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary,
.pkp_page_index .current_issue {
  background: var(--ncrst-white) !important;
  border: 1px solid #e1e6eb !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary {
  width: 100% !important;
  max-width: none !important;
  padding: 28px 30px !important;
  margin: 0 0 24px 0 !important;
}

.pkp_page_index .current_issue {
  padding: 28px 30px !important;
  margin-top: 24px !important;
}

/* Announcement text: widen container without affecting the whole site */
.pkp_page_index .cmp_announcements .obj_announcement_summary .summary,
.pkp_page_index .cmp_announcements .obj_announcement_summary .description,
.pkp_page_index .cmp_announcements .obj_announcement_summary .description p,
.pkp_page_index .cmp_announcements .obj_announcement_summary p {
  width: 100% !important;
  max-width: 1100px !important;
  line-height: 1.65 !important;
  white-space: normal !important;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary .summary br,
.pkp_page_index .cmp_announcements .obj_announcement_summary .description br,
.pkp_page_index .cmp_announcements .obj_announcement_summary p br {
  display: none !important;
}

/* Reset wrappers inside homepage Current Issue so there is no double card/shadow */
.pkp_page_index .current_issue .obj_issue_toc .sections,
.pkp_page_index .current_issue .obj_issue_toc .section,
.pkp_page_index .current_issue .obj_issue_toc .articles,
.pkp_page_index .current_issue .obj_issue_toc .articles > li {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  list-style: none !important;
}

.pkp_page_index .current_issue .obj_issue_toc .articles > li {
  margin: 0 0 30px 0 !important;
  padding: 0 !important;
}

/* Actual article cards inside homepage Current Issue */
.pkp_page_index .current_issue .obj_issue_toc .obj_article_summary {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 165px !important;
  margin: 0 0 28px 0 !important;
  padding: 30px 34px 34px 34px !important;
  background: var(--ncrst-white) !important;
  border: 1px solid var(--ncrst-border-2) !important;
  border-radius: 10px !important;
  box-shadow: var(--ncrst-shadow) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.pkp_page_index .current_issue .obj_issue_toc .articles > li::before,
.pkp_page_index .current_issue .obj_issue_toc .articles > li::after,
.pkp_page_index .current_issue .obj_issue_toc .obj_article_summary::before,
.pkp_page_index .current_issue .obj_issue_toc .obj_article_summary::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   6. Issue archive and issue article-list pages
   ========================================================= */

.pkp_page_issue .pkp_structure_main,
.pkp_page_issue .obj_issue_toc,
.pkp_page_issue .issues_archive {
  line-height: 1.55 !important;
}

.pkp_page_issue.pkp_op_archive .issues_archive > li,
.pkp_page_issue.pkp_op_archive .obj_issue_summary,
.page_issue_archive .issues_archive > li,
.obj_issue_summary {
  padding: 22px 26px !important;
  margin-bottom: 22px !important;
  background: var(--ncrst-white) !important;
  border: 1px solid #e1e6eb !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  box-shadow: var(--ncrst-shadow) !important;
}

.pkp_page_issue.pkp_op_archive .obj_issue_summary .title,
.pkp_page_issue.pkp_op_archive .obj_issue_summary h2,
.pkp_page_issue.pkp_op_archive .obj_issue_summary h3 {
  margin-bottom: 10px !important;
  line-height: 1.45 !important;
}

/* Remove styling from list wrappers so only article summaries are cards */
.pkp_page_issue .obj_issue_toc .articles,
.pkp_page_issue .obj_issue_toc .articles > li,
.pkp_page_issue .obj_issue_toc .section,
.pkp_page_issue .obj_issue_toc .section > ul,
.pkp_page_issue .obj_issue_toc .section > ul > li {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  list-style: none !important;
}

/* Article cards on issue pages */
.obj_issue_toc .obj_article_summary,
.obj_issue_toc .section .obj_article_summary,
.obj_issue_toc .sections .obj_article_summary,
.page_issue .obj_article_summary,
.pkp_page_issue .obj_article_summary {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 135px !important;
  margin: 0 0 30px 0 !important;
  padding: 30px 34px 34px 34px !important;
  background: var(--ncrst-white) !important;
  border: 1px solid var(--ncrst-border-2) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  box-shadow: var(--ncrst-shadow) !important;
  overflow: hidden !important;
}

.obj_issue_toc .obj_article_summary::before,
.obj_issue_toc .obj_article_summary::after,
.obj_issue_toc .articles > li::before,
.obj_issue_toc .articles > li::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Article-list title/authors/pages */
.obj_issue_toc .obj_article_summary .title,
.obj_issue_toc .obj_article_summary h3,
.page_issue .obj_article_summary .title,
.pkp_page_issue .obj_article_summary .title,
.pkp_page_index .current_issue .obj_article_summary .title,
.pkp_page_index .current_issue .obj_article_summary h3 {
  display: block !important;
  margin: 0 110px 14px 0 !important;
  padding: 0 !important;
  line-height: 1.45 !important;
}

.obj_issue_toc .obj_article_summary .title a,
.page_issue .obj_article_summary .title a,
.pkp_page_issue .obj_article_summary .title a,
.pkp_page_index .current_issue .obj_article_summary .title a {
  display: block !important;
  color: var(--ncrst-navy) !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

.obj_issue_toc .obj_article_summary .title a:hover,
.page_issue .obj_article_summary .title a:hover,
.pkp_page_issue .obj_article_summary .title a:hover,
.pkp_page_index .current_issue .obj_article_summary .title a:hover {
  color: var(--ncrst-yellow-dark) !important;
}

.obj_issue_toc .obj_article_summary .authors,
.page_issue .obj_article_summary .authors,
.pkp_page_issue .obj_article_summary .authors,
.pkp_page_index .current_issue .obj_article_summary .authors {
  display: block !important;
  margin: 0 110px 24px 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

.obj_issue_toc .obj_article_summary .pages,
.page_issue .obj_article_summary .pages,
.pkp_page_issue .obj_article_summary .pages,
.pkp_page_index .current_issue .obj_article_summary .pages {
  position: absolute !important;
  top: 34px !important;
  right: 34px !important;
  line-height: 1.4 !important;
}

.obj_issue_toc .obj_article_summary .galleys,
.obj_issue_toc .obj_article_summary .galley-links,
.obj_issue_toc .obj_article_summary .cmp_galley_links,
.page_issue .obj_article_summary .galleys,
.pkp_page_issue .obj_article_summary .galleys,
.pkp_page_index .current_issue .obj_article_summary .galleys,
.pkp_page_index .current_issue .obj_article_summary .cmp_galley_links,
.pkp_page_index .current_issue .obj_article_summary .galley-links {
  display: block !important;
  clear: both !important;
  margin-top: 18px !important;
  padding-top: 0 !important;
}

/* =========================================================
   7. Article landing pages
   ========================================================= */

/* Restore article titles */
.pkp_page_article .pkp_structure_main h1,
.pkp_page_article .page h1,
.pkp_page_article .obj_article_details h1,
.pkp_page_article .obj_article_details .page_title,
.page_article h1,
.obj_article_details h1,
.obj_article_details .page_title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: var(--ncrst-navy) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 10px !important;
}

/* Move metadata/right column and divider to the right on article pages */
@media (min-width: 992px) {
  .pkp_page_article .obj_article_details .row,
  .page_article .obj_article_details .row {
    display: flex !important;
    align-items: flex-start !important;
  }

  .pkp_page_article .obj_article_details .main_entry,
  .page_article .obj_article_details .main_entry {
    width: 76% !important;
    max-width: 76% !important;
    flex: 0 0 76% !important;
    padding-right: 60px !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .pkp_page_article .obj_article_details .entry_details,
  .page_article .obj_article_details .entry_details {
    width: 24% !important;
    max-width: 24% !important;
    flex: 0 0 24% !important;
    padding-left: 34px !important;
    margin-left: 0 !important;
    border-left: 1px solid #d9dee5 !important;
    box-sizing: border-box !important;
    float: none !important;
  }
}

/* Smaller right-column metadata; leave PDF button unchanged */
.pkp_page_article .entry_details,
.pkp_page_article .entry_details .item,
.pkp_page_article .entry_details .value,
.pkp_page_article .entry_details p,
.pkp_page_article .entry_details li,
.pkp_page_article .entry_details .citation,
.pkp_page_article .entry_details .copyright,
.pkp_page_article .entry_details .license,
.pkp_page_article .pkp_structure_sidebar,
.pkp_page_article .pkp_structure_sidebar .item,
.pkp_page_article .pkp_structure_sidebar .value,
.pkp_page_article .pkp_structure_sidebar p,
.pkp_page_article .pkp_structure_sidebar li,
.pkp_page_article .pkp_structure_sidebar .citation {
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.pkp_page_article .entry_details h2,
.pkp_page_article .entry_details h3,
.pkp_page_article .entry_details .label,
.pkp_page_article .pkp_structure_sidebar h2,
.pkp_page_article .pkp_structure_sidebar h3,
.pkp_page_article .pkp_structure_sidebar .label {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.pkp_page_article .entry_details .item,
.pkp_page_article .pkp_structure_sidebar .item {
  margin-bottom: 22px !important;
  padding-bottom: 18px !important;
}

/* Keep PDF/galley button size */
.pkp_page_article .entry_details .obj_galley_link,
.pkp_page_article .entry_details .obj_galley_link *,
.pkp_page_article .entry_details .cmp_galley_links a,
.pkp_page_article .pkp_structure_sidebar .obj_galley_link,
.pkp_page_article .pkp_structure_sidebar .obj_galley_link *,
.pkp_page_article .pkp_structure_sidebar .cmp_galley_links a {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* =========================================================
   8. Buttons, forms, tables and notices
   ========================================================= */

.ncrst-btn,
.obj_galley_link,
.cmp_button,
.block_make_submission a,
.cmp_form .buttons button,
a.cmp_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 5px;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(7,31,61,0.16);
}

.ncrst-btn-primary,
.obj_galley_link,
.cmp_button,
.block_make_submission a,
.cmp_form .buttons button,
a.cmp_button {
  color: var(--ncrst-navy) !important;
  background: var(--ncrst-yellow);
  border-color: var(--ncrst-yellow);
}

.ncrst-btn-primary:hover,
.ncrst-btn-primary:focus,
.obj_galley_link:hover,
.cmp_button:hover,
.block_make_submission a:hover,
.cmp_form .buttons button:hover,
a.cmp_button:hover {
  color: var(--ncrst-navy) !important;
  background: #ffd84d;
  border-color: #ffd84d;
}

.ncrst-btn-secondary {
  color: var(--ncrst-white) !important;
  background: rgba(7,31,61,0.5);
  border-color: var(--ncrst-yellow);
}

.ncrst-btn-secondary:hover,
.ncrst-btn-secondary:focus {
  color: var(--ncrst-navy) !important;
  background: var(--ncrst-yellow);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
  border: 1px solid #ccd5e1;
  border-radius: 6px;
  padding: 10px 12px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ncrst-yellow);
  box-shadow: 0 0 0 3px rgba(255,196,0,0.22);
}

.cmp_form label {
  color: var(--ncrst-navy);
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ncrst-white);
}

th {
  background: #fff5c2;
  color: var(--ncrst-navy);
  font-weight: 900;
}

th,
td {
  border: 1px solid var(--ncrst-border);
  padding: 10px 12px;
  text-align: left;
}

.cmp_notification {
  border-left: 5px solid var(--ncrst-yellow);
  background: #fff8d7;
  color: var(--ncrst-text);
  border-radius: 8px;
}

/* Remove faint vertical lines site-wide and in custom/homepage tables */
.pkp_structure_page,
.pkp_structure_head,
.pkp_structure_body,
.pkp_structure_content,
.pkp_structure_main,
.pkp_structure_sidebar,
.pkp_structure_footer_wrapper,
.pkp_structure_footer {
  border-left: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
}

.pkp_structure_page::before,
.pkp_structure_page::after,
.pkp_structure_head::before,
.pkp_structure_head::after,
.pkp_structure_body::before,
.pkp_structure_body::after,
.pkp_structure_content::before,
.pkp_structure_content::after,
.pkp_structure_main::before,
.pkp_structure_main::after,
.pkp_structure_sidebar::before,
.pkp_structure_sidebar::after,
.pkp_structure_footer_wrapper::before,
.pkp_structure_footer_wrapper::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page_static table,
.page_static tbody,
.page_static tr,
.page_static td,
.page_static th,
.page_home table,
.page_home tbody,
.page_home tr,
.page_home td,
.page_home th,
.ncrst-journal-home table,
.ncrst-journal-home tbody,
.ncrst-journal-home tr,
.ncrst-journal-home td,
.ncrst-journal-home th {
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   9. Footer
   ========================================================= */

.pkp_structure_footer_wrapper {
  width: 100% !important;
  background: linear-gradient(135deg, rgba(7,31,61,0.98), rgba(10,45,86,0.98));
  border-top: 4px solid var(--ncrst-yellow);
  margin-top: 0;
}

.pkp_structure_footer {
  max-width: var(--ncrst-max) !important;
  width: calc(100% - 56px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 34px 28px;
  color: rgba(255,255,255,0.9);
  box-sizing: border-box !important;
}

.pkp_footer_content,
.pkp_brand_footer,
.pkp_footer_content p {
  color: rgba(255,255,255,0.9);
}

.pkp_footer_content a,
.pkp_brand_footer a {
  color: var(--ncrst-yellow);
}

.pkp_footer_content a:hover,
.pkp_brand_footer a:hover,
.pkp_footer_content a:focus,
.pkp_brand_footer a:focus {
  color: var(--ncrst-white);
}

.ncrst-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.85fr 1.25fr;
  gap: 32px;
  color: rgba(255,255,255,0.9);
}

.ncrst-footer-grid h3 {
  color: var(--ncrst-white);
  font-size: 16px;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ncrst-yellow);
  background-image: none;
}

.ncrst-footer-grid p,
.ncrst-footer-grid li,
.ncrst-footer-grid a {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  line-height: 1.55;
}

.ncrst-footer-grid a:hover,
.ncrst-footer-grid a:focus {
  color: var(--ncrst-yellow);
}

.ncrst-footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ncrst-publisher-logo {
  max-width: 230px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

/* =========================================================
   10. Responsive and print
   ========================================================= */

@media (max-width: 1100px) {
  .njrst-home-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .ncrst-feature-grid,
  .ncrst-content-grid,
  .ncrst-lower-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .ncrst-footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .pkp_navigation_primary_wrapper {
    padding-left: 60px !important;
    padding-right: 30px !important;
  }

  #navigationPrimary,
  .pkp_navigation_primary {
    gap: 22px !important;
  }
}

@media (max-width: 991px) {
  #navigationUserWrapper,
  .pkp_navigation_user_wrapper {
    position: static !important;
    display: block !important;
    width: 100% !important;
    padding: 8px 16px !important;
    background: var(--ncrst-navy-2) !important;
    box-sizing: border-box !important;
  }

  #navigationUser,
  .pkp_navigation_user {
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
  }

  #navigationPrimary,
  .pkp_navigation_primary {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
}

@media (max-width: 760px) {
  .pkp_structure_content,
  .pkp_structure_main,
  .page_static,
  .page_home,
  .pkp_page_index .pkp_structure_main {
    width: calc(100% - 28px) !important;
  }

  .pkp_navigation_primary_wrapper {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .njrst-home-grid {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }

  .njrst-card {
    padding: 16px;
  }

  .njrst-card-header {
    flex-direction: column;
  }

  .njrst-current-wrap {
    flex-direction: column;
  }

  .njrst-cover img {
    width: 180px;
  }

  .njrst-author-link {
    align-items: flex-start;
  }

  .ncrst-feature-grid,
  .ncrst-content-grid,
  .ncrst-lower-grid,
  .ncrst-footer-grid {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .obj_issue_toc .obj_article_summary .title,
  .obj_issue_toc .obj_article_summary h3,
  .obj_issue_toc .obj_article_summary .authors,
  .pkp_page_index .current_issue .obj_article_summary .title,
  .pkp_page_index .current_issue .obj_article_summary h3,
  .pkp_page_index .current_issue .obj_article_summary .authors {
    margin-right: 0 !important;
  }

  .obj_issue_toc .obj_article_summary .pages,
  .pkp_page_index .current_issue .obj_article_summary .pages {
    position: static !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 700px) {
  .njrst-single-banner {
    margin: 12px auto 22px auto;
    border-radius: 6px;
  }

  .njrst-submit-link {
    left: 3.5%;
    bottom: 15%;
    width: 24%;
    height: 14%;
  }

  .njrst-current-link {
    left: 30%;
    bottom: 15%;
    width: 24%;
    height: 14%;
  }
}

@media print {
  .pkp_navigation_primary_wrapper,
  .pkp_navigation_user_wrapper,
  #navigationUserWrapper,
  .njrst-single-banner,
  .ncrst-hero,
  .ncrst-feature-grid,
  .pkp_structure_footer_wrapper {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
  }
}
/* =========================================================
   NJRST: Final primary navigation adjustment
   1. Move primary menu slightly left
   2. Move yellow hover/active underline closer to menu text
   ========================================================= */

@media (min-width: 992px) {

    /* Move only the Primary Navigation slightly to the left */
    #navigationPrimary,
    .pkp_navigation_primary {
        transform: translateX(-100px) !important;
    }

    /* Prepare menu links for a custom underline */
    #navigationPrimary > li > a,
    .pkp_navigation_primary > li > a {
        position: relative !important;
        border-bottom: none !important;
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }

    /* Remove older yellow underline behaviour */
    #navigationPrimary > li > a::after,
    .pkp_navigation_primary > li > a::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 16px !important;
        height: 3px !important;
        background: #ffc400 !important;
        opacity: 0 !important;
        transform: none !important;
    }

    /* Show yellow line directly underneath hovered/current menu item */
    #navigationPrimary > li > a:hover::after,
    #navigationPrimary > li > a:focus::after,
    #navigationPrimary > li.current > a::after,
    #navigationPrimary > li.current_page_item > a::after,
    .pkp_navigation_primary > li > a:hover::after,
    .pkp_navigation_primary > li > a:focus::after,
    .pkp_navigation_primary > li.current > a::after,
    .pkp_navigation_primary > li.current_page_item > a::after {
        opacity: 1 !important;
    }
}
