@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

html body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #161616;
}

body .pkp_site_name .is_img {
  outline: none !important;
  position: relative;
  z-index: 3333;
}

body .pkp_site_nav_toggle {
  outline: none !important;
}

body .pkp_site_nav_menu {
  background-color: transparent !important;
}

body .pkp_navigation_user_wrapper {
  top: 24px !important;
}

body .pkp_structure_head {
  border: none;
}

body .pkp_structure_main::before {
  display: none;
}

body .pkp_structure_main::after {
  display: none;
}

body .block_make_submission_link {
  display: inline-flex;
  min-width: 240px;
  align-items: center;
  justify-content: center;
  height: 44px;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  background: #03c988;
  border-radius: 44px;
  border: none;
}

body .pkp_block {
  padding: 0;
}

body .pkp_block .content {
  text-align: right;
}

body .cmp_breadcrumbs {
  display: none !important;
}

body .cmp_breadcrumbs a {
  font-size: 13px;
  color: #161616;
}

body .pkp_structure_footer_wrapper {
  color: #cccccc;
  background-color: transparent;
}

body .pkp_footer_content {
  background-color: #161616;
  border-radius: 24px;
  padding: 24px;
}

body .pkp_footer_content h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

body .pkp_footer_content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

body .pkp_footer_content p strong {
  font-weight: 400;
}

body .odmj-footer-top {
  display: flex;
  gap: 24px;
  background-color: #222222;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}

body .odmj-footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
}

body .odmj-footer-links a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
}

body .odmj-footer-links a:hover {
  color: rgba(255, 255, 255, 1);
}

body .page.page_login .cmp_breadcrumbs ol,
body .page.page_register .cmp_breadcrumbs ol {
  margin-bottom: 32px;
}

body .page.page_login h1,
body .page.page_register h1,
body .page.page_search h1,
body .page.page_submissions h1 {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 40px;
}

body .page.page_login > p,
body .page.page_register > p {
  font-size: 14px;
  margin: 0;
  margin-bottom: 24px;
}

body .page.page_login form,
body .page.page_register form {
  max-width: 100%;
  width: 100%;
  margin-bottom: 24px;
}

body .page.page_login .fields {
  display: flex;
  flex-wrap: wrap;
}

body .page.page_register .fields {
  display: flex;
  flex-direction: column;
}

body .page.page_login .fields > div {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
}

body .page.page_register .fields > div {
  flex: 1;
}

body .page.page_login .fields label a {
  display: block;
  font-size: 13px;
  color: #161616;
  opacity: 0.68;
  transition: all 0.3s;
}

body .page.page_register .fields label a {
  font-size: 13px;
  color: #161616;
  opacity: 0.68;
  transition: all 0.3s;
}

body .page.page_login .fields label a:hover,
body .page.page_register .fields label a:hover {
  opacity: 0.8;
}

body .page.page_login .fields label span,
body .page.page_register .fields label span {
  font-size: 13px;
  margin-bottom: 4px;
}

body .page.page_login .fields .remember,
body .page.page_register .fields .remember {
  top: -40px;
  padding-bottom: 0;
}

body .page.page_login .fields input,
body .page.page_register .fields input,
body .page.page_register .fields select {
  height: 33px;
  background-color: #eeeeee;
  border-radius: 33px;
  border: none;
  outline: none;
}

body .page.page_register .fields select {
  appearance: none;
  -webkit-appearance: none;
}

body input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 14px !important;
  height: 14px !important;

  border: 1px solid #767676 !important;
  border-radius: 2px !important;

  background: white !important;
  cursor: pointer !important;

  display: inline-grid !important;
  place-content: center !important;

  transition: 0.2s !important;

  position: relative;
  top: -1px;
}

body input[type="checkbox"]:checked {
  background: #03c988 !important;
  border-color: #03c988 !important;
}

