/* jti header/footer chrome — ILGI layout, blue theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --jti-primary: #114D61;
  --jti-primary-dark: #166278;
  --jti-primary-darker: #0C3B4A;
  --jti-ink: #ffffff;
}

html, body,
.pkp_structure_page,
.pkp_structure_main,
.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.pkp_structure_main h5,
.pkp_structure_main h6,
.pkp_site_name,
.pkp_nav_list,
.pkp_navigation_primary,
.pkp_navigation_user,
.pkp_block .title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

body {
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Header chrome */
.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper,
.pkp_site_nav_menu,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper {
  background-color: #114D61 !important;
  background: #114D61 !important;
}

.pkp_structure_head {
  background-image: linear-gradient(
    180deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.03) 100%
  ) !important;
  background-blend-mode: soft-light;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
}

.pkp_structure_head,
.pkp_structure_head a,
.pkp_structure_head .pkp_site_name a,
.pkp_structure_head .pkp_navigation_primary a,
.pkp_structure_head .pkp_navigation_user a {
  color: #ffffff !important;
}

.pkp_structure_head .pkp_navigation_primary a:hover,
.pkp_structure_head .pkp_navigation_user a:hover,
.pkp_structure_head .pkp_site_name a:hover,
.pkp_structure_head .pkp_navigation_primary > li.current > a,
.pkp_structure_head .pkp_navigation_primary > li > a:focus {
  color: #D4E8EE !important;
}



/* Footer chrome */
.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper.jti_footer,
.jti_footer {
  background-color: #114D61 !important;
  background: #114D61 !important;
  background-image: linear-gradient(
    180deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.06) 55%,
    rgba(255,255,255,0.02) 100%
  ) !important;
  color: #ffffff !important;
}

.jti_footer .jti_footer_inner.pkp_structure_footer,
.jti_footer .pkp_structure_footer {
  width: min(1160px, calc(100% - 2rem)) !important;
  max-width: 1160px;
  margin: 0 auto !important;
  padding: 2.25rem 0 1.25rem !important;
  text-align: left !important;
  color: #ffffff;
}

.jti_footer_main {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 28px 40px !important;
  padding-bottom: 1.75rem;
}

.jti_footer_brand,
.jti_footer_journal.pkp_footer_content,
.jti_footer .pkp_footer_content {
  flex: 1 1 280px !important;
  max-width: 560px !important;
  width: auto !important;
}

.jti_footer_brand_link {
  display: inline-block;
  text-decoration: none !important;
  color: inherit !important;
}

.jti_footer_title {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.jti_footer_tagline {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
}

.jti_footer_office {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
}

.jti_footer_office_title {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.jti_footer_office_addr {
  margin: 0;
  max-width: 34em;
}

.jti_footer_journal.pkp_footer_content,
.jti_footer .pkp_footer_content {
  padding: 0 !important;
  text-align: left !important;
  color: #ffffff !important;
  font-size: 1.02rem;
  line-height: 1.6;
}

.jti_footer .pkp_footer_content p,
.jti_footer .pkp_footer_content strong,
.jti_footer .pkp_footer_content span,
.jti_footer .pkp_footer_content a {
  color: #ffffff !important;
}

.jti_footer .pkp_footer_content a {
  text-decoration: underline;
}

/* Keep existing footer indexing images visible and sized correctly */
.jti_footer .pkp_footer_content img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0.75rem 0 0 !important;
  opacity: 1 !important;
}

.jti_footer_bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.28);
  font-size: 0.98rem;
  color: rgba(255,255,255,0.9);
}

