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

:root {
  --jmns-primary: #0D3B43;
  --jmns-primary-dark: #082D33;
  --jmns-accent: #1596A8;
  --jmns-accent-light: #DDEFF2;
  --jmns-bg: #FFFFFF;
  --jmns-bg-soft: #F5F8F8;
  --jmns-text: #20282A;
  --jmns-muted: #596569;
  --jmns-border: #D9E2E3;
  --jmns-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --jmns-sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --jmns-navbar-offset: 5.25rem;
}

body {
  color: var(--jmns-text);
  background: var(--jmns-bg);
  font-family: var(--jmns-sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--jmns-primary);
  text-decoration-color: var(--jmns-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--jmns-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(21, 150, 168, 0.42);
  outline-offset: 3px;
  border-radius: 2px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 4.15rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--jmns-primary) !important;
}

.navbar .navbar-container {
  max-width: 1440px;
}

.navbar-brand {
  gap: 0.55rem;
  color: #fff;
  font-family: var(--jmns-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.navbar-brand-logo img {
  width: 28px;
  max-height: 28px;
  object-fit: contain;
}

.navbar .nav-link {
  padding: 0.6rem 0.8rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: #fff !important;
}

.navbar .nav-link.active {
  color: #fff !important;
  text-decoration: underline;
  text-decoration-color: var(--jmns-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35rem;
}

.navbar-toggler,
.aa-DetachedSearchButton {
  color: #fff;
}

#quarto-search .aa-DetachedSearchButtonIcon {
  color: #fff;
}

#quarto-content.page-columns {
  column-gap: 0;
}

main.content {
  width: 100%;
  max-width: 900px;
}

.quarto-title-block {
  display: none;
}

@media (min-width: 1100px) {
  #quarto-content.page-layout-article.page-columns {
    display: grid;
    grid-template-columns: minmax(0, 900px) 220px;
    column-gap: 64px;
    align-items: start;
    width: calc(100% - 40px);
    max-width: 1184px;
    margin-right: auto;
    margin-left: auto;
  }

  #quarto-content.page-layout-article.page-columns > main.content {
    grid-column: 1;
    width: 100%;
    max-width: 900px;
    margin: 0;
  }

  #quarto-content.page-layout-article.page-columns > #quarto-margin-sidebar {
    grid-column: 2;
    width: 220px;
    min-width: 0;
    margin: 0;
  }

  #quarto-content.page-layout-article.page-columns .article-header {
    width: calc(100% + 60px);
    max-width: 960px;
  }
}

.article-header {
  margin: clamp(2.8rem, 4.5vw, 4.75rem) 0 3rem;
}

.article-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.article-status span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.14rem 0.62rem;
  border: 1px solid var(--jmns-accent);
  border-radius: 2px;
  color: var(--jmns-primary);
  background: var(--jmns-bg);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.article-title {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  color: var(--jmns-primary-dark);
  font-family: var(--jmns-serif);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.035;
  letter-spacing: -0.025em;
}

.article-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin: 1.6rem 0 0;
  color: var(--jmns-primary-dark);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.45;
}

