/* JEMS Pro editorial layout. Loaded after the journal stylesheet. */
:root {
  --jems-ink: #232633;
  --jems-reading: #2c3040;
  --jems-muted: #5a5f75;
  --jems-indigo: #3f51b5;
  --jems-banner-blue: #4354a7;
  --jems-purple: #9c28b1;
  --jems-deep: #1d2553;
  --jems-line: #dcdfeb;
  --jems-tint: #f6f7fc;
  --jems-tint-strong: #e7eaf7;
  --jems-display: "Cardo", Georgia, serif;
  --jems-sans: "Montserrat", system-ui, sans-serif;
  --jems-editorial-ink: var(--jems-ink);
  --jems-editorial-muted: var(--jems-muted);
  --jems-editorial-line: var(--jems-line);
  --jems-editorial-mist: var(--jems-tint-strong);
  --jems-editorial-yellow: var(--jems-indigo);
  --jems-editorial-link: var(--jems-indigo);
  --jems-editorial-font: var(--jems-sans);
  --jems-content-width: 75rem;
  --jems-gutter: clamp(1rem, 4vw, 3rem);
}

body > header > .header {
  background: var(--jems-deep);
  border: 0;
  border-bottom: 3px solid var(--jems-purple);
  color: white;
}

.header .journal-logo {
  filter: none;
}

.header .journal-logo-text,
.header #navigationUser > li > a,
.header #navigationUser #user-dashboard-link,
.header #nav-small .nav-link {
  color: white;
}

.header .lower-header {
  border-top-color: rgba(255, 255, 255, .24);
}

.header #navigationPrimary > li > a:is([href*="/submission"], [href*="/about/submissions"]),
.site-footer .block_make_submission_link {
  background: var(--jems-indigo);
  border-color: var(--jems-indigo);
  color: white;
}

@media (min-width: 992px) {
  .header #navigationPrimary > li > a {
    color: white;
  }
}

main .container-page {
  color: var(--jems-reading);
  font: 400 1.02rem/1.65 var(--jems-sans);
}

.jems-home .jems-home-hero {
  min-height: clamp(22rem, 36vw, 34rem);
  background:
    linear-gradient(100deg, rgba(245, 249, 255, .94) 0%, rgba(245, 249, 255, .76) 30%, rgba(245, 249, 255, 0) 64%),
    #d4e7f8 url("../images/jemspro-hero-port-daylight.png") center 40% / cover no-repeat;
  color: var(--jems-ink);
}

.jems-home .jems-home-hero-inner,
.page_index_journal.jems-home > .container-page {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--jems-content-width) + 2 * var(--jems-gutter));
  margin-inline: auto;
  padding-inline: var(--jems-gutter);
}

.jems-home .jems-home-hero-inner {
  padding-block: clamp(2.25rem, 5vw, 4.75rem);
}

.jems-home #jems-home-title {
  max-width: 43rem;
  margin: 0;
  color: var(--jems-ink);
  font: 700 clamp(2.05rem, 4vw, 3.5rem)/1.07 var(--jems-display);
  letter-spacing: -.025em;
}

.jems-home .jems-home-intro {
  max-width: 34ch;
  margin: 1rem 0 1.35rem;
  color: var(--jems-reading);
  font: 600 clamp(.96rem, 1.5vw, 1.1rem)/1.55 var(--jems-sans);
}

.jems-home a.jems-home-action {
  display: inline-block;
  padding: .78rem 1.15rem;
  background: var(--jems-indigo);
  border: 1px solid var(--jems-indigo);
  border-radius: 3px;
  color: white;
  font: 700 .92rem/1.4 var(--jems-sans);
  text-decoration: none;
}

.jems-home a.jems-home-action:is(:hover, :focus-visible) {
  background: var(--jems-deep);
  color: white;
}

.page_index_journal.jems-home > .container-page {
  display: flow-root;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.page_index_journal.jems-home > .container-page > :is(.jems-home-latest, .jems-home-information, .jems-home-news, .additional_content) {
  padding-inline: 0;
}

.page_index_journal.jems-home .jems-home-issue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(1.15rem, 3vw, 2.5rem);
  background: var(--jems-tint);
  border: 1px solid var(--jems-line);
}

.jems-home .jems-home-section-heading {
  margin: 0 0 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--jems-line);
  color: var(--jems-ink);
  font: 700 clamp(1.75rem, 3vw, 2.4rem)/1.17 var(--jems-display);
}

.jems-home .jems-home-section-heading a {
  font: inherit;
}

.jems-home .jems-home-issue-name {
  margin: 0 0 .35rem;
  color: var(--jems-banner-blue);
  font: 700 clamp(1.9rem, 3.5vw, 2.85rem)/1.14 var(--jems-display);
}

.jems-home .jems-home-issue .published {
  margin: 0;
  color: var(--jems-muted);
  font-size: .94rem;
}

.jems-home .jems-home-issue-cover img {
  display: block;
  width: clamp(8.5rem, 17vw, 12.5rem);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--jems-line);
}

.jems-home .jems-home-issue-description {
  max-width: 65ch;
  margin-top: .9rem;
}