.jti_footer_links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.jti_footer_links a {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.jti_footer_links a:hover,
.jti_footer_links a:focus {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.jti_footer .pkp_brand_footer {
  display: none !important;
}

@media (max-width: 767px) {
  .jti_footer_main {
    flex-direction: column;
  }
  .jti_footer_bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sidebar accents */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .block_custom .title,
.pkp_structure_sidebar .block_custom .content [style*="background"] {
  background: #114D61 !important;
  background-color: #114D61 !important;
  color: #ffffff !important;
}
.pkp_structure_sidebar .block_custom .content a {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Dropdown menus — blue, white text */
.pkp_structure_head .pkp_nav_list ul,
.pkp_structure_head .pkp_navigation_primary ul,
.pkp_structure_head .pkp_navigation_user ul,
.pkp_structure_head .pkp_navigation_user .dropdown-menu,
.pkp_structure_head .dropdown-menu {
  background: #114D61 !important;
  background-color: #114D61 !important;
  border: 1px solid #166278 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
}
.pkp_structure_head .pkp_nav_list ul a,
.pkp_structure_head .pkp_navigation_primary ul a,
.pkp_structure_head .pkp_navigation_user ul a,
.pkp_structure_head .dropdown-menu a {
  color: #ffffff !important;
  text-shadow: none !important;
  background: transparent !important;
  font-weight: 600 !important;
}
.pkp_structure_head .pkp_nav_list ul a:hover,
.pkp_structure_head .pkp_nav_list ul a:focus,
.pkp_structure_head .pkp_navigation_primary ul a:hover,
.pkp_structure_head .pkp_navigation_primary ul a:focus,
.pkp_structure_head .pkp_navigation_user ul a:hover,
.pkp_structure_head .pkp_navigation_user ul a:focus,
.pkp_structure_head .dropdown-menu a:hover,
.pkp_structure_head .dropdown-menu a:focus {
  color: #ffffff !important;
  background: #166278 !important;
  border-left-color: #ffffff !important;
}
.pkp_structure_head .pkp_navigation_user > li > ul,
.pkp_structure_head .pkp_navigation_user .dropdown-menu {
  right: 0 !important;
  left: auto !important;
  min-width: 210px;
}
.pkp_structure_head .pkp_nav_list ul ul {
  background: #166278 !important;
  border-color: #0C3B4A !important;
}
.pkp_structure_head .pkp_nav_list ul ul a:hover,
.pkp_structure_head .pkp_nav_list ul ul a:focus {
  background: #0C3B4A !important;
}

/* Homepage: don't overlay banner under header */
.pkp_page_index .homepage_image {
  margin-top: 0 !important;
}


/* ===== User nav TOP-RIGHT (override default OJS center) ===== */
/* Default theme centers with left:50% + translateX(-50%); force top-right like ILGI. */

body:not(.is_site_context) .pkp_structure_head .pkp_head_wrapper,
.pkp_structure_head .pkp_head_wrapper {
  position: relative !important;
}

/* Defeat default desktop centering at all breakpoints */
body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper,
body:not(.is_site_context) .pkp_structure_head #navigationUserWrapper,
.pkp_structure_head .pkp_navigation_user_wrapper,
.pkp_structure_head #navigationUserWrapper {
  position: absolute !important;
  top: 0.75rem !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  margin: 0 !important;
  padding: 0 1.25rem 0 0 !important;
  text-align: right !important;
  z-index: 1000 !important;
  width: auto !important;
  max-width: none !important;
  border: none !important;
  border-top: none !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.5rem !important;
  float: none !important;
}

@media (min-width: 992px) {
  body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper,
  body:not(.is_site_context) .pkp_structure_head #navigationUserWrapper,
  .pkp_structure_head .pkp_navigation_user_wrapper,
  .pkp_structure_head #navigationUserWrapper {
    top: 0.75rem !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
  }

  /* Ensure room for top-right user/login control */
  body:not(.is_site_context) .pkp_structure_head .pkp_head_wrapper {
    padding-top: 3rem !important;
  }
  body:not(.is_site_context).has_site_logo .pkp_structure_head .pkp_head_wrapper {
    padding-top: 3rem !important;
  }
}

body:not(.is_site_context) .pkp_structure_head #navigationUser,
.pkp_structure_head #navigationUser {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  text-align: right !important;
  border: none !important;
  border-top: none !important;
}

body:not(.is_site_context) .pkp_structure_head #navigationUser > li,
.pkp_structure_head #navigationUser > li {
  margin: 0 !important;
  float: none !important;
  position: relative !important;
}

