/*! ASC Themes | asctheme | 1.1.4.1
 * Original project additions: Copyright (c) 2026 Ascarya theme contributors.
 * GNU GPL v3; existing upstream and third-party notices remain applicable.
 * Distribution marker; see COPYRIGHT.md and THIRD-PARTY-NOTICES.md.
 */
:root { --asc-theme-build-marker: "asctheme:1.1.4.1"; }
/* Shared appearance revision. Loaded after the individual journal layouts. */
/* Separate the page canvas from the journal paper without changing its header. */
body.mpr-theme:not(.mpr_pdf_viewer) {
  --mpr-background: #f1f4f6;
}
body.mpr-theme:not(.mpr_pdf_viewer)[data-theme="dark"] {
  --mpr-background: #09222d;
}
body.mpr-theme:not(.mpr_pdf_viewer) .pkp_structure_main {
  box-sizing: border-box !important;
  padding: 28px !important;
  background: var(--mpr-paper) !important;
  border: 1px solid var(--mpr-rule) !important;
  border-radius: var(--mpr-radius) !important;
  box-shadow: 0 2px 12px rgba(0, 29, 45, .035) !important;
}
body.mpr-theme:not(.mpr_pdf_viewer)[data-theme="dark"] .pkp_structure_main {
  box-shadow: none !important;
}
@media (max-width: 640px) {
  body.mpr-theme:not(.mpr_pdf_viewer) .pkp_structure_content {
    padding-inline: 12px !important;
  }
  body.mpr-theme:not(.mpr_pdf_viewer) .pkp_structure_main {
    padding: 22px 18px !important;
  }
}
body.mpr-theme .acs_header {
  width: 100% !important;
  max-width: none !important;
}
body.mpr-theme .acs_topbar_inner,
body.mpr-theme[data-theme="dark"] .acs_topbar_inner {
  background: transparent !important;
}
body.mpr-theme[data-theme="dark"] .acs_topbar {
  background: #0f172a !important;
  border-color: var(--mpr-rule) !important;
}
body.mpr-theme[data-theme="dark"] .mpr_wordmark { color: #e7f1f4 !important; }
body.mpr-theme[data-theme="dark"] .mpr_brand_note,
body.mpr-theme[data-theme="dark"] .acs_topbar_user ul.acs_user_menu > li > a { color: #c5dce5 !important; }

/* Center edition information directly below the title printed on the cover. */
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview {
  display: block !important;
  position: relative !important;
  height: auto !important;
  aspect-ratio: 520 / 739 !important;
  background: #06394b !important;
  color: #fff !important;
  border: 1px solid var(--mpr-rule) !important;
  box-shadow: 0 5px 18px rgba(0, 29, 45, .12) !important;
  isolation: isolate;
  overflow: hidden;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview::after {
  content: none !important;
  display: none !important;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_preview_cover {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  box-shadow: none !important;
  outline: none !important;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_preview_copy {
  position: absolute !important;
  inset: 18% 0 auto !important;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px !important;
  width: 100%;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 18, 30, .35);
  background: transparent !important;
  border: 0 !important;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview .mpr_eyebrow {
  color: #abd4df !important;
  font-size: 8px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview strong {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview .mpr_preview_action {
  display: inline-block !important;
  color: #e7f1f4 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-top: 8px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview:hover {
  border-color: var(--mpr-teal) !important;
}

/* Align download buttons with the metadata rather than inherited link margins. */
body.mpr-theme article.acs_article_details .acs_meta_galleys {
  align-items: center !important;
}
body.mpr-theme article.acs_article_details .acs_meta_galleys .obj_galley_link {
  margin: 0 !important;
}
body.mpr-theme.mpr-mockup-3 article.acs_article_details .acs_article_meta_bar {
  padding: 16px 20px !important;
}
/* Leave room for the persistent appearance control below the footer credits. */
body.mpr-theme .acs_footer_wrapper {
  padding-bottom: 84px !important;
}
body.mpr-theme .pkp_structure_main .cmp_breadcrumbs .current,
body.mpr-theme .pkp_structure_main .cmp_breadcrumbs .current :is(span, h1) {
  color: var(--mpr-muted) !important;
}

.mpr_theme_controls {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  padding: 5px 9px 5px 12px;
  background: var(--mpr-paper, #fff);
  color: var(--mpr-ink, #06394b);
  border: 1px solid var(--mpr-rule, #dce4e6);
  border-radius: 8px;
  box-shadow: 0 3px 16px rgba(0, 29, 45, .12);
  font: 600 13px/1.4 var(--mpr-font-body, sans-serif);
}
.mpr_theme_controls label { margin: 0; color: inherit; font: inherit; }
body.mpr-theme .mpr_theme_controls select {
  width: auto;
  min-width: 82px;
  min-height: 36px;
  margin: 0;
  padding: 5px 24px 5px 8px;
  font: inherit;
  color: inherit;
  background-color: var(--mpr-paper, #fff);
  border: 1px solid var(--mpr-rule, #dce4e6);
  border-radius: 5px;
}
body.mpr-theme.acs_drawer_open .mpr_theme_controls { display: none; }
@media (max-width: 640px) {
  body.mpr-theme:not(.mpr_pdf_viewer) .mpr_issue_preview { width: min(100%, 250px); justify-self: center; }
}
@media print {
  body.mpr-theme:not(.mpr_pdf_viewer),
  body.mpr-theme:not(.mpr_pdf_viewer)[data-theme="dark"] {
    --mpr-background: #fff;
    --mpr-paper: #fff;
    --mpr-ink: #06394b;
    --mpr-text: #273e49;
    --mpr-muted: #60727a;
    --mpr-teal: #075d73;
    --mpr-accent: #0c6f89;
    --mpr-rule: #dce4e6;
  }
  body.mpr-theme:not(.mpr_pdf_viewer) .pkp_structure_main {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .mpr_theme_controls { display: none !important; }
  body.mpr-theme .acs_footer_wrapper { padding-bottom: 0 !important; }
}