body input[type="checkbox"]::before {
  content: "" !important;
  width: 5px !important;
  height: 10px !important;

  border: solid white !important;
  border-width: 0 2px 2px 0 !important;

  transform: rotate(45deg) scale(0) !important;
  transition: transform 0.15s ease !important;
  margin-top: -2px;
}

body input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1) !important;
}

body input[type="checkbox"]:focus-visible {
  outline: 2px solid #007bff !important;
  outline-offset: 2px !important;
}

body input[type="checkbox"]:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

body .page.page_login .fields input[type="checkbox"],
body .page.page_register .fields input[type="checkbox"] {
  height: auto;
  color: #03c988;
}

body .page.page_login .fields input[type="checkbox"] + span,
body .page.page_register .fields input[type="checkbox"] + span {
  margin-bottom: 0;
}

body .page.page_login .fields div.buttons,
body .page.page_register .fields div.buttons {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
}

body .page.page_login .fields div.buttons .register,
body .page.page_register .fields div.buttons .login {
  margin-right: 24px;
}

body .page.page_login .fields div.buttons .submit {
  display: inline-flex;
  min-width: 114px;
  align-items: center;
  justify-content: center;
  height: 33px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  background: #03c988;
  border-radius: 33px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

body .page.page_login div.buttons .submit:hover {
  opacity: 0.8;
}

body .page.page_register div.buttons .submit {
  display: inline-flex;
  min-width: 114px;
  align-items: center;
  justify-content: center;
  height: 33px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  background: #03c988;
  border-radius: 33px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

body .page.page_register div.buttons .submit:hover {
  opacity: 0.8;
}

body .page.page_login .fields div.buttons a,
body .page.page_register div.buttons a {
  font-size: 13px;
  color: #161616;
}

body .pkp_structure_main {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 24px;
}

body .pkp_structure_main h1,
body .pkp_structure_main h2,
body .pkp_structure_main h3,
body .pkp_structure_main h4 {
  font-family: "Inter", sans-serif;
}

body .page_search .cmp_form {
  border: none;
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

body .page_search .search_input .query {
  border: none;
  background-color: #eeeeee;
  box-shadow: none;
  height: 45px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #757575;
  font-weight: 400;
  border-radius: 45px;
  padding: 0 14px;
}

body .page_search .search_advanced {
  background-color: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
}

body .page_search .search_input {
  margin-bottom: 35px;
}

body .page_search .search_advanced legend {
  font-size: 16px;
  color: #161616;
  font-weight: 700;
  margin-bottom: 22px;
}

body .page_search .search_advanced .from legend,
body .page_search .search_advanced .to legend,
body .page_search .search_advanced label {
  font-size: 14px;
  color: #161616;
  font-weight: 400;
  margin-bottom: 4px;
}

body .page_search .search_advanced input[type="text"],
body .page_search .search_advanced select {
  height: 33px;
  background-color: #eeeeee;
  border-radius: 33px;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

body .page_search div.submit {
  text-align: right;
}

body .page_search button.submit {
  display: inline-flex;
  min-width: 195px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 33px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  background: #03c988;
  border-radius: 33px;
  border: none;
  padding: 0 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
}

body .page_search button.submit:hover {
  opacity: 0.8;
}

body .page_search button.submit::before {
  content: "\f002";
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: 14px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  width: auto;
  height: auto;
  line-height: 1;
  background-color: transparent;
  position: relative;
  top: -1px;
}

body .page_search button.submit::after {
  display: none !important;
}

@media (min-width: 768px) and (max-width: 991px) {
  body .pkp_block .content {
    text-align: left;
    margin-bottom: 24px;
  }
}

body .cmp_notification {
  background-color: rgba(221, 221, 221, 0.25);
  border-color: #03c988;
}

body .cmp_notification a {
  color: #161616;
  transition: all 0.3s;
}

body .cmp_notification a:hover {
  opacity: 0.8;
}

body .page_search .search_results .obj_article_summary {
  background-color: rgba(221, 221, 221, 0.25);
  border: none;
  border-left: 4px solid #03c988;
  border-radius: 0;
}

body .page_submissions p {
  font-size: 13px;
}

body .submission_checklist a {
  color: #161616;
  transition: all 0.3s;
}

body .submission_checklist a:hover {
  opacity: 0.8;
}

body .page.page_submissions {
  margin-bottom: 24px;
}

body .current_issue h2 {
  width: 33.333%;
  /* display: inline-block; */
  display: none;
  vertical-align: middle;
  font-size: 16px;
  color: #03c988;
  font-weight: 500;
  margin: 0;
}

body .current_issue .current_issue_title {
  width: 33.333%;
  /* display: inline-block; */
  display: none;
  vertical-align: middle;
  font-size: 16px;
  color: #161616;
  font-weight: 500 !important;
  margin: 0 !important;
}

body .obj_issue_toc {
  margin-bottom: 44px;
}

body .obj_issue_toc .heading {
  display: none;
}

body .obj_issue_toc .published {
  font-size: 14px;
  color: #161616;
  text-align: right;
  margin: 0;
  position: relative;
  top: -25px;
}

body .obj_issue_toc .published .label {
  font-weight: 400;
  font-style: italic;
}

body .obj_issue_toc .sections {
  margin: 0;
  margin-top: 34px;
}

body .obj_issue_toc .sections .section {
  padding: 0;
  margin: 0;
}

body .obj_issue_toc .sections .section::before {
  display: none;
}

body .obj_issue_toc .galleys > h2,
body .obj_issue_toc .section > h2,
body .obj_issue_toc .galleys > h3,
body .obj_issue_toc .section > h3 {
  font-family: "Inter", sans-serif;
  font-size: 60px;
  color: #161616;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 40px;
}

body .cmp_article_list.articles .obj_article_summary {
  border: none;
  box-shadow: none;
  padding: 0;
}

body .cmp_article_list.articles .obj_article_summary .title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

body .cmp_article_list.articles .obj_article_summary .meta {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

body .cmp_article_list.articles .obj_article_summary .meta .authors {
  margin-top: 0;
}

body .cmp_article_list.articles .obj_article_summary .title .subtitle {
  margin-top: 0;
}

body.pkp_page_index .current_issue .read_more {
  display: none;
  font-size: 13px;
  color: #03c988;
  font-weight: 700;
  margin-bottom: 0;
  transition: all 0.3s;
}

body.pkp_page_index .current_issue .read_more:hover {
  color: #03c988;
  opacity: 0.8;
}

body .obj_issue_toc .sections:not(:first-child) {
  /* margin-top: 40px; */
  margin-top: 0;
}

body .pkp_navigation_user > li > a {
  color: #161616;
  font-weight: 700;
}

body .pkp_navigation_user > li > a:hover {
  color: #161616;
}

body .pkp_navigation_user > li .dropdown-menu {
  /* display: block !important;
  left: 0 !important; */
  padding-top: 4px;
  padding-bottom: 4px;
}

body .pkp_navigation_user > li .dropdown-menu li a {
  display: block !important;
  color: #161616;
  border-radius: 0;
  padding: 4px 8px;
}

body .pkp_navigation_user > li .dropdown-menu li a:hover,
body .pkp_navigation_user > li .dropdown-menu li a:focus {
  border-color: #03c988;
  background-color: #eeeeee;
}

body .pkp_navigation_user > li > a:focus {
  background-color: transparent !important;
  color: #161616;
}

body .pkp_navigation_primary > li > a {
  color: #161616;
  font-weight: 700;
  transition: all 0.3s;
}

body .pkp_navigation_primary > li > a:hover {
  color: #161616;
  opacity: 0.8;
}

body .pkp_navigation_primary > li > a:focus {
  background-color: transparent !important;
  color: #161616;
}

body .pkp_navigation_search_wrapper a {
  background-color: transparent !important;
  color: #161616;
  transition: all 0.3s;
}

body .pkp_navigation_search_wrapper a:hover {
  color: #161616;
  opacity: 0.8;
}

body .pkp_navigation_search_wrapper a:focus {
  background-color: transparent !important;
  color: #161616;
}

:root {
  --err-ink: #8f1d1d;
  --err-accent: #c62828;
  --err-tint: #fdf3f2;
  --err-line: #f2c4c0;
  --err-focus: #161616;
}

.cmp_form #formErrors {
  position: relative;
  max-width: 44rem;
  margin: 0 0 2rem;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: var(--err-tint);
  border: 1px solid var(--err-line);
  border-left: 4px solid var(--err-accent);
  border-radius: 6px;
  color: var(--err-ink);
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.cmp_form #formErrors::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 1.1rem;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--err-accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.5 1.5 21h21L12 2.5zm0 5.2 7.1 11.8H4.9L12 7.7zM11 11h2v4h-2zm0 5h2v2h-2z"/></svg>')
    center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2.5 1.5 21h21L12 2.5zm0 5.2 7.1 11.8H4.9L12 7.7zM11 11h2v4h-2zm0 5h2v2h-2z"/></svg>')
    center / contain no-repeat;
}

.cmp_form #formErrors .pkp_form_error {
  display: block;
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--err-ink);
  background-color: transparent;
}

.cmp_form #formErrors .pkp_form_error_list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.cmp_form #formErrors .pkp_form_error_list li {
  margin: 0.3rem 0;
}

.cmp_form #formErrors .pkp_form_error_list li::marker {
  color: var(--err-accent);
}