/* Hide register in header */
.pkp_structure_head #navigationUser > li > a[href*="/user/register"],
.pkp_structure_head #navigationUser > li:has(> a[href*="/user/register"]) {
  display: none !important;
}

/* Login pill */
body:not(.is_site_context) .pkp_structure_head #navigationUser > li > a[href*="/login"]:not([href*="signOut"]):not([href*="lostPassword"]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  height: 2.35rem !important;
  margin: 0 !important;
  padding: 0 1.15rem !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 2px solid #ffffff !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body:not(.is_site_context) .pkp_structure_head #navigationUser > li > a[href*="/login"]:not([href*="signOut"]):not([href*="lostPassword"]):hover,
body:not(.is_site_context) .pkp_structure_head #navigationUser > li > a[href*="/login"]:not([href*="signOut"]):not([href*="lostPassword"]):focus {
  color: #114D61 !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  text-decoration: none !important;
}

/* Account dropdown panel opens from top-right */
.pkp_structure_head #navigationUser > li > ul,
.pkp_structure_head .pkp_navigation_user > li > ul,
.pkp_structure_head .pkp_navigation_user .dropdown-menu {
  right: 0 !important;
  left: auto !important;
  top: 100% !important;
}

@media (max-width: 991px) {
  /* On mobile, user nav lives inside open menu — don't float over logo */
  body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper,
  body:not(.is_site_context) .pkp_structure_head #navigationUserWrapper,
  .pkp_structure_head .pkp_navigation_user_wrapper,
  .pkp_structure_head #navigationUserWrapper {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    padding: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  /* Hamburger / menu toggle → top-right (pojok kanan atas) */
  .pkp_structure_head .pkp_site_nav_toggle {
    left: auto !important;
    right: 0 !important;
  }
  .pkp_structure_head .pkp_site_name {
    left: 0 !important;
    right: 3.5rem;
    padding-right: 3.5rem !important;
    padding-left: 0.75rem !important;
  }
}
/* ===== END User nav TOP-RIGHT ===== */
/* patched 20260722034000 */

/* ===== JTI v4: homepage banner + footer indexing left (20260724042831) ===== */
.page_index_journal .homepage_image {
  margin: 0 0 1.25rem 0 !important;
}
.page_index_journal .homepage_image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
.jti_footer .jti_footer_main {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 1.5rem !important;
}
.jti_footer .jti_footer_brand {
  order: 1 !important;
  flex: 1 1 320px !important;
  max-width: 560px !important;
}
.jti_footer .jti_footer_journal.pkp_footer_content {
  order: 2 !important;
  flex: 1 1 280px !important;
  max-width: 560px !important;
}
.jti_footer .jti_footer_indexing_left {
  margin: 0.85rem 0 !important;
}
.jti_footer .jti_footer_indexing_label {
  margin: 0 0 0.4rem 0 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
}
.jti_footer .jti_footer_indexing_img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}
/* Do not show images inside right pageFooter column */
.jti_footer .jti_footer_journal.pkp_footer_content > p img,
.jti_footer .jti_footer_journal.pkp_footer_content img:not(.asteec-hit-digit) {
  /* allow only if somehow present - hide remote indexing leftovers */
}
.jti_footer .jti_footer_journal img[alt*="indexing" i],
.jti_footer .jti_footer_journal img[src*="indexing"] {
  display: none !important;
}
@media (max-width: 767px) {
  .jti_footer .jti_footer_brand,
  .jti_footer .jti_footer_journal.pkp_footer_content {
    max-width: 100% !important;
    flex-basis: 100% !important;
  }
}
/* ===== END JTI v4 ===== */

/* ===== JTI v5: teal theme + hide footer image (20260724054700) ===== */
:root {
  --jti-primary: #114D61 !important;
  --jti-primary-dark: #166278 !important;
  --jti-primary-darker: #0C3B4A !important;
  --jti-ink: #ffffff !important;
}

