@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800&family=Source+Serif+4:wght@400;500;600;700&display=swap");

/* Shared visual shell for Quarto-rendered JMNS article HTML.
   This does not modify manuscript text, figures, methods, results or references. */
:root {
  --jmns-primary: #12355f;
  --jmns-primary-dark: #102f5a;
  --jmns-accent: #e97324;
  --jmns-accent-light: #fff4eb;
  --jmns-bg-soft: #f8fafc;
  --jmns-border: #e4e7ec;
  --jmns-muted: #667085;
  --jmns-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --jmns-sans: "Source Sans 3", Arial, sans-serif;
  --jmns-navbar-offset: 5.5rem;
}

body {
  color: #344054;
  font-family: var(--jmns-sans);
  font-size: 17px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: #12355f;
  font-family: var(--jmns-serif);
}

a { color: #173d74; }
a:hover { color: #12355f; }

.article-title, .article-header h1, .quarto-title-block h1 { color: #12355f; }
.article-actions a, .jmns-format-links a { border-color: #b7c7d9; color: #12355f; }
.article-actions a:hover, .jmns-format-links a:hover { background: #f2f6fb; }


.jmns-next-nav { display: none !important; } /* Older embedded navigation */
.jmns-article-shell {
  /* The Quarto table of contents supplies in-article navigation.
     Keep the publisher bar in normal flow so it never obscures author details. */
  position: relative;
  top: auto;
  z-index: 1200;
  border-bottom: 1px solid #dce3ec;
  background: rgba(255,255,255,.985);
  box-shadow: 0 1px 8px rgba(18,53,95,.035);
}

.jmns-article-shell__inner {
  max-width: 1180px;
  min-height: 61px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.jmns-article-shell__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #12355f;
  text-decoration: none;
  font-family: var(--jmns-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.jmns-article-shell__brand img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.jmns-article-shell__links {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
}

.jmns-article-shell__links a {
  color: #475467;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}

.jmns-article-shell__links a:hover { color: #12355f; text-decoration: underline; text-underline-offset: 4px; }

.jmns-article-shell__links .jmns-article-shell__submit {
  padding: 8px 13px;
  border: 1px solid #12355f;
  background: #12355f;
  color: #fff;
  font-weight: 750;
}

.jmns-article-shell__links .jmns-article-shell__submit:hover { background: #173d74; color: #fff; text-decoration: none; }

.article-metadata, .jmns-article-citation { color: #667085; }
.abstract-box { background: #f8fafc; border-left-color: #e97324; }

@media (max-width: 780px) {
  .jmns-article-shell__inner { align-items: flex-start; flex-direction: column; gap: 8px; padding: 10px 16px; }
  .jmns-article-shell__brand { font-size: 15px; white-space: normal; }
  .jmns-article-shell__brand img { width: 32px; height: 32px; flex: 0 0 auto; }
  .jmns-article-shell__links { gap: 9px 18px; }
  .jmns-article-shell__links a { font-size: 12px; }
}
@media (max-width: 480px) {
  .jmns-article-shell__links a { font-size: 11.5px; }
  .jmns-article-shell__brand { font-size: 14px; }
  .jmns-article-shell__links { gap: 7px 12px; }
}


/* JMNS ARTICLE EDITORIAL REFRESH V2
   Presentation-only refinements: scientific figures and article content are unchanged. */

.jmns-article-shell__brand:hover {
  color: #12355f;
}

.jmns-article-shell a:focus-visible,
.jmns-article-formats a:focus-visible {
  outline: 3px solid #e97324;
  outline-offset: 3px;
}

.jmns-article-shell__links a {
  font-size: 13px;
  line-height: 1.5;
}

.jmns-article-shell__links .jmns-article-shell__submit {
  border-radius: 3px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.jmns-publication-notice {
  border-bottom: 1px solid #e7e0d4;
  background: #fbfaf7;
}

.jmns-publication-notice__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.jmns-publication-notice__status {
  flex: 0 0 auto;
  color: #78551f;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .6px;
  font-weight: 800;
}

.jmns-publication-notice__copy {
  flex: 1 1 340px;
  margin: 0;
  color: #5e6470;
  font-size: 13px;
  line-height: 1.6;
}

.jmns-article-formats {
  max-width: 1180px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 20px;
  border-bottom: 1px solid #e4e7ec;
}

.jmns-article-formats__label {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.jmns-article-formats a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #12355f;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 750;
  text-decoration: none;
}

.jmns-article-formats a:hover {
  color: #173d74;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.jmns-main-front-matter.article-header {
  margin-top: clamp(32px, 4vw, 55px);
  margin-bottom: clamp(32px, 4.2vw, 58px);
}

.jmns-main-front-matter .jmns-brand-masthead {
  margin-bottom: 25px;
  padding-top: 0;
  border-bottom-color: #e4e7ec;
}

.jmns-main-front-matter .jmns-journal-title {
  color: #12355f;
  font-family: var(--jmns-serif);
  font-weight: 600;
  line-height: 1.26;
}

.jmns-main-front-matter .jmns-brand-publisher {
  color: #667085;
  font-size: 12px;
  letter-spacing: .15px;
}

.jmns-main-front-matter h1.article-title {
  max-width: 1050px;
  margin-top: 13px;
  margin-bottom: 8px;
  color: #15263c !important;
  font-family: var(--jmns-serif);
  font-weight: 600;
  letter-spacing: -.65px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.jmns-main-front-matter .article-status span {
  border: 1px solid #dbe3ee;
  color: #12355f;
  background: #f5f8fc;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.jmns-main-front-matter .jmns-author-list {
  margin-top: 22px;
  gap: 8px;
}

.jmns-main-front-matter .jmns-author-name {
  color: #253348;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.jmns-main-front-matter .jmns-orcid-link {
  color: #173d74;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.jmns-main-front-matter .jmns-affiliation-list,
.jmns-main-front-matter .article-affiliations,
.jmns-main-front-matter .article-correspondence {
  color: #596579;
  font-size: 13.5px;
  line-height: 1.65;
}

.jmns-main-front-matter .article-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 21px;
  margin-top: 21px;
  padding: 14px 0;
  border-top: 1px solid #dfe6ee;
  border-bottom: 1px solid #dfe6ee;
  font-size: 13px;
  line-height: 1.55;
}

.jmns-main-front-matter .article-meta-label {
  color: #12355f;
  font-weight: 750;
}

.jmns-main-front-matter .jmns-article-citation {
  color: #5c687a;
  font-size: 13.5px;
  line-height: 1.6;
}

.jmns-main-front-matter .jmns-format-links a,
.jmns-main-front-matter .article-actions a,
.jmns-format-panel .jmns-format-links a {
  min-height: 37px;
  padding: 7px 12px;
  border: 1px solid #cbd7e5;
  border-radius: 3px;
  color: #12355f;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.jmns-main-front-matter .jmns-format-links a:hover,
.jmns-format-panel .jmns-format-links a:hover {
  background: #f2f6fb;
  border-color: #12355f;
}

.jmns-format-panel {
  border-left: 3px solid #e97324 !important;
  border-color: #dce3ec;
  background: #f8fafc;
  box-shadow: none;
}

.jmns-main-front-matter .abstract-box {
  margin-top: 35px;
  margin-bottom: 38px;
  padding: 24px clamp(20px, 3vw, 34px);
  border: 1px solid #e2e7ed;
  border-left: 3px solid #e97324;
  background: #fbfcfd;
  color: #344054;
  font-size: 16px;
  line-height: 1.75;
  box-shadow: none;
}

.jmns-main-front-matter .abstract-box h2 {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #12355f;
  font-size: 26px;
  font-weight: 600;
}

.jmns-main-front-matter .abstract-box p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
}

.jmns-main-front-matter .abstract-box p:last-child {
  margin-bottom: 0;
}

.jmns-main-front-matter .keywords,
.jmns-main-front-matter .article-keywords {
  color: #526173;
  font-size: 13.5px;
  line-height: 1.6;
}

#quarto-content #quarto-margin-sidebar #TOC {
  border-left: 2px solid #e4e7ec;
  padding: 9px 10px 11px 17px;
  background: transparent;
}

#quarto-content #TOC #toc-title {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: #12355f;
  font-family: var(--jmns-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .65px;
  line-height: 1.4;
  text-transform: uppercase;
}

#quarto-content #TOC .nav-link {
  display: block;
  padding: 4px 0;
  color: #5b687b;
  font-family: var(--jmns-sans);
  font-size: 12.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: none;
}

#quarto-content #TOC .nav-link:hover,
#quarto-content #TOC .nav-link.active {
  color: #12355f !important;
}

#quarto-content #TOC .nav-link.active {
  font-weight: 750;
}

#quarto-content main.content {
  color: #344054;
}

#quarto-content main.content p,
#quarto-content main.content li {
  line-height: 1.72;
}

#quarto-content main.content h2 {
  color: #12355f;
  scroll-margin-top: 92px;
}

#quarto-content main.content h3 {
  color: #21374f;
  scroll-margin-top: 92px;
}

#quarto-content main.content figcaption,
#quarto-content main.content .quarto-float-caption {
  color: #596579;
  font-size: 13px;
  line-height: 1.6;
}

#quarto-content main.content figure img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media(max-width:780px) {
  .jmns-publication-notice__inner,
  .jmns-article-formats {
    padding-left: 16px;
    padding-right: 16px;
  }
  .jmns-main-front-matter.article-header {
    margin-top: 25px;
  }
  .jmns-main-front-matter .abstract-box {
    padding: 20px 18px;
  }
  .jmns-main-front-matter .article-metadata {
    gap: 7px 15px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .jmns-article-shell *,
  .jmns-article-formats * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Unpublished previews may contain provisional PDF/JATS metadata.
   Do not advertise their alternate formats until editorial release. */
.jmns-publication-notice ~ #quarto-content .quarto-alternate-formats {
  display: none !important;
}


/* JMNS QUARTO FRONT MATTER POLISH V3
   The journal identity is already present in the common page navigation.
   Keep the publisher credit in the manuscript header but avoid repeating
   its large decorative phoenix and cover illustration above every paper. */
.jmns-main-front-matter .jmns-brand-masthead {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 0 0 14px;
  border-bottom: 1px solid #dce4ee;
}

.jmns-main-front-matter .jmns-brand-masthead .jmns-brand-symbol {
  display: none;
}

.jmns-main-front-matter .jmns-brand-copy {
  min-width: 0;
  text-align: left;
}

.jmns-main-front-matter .jmns-journal-title {
  margin: 0;
  color: #12355f;
  font-family: var(--jmns-sans);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.jmns-main-front-matter .jmns-brand-publisher {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
}

.jmns-main-front-matter h1.article-title {
  max-width: 940px;
  font-size: clamp(34px, 3.5vw, 48px) !important;
  line-height: 1.16;
}

.jmns-main-front-matter .jmns-author-list {
  margin-top: 24px;
}

.jmns-main-front-matter .article-correspondence {
  margin-top: 14px;
}

#quarto-content main.content {
  font-size: 16.5px;
  line-height: 1.72;
}

#quarto-content #TOC .nav-link {
  font-size: 13px;
  line-height: 1.5;
}

@media(max-width:680px) {
  .jmns-main-front-matter h1.article-title {
    font-size: clamp(30px, 7.2vw, 38px) !important;
    letter-spacing: -.35px;
  }
  .jmns-main-front-matter .jmns-brand-masthead {
    padding-bottom: 12px;
    margin-bottom: 17px;
  }
  #quarto-content main.content {
    font-size: 16px;
  }
}


/* Quarto abstract structure: readable paragraphs without changing manuscript text. */
.jmns-main-front-matter .abstract-box.jmns-abstract-structured .jmns-abstract-segment {
  margin: 0 0 15px;
  color: #344054;
  font-size: 16px;
  line-height: 1.78;
}

.jmns-main-front-matter .abstract-box.jmns-abstract-structured .jmns-abstract-label {
  color: #12355f;
  font-weight: 800;
}

.jmns-main-front-matter .abstract-box.jmns-abstract-structured > p:last-child {
  padding-top: 12px;
  margin: 8px 0 0;
  border-top: 1px solid #e4e7ec;
  font-size: 14px;
  line-height: 1.65;
}
@media(max-width:680px) {
  .jmns-main-front-matter .abstract-box.jmns-abstract-structured .jmns-abstract-segment {
    font-size: 15.5px;
    line-height: 1.7;
  }
}