.cmp_form #formErrors .pkp_form_error_list a {
  color: var(--err-ink);
  text-decoration: underline;
  text-decoration-color: var(--err-line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  border-radius: 2px;
  transition: text-decoration-color 120ms ease;
}

.cmp_form #formErrors .pkp_form_error_list a:hover {
  text-decoration-color: var(--err-accent);
}

.cmp_form #formErrors .pkp_form_error_list a:focus-visible {
  outline: 2px solid var(--err-focus);
  outline-offset: 2px;
  text-decoration: none;
}

.cmp_form input:target,
.cmp_form select:target,
.cmp_form textarea:target {
  border: 1.5px solid var(--err-accent) !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.18);
  scroll-margin-top: 6rem;
}

.cmp_form .error input,
.cmp_form input.error,
.cmp_form select.error,
.cmp_form textarea.error {
  border: 1.5px solid var(--err-accent) !important;
}

/* ==========================================================================
   OJS mobile navigation — open state (v2)
   Scope: ONLY nav.pkp_site_nav_menu--isOpen and its children.
   Header, logo and hamburger toggle are not touched.
   Paste into: Settings → Website → Appearance → Advanced → Journal style sheet
   ========================================================================== */

:root {
  --mnav-ink: #161616;
  --mnav-muted: #5c5c5c;
  --mnav-line: #e6e6e6;
  --mnav-hover: #f4f4f4;
  --mnav-focus: #161616;
  --mnav-backdrop: rgba(22, 22, 22, 0.45);
}