.article-affiliations,
.article-correspondence {
  max-width: 850px;
  margin: 0.7rem 0 0;
  color: var(--jmns-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.article-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 1.35rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--jmns-border);
  border-bottom: 1px solid var(--jmns-border);
  color: var(--jmns-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.article-meta-item {
  display: inline-flex;
  gap: 0.35rem;
}

.article-meta-label {
  color: var(--jmns-primary-dark);
  font-weight: 700;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.article-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.32rem 0.72rem;
  border: 1px solid var(--jmns-accent);
  border-radius: 2px;
  color: var(--jmns-primary);
  background: var(--jmns-bg);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.article-action:hover {
  color: var(--jmns-primary-dark);
  background: var(--jmns-accent-light);
}

.article-authors:empty,
.article-affiliations:empty,
.article-correspondence:empty,
.article-metadata:empty,
.article-meta-item:empty,
.article-actions:empty,
.article-action:not([href]),
.article-action[href=""] {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--jmns-primary-dark);
  font-family: var(--jmns-serif);
  font-weight: 650;
  line-height: 1.18;
  scroll-margin-top: var(--jmns-navbar-offset);
}

/* Quarto places TOC anchor ids on section wrappers, not only on headings. */
main.content section[id],
main.content .quarto-figure[id],
main.content div[id^="tbl-"] {
  scroll-margin-top: var(--jmns-navbar-offset);
}

h2 {
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  padding: 0 0 0.48rem;
  border-bottom: 1px solid var(--jmns-border);
  font-size: clamp(1.72rem, 2.5vw, 2.18rem);
}

h3 {
  margin-top: 2.8rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.32rem, 2vw, 1.58rem);
}

h4 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

p {
  margin-bottom: 1.1rem;
}

.abstract-box {
  margin: 2.8rem 0 3.7rem;
  padding: 2rem clamp(1.5rem, 3.2vw, 2.35rem);
  border-left: 4px solid var(--jmns-accent);
  background: var(--jmns-bg-soft);
  line-height: 1.74;
}

.abstract-box h2 {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  font-size: 1.8rem;
}

.abstract-box p {
  margin-bottom: 1.15rem;
}

.abstract-box p:last-child {
  margin-top: 1.55rem;
  margin-bottom: 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--jmns-border);
  color: var(--jmns-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.abstract-box strong {
  color: var(--jmns-primary-dark);
  font-weight: 700;
}

#quarto-margin-sidebar {
  padding-left: 0;
}

.sidebar nav[role="doc-toc"] {
  padding-left: 1rem;
  border-left: 1px solid var(--jmns-border);
}

.sidebar nav[role="doc-toc"] > h2 {
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  color: var(--jmns-primary-dark);
  font-family: var(--jmns-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

#TOC {
  font-size: 0.82rem;
  line-height: 1.42;
}

#TOC ul {
  margin-bottom: 0;
}

#TOC li {
  margin: 0.18rem 0;
}

#TOC li li {
  margin: 0.1rem 0;
}

#TOC a {
  color: var(--jmns-muted);
  text-decoration: none;
}

#TOC a:hover,
#TOC a.active {
  color: var(--jmns-accent) !important;
}

#TOC a.active {
  border-left-color: var(--jmns-accent) !important;
  font-weight: 700;
}

.quarto-figure {
  width: 100%;
  max-width: 100%;
  margin: 3rem auto 3.5rem;
}

.quarto-figure figure,
main.content figure,
main.content .figure,
main.content .cell-output-display,
main.content .column-body,
main.content .column-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.quarto-figure img,
.lightbox img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.quarto-figure a.lightbox {
  display: block;
  cursor: zoom-in;
}

figcaption,
.figure-caption,
.quarto-float-caption,
caption {
  margin-top: 0.72rem;
  color: var(--jmns-muted);
  font-family: var(--jmns-sans);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}

.jmns-caption-label,
.quarto-float-caption .quarto-float-identifier {
  color: var(--jmns-text);
  font-weight: 700;
}

.glightbox-container .gslide-image img {
  max-width: 96vw;
  max-height: 88vh;
}

.glightbox-container .gslide-description {
  background: rgba(255, 255, 255, 0.98);
}

.glightbox-container .gdesc-inner {
  color: var(--jmns-text);
  font-family: var(--jmns-sans);
  font-size: 0.92rem;
  line-height: 1.45;
}

.quarto-float-tbl {
  max-width: 100%;
}

.quarto-float-tbl > figcaption,
.quarto-float-tbl .quarto-float-caption-top {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--jmns-muted);
  font-weight: 400;
}

.quarto-float-tbl > div {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

main table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 3rem;
  border-top: 1.5px solid var(--jmns-primary);
  border-bottom: 1.5px solid var(--jmns-primary);
  border-collapse: collapse;
  color: var(--jmns-text);
  font-size: 0.9rem;
  line-height: 1.45;
}

main table thead,
main table tr:first-child {
  background: transparent;
}

main table th {
  padding: 0.72rem 0.7rem;
  border: 0;
  border-bottom: 1.5px solid var(--jmns-primary);
  color: var(--jmns-primary-dark);
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
}