.jems-home .jems-home-browse {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  text-underline-offset: .2em;
}

.jems-home :is(.jems-home-latest, .jems-home-information, .jems-home-news) {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.jems-home :is(.jems-home-article-grid, .jems-home-info-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.65rem);
}

.jems-home .jems-home-article-grid > .article_summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0;
  background: white;
  border: 1px solid var(--jems-line);
  border-radius: 0;
  box-shadow: none;
}

.jems-home .article_summary .article_summary_media {
  display: flex;
  align-items: end;
  height: 8.125rem;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: var(--jems-tint-strong);
}

.jems-home .article_summary .article_summary_media--coverless {
  padding: 1rem 1.15rem;
}

.jems-home .article_summary .article_summary_section {
  color: var(--jems-banner-blue);
  font: 700 1.5rem/1.15 var(--jems-display);
}

.jems-home .article_summary .article_summary_body {
  padding: 1.15rem 1.15rem 0;
}

.jems-home .article_summary .summary_title {
  color: var(--jems-ink);
  font: 700 clamp(1.25rem, 1.9vw, 1.55rem)/1.23 var(--jems-display);
}

main .article_summary .summary_publication_details {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .75rem;
  margin-top: .4rem;
  color: var(--jems-muted);
  font: 500 .84rem/1.4 var(--jems-sans);
}

.jems-home .article_summary .galleys_links {
  margin-top: auto;
  padding: .85rem 1.15rem 1.15rem;
}

.jems-home .jems-home-info-grid a {
  display: block;
  padding: 1.15rem;
  border: 1px solid var(--jems-line);
  background: var(--jems-tint);
  text-decoration: none;
}

.jems-home .jems-home-info-grid strong,
.jems-home .jems-home-info-grid span {
  display: block;
}

.jems-home .jems-home-info-grid strong {
  font: 700 1.2rem/1.3 var(--jems-display);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.jems-home .jems-home-info-grid span {
  margin-top: .4rem;
  color: var(--jems-reading);
  font-size: .92rem;
}

.jems-home .jems-home-summary {
  margin-top: 1.5rem;
}

.page_issue .section_title {
  display: block;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--jems-line);
  font: 700 clamp(1.65rem, 3vw, 2.25rem)/1.2 var(--jems-display);
}

.page_issue .section_title::after {
  content: none;
}

.page_issue .section_content {
  display: block;
}

.page_issue .section_content > .article_summary {
  width: 100%;
  margin: 0 0 1.6rem;
  padding: 1.25rem 0 .75rem;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--jems-banner-blue);
  border-radius: 0;
  box-shadow: none;
}

.page_issue .article_summary:hover {
  border-top-color: var(--jems-banner-blue);
}

.page_issue .article_summary .article_summary_media {
  display: none;
}

.page_issue .article_summary .summary_title {
  color: var(--jems-ink);
  font: 700 clamp(1.4rem, 2.3vw, 1.85rem)/1.25 var(--jems-display);
}

.page_article .obj_article_details .article_header_wrapper {
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--jems-tint);
  border-bottom: 1px solid var(--jems-line);
}

.page_article .obj_article_details .article-full-title {
  color: var(--jems-ink);
  font: 700 clamp(1.85rem, 3.8vw, 3.1rem)/1.13 var(--jems-display);
}

.page_article .obj_article_details .abstract,
.page_article .obj_article_details .abstract p {
  color: var(--jems-reading);
  font: 400 clamp(1.04rem, 1.4vw, 1.16rem)/1.72 var(--jems-sans);
}

.page_article .obj_article_details .abstract :is(h2, h3) {
  font: 700 1.65rem/1.25 var(--jems-display);
}

.page_article .obj_article_details :is(.doi, .jems-article-published, .item.citation, .item.keywords, .item.copyright) {
  margin: 0 0 1rem;
  padding: .9rem 1.05rem;
  background: white;
  border: 1px solid var(--jems-line);
  border-radius: 0;
  overflow-wrap: anywhere;
}

.page_article .obj_article_details .citation_display {
  padding: 0;
  background: transparent;
  border: 0;
}

.page_article .galleys .galley-link,
.page_article .jems-read-more-issue .jems-browse-issue {
  background: var(--jems-indigo);
  border-color: var(--jems-indigo);
  color: white;
}

/* The block already contains typed decimal numbers. Suppress its extra markers. */
.site-footer #customblock-announcement ol {
  list-style: none !important;
  padding-inline-start: 0;
}

@media (max-width: 991px) {
  .jems-home .jems-home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .jems-home .jems-home-hero {
    min-height: 25rem;
    background:
      linear-gradient(180deg, rgba(245, 249, 255, .97) 0%, rgba(245, 249, 255, .86) 43%, rgba(245, 249, 255, 0) 74%),
      #d4e7f8 url("../images/jemspro-hero-port-daylight.png") 69% center / cover no-repeat;
  }

  .jems-home .jems-home-hero-inner {
    padding-top: 1.5rem;
  }

  .page_index_journal.jems-home .jems-home-issue,
  .jems-home :is(.jems-home-article-grid, .jems-home-info-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  .jems-home .jems-home-hero {
    display: none;
  }
}