@media (max-width: 991px) {
  html:has(.pkp_site_nav_menu--isOpen),
  body:has(.pkp_site_nav_menu--isOpen) {
    overflow: hidden;
    overscroll-behavior: none;
  }

  nav.pkp_site_nav_menu.pkp_site_nav_menu--isOpen {
    padding: 0.5rem 0 0.75rem;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  nav.pkp_site_nav_menu.pkp_site_nav_menu--isOpen::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translateX(-50%);
    background: var(--mnav-backdrop);
    animation: mnav-backdrop 200ms ease-out;
    pointer-events: none;
  }

  @keyframes mnav-backdrop {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  nav.pkp_site_nav_menu--isOpen .pkp_navigation_primary_row,
  nav.pkp_site_nav_menu--isOpen .pkp_navigation_primary_wrapper,
  nav.pkp_site_nav_menu--isOpen .pkp_navigation_search_wrapper,
  nav.pkp_site_nav_menu--isOpen .pkp_navigation_user_wrapper,
  nav.pkp_site_nav_menu--isOpen .pkp_nav_list {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li {
    margin: 0;
    padding: 0;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a,
  nav.pkp_site_nav_menu--isOpen a.pkp_search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    color: var(--mnav-ink);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 120ms ease;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a:hover,
  nav.pkp_site_nav_menu--isOpen a.pkp_search:hover {
    background: var(--mnav-hover);
    text-decoration: none;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a:active,
  nav.pkp_site_nav_menu--isOpen a.pkp_search:active {
    background: var(--mnav-line);
  }

  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a:focus-visible,
  nav.pkp_site_nav_menu--isOpen a.pkp_search:focus-visible {
    outline: 2px solid var(--mnav-focus);
    outline-offset: -2px;
    text-decoration: none;
  }

  /* Current page marker */
  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li.current a,
  nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--mnav-ink);
    font-weight: 600;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_navigation_search_wrapper,
  nav.pkp_site_nav_menu--isOpen .pkp_navigation_user_wrapper {
    border-top: 1px solid var(--mnav-line);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
  }

  nav.pkp_site_nav_menu--isOpen a.pkp_search {
    color: var(--mnav-muted);
  }

  nav.pkp_site_nav_menu--isOpen a.pkp_search .fa {
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
    color: var(--mnav-muted);
  }

  nav.pkp_site_nav_menu--isOpen .pkp_navigation_user li.profile a {
    color: var(--mnav-muted);
    font-weight: 500;
  }

  nav.pkp_site_nav_menu--isOpen .pkp_navigation_user li.profile:first-child a {
    color: var(--mnav-ink);
    font-weight: 600;
  }

  @media (prefers-reduced-motion: reduce) {
    nav.pkp_site_nav_menu.pkp_site_nav_menu--isOpen::after {
      animation: none;
    }
    nav.pkp_site_nav_menu--isOpen .pkp_nav_list li a,
    nav.pkp_site_nav_menu--isOpen a.pkp_search {
      transition: none;
    }
  }
}

@media (max-width: 600px) {
  .cmp_form #formErrors {
    padding-left: 2.75rem;
    font-size: 0.875rem;
  }
  .cmp_form #formErrors::before {
    left: 0.85rem;
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp_form #formErrors .pkp_form_error_list a {
    transition: none;
  }
}

@media (max-width: 991px) {
  body .pkp_site_nav_menu {
    background-color: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  body .current_issue h2 {
    width: 50%;
    display: block;
  }

  body .current_issue .current_issue_title {
    width: 50%;
    display: block;
  }

  body .obj_issue_toc .published {
    top: -20px;
  }

  body .obj_issue_toc .sections:not(:first-child) {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  body .pkp_block .content {
    text-align: left;
    margin-bottom: 24px;
  }

  body .obj_issue_toc {
    margin-bottom: 16px;
  }

  body .page.page_login .fields > div,
  body .page.page_register .fields > div {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  body .page.page_login .fields .remember,
  body .page.page_register .fields .remember {
    top: auto;
    padding-bottom: 2.143rem;
  }

  body .odmj-footer-top {
    flex-direction: column;
  }

  body .odmj-footer-links {
    flex-wrap: wrap;
  }

  body .odmj-footer-links a {
    flex: 0 0 calc(50% - 6px);
    text-align: center;
  }

  body .current_issue h2 {
    width: 100%;
    display: block;
  }

  body .current_issue .current_issue_title {
    width: 100%;
    display: block;
  }

  body .obj_issue_toc .published {
    top: 0;
    text-align: left;
    margin-top: 16px;
  }

  body .obj_issue_toc .sections:not(:first-child) {
    margin-top: 32px;
  }
}