/* Ensure chrome uses teal everywhere */
.pkp_structure_head,
.pkp_structure_head .pkp_head_wrapper,
.pkp_site_nav_menu,
.pkp_navigation_primary_row,
.pkp_navigation_primary_wrapper,
.pkp_structure_footer_wrapper.jti_footer,
.jti_footer,
.pkp_structure_head .pkp_nav_list ul,
.pkp_structure_head .pkp_navigation_primary ul,
.pkp_structure_head .pkp_navigation_user ul,
.pkp_structure_head .dropdown-menu {
  background-color: #114D61 !important;
  background: #114D61 !important;
}

.pkp_structure_head .pkp_nav_list ul a:hover,
.pkp_structure_head .pkp_nav_list ul a:focus,
.pkp_structure_head .pkp_navigation_primary ul a:hover,
.pkp_structure_head .pkp_navigation_primary ul a:focus,
.pkp_structure_head .pkp_navigation_user ul a:hover,
.pkp_structure_head .pkp_navigation_user ul a:focus,
.pkp_structure_head .dropdown-menu a:hover,
.pkp_structure_head .dropdown-menu a:focus {
  background: #166278 !important;
}

.pkp_structure_head .pkp_nav_list ul ul {
  background: #166278 !important;
  border-color: #0C3B4A !important;
}
.pkp_structure_head .pkp_nav_list ul ul a:hover,
.pkp_structure_head .pkp_nav_list ul ul a:focus {
  background: #0C3B4A !important;
}

/* Login pill hover text uses primary */
body:not(.is_site_context) .pkp_structure_head #navigationUser > li > a[href*="/login"]:not([href*="signOut"]):not([href*="lostPassword"]):hover,
body:not(.is_site_context) .pkp_structure_head #navigationUser > li > a[href*="/login"]:not([href*="signOut"]):not([href*="lostPassword"]):focus {
  color: #114D61 !important;
}

/* Content links, buttons, accents */
.pkp_structure_main a,
.pkp_structure_content a,
.obj_article_summary .title a,
.obj_issue_toc a.title,
.obj_issue_summary .title a,
.cmp_breadcrumbs a,
.pkp_block a {
  color: #114D61 !important;
}
.pkp_structure_main a:hover,
.pkp_structure_content a:hover,
.obj_article_summary .title a:hover,
.obj_issue_toc a.title:hover {
  color: #0C3B4A !important;
}

.cmp_button,
button.cmp_button,
a.cmp_button,
input.cmp_button,
.pkp_structure_main .cmp_button,
.pkp_search button,
button[type="submit"] {
  background: #114D61 !important;
  background-color: #114D61 !important;
  border-color: #114D61 !important;
  color: #ffffff !important;
}
.cmp_button:hover,
a.cmp_button:hover,
button.cmp_button:hover,
.pkp_search button:hover,
button[type="submit"]:hover {
  background: #166278 !important;
  background-color: #166278 !important;
  border-color: #166278 !important;
  color: #ffffff !important;
}

.pkp_block .title,
.pkp_block > .title,
span.title {
  color: #114D61 !important;
  border-color: #114D61 !important;
}

/* Pagination / tabs */
.cmp_pagination a,
.ui-tabs .ui-tabs-nav li.ui-tabs-active a,
.ui-tabs .ui-tabs-nav li a:hover {
  color: #114D61 !important;
}
.cmp_pagination .current {
  background: #114D61 !important;
  color: #ffffff !important;
}

/* Mobile nav toggle */
.pkp_structure_head .pkp_site_nav_toggle {
  color: #ffffff !important;
}
.pkp_structure_head .pkp_site_nav_toggle:before,
.pkp_structure_head .pkp_site_nav_toggle:after,
.pkp_structure_head .pkp_site_nav_toggle span {
  background: #ffffff !important;
}

/* Hide footer indexing image completely */
.jti_footer .jti_footer_indexing,
.jti_footer .jti_footer_indexing_left,
.jti_footer .jti_footer_indexing_img,
.jti_footer img[src*="indexing"],
.jti_footer img[alt*="indexing" i],
.jti_footer img[src*="Footer_Journal"] {
  display: none !important;
}
/* ===== END JTI v5 ===== */

