/* Graxynet RANS Green v2.1.20
   Site-wide page design system + manuscript/article detail redesign. */

:root {
  --rans-v2120-green: #198754;
  --rans-v2120-dark: #0f5132;
  --rans-v2120-deep: #0b3d2e;
  --rans-v2120-soft: #eef8f1;
  --rans-v2120-soft2: #f8fcf9;
  --rans-v2120-border: #d7e9dd;
  --rans-v2120-text: #26352c;
  --rans-v2120-muted: #68766e;
  --rans-v2120-shadow: 0 12px 30px rgba(15,81,50,.08);
}

/* ------------------------------------------------------------------
   Shared page chrome
   ------------------------------------------------------------------ */
html body .cmp_breadcrumbs {
  margin: 0 0 18px !important;
  padding: 12px 16px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(15,81,50,.05) !important;
  color: var(--rans-v2120-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

html body .cmp_breadcrumbs a,
html body .cmp_breadcrumbs a:visited {
  color: var(--rans-v2120-green) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
html body .cmp_breadcrumbs a:hover,
html body .cmp_breadcrumbs a:focus {
  color: var(--rans-v2120-dark) !important;
  text-decoration: underline !important;
}

/* Standard page titles */
html body .page_issue_archive > .page_title,
html body .page_search > .page_title,
html body .page_announcement > .page_title,
html body .page_about > .page_title,
html body .page_submissions > .page_title,
html body .page_contact > .page_title,
html body .page_privacy > .page_title,
html body .page_login > .page_title,
html body .page_register > .page_title,
html body .page_user > .page_title {
  margin: 0 0 22px !important;
  padding: 18px 22px !important;
  border-left: 6px solid var(--rans-v2120-green) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--rans-v2120-shadow) !important;
  color: var(--rans-v2120-dark) !important;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
}

/* General static page content */
html body .page_about,
html body .page_submissions,
html body .page_contact,
html body .page_privacy,
html body .page_login,
html body .page_register,
html body .page_user,
html body .page_search,
html body .page_announcement,
html body .page_issue_archive {
  color: var(--rans-v2120-text) !important;
}

html body .page_about .page_content,
html body .page_submissions .page_content,
html body .page_contact .page_content,
html body .page_privacy .page_content,
html body .page_user .page_content {
  padding: 24px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--rans-v2120-shadow) !important;
}

html body .page_about h2,
html body .page_about h3,
html body .page_submissions h2,
html body .page_submissions h3,
html body .page_contact h2,
html body .page_contact h3,
html body .page_privacy h2,
html body .page_privacy h3 {
  color: var(--rans-v2120-dark) !important;
  font-weight: 700 !important;
}

/* ------------------------------------------------------------------
   Article/manuscript detail page
   ------------------------------------------------------------------ */
html body .obj_article_details {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  color: var(--rans-v2120-text) !important;
}

html body .obj_article_details > .page_title {
  margin: 0 0 12px !important;
  padding: 22px 26px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-left: 7px solid var(--rans-v2120-green) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg,#fff 0%,#fbfefc 100%) !important;
  box-shadow: var(--rans-v2120-shadow) !important;
  color: #18271f !important;
  text-align: left !important;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: -.2px !important;
  overflow-wrap: anywhere !important;
}

html body .obj_article_details > .subtitle {
  margin: -2px 0 16px !important;
  padding: 0 26px !important;
  color: var(--rans-v2120-muted) !important;
  text-align: left !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

/* DOI under the title */
html body .obj_article_details > .item.doi,
html body .obj_article_details .item.doi {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 0 22px !important;
  padding: 9px 14px !important;
  border: 1px solid #f1d59c !important;
  border-radius: 999px !important;
  background: #fffaf0 !important;
  text-align: left !important;
  box-shadow: none !important;
}

html body .obj_article_details .item.doi .value {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
html body .obj_article_details .doi .ai-doi {
  font-size: 20px !important;
}
html body .obj_article_details .doi a,
html body .obj_article_details .doi a:visited {
  color: #8b5a00 !important;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

/* Main manuscript layout */
html body .obj_article_details > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  gap: 28px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  align-items: start !important;
}

html body .obj_article_details .main_entry,
html body .obj_article_details .entry_details {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
}

html body .obj_article_details .main_entry {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

/* Every manuscript content section becomes a readable card */
html body .obj_article_details .main_entry > .item,
html body .obj_article_details .main_entry > section.item,
html body .obj_article_details .main_entry .accordion {
  margin: 0 !important;
  padding: 22px 24px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15,81,50,.06) !important;
}

html body .obj_article_details .main_entry .item > .label,
html body .obj_article_details .main_entry .item .label,
html body .obj_article_details .main_entry .card-heading .label {
  display: block !important;
  width: auto !important;
  margin: 0 0 14px !important;
  padding: 0 0 9px !important;
  border: 0 !important;
  border-bottom: 2px solid var(--rans-v2120-green) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--rans-v2120-dark) !important;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: .45px !important;
  text-transform: uppercase !important;
}

/* Authors */
html body .obj_article_details .main_entry .item.authors {
  padding-bottom: 18px !important;
}
html body .obj_article_details .main_entry ul.authors {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body .obj_article_details .main_entry ul.authors > li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #e1eee5 !important;
  border-radius: 12px !important;
  background: var(--rans-v2120-soft2) !important;
}
html body .obj_article_details .authors .name {
  display: block !important;
  margin-bottom: 6px !important;
  color: #17271e !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
html body .obj_article_details .authors .email,
html body .obj_article_details .authors .article-details-author-affiliation,
html body .obj_article_details .authors .orcid {
  display: block !important;
  margin-top: 4px !important;
  color: #526258 !important;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
}
html body .obj_article_details .authors a,
html body .obj_article_details .authors a:visited {
  color: var(--rans-v2120-green) !important;
  text-decoration: none !important;
}

/* Keywords */
html body .obj_article_details .main_entry .item.keywords .value {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: var(--rans-v2120-soft) !important;
  color: var(--rans-v2120-dark) !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

/* Abstract */
html body .obj_article_details .main_entry .item.abstract,
html body .obj_article_details .main_entry .item.abstract * {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
}
html body .obj_article_details .main_entry .item.abstract {
  color: #34463b !important;
  font-size: 15px !important;
  line-height: 1.82 !important;
  text-align: left !important;
}
html body .obj_article_details .main_entry .item.abstract p,
html body .obj_article_details .main_entry .item.abstract div,
html body .obj_article_details .main_entry .item.abstract span {
  color: #34463b !important;
  font-size: 15px !important;
  line-height: 1.82 !important;
}

/* References accordion */
html body .obj_article_details .main_entry .accordion {
  padding: 0 !important;
  overflow: hidden !important;
}
html body .obj_article_details .main_entry .accordion .item.references {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .obj_article_details .references .card-heading {
  margin: 0 !important;
  padding: 0 !important;
}
html body .obj_article_details .references .card-heading a,
html body .obj_article_details .references .card-heading a:visited {
  display: block !important;
  padding: 16px 20px !important;
  background: var(--rans-v2120-dark) !important;
  color: #fff !important;
  text-decoration: none !important;
}
html body .obj_article_details .references .card-heading .label {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
}
html body .obj_article_details .references .value {
  padding: 20px 22px !important;
  color: #46564d !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}
html body .obj_article_details .references .value p {
  margin: 0 0 12px !important;
}

/* Manuscript metadata column */
html body .obj_article_details .entry_details {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  position: sticky !important;
  top: 18px !important;
}
html body .obj_article_details .entry_details > .item {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15,81,50,.06) !important;
  overflow: hidden !important;
}
html body .obj_article_details .entry_details .item > .label,
html body .obj_article_details .entry_details .sub_item:first-child > .label,
html body .obj_article_details .entry_details .sub_item .label {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rans-v2120-border) !important;
  background: var(--rans-v2120-soft) !important;
  color: var(--rans-v2120-dark) !important;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: .45px !important;
  text-transform: uppercase !important;
}
html body .obj_article_details .entry_details .item > .value,
html body .obj_article_details .entry_details .sub_item .value {
  padding: 14px !important;
  color: #435249 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* Cover */
html body .obj_article_details .entry_details .item.cover_image {
  padding: 16px !important;
  background: linear-gradient(180deg,#f7fcf8 0%,#eef8f1 100%) !important;
}
html body .obj_article_details .entry_details .cover_image .sub_item {
  padding: 0 !important;
}
html body .obj_article_details .entry_details .cover_image img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 280px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.11) !important;
}

/* PDF / galleys */
html body .obj_article_details .entry_details .item.galleys {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
html body .obj_article_details .entry_details .item.galleys .galleys_links,
html body .obj_article_details .entry_details .galleys_links {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body .obj_article_details .entry_details .galleys_links > li {
  margin: 0 0 8px !important;
}
html body .obj_article_details .entry_details .galleys_links a,
html body .obj_article_details .entry_details .galleys_links a:visited,
html body .obj_article_details .entry_details .obj_galley_link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 44px !important;
  padding: 10px 16px !important;
  border: 1px solid var(--rans-v2120-green) !important;
  border-radius: 10px !important;
  background: var(--rans-v2120-green) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(25,135,84,.16) !important;
}
html body .obj_article_details .entry_details .galleys_links a:hover,
html body .obj_article_details .entry_details .galleys_links a:focus {
  background: var(--rans-v2120-dark) !important;
  border-color: var(--rans-v2120-dark) !important;
}

/* ------------------------------------------------------------------
   Issue archive
   ------------------------------------------------------------------ */
html body .page_issue_archive .issues_archive {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body .page_issue_archive .issues_archive > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body .page_issue_archive .obj_issue_summary {
  height: 100% !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-left: 5px solid var(--rans-v2120-green) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: var(--rans-v2120-shadow) !important;
}
html body .page_issue_archive .obj_issue_summary .title,
html body .page_issue_archive .obj_issue_summary .title a {
  color: var(--rans-v2120-dark) !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
html body .page_issue_archive .obj_issue_summary .description {
  color: var(--rans-v2120-muted) !important;
  line-height: 1.7 !important;
}

/* ------------------------------------------------------------------
   Announcements list/detail
   ------------------------------------------------------------------ */
html body .page_announcement .cmp_announcements,
html body .page_announcement .obj_announcement_full {
  padding: 0 !important;
  background: transparent !important;
}
html body .page_announcement .obj_announcement_summary,
html body .page_announcement .obj_announcement_full {
  margin: 0 0 18px !important;
  padding: 20px 22px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: var(--rans-v2120-shadow) !important;
}
html body .page_announcement .obj_announcement_summary h2,
html body .page_announcement .obj_announcement_summary h3,
html body .page_announcement .obj_announcement_full h1,
html body .page_announcement .obj_announcement_full h2 {
  color: var(--rans-v2120-dark) !important;
  font-weight: 700 !important;
}

/* ------------------------------------------------------------------
   Search page
   ------------------------------------------------------------------ */
html body .page_search .search_input,
html body .page_search .search_advanced,
html body .page_search form {
  margin-bottom: 20px !important;
  padding: 20px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 14px !important;
  background: var(--rans-v2120-soft2) !important;
}
html body .page_search .search_results > li,
html body .page_search .obj_article_summary {
  margin-bottom: 16px !important;
  padding: 18px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 7px 18px rgba(15,81,50,.05) !important;
}

/* ------------------------------------------------------------------
   Forms / login / register / submissions
   ------------------------------------------------------------------ */
html body .page_login form,
html body .page_register form,
html body .page_submissions form,
html body .page_contact form,
html body .pkp_form {
  max-width: 100% !important;
}
html body .page_login form,
html body .page_register form {
  padding: 24px !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--rans-v2120-shadow) !important;
}
html body input[type="text"],
html body input[type="email"],
html body input[type="password"],
html body input[type="url"],
html body input[type="search"],
html body select,
html body textarea {
  border: 1px solid #cfe0d5 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #26352c !important;
  box-shadow: none !important;
}
html body input[type="text"]:focus,
html body input[type="email"]:focus,
html body input[type="password"]:focus,
html body input[type="url"]:focus,
html body input[type="search"]:focus,
html body select:focus,
html body textarea:focus {
  border-color: var(--rans-v2120-green) !important;
  box-shadow: 0 0 0 3px rgba(25,135,84,.10) !important;
  outline: none !important;
}

/* ------------------------------------------------------------------
   Tables and long page content
   ------------------------------------------------------------------ */
html body .pkp_structure_main table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid var(--rans-v2120-border) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}
html body .pkp_structure_main table th {
  background: var(--rans-v2120-dark) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
html body .pkp_structure_main table td,
html body .pkp_structure_main table th {
  padding: 10px 12px !important;
  border-color: #e3ede6 !important;
}
html body .pkp_structure_main table tr:nth-child(even) td {
  background: #f8fcf9 !important;
}

/* Suppress old sidebar divider everywhere. */
html body .pkp_structure_sidebar,
html body .pkp_structure_sidebar::before,
html body .pkp_structure_sidebar:before {
  border-left: 0 !important;
  border-right: 0 !important;
}
html body .pkp_structure_sidebar::before,
html body .pkp_structure_sidebar:before {
  display: none !important;
  content: none !important;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  html body .obj_article_details > .row {
    grid-template-columns: minmax(0, 1fr) 270px !important;
    gap: 20px !important;
  }
  html body .obj_article_details .main_entry ul.authors {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  html body .cmp_breadcrumbs {
    padding: 10px 12px !important;
    font-size: 11.5px !important;
    overflow-wrap: anywhere !important;
  }

  html body .obj_article_details > .page_title {
    padding: 18px 17px !important;
    border-left-width: 5px !important;
    border-radius: 12px !important;
    font-size: clamp(23px, 7vw, 30px) !important;
    line-height: 1.22 !important;
  }
  html body .obj_article_details > .subtitle {
    padding: 0 18px !important;
    font-size: 15px !important;
  }
  html body .obj_article_details > .item.doi,
  html body .obj_article_details .item.doi {
    width: 100% !important;
    border-radius: 10px !important;
  }

  html body .obj_article_details > .row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  html body .obj_article_details .entry_details {
    position: static !important;
    order: -1 !important;
  }
  html body .obj_article_details .main_entry > .item,
  html body .obj_article_details .main_entry > section.item,
  html body .obj_article_details .main_entry .accordion {
    padding: 18px 16px !important;
    border-radius: 12px !important;
  }
  html body .obj_article_details .main_entry ul.authors {
    grid-template-columns: 1fr !important;
  }
  html body .obj_article_details .entry_details .cover_image img {
    max-height: 230px !important;
  }

  html body .page_issue_archive .issues_archive {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body .page_about .page_content,
  html body .page_submissions .page_content,
  html body .page_contact .page_content,
  html body .page_privacy .page_content,
  html body .page_user .page_content,
  html body .page_login form,
  html body .page_register form {
    padding: 18px 15px !important;
    border-radius: 12px !important;
  }

  html body .pkp_structure_main table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