main table td {
  padding: 0.68rem 0.7rem;
  border: 0;
  border-bottom: 1px solid var(--jmns-border);
  vertical-align: top;
}

main table tbody tr:last-child td {
  border-bottom: 0;
}

main table tbody tr:nth-child(even) {
  background: transparent;
}

#references p,
#references li {
  margin-bottom: 0.72rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.panel-letter {
  margin-left: -0.22em;
}

.journal-home-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(4.2rem, 8vw, 7rem) 0 clamp(3.4rem, 7vw, 5.8rem);
  border-bottom: 1px solid var(--jmns-border);
}

.journal-home-header h1 {
  max-width: 980px;
  margin: 0.55rem 0 1.15rem;
  color: var(--jmns-primary-dark);
  font-size: clamp(2.65rem, 5.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
}

.journal-home-header > p:last-child {
  max-width: 740px;
  margin: 0;
  color: var(--jmns-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.55;
}

.journal-kicker {
  margin: 0;
  color: var(--jmns-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.page-layout-full main.content > h2,
.page-layout-full main.content > #articles + h2,
.page-layout-full main.content > section > h2 {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.article-list-item {
  max-width: 1080px;
  margin: 0 auto 4.5rem;
  padding: 1.9rem 0 2.2rem;
  border-top: 2px solid var(--jmns-primary);
  border-bottom: 1px solid var(--jmns-border);
}

.article-list-item h3 {
  max-width: 920px;
  margin: 0.52rem 0 0.9rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.article-list-item h3 a {
  color: var(--jmns-primary-dark);
  text-decoration: none;
}

.article-list-item h3 a:hover {
  color: var(--jmns-accent);
}

.article-list-item > p {
  max-width: 780px;
  color: var(--jmns-muted);
}

.article-list-meta {
  color: var(--jmns-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.article-link {
  color: var(--jmns-primary);
  font-weight: 700;
}

.nav-footer {
  margin-top: 5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--jmns-primary-dark);
  font-size: 0.83rem;
}

.nav-footer a {
  color: #fff;
}

@media (max-width: 1199.98px) {
  main.content {
    max-width: 100%;
  }

  .article-title {
    font-size: clamp(2.5rem, 6vw, 3.7rem);
  }
}

@media (max-width: 1099.98px) {
  #quarto-margin-sidebar {
    display: none;
  }

  #quarto-content.page-layout-article.page-columns {
    display: block;
    width: 100%;
    padding-right: 32px;
    padding-left: 32px;
  }

  #quarto-content.page-layout-article main.content {
    width: 100%;
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 0.7rem;
  }

  .navbar .nav-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .article-header {
    margin-top: 2.8rem;
  }

}

@media (max-width: 767.98px) {
  body {
    font-size: 16.5px;
    line-height: 1.66;
  }

  #quarto-content.page-layout-article.page-columns {
    display: block;
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  #quarto-content.page-layout-article main.content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .article-title {
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    line-height: 1.04;
  }

  h2 {
    margin-top: 3.35rem;
  }

  h3 {
    margin-top: 2.35rem;
  }

  .abstract-box {
    margin-top: 2.2rem;
    padding: 1.35rem 1.15rem;
  }

  .quarto-figure {
    margin-top: 2.4rem;
    margin-bottom: 2.9rem;
  }

  .page-layout-full main.content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .journal-home-header {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .journal-home-header h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  main table {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.84rem;
  }

  .nav-footer-center,
  .nav-footer-right {
    margin-top: 0.45rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 3.8rem;
  }

  .article-header {
    margin-top: 2.25rem;
  }

  .article-status {
    margin-bottom: 0.9rem;
  }

  .article-title {
    font-size: clamp(2.2rem, 11.5vw, 2.8rem);
  }

  figcaption,
  .figure-caption,
  .quarto-float-caption,
  caption {
    font-size: 0.88rem;
  }
}

@media print {
  .navbar,
  .sidebar,
  .nav-footer,
  .article-status {
    display: none !important;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .quarto-figure,
  .quarto-float-tbl {
    break-inside: avoid;
  }
}