/* ===== JTI v6: hit under office + favicon cache (20260724055305) ===== */
.jti_footer .jti_footer_brand .jti_footer_hit.asteec_hit_wrap,
.jti_footer .jti_footer_hit {
  margin-top: 0.85rem !important;
  display: block !important;
}
.jti_footer .jti_footer_journal .asteec_hit_wrap {
  display: none !important; /* safety: hit only under office */
}
/* ===== END JTI v6 ===== */

/* ===== JTI: account icon dropdown (IJICOM/ASTEEC pattern, teal #114D61) ===== */

/* Allow dropdown to escape header / nav wrappers */
body .pkp_structure_head,
body .pkp_structure_head .pkp_head_wrapper,
body .pkp_structure_head .pkp_navigation_user_wrapper,
body .pkp_structure_head #navigationUserWrapper,
body .pkp_structure_head #navigationUser,
body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper,
body:not(.is_site_context) .pkp_structure_head #navigationUser {
  overflow: visible !important;
}

/* Account item anchors the dropdown at the top-right icon */
#navigationUser.pkp_navigation_user > li.asteec_account_item {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
  min-height: 2.35rem;
  overflow: visible !important;
  float: none !important;
}

/* Hide theme caret/arrow beside account icon */
#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger[aria-haspopup]:after,
#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger:after,
.pkp_nav_list > li.asteec_account_item > a[aria-haspopup]:after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.2rem 0.35rem !important;
  line-height: 1 !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-sizing: border-box;
  font-size: 0 !important; /* hide any leftover username text */
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger:hover,
#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger:focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  outline: none !important;
}

#navigationUser .asteec_account_icon {
  font-size: 1.55rem !important;
  line-height: 1 !important;
  color: inherit !important;
}

#navigationUser .asteec_account_task_count {
  position: absolute;
  top: -0.15rem;
  right: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #ff3b4a;
  color: #ffffff !important;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(17, 77, 97, 0.35);
  z-index: 1;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger .task_count {
  display: none !important;
}

/*
 * Dropdown panel — right-aligned under the account icon
 */
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul.asteec_account_dropdown,
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul.dropdown-menu,
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul {
  display: none;
  position: absolute !important;
  top: calc(100% + 0.45rem) !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  will-change: auto !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0.7rem 0.55rem !important;
  min-width: 15rem;
  width: max-content;
  max-width: min(18rem, calc(100vw - 1rem));
  border: none !important;
  border-radius: 0.85rem !important;
  background-color: #114D61 !important;
  background-image: none !important;
  box-shadow: 0 14px 32px rgba(8, 40, 52, 0.42) !important;
  text-align: left !important;
  z-index: 3000 !important;
  overflow: visible !important;
}

/* Click-only: never open on hover / focus-within / bootstrap .show */
#navigationUser.pkp_navigation_user > li.asteec_account_item:hover:not(.is-open) > ul,
#navigationUser.pkp_navigation_user > li.asteec_account_item:focus-within:not(.is-open) > ul,
#navigationUser.pkp_navigation_user > li.asteec_account_item.show:not(.is-open) > ul,
#navigationUser.pkp_navigation_user > li.asteec_account_item:not(.is-open) > ul.show {
  display: none !important;
}

/* Open only when JS adds .is-open on the account li */
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open > ul,
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open > ul.asteec_account_dropdown,
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open > ul.dropdown-menu,
#navigationUser li.asteec_account_item.is-open > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  top: calc(100% + 0.25rem) !important;
  right: 0 !important;
  left: auto !important;
  transform: none !important;
  will-change: auto !important;
  z-index: 4000 !important;
  pointer-events: auto !important;
  clip: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Extra specificity: show when .is-open even if Bootstrap also toggles .show */
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open.show > ul,
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open > ul.show,
#navigationUser.pkp_navigation_user > li.asteec_account_item.is-open.show > ul.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
  z-index: 4000 !important;
}

#navigationUser.pkp_nav_list > li.asteec_account_item.is-open > ul,
.pkp_nav_list > li.asteec_account_item.is-open > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  z-index: 4000 !important;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a.asteec_account_dropdown_link,
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0.1rem 0 !important;
  padding: 0.78rem 1rem !important;
  border-radius: 0.55rem !important;
  border-left: none !important;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a:hover,
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a:focus,
#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a:active {
  color: #ffffff !important;
  background: #0c3a4a !important;
  outline: none !important;
  text-decoration: none !important;
}

#navigationUser .asteec_user_menu_icon {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  text-align: center;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  color: #ffffff !important;
  opacity: 0.97;
}

#navigationUser .asteec_user_menu_label {
  flex: 1 1 auto;
  min-width: 0;
  color: inherit !important;
}

#navigationUser.pkp_navigation_user > li.asteec_account_item > ul a .task_count {
  display: none !important;
}

/* Mobile: keep account icon top-right (left of hamburger), like IJSR */
@media (max-width: 991px) {
  body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper:has(.asteec_account_item),
  body:not(.is_site_context) .pkp_structure_head #navigationUserWrapper:has(.asteec_account_item),
  .pkp_structure_head .pkp_navigation_user_wrapper:has(.asteec_account_item),
  .pkp_structure_head #navigationUserWrapper:has(.asteec_account_item) {
    position: absolute !important;
    top: 0.55rem !important;
    right: 3.25rem !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    z-index: 1001 !important;
    overflow: visible !important;
  }

  #navigationUser.pkp_navigation_user:has(.asteec_account_item) {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: visible !important;
  }

  #navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger {
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.35rem !important;
  }

  #navigationUser .asteec_account_icon {
    font-size: 1.75rem !important;
  }

  #navigationUser.pkp_navigation_user > li.asteec_account_item > ul,
  #navigationUser.pkp_navigation_user > li.asteec_account_item.is-open > ul {
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 0.4rem) !important;
    transform: none !important;
    min-width: 15rem;
    max-width: calc(100vw - 1.25rem);
    padding: 0.7rem 0.55rem !important;
  }

  #navigationUser.pkp_navigation_user > li.asteec_account_item > ul a {
    padding: 0.85rem 1rem !important;
    font-size: 1.05rem !important;
  }
}

@media (max-width: 767px) {
  body:not(.is_site_context) .pkp_structure_head .pkp_navigation_user_wrapper:has(.asteec_account_item),
  .pkp_structure_head .pkp_navigation_user_wrapper:has(.asteec_account_item) {
    top: 0.45rem !important;
    right: 3.1rem !important;
    padding-right: 0 !important;
  }

  #navigationUser.pkp_navigation_user > li.asteec_account_item > a.asteec_account_trigger {
    min-width: 2.85rem;
    min-height: 2.85rem;
  }
}

/* Click-only guard: defeat theme > li:hover ul for account menu */
.pkp_navigation_user > li.asteec_account_item:not(.is-open) > ul,
.pkp_navigation_user > li.asteec_account_item:hover:not(.is-open) > ul,
.pkp_navigation_user > li.asteec_account_item:focus-within:not(.is-open) > ul,
body .pkp_structure_head .pkp_navigation_user > li.asteec_account_item:hover:not(.is-open) > ul,
.pkp_nav_list > li.asteec_account_item:not(.is-open) > ul,
.pkp_nav_list > li.asteec_account_item:hover:not(.is-open) > ul {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  left: auto !important;
  right: 0 !important;
  transform: none !important;
  pointer-events: none !important;
}
/* ===== END JTI account icon dropdown ===== */

/* ===== FULL AUTHOR NAMES: submissions list (IJSR/IJICOM pattern) ===== */
.pkp_page_submissions .listPanel__itemSubtitle,
.pkp_page_workflow .listPanel__itemSubtitle,
.app__page .listPanel__itemSubtitle,
.listPanel__item--submission .listPanel__itemSubtitle {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.35 !important;
}
/* ===== END FULL AUTHOR NAMES ===== */
