/**
 * Journal Metrics theme for OJS 3.5
 * Loaded after the parent (default) theme stylesheet, so these rules win.
 * Accent colour comes from --jm-accent (theme option).
 *
 * Breakpoints: the parent theme switches between the burger menu and the
 * desktop menu at 992px (its script depends on that value), so this theme
 * uses the same value. The main menu is one line from 1360px; between 992px
 * and 1359px it moves to its own line under the journal name.
 */

:root {
	--jm-bg: #fff;
	--jm-ink-2: #2A2A2A;
	--jm-muted: #5A5A5A;
	--jm-track: #C9CCD2;
	--jm-inv-bg: #141414;
	--jm-inv-fg: #fff;
	--jm-dark-band: #141414;
	--jm-accent-text: var(--jm-accent);
}

/* Dark theme (set by the display panel or by the time of day) */
html[data-jm-theme="dark"] {
	--jm-bg: #111214;
	--jm-ink: #EDEEF0;
	--jm-ink-2: #D5D8DD;
	--jm-ink-soft: #B4B8C0;
	--jm-muted: #A2A7B0;
	--jm-line: #2C2F36;
	--jm-neutral: #1A1C21;
	--jm-track: #3A3E46;
	--jm-inv-bg: #EDEEF0;
	--jm-inv-fg: #111214;
	--jm-dark: #050506;
	--jm-dark-band: #22252B;
	--jm-accent-text: color-mix(in srgb, var(--jm-accent) 55%, #fff);
}

/* ---------- Dark theme for the components of the parent theme (generated) ---------- */

:where(html[data-jm-theme="dark"]) mark {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_button,
:where(html[data-jm-theme="dark"]) .pkp_button_primary,
:where(html[data-jm-theme="dark"]) .pkp_button_offset,
:where(html[data-jm-theme="dark"]) .pkp_button_link {
	background: var(--jm-bg);
	border: 1px solid var(--jm-line);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_button:hover,
:where(html[data-jm-theme="dark"]) .pkp_button:focus,
:where(html[data-jm-theme="dark"]) .pkp_button_primary:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_primary:focus,
:where(html[data-jm-theme="dark"]) .pkp_button_offset:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_offset:focus,
:where(html[data-jm-theme="dark"]) .pkp_button_link:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_link:focus {
	color: var(--jm-ink);
	border-color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_button:disabled,
:where(html[data-jm-theme="dark"]) .pkp_button_primary:disabled,
:where(html[data-jm-theme="dark"]) .pkp_button_offset:disabled,
:where(html[data-jm-theme="dark"]) .pkp_button_link:disabled {
	color: var(--jm-muted);
}

:where(html[data-jm-theme="dark"]) .pkp_button:disabled:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_primary:disabled:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_offset:disabled:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_link:disabled:hover {
	color: var(--jm-muted);
	border-color: var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .pkp_button_primary {
	color: var(--jm-inv-fg);
	background: var(--jm-inv-bg);
	border-color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_button_primary:hover,
:where(html[data-jm-theme="dark"]) .pkp_button_primary:focus {
	background: var(--jm-accent);
}

:where(html[data-jm-theme="dark"]) .pkp_screen_reader:focus,
:where(html[data-jm-theme="dark"]) .pkp_page_index .cmp_announcements h2:focus {
	background-color: var(--jm-bg);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_uploadedFile_summary .details {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .pkp_uploadedFile_summary .details>span:before {
	color: var(--jm-muted);
}

:where(html[data-jm-theme="dark"]) .pkp_uploadedFile_summary .print:before {
	color: var(--jm-muted);
}

:where(html[data-jm-theme="dark"]) .pkp_helpers_underline:after {
	border-bottom: 2px solid var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .pkp_helpers_form_input_title_text {
	color: var(--jm-muted);
}

:where(html[data-jm-theme="dark"]) .orcid-failure {
	background: #3A1F14;
}

:where(html[data-jm-theme="dark"]) .orcid-success {
	background: #16301B;
}

:where(html[data-jm-theme="dark"]) .cmp_button,
:where(html[data-jm-theme="dark"]) .cmp_form .buttons button,
:where(html[data-jm-theme="dark"]) .page_lost_password .buttons button,
:where(html[data-jm-theme="dark"]) .page_search .submit button,
:where(html[data-jm-theme="dark"]) .block_make_submission a {
	background: var(--jm-neutral);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .cmp_button_wire,
:where(html[data-jm-theme="dark"]) .obj_galley_link {
	background: var(--jm-bg);
	border: 1px solid var(--jm-ink);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .cmp_button_wire:hover,
:where(html[data-jm-theme="dark"]) .cmp_button_wire:focus,
:where(html[data-jm-theme="dark"]) .obj_galley_link:hover,
:where(html[data-jm-theme="dark"]) .obj_galley_link:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

:where(html[data-jm-theme="dark"]) .cmp_form input[type="text"],
:where(html[data-jm-theme="dark"]) .cmp_form input[type="email"],
:where(html[data-jm-theme="dark"]) .cmp_form input[type="password"],
:where(html[data-jm-theme="dark"]) .cmp_form input[type="url"],
:where(html[data-jm-theme="dark"]) .cmp_form input[type="tel"],
:where(html[data-jm-theme="dark"]) .cmp_form select,
:where(html[data-jm-theme="dark"]) .cmp_form textarea {
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .cmp_form .description {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .cmp_notification {
	background: var(--jm-line);
	border-left: .357rem solid var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .cmp_breadcrumbs .separator {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .cmp_breadcrumbs .current {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .cmp_announcements.cmp_announcements>li {
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .cmp_skip_to_content a {
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .cmp_skip_to_content a:focus {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .cmp_table {
	border: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .cmp_table th,
:where(html[data-jm-theme="dark"]) .cmp_table td {
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) html,
:where(html[data-jm-theme="dark"]) body {
	color: var(--jm-ink);
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) a:hover,
:where(html[data-jm-theme="dark"]) a:focus {
	color: var(--jm-accent-text);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .pkp_structure_main:before,
:where(html[data-jm-theme="dark"]) .pkp_structure_main:after {
	background: var(--jm-line);
}

}

:where(html[data-jm-theme="dark"]) .pkp_structure_head {
	background-color: var(--jm-bg);
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .pkp_site_name {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_site_name .is_text {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_site_nav_menu {
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .pkp_site_nav_menu a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_site_nav_menu a:hover,
:where(html[data-jm-theme="dark"]) .pkp_site_nav_menu a:focus {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_user.pkp_navigation_user {
	border-top: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_user .task_count {
	background: var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_user>li>ul a .task_count {
	background: var(--jm-line);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_search_wrapper {
	border-top: 1px solid var(--jm-line);
}

@media (min-width:992px) {
:where(html[data-jm-theme="dark"]) .pkp_nav_list ul {
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .pkp_nav_list ul a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_nav_list ul a:hover,
:where(html[data-jm-theme="dark"]) .pkp_nav_list ul a:focus {
	background: var(--jm-line);
	border-color: var(--jm-ink);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_primary>li>a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_primary>li>a:hover {
	color: var(--jm-ink);
	border-color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_primary>li>a:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_primary .dropdown-menu a:focus,
:where(html[data-jm-theme="dark"]) .pkp_navigation_primary .dropdown-menu a:hover {
	border-color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_user>li>a:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_user>li>a:focus .task_count {
	background: var(--jm-bg);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_search_wrapper a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_search_wrapper a:hover {
	color: var(--jm-ink);
	border-color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_navigation_search_wrapper a:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

}

:where(html[data-jm-theme="dark"]) .pkp_structure_main .page .monograph_count {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .pkp_structure_main .page .about_section {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .pkp_site_nav_toggle>span {
	border-bottom: 3px solid var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_site_nav_toggle>span:before,
:where(html[data-jm-theme="dark"]) .pkp_site_nav_toggle>span:after {
	background: var(--jm-inv-bg);
}

:where(html[data-jm-theme="dark"]) .highlights {
	background: var(--jm-line);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .pkp_page_index .journals>ul>li {
	border-top: 1px solid var(--jm-line);
}

}

:where(html[data-jm-theme="dark"]) .pkp_page_index .cmp_announcements {
	border-top: 1px solid var(--jm-line);
	border-bottom: 1px solid var(--jm-line);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .pkp_page_index .cmp_announcements>.obj_announcement_summary:before {
	border-left: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .pkp_page_index .cmp_announcements .more:before {
	border-left: 1px solid var(--jm-line);
}

}

:where(html[data-jm-theme="dark"]) .pkp_page_index .current_issue .read_more {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .pkp_page_index .current_issue .read_more:hover,
:where(html[data-jm-theme="dark"]) .pkp_page_index .current_issue .read_more:focus {
	color: var(--jm-accent-text);
}

:where(html[data-jm-theme="dark"]) .pkp_page_index .additional_content {
	border-top: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .page_catalog_category .article_count {
	color: var(--jm-ink-soft);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .page_catalog_category .subcategories {
	border-top: 1px solid var(--jm-line);
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .page_catalog_category .subcategories h2 {
	background: var(--jm-bg);
	color: var(--jm-ink-soft);
}

}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .page_catalog_category h2.title:focus {
	background-color: var(--jm-bg);
	color: var(--jm-ink);
}

}

:where(html[data-jm-theme="dark"]) .page_masthead .user_listing .affiliation {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .page_masthead .user_listing .date_start {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .page_issue_archive .issues_archive {
	border-top: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .page_issue_archive .issues_archive>li {
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .page_register .required_label {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .pkp_op_register .ui-helper-hidden-accessible:focus {
	background-color: var(--jm-bg);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .page_search .search_advanced {
	border: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .page_search .date_range label:focus {
	background-color: var(--jm-bg);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .page_search .submit button:after {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

:where(html[data-jm-theme="dark"]) .page_search .submit button:hover:after,
:where(html[data-jm-theme="dark"]) .page_search .submit button:focus:after {
	background: var(--jm-accent);
}

:where(html[data-jm-theme="dark"]) .page_search .cmp_pagination {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .header_view {
	background: var(--jm-inv-bg);
}

:where(html[data-jm-theme="dark"]) .header_view .return {
	background: var(--jm-bg);
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .header_view .return:hover,
:where(html[data-jm-theme="dark"]) .header_view .return:focus {
	background: var(--jm-accent);
}

:where(html[data-jm-theme="dark"]) .header_view .title:hover,
:where(html[data-jm-theme="dark"]) .header_view .title:focus {
	background: var(--jm-accent);
}

:where(html[data-jm-theme="dark"]) .header_view .download {
	background: var(--jm-bg);
}

:where(html[data-jm-theme="dark"]) .header_view .download:hover,
:where(html[data-jm-theme="dark"]) .header_view .download:focus {
	background: var(--jm-accent);
}

:where(html[data-jm-theme="dark"]) .galley_view .galley_view_notice_message {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .galley_view .galley_view_notice_message a {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .obj_announcement_full .date {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_announcement_summary .date {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_announcement_summary .read_more {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .obj_announcement_summary .read_more:hover,
:where(html[data-jm-theme="dark"]) .obj_announcement_summary .read_more:focus {
	color: var(--jm-accent-text);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .authors .affiliation {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .entry_details {
	border-top: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .entry_details .item {
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .entry_details .item .label {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .citation_display .citation_formats_button {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .citation_display .citation_formats_button:focus {
	background: var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .citation_display .citation_formats_styles a {
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .citation_display .citation_formats_styles a:focus {
	background: var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .citation_display .citation_formats_styles+.label {
	border-top: 1px solid var(--jm-line);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .obj_article_details .row {
	border-top: 1px solid var(--jm-line);
	border-bottom: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .main_entry {
	border-right: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .entry_details {
	border-left: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_article_details .entry_details .item {
	border-bottom: 1px solid var(--jm-line);
}

}

:where(html[data-jm-theme="dark"]) .obj_article_summary .subtitle {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_article_summary .pages,
:where(html[data-jm-theme="dark"]) .obj_article_summary .published {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .obj_galley_link_supplementary {
	color: var(--jm-ink);
}

:where(html[data-jm-theme="dark"]) .obj_galley_link_supplementary:hover,
:where(html[data-jm-theme="dark"]) .obj_galley_link_supplementary:focus {
	color: var(--jm-accent-text);
}

:where(html[data-jm-theme="dark"]) .obj_issue_summary .series {
	color: var(--jm-ink-soft);
}

@media (min-width:768px) {
:where(html[data-jm-theme="dark"]) .obj_issue_toc .galleys:before,
:where(html[data-jm-theme="dark"]) .obj_issue_toc .section:before {
	border-top: 1px solid var(--jm-line);
}

:where(html[data-jm-theme="dark"]) .obj_issue_toc .galleys>h2,
:where(html[data-jm-theme="dark"]) .obj_issue_toc .section>h2,
:where(html[data-jm-theme="dark"]) .obj_issue_toc .galleys>h3,
:where(html[data-jm-theme="dark"]) .obj_issue_toc .section>h3 {
	background: var(--jm-bg);
	color: var(--jm-ink-soft);
}

}

:where(html[data-jm-theme="dark"]) .pkp_block .title {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .block_browse .has_submenu {
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .block_browse .current a {
	border-left: 4px solid var(--jm-line);
	color: var(--jm-ink-soft);
}

:where(html[data-jm-theme="dark"]) .pkp_structure_footer_wrapper {
	background: var(--jm-line);
}



:root {
	--jm-accent: #C2410C;
	--jm-ink: #141414;
	--jm-ink-soft: #4A4A4A;
	--jm-line: #E4E4E4;
	--jm-neutral: #F4F5F7;
	--jm-dark: #0A0A0A;
	--jm-container: 1560px;
	--jm-gutter: clamp(20px, 4vw, 56px);
	--jm-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Base ---------- */

body {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--jm-ink);
	background: var(--jm-bg);
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--jm-accent-text);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid var(--jm-accent);
	outline-offset: 2px;
}

.jm_mono {
	font-family: var(--jm-mono);
	font-weight: 500;
}

.jm_accent {
	color: var(--jm-accent-text);
}

.jm_screen_reader {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Skip links: invisible, shown only to keyboard users */
.cmp_skip_to_content {
	position: absolute;
	top: 0;
	left: -9999px;
	z-index: 10000;
	padding: 8px;
	background: var(--jm-bg);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cmp_skip_to_content:focus-within {
	left: 8px;
	top: 8px;
}

.cmp_skip_to_content a {
	display: block;
	padding: 6px 10px;
	color: var(--jm-ink);
	font-weight: 600;
}

/* ---------- Layout: fluid, no fixed widths, no sidebar ---------- */

.pkp_structure_page {
	max-width: none;
	width: 100%;
	margin: 0;
	box-shadow: none;
	overflow-x: clip;
}

.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_navigation_user,
.pkp_search_mobile,
.pkp_structure_content,
.pkp_structure_footer,
.has_site_logo .pkp_head_wrapper,
.has_site_logo .pkp_site_name,
.has_site_logo .pkp_navigation_primary_wrapper {
	width: auto;
	max-width: none;
}

.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper {
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.pkp_structure_main::before,
.pkp_structure_main::after {
	display: none;
}

.pkp_structure_content,
.pkp_structure_head .pkp_head_wrapper,
.jm_topbar_inner,
.pkp_structure_footer,
.jm_wrap {
	max-width: var(--jm-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--jm-gutter);
	padding-right: var(--jm-gutter);
	box-sizing: border-box;
}

.pkp_structure_content {
	display: block;
	padding-top: 24px;
	padding-bottom: 64px;
}

.pkp_structure_content::before,
.pkp_structure_content::after {
	display: none;
}

.pkp_structure_main {
	display: block;
	float: none;
	width: auto;
	min-width: 0;
	padding: 0;
	margin: 0;
}

/* The home page is made of full-width bands, so it needs no container */
.pkp_page_index .pkp_structure_content {
	max-width: none;
	padding: 0;
}

/* Text pages keep a readable line length; list pages use the full width */
.pkp_structure_main > .page {
	max-width: 1080px;
}

.pkp_page_article .pkp_structure_main > .page,
.pkp_page_issue .pkp_structure_main > .page,
.pkp_page_search .pkp_structure_main > .page,
.pkp_page_catalog .pkp_structure_main > .page {
	max-width: none;
}

/* ---------- Header: top bar ---------- */

.pkp_structure_head {
	background: var(--jm-bg);
	border-bottom: 1px solid var(--jm-line);
}

.jm_topbar {
	position: relative;
	/* Above the journal name, the main menu and its submenus, so that the user menu is never covered */
	z-index: 2100;
	background: var(--jm-neutral);
	border-bottom: 1px solid var(--jm-line);
	font-size: 0.929rem;
}

.jm_topbar_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 38px;
}

.jm_topbar_issn {
	font-family: var(--jm-mono);
	font-weight: 500;
	color: var(--jm-ink-soft);
	white-space: nowrap;
}

.jm_topbar_right {
	display: flex;
	align-items: center;
	gap: 8px 16px;
	min-width: 0;
}

.jm_lang {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
}

/* The globe sits above the language buttons */
.jm_lang_icon {
	display: block;
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--jm-ink-soft);
}

.jm_lang ul {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_lang li {
	margin: 0;
	padding: 0;
}

.jm_lang a {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	color: var(--jm-ink);
	font-weight: 700;
	text-decoration: none;
}

.jm_lang a:hover {
	background: var(--jm-bg);
}

.jm_lang a.is_current {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

/* User menu (login, dashboard, profile, logout) as a compact dropdown */
.jm_topbar .jm_user {
	position: relative;
}

.jm_topbar .jm_user ul.pkp_navigation_user {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	text-align: left;
}

.jm_topbar .jm_user ul.pkp_navigation_user > li {
	position: relative;
	display: block;
	margin: 0;
}

.jm_topbar .jm_user ul.pkp_navigation_user > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 6px;
	color: var(--jm-ink);
	font-size: 0.929rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.jm_topbar .jm_user ul.pkp_navigation_user > li > a:hover,
.jm_topbar .jm_user ul.pkp_navigation_user > li > a:focus {
	background: var(--jm-bg);
	color: var(--jm-ink);
}

.jm_topbar .jm_user ul.pkp_navigation_user [aria-haspopup]::after {
	content: "";
	width: 0;
	height: 0;
	border-top: 4px solid currentColor;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

/* Numbers of pending tasks are shown only inside the dropdown */
.jm_topbar .jm_user .task_count {
	display: none;
}

.jm_topbar .jm_user ul.pkp_navigation_user ul {
	position: absolute !important;
	top: 100% !important;
	right: 0 !important;
	left: auto !important;
	transform: none !important;
	z-index: 2000;
	display: none;
	min-width: 13rem;
	width: auto;
	margin: 4px 0 0;
	padding: 6px;
	list-style: none;
	background: var(--jm-bg);
	border: 1px solid var(--jm-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.jm_topbar .jm_user ul.pkp_navigation_user > li:hover > ul,
.jm_topbar .jm_user ul.pkp_navigation_user > li:focus-within > ul,
.jm_topbar .jm_user ul.pkp_navigation_user ul.show {
	display: block;
}

/* An invisible bridge over the gap between the button and the list: the
   pointer stays "inside" the menu on its way down to the items */
.jm_topbar .jm_user ul.pkp_navigation_user ul::before {
	content: "";
	position: absolute;
	top: -12px;
	right: -6px;
	left: -6px;
	height: 12px;
}

/* With the script the list is opened and closed only by it (hover intent with a
   delay, keyboard, touch); without the script :hover and :focus-within still work */
.jm_topbar .jm_user.jm_user_js ul.pkp_navigation_user > li:hover > ul,
.jm_topbar .jm_user.jm_user_js ul.pkp_navigation_user > li:focus-within > ul,
.jm_topbar .jm_user.jm_user_js ul.pkp_navigation_user ul.show {
	display: none;
}

.jm_topbar .jm_user.jm_user_js ul.pkp_navigation_user > li.jm_open > ul {
	display: block;
}

.jm_topbar .jm_user ul.pkp_navigation_user > li.jm_open > a {
	background: var(--jm-bg);
}

.jm_topbar .jm_user ul.pkp_navigation_user ul li {
	display: block;
	margin: 0;
}

.jm_topbar .jm_user ul.pkp_navigation_user ul a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	color: var(--jm-ink);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
}

.jm_topbar .jm_user ul.pkp_navigation_user ul a:hover,
.jm_topbar .jm_user ul.pkp_navigation_user ul a:focus {
	background: var(--jm-neutral);
	outline: 0;
}

.jm_topbar .jm_user ul.pkp_navigation_user ul .task_count {
	display: inline-block;
	min-width: 22px;
	height: 22px;
	margin: 0;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--jm-accent);
	color: #fff;
	font-size: 0.857rem;
	line-height: 22px;
	text-align: center;
	box-sizing: border-box;
}

/* ---------- Header: journal name, main menu, burger ---------- */

.pkp_site_name .is_text {
	color: var(--jm-ink);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.pkp_site_nav_toggle {
	box-shadow: none;
}

.pkp_navigation_primary_wrapper .jm_cta,
.jm_cta {
	display: inline-block;
	margin-left: 12px;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--jm-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}

.pkp_navigation_primary_wrapper .jm_cta:hover,
.pkp_navigation_primary_wrapper .jm_cta:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg) !important;
}

/* Small screens: burger menu, panel under the header */
@media (max-width: 991px) {
	.jm_cta_desktop {
		display: none;
	}

	.pkp_structure_head .pkp_head_wrapper {
		padding-top: 0;
		padding-bottom: 0;
	}

	.pkp_site_nav_menu {
		padding: 12px var(--jm-gutter) 20px;
		border-top: 1px solid var(--jm-line);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li > a {
		display: block;
		padding: 10px 0;
		font-weight: 600;
		border-bottom: 1px solid var(--jm-line);
	}

	.pkp_site_nav_menu ul ul a {
		padding-left: 12px;
		font-weight: 400;
	}

	.pkp_navigation_primary_wrapper .jm_cta_mobile {
		display: block;
		margin: 16px 0 0;
		padding: 14px 18px;
		text-align: center;
	}

	.pkp_site_name .is_text {
		font-size: 1.214rem;
	}
}

/* Wide screens: first line is the journal name and the button, second line is the one-line menu */
@media (min-width: 992px) {
	.pkp_navigation_primary_wrapper .jm_cta_mobile {
		display: none;
	}

	.pkp_structure_head .pkp_head_wrapper {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 32px;
		padding-top: 16px;
		padding-bottom: 0;
	}

	.pkp_site_name_wrapper {
		flex: 1 1 auto;
		height: auto;
	}

	.pkp_site_name {
		position: static;
		width: auto;
		padding: 0;
		font-size: 1rem;
		white-space: normal;
	}

	.pkp_site_name .is_text {
		font-size: 1.714rem;
		line-height: 1.2;
	}

	.jm_cta_desktop {
		flex: 0 0 auto;
		margin-left: 0;
	}

	.pkp_site_nav_menu {
		display: block;
		position: static;
		flex: 1 1 100%;
		min-width: 0;
		width: auto;
		margin-top: 12px;
		padding: 0;
		background: transparent;
		border-top: 1px solid var(--jm-line);
	}

	.pkp_navigation_primary_row {
		display: block;
	}

	.pkp_navigation_primary_wrapper {
		display: block;
	}

	.pkp_navigation_primary_wrapper .pkp_navigation_primary {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 clamp(14px, 1.7vw, 32px);
		max-width: none;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li {
		display: block;
		margin: 0;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li:first-child > a,
	.pkp_site_nav_menu .pkp_navigation_primary > li:last-child > a {
		margin-left: 0;
		margin-right: 0;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li > a {
		display: block;
		margin: 0;
		padding: 14px 0 12px;
		border-bottom: 2px solid transparent;
		color: var(--jm-ink);
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.3;
		white-space: nowrap;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li > a:hover,
	.pkp_site_nav_menu .pkp_navigation_primary > li > a:focus {
		border-bottom-color: var(--jm-accent);
		background: transparent;
		color: var(--jm-ink);
		outline: 0;
	}

	/* Submenus of the main menu */
	.pkp_site_nav_menu .pkp_navigation_primary ul {
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		transform: none !important;
		display: none;
		z-index: 2000;
		min-width: 14rem;
		width: auto;
		padding: 6px;
		background: var(--jm-bg);
		border: 1px solid var(--jm-line);
		border-radius: 10px;
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li:hover > ul,
	.pkp_site_nav_menu .pkp_navigation_primary > li:focus-within > ul,
	.pkp_site_nav_menu .pkp_navigation_primary ul.show {
		display: block;
	}

	.pkp_site_nav_menu .pkp_navigation_primary ul a {
		display: block;
		padding: 8px 12px;
		border: 0;
		border-radius: 6px;
		color: var(--jm-ink);
		font-size: 1rem;
		font-weight: 600;
		white-space: normal;
	}

	.pkp_site_nav_menu .pkp_navigation_primary ul a:hover,
	.pkp_site_nav_menu .pkp_navigation_primary ul a:focus {
		background: var(--jm-neutral);
		outline: 0;
	}
}

@media (min-width: 992px) and (max-width: 1279px) {
	.pkp_site_nav_menu .pkp_navigation_primary > li > a {
		font-size: 0.929rem;
	}
}

/* ---------- Home: shared pieces ---------- */

.jm_home {
	margin: 0;
}

.jm_eyebrow {
	margin: 0 0 14px;
	font-size: 0.857rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jm-accent-text);
}

.jm_eyebrow .jm_mono {
	margin-left: 4px;
	letter-spacing: 0.06em;
}

.jm_eyebrow_muted {
	color: var(--jm-ink-soft);
}

.jm_eyebrow_light {
	color: #C9C9C9;
}

.jm_home h2 {
	margin: 0;
	font-size: clamp(1.857rem, 3vw, 2.714rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: inherit;
}

.jm_block {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.jm_source {
	margin: 14px 0 0;
	font-family: var(--jm-mono);
	font-size: 0.857rem;
	line-height: 1.5;
	color: var(--jm-muted);
}

.jm_btn {
	display: inline-block;
	padding: 14px 24px;
	border: 2px solid var(--jm-ink);
	border-radius: 8px;
	font-size: 1.071rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.jm_btn_primary {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

.jm_btn_primary:hover,
.jm_btn_primary:focus {
	background: var(--jm-accent);
	border-color: var(--jm-accent);
	color: #fff;
}

.jm_btn_ghost {
	background: var(--jm-bg);
	color: var(--jm-ink);
}

.jm_btn_ghost:hover,
.jm_btn_ghost:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

.jm_btn_accent {
	background: var(--jm-accent);
	border-color: var(--jm-accent);
	color: #fff;
}

.jm_btn_accent:hover,
.jm_btn_accent:focus {
	background: #fff;
	color: #141414;
	border-color: #fff;
}

.jm_btn_light {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.jm_btn_light:hover,
.jm_btn_light:focus {
	background: #fff;
	color: #141414;
}

.jm_link_arrow {
	font-weight: 700;
	text-decoration: none;
}

.jm_link_arrow::after {
	content: " →";
}

/* ---------- Home: hero ---------- */

.jm_hero {
	padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.5vw, 44px);
}

.jm_hero_grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px 56px;
}

.jm_hero_text {
	flex: 1 1 520px;
	min-width: 0;
}

.jm_hero_stats {
	flex: 1 1 440px;
	min-width: 0;
}

.jm_hero h1 {
	margin: 0 0 24px;
	font-size: clamp(2.429rem, 5vw, 4.286rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--jm-ink);
}

.jm_hero h1 .jm_accent {
	display: block;
}

.jm_lead {
	max-width: 620px;
	margin: 0 0 28px;
	font-size: 1.286rem;
	line-height: 1.6;
	color: var(--jm-ink-soft);
}

.jm_hero_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.jm_stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_stats li {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--jm-line);
	border-radius: 12px;
}

.jm_stat_value {
	display: block;
	font-size: clamp(2.857rem, 4.4vw, 4rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--jm-ink);
}

.jm_stat_value.jm_accent {
	color: var(--jm-accent-text);
}

.jm_stat_label {
	display: block;
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--jm-ink-soft);
}

/* ---------- Home: bands ---------- */

.jm_band {
	padding: clamp(40px, 6vw, 72px) 0;
	background: var(--jm-neutral);
}

.jm_band_dark {
	background: var(--jm-dark-band);
	color: #fff;
}

.jm_band_head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 40px;
}

.jm_band_lead {
	max-width: 420px;
	margin: 0;
	font-size: 1.071rem;
	line-height: 1.5;
	color: var(--jm-ink-soft);
}

/* Workflow line */

.jm_flow {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_flow li {
	position: relative;
	flex-basis: 0;
	min-width: 118px;
	margin: 0;
	padding: 0;
}

.jm_flow_bar {
	position: relative;
	display: block;
	height: 18px;
	background: var(--jm-ink);
	border-radius: 2px;
}

.jm_flow li:first-child .jm_flow_bar {
	border-radius: 4px 0 0 4px;
}

.jm_flow li:last-child .jm_flow_bar {
	border-radius: 0 4px 4px 0;
}

/* With the stage marker: finished stages dark, current accent, next ones light */
.jm_flow_tracked li .jm_flow_bar {
	background: var(--jm-track);
}

.jm_flow_tracked li.is_done .jm_flow_bar {
	background: var(--jm-ink);
}

/* Current stage: the track is a pale accent, the travelled part is solid accent
   and the round marker sits at the share of the typical term already elapsed */
.jm_flow_tracked li.is_current .jm_flow_bar {
	background: #F5D9CB;
	background: color-mix(in srgb, var(--jm-accent) 22%, var(--jm-bg));
	--jm-dot: 38px;
}

.jm_flow_fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: calc(var(--jm-p, 0) * 1%);
	border-radius: inherit;
	background: var(--jm-accent);
}

.jm_flow_dot {
	position: absolute;
	top: 50%;
	left: calc(var(--jm-p, 0) * 1%);
	width: var(--jm-dot, 38px);
	height: var(--jm-dot, 38px);
	margin: calc(var(--jm-dot, 38px) / -2) 0 0 calc(var(--jm-p, 0) * var(--jm-dot, 38px) * -0.01);
	border: 5px solid var(--jm-bg);
	border-radius: 50%;
	background: var(--jm-accent);
	box-shadow: 0 0 0 4px var(--jm-accent), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.jm_flow_progress {
	display: block;
	margin-top: 8px;
	font-family: var(--jm-mono);
	font-size: 0.929rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--jm-accent-text);
}

.jm_flow_name,
.jm_flow_term,
.jm_flow_now {
	display: block;
	overflow-wrap: anywhere;
}

.jm_flow_name {
	margin-top: 14px;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
}

.jm_flow_term {
	margin-top: 4px;
	font-size: 0.929rem;
	line-height: 1.4;
	color: var(--jm-ink-soft);
}

.jm_flow_now {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--jm-accent);
	color: #fff;
	font-size: 0.857rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Most read */

.jm_mostread_list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.jm_mostread_list li {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--jm-line);
	border-radius: 12px;
}

.jm_rank {
	display: block;
	margin-bottom: 12px;
	font-family: var(--jm-mono);
	font-size: 1.571rem;
	font-weight: 500;
	color: var(--jm-accent-text);
}

.jm_home .jm_mostread_list h3 {
	margin: 0 0 8px;
	font-size: 1.286rem;
	font-weight: 800;
	line-height: 1.35;
}

.jm_mostread_list h3 a {
	color: var(--jm-ink);
	text-decoration: none;
}

.jm_mostread_list h3 a:hover,
.jm_mostread_list h3 a:focus {
	color: var(--jm-accent-text);
	text-decoration: underline;
}

.jm_mostread_authors {
	margin: 0 0 14px;
	font-size: 1rem;
	color: var(--jm-ink-soft);
}

.jm_mostread_numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0;
	font-size: 1rem;
	color: var(--jm-ink-soft);
}

.jm_mostread_numbers strong {
	font-size: 1.571rem;
	font-weight: 800;
	color: var(--jm-ink);
}

.jm_mostread_numbers a {
	font-weight: 700;
}

/* The same pieces of the three cards sit on the same lines: place, title,
   authors, numbers. Each card takes four rows of the list grid (subgrid);
   browsers without subgrid at least keep the numbers at the bottom. */
.jm_mostread_list > li {
	display: flex;
	flex-direction: column;
}

.jm_mostread_list > li > .jm_mostread_numbers {
	margin-top: auto;
}

.jm_mostread_authors:empty {
	min-height: 1px;
}

@supports (grid-template-rows: subgrid) {
	.jm_mostread_list > li {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		row-gap: 0;
	}

	.jm_mostread_list > li > .jm_mostread_numbers {
		align-self: end;
		margin-top: 0;
	}
}

.jm_mostread_numbers {
	align-items: baseline;
}

/* Gold, silver and bronze for the three most read articles */
.jm_awards {
	--jm-gold-a: #FFE38A;
	--jm-gold-b: #F2BF3A;
	--jm-gold-c: #B98612;
	--jm-gold-text: #855C00;
	--jm-silver-a: #F5F7F9;
	--jm-silver-b: #C5CCD4;
	--jm-silver-c: #858F9A;
	--jm-silver-text: #4F5965;
	--jm-bronze-a: #F2C09A;
	--jm-bronze-b: #CB8650;
	--jm-bronze-c: #8A4E24;
	--jm-bronze-text: #8A4A1C;
}

html[data-jm-theme="dark"] .jm_awards {
	--jm-gold-text: #F2C94C;
	--jm-silver-text: #CBD3DC;
	--jm-bronze-text: #E7A673;
}

.jm_awards .jm_place_1 { --jm-m-a: var(--jm-gold-a); --jm-m-b: var(--jm-gold-b); --jm-m-c: var(--jm-gold-c); --jm-m-text: var(--jm-gold-text); }
.jm_awards .jm_place_2 { --jm-m-a: var(--jm-silver-a); --jm-m-b: var(--jm-silver-b); --jm-m-c: var(--jm-silver-c); --jm-m-text: var(--jm-silver-text); }
.jm_awards .jm_place_3 { --jm-m-a: var(--jm-bronze-a); --jm-m-b: var(--jm-bronze-b); --jm-m-c: var(--jm-bronze-c); --jm-m-text: var(--jm-bronze-text); }

.jm_awards > li[class*="jm_place_"] {
	position: relative;
	border-color: color-mix(in srgb, var(--jm-m-b) 55%, var(--jm-line));
	background: linear-gradient(180deg, color-mix(in srgb, var(--jm-m-b) 9%, transparent), transparent 120px);
	box-shadow: inset 0 4px 0 var(--jm-m-b);
}

.jm_medal {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-family: inherit;
	isolation: isolate;
}

/* Disc with the place number and two ribbon tails behind it */
.jm_medal_disc {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, var(--jm-m-a) 0, var(--jm-m-b) 55%, var(--jm-m-c) 100%);
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.18);
	color: #1E1A12;
	font-family: var(--jm-mono);
	font-size: 1.214rem;
	font-weight: 500;
	line-height: 1;
}

.jm_medal_disc::before,
.jm_medal_disc::after {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: -9px;
	width: 11px;
	height: 18px;
	background: var(--jm-m-c);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}

.jm_medal_disc::before {
	left: 9px;
	transform: rotate(18deg);
}

.jm_medal_disc::after {
	right: 9px;
	transform: rotate(-18deg);
}

.jm_medal_label {
	font-size: 0.857rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jm-m-text);
}

html[data-jm-theme="dark"] .jm_medal_disc {
	box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.18), 0 0 0 2px var(--jm-bg), 0 0 0 3px color-mix(in srgb, var(--jm-m-b) 60%, transparent);
}

@media (forced-colors: active) {
	.jm_medal_disc {
		border: 2px solid CanvasText;
	}
}

/* Compact spacing of the workflow band and of the block after it */
.jm_band.jm_workflow {
	padding: clamp(28px, 3.5vw, 44px) 0;
}

.jm_workflow .jm_band_head {
	margin-bottom: 28px;
}

.jm_workflow .jm_flow_status {
	margin-top: 20px;
}

.jm_home .jm_block.jm_mostread {
	padding-top: clamp(28px, 4vw, 48px);
}

/* Numbers of manuscripts at each stage, under the workflow line */
.jm_counts {
	--jm-c-submission: #2563EB;
	--jm-c-review: var(--jm-accent);
	--jm-c-copyediting: #7C3AED;
	--jm-c-production: #15803D;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--jm-line);
}

.jm_counts_solo {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

html[data-jm-theme="dark"] .jm_counts {
	--jm-c-submission: #6EA0FF;
	--jm-c-review: color-mix(in srgb, var(--jm-accent) 60%, #fff);
	--jm-c-copyediting: #B197FC;
	--jm-c-production: #4ADE80;
}

.jm_home .jm_counts_title {
	margin: 0 0 12px;
	font-size: 0.857rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--jm-ink-soft);
}

.jm_counts_list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_count {
	--jm-c: var(--jm-ink);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 18px 10px 14px;
	border: 1px solid var(--jm-line);
	border-left: 4px solid var(--jm-c);
	border-radius: 10px;
	background: var(--jm-bg);
	font-size: 1.071rem;
	line-height: 1.3;
}

.jm_count_submission { --jm-c: var(--jm-c-submission); }
.jm_count_review { --jm-c: var(--jm-c-review); }
.jm_count_copyediting { --jm-c: var(--jm-c-copyediting); }
.jm_count_production { --jm-c: var(--jm-c-production); }

.jm_count_dot {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--jm-c);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--jm-c) 22%, transparent);
}

.jm_count_label {
	font-weight: 600;
	color: var(--jm-ink-2);
}

.jm_count_value {
	font-family: var(--jm-mono);
	font-size: 1.286rem;
	font-weight: 500;
	color: var(--jm-ink);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
	.jm_counts_list {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.jm_count {
		padding: 8px 12px 8px 10px;
		font-size: 1rem;
	}
}

/* Call-to-action band (latest announcement) */

.jm_cta_grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 40px;
}

.jm_cta_grid > div {
	flex: 1 1 520px;
	min-width: 0;
}

.jm_cta_band h2 {
	margin-bottom: 12px;
}

.jm_cta_text {
	max-width: 720px;
	font-size: 1.143rem;
	line-height: 1.6;
	color: #C9C9C9;
}

.jm_cta_text p {
	margin: 0;
}

.jm_cta_actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

/* Articles of the current issue */

.jm_articles {
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--jm-line);
}

.jm_article {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--jm-line);
}

.jm_article_row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px 32px;
	padding: 28px 0;
}

.jm_article_num {
	flex: 0 0 32px;
	font-family: var(--jm-mono);
	font-size: 1.429rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--jm-accent-text);
}

.jm_article_main {
	flex: 1 1 420px;
	min-width: 0;
}

.jm_articles .jm_article_title {
	margin: 0 0 10px;
	font-size: clamp(1.286rem, 1.8vw, 1.571rem);
	font-weight: 800;
	line-height: 1.3;
}

.jm_article_title a {
	color: var(--jm-ink);
	text-decoration: none;
}

.jm_article_title a:hover,
.jm_article_title a:focus {
	color: var(--jm-accent-text);
	text-decoration: underline;
}

.jm_article_authors {
	margin: 0 0 8px;
	font-size: 1.071rem;
	color: var(--jm-ink-soft);
}

.jm_article_doi {
	margin: 0;
	font-size: 0.929rem;
	color: var(--jm-ink-soft);
	overflow-wrap: anywhere;
}

.jm_article_doi a {
	color: var(--jm-ink-soft);
	text-decoration: underline;
}

.jm_article_views {
	flex: 0 0 96px;
}

.jm_article_views_value {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.jm_article_views_label {
	display: block;
	margin-top: 4px;
	font-size: 0.929rem;
	color: var(--jm-ink-soft);
}

.jm_article_pdf {
	flex: 0 0 auto;
	padding: 11px 20px;
	border: 1.5px solid var(--jm-ink);
	border-radius: 8px;
	color: var(--jm-ink);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}

.jm_article_pdf:hover,
.jm_article_pdf:focus {
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
}

.jm_issue_links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 28px 0 0;
}

.jm_home .homepage_image img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.jm_home .homepage_image,
.jm_home .additional_content {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Article page ---------- */

.jm_article_layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px clamp(32px, 4vw, 64px);
}

.jm_article_body {
	flex: 1 1 640px;
	min-width: 0;
	max-width: 880px;
}

.jm_article_aside {
	flex: 0 1 340px;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* The side column scrolls with the page: a sticky column taller than the screen
   would hide its lower part until the end of the article */
.jm_article_aside {
	align-self: flex-start;
}

.jm_article_page .jm_article_head {
	margin-bottom: 8px;
}

.jm_article_page .jm_eyebrow {
	margin-bottom: 18px;
}

.jm_article_page h1.page_title {
	margin: 0 0 16px;
	font-size: clamp(1.857rem, 3.4vw, 2.857rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--jm-ink);
}

.jm_article_page .subtitle {
	margin: 0 0 16px;
	font-size: 1.429rem;
	line-height: 1.4;
	color: var(--jm-ink-soft);
}

.jm_published {
	margin: 0 0 20px;
	font-size: 1.071rem;
	font-weight: 600;
	color: var(--jm-ink);
}

.jm_published_label {
	margin-right: 8px;
	font-size: 0.857rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jm-ink-soft);
}

.jm_article_page .item {
	margin: 0 0 36px;
	padding: 0;
	background: none;
	border: 0;
}

.jm_article_page .authors ul,
.jm_article_page ul.authors {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_article_page .authors li {
	margin: 0 0 14px;
	padding: 0;
}

.jm_article_page .authors .name {
	display: block;
	font-size: 1.286rem;
	font-weight: 800;
}

.jm_article_page .authors .affiliation,
.jm_article_page .authors .userGroup,
.jm_article_page .authors .orcid {
	display: block;
	font-size: 1.071rem;
	line-height: 1.5;
	color: var(--jm-ink-soft);
}

.jm_article_page .authors .orcid a {
	font-family: var(--jm-mono);
	font-size: 1rem;
}

.jm_doi {
	margin: 0 0 24px;
	font-size: 1.071rem;
	overflow-wrap: anywhere;
}

.jm_doi_label {
	margin-right: 8px;
	font-size: 0.857rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--jm-ink-soft);
}

.jm_galleys .galleys_links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_galleys .galleys_links li {
	margin: 0;
}

.jm_article_page .obj_galley_link,
.jm_article_page .obj_galley_link_supplementary {
	display: inline-block;
	padding: 13px 24px;
	border: 2px solid var(--jm-ink);
	border-radius: 8px;
	background: var(--jm-inv-bg);
	color: var(--jm-inv-fg);
	font-size: 1.071rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.jm_article_page .obj_galley_link_supplementary {
	background: var(--jm-bg);
	color: var(--jm-ink);
}

.jm_article_page .obj_galley_link:hover,
.jm_article_page .obj_galley_link:focus {
	background: var(--jm-accent);
	border-color: var(--jm-accent);
	color: #fff;
}

.jm_article_page section.item > h2.label,
.jm_article_page section.item h2.label,
.jm_article_page .item.keywords h2.label,
.jm_article_page .item.references h2.label,
.jm_article_page .item.author_bios h2.label {
	margin: 0 0 14px;
	padding: 0;
	font-size: 1.714rem !important;
	font-weight: 800;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--jm-ink);
}

.jm_article_page .abstract,
.jm_article_page .references .value,
.jm_bio_text {
	font-size: 1.214rem;
	line-height: 1.7;
	color: var(--jm-ink-2);
}

.jm_article_page .abstract p {
	margin: 0 0 1em;
}

.jm_keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_keywords li {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.143rem;
	line-height: 1.6;
}

.jm_keywords li:not(:last-child)::after {
	content: ";";
	margin-right: 6px;
	color: var(--jm-ink-soft);
}

.jm_bios {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_bio {
	margin: 0 0 18px;
	padding: 20px 24px;
	background: var(--jm-neutral);
	border-radius: 12px;
}

.jm_bio_name {
	margin: 0 0 8px;
	font-size: 1.214rem;
	font-weight: 800;
}

.jm_bio_text p {
	margin: 0 0 0.6em;
}

.jm_bio_orcid {
	margin: 8px 0 0;
	font-size: 1rem;
}

.jm_article_page .references .value p {
	margin: 0 0 10px;
	font-size: 1.143rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

/* How to cite, citation formats, download citation, sharing (side card) */
.jm_cite .item,
.jm_cite .sub_item {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
	background: none;
}

.jm_cite > :last-child,
.jm_cite .item:last-child {
	margin-bottom: 0;
}

.jm_cite h2,
.jm_cite .item > .label,
.jm_cite .item > h2.label {
	margin: 0 0 12px;
	padding: 0;
	font-size: 1.286rem !important;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jm-ink);
}

.jm_cite h3,
.jm_cite .sub_item > .label,
.jm_cite .sub_item h3.label {
	margin: 0 0 10px;
	font-size: 1rem;
	font-weight: 800;
	color: var(--jm-ink);
}

.jm_cite .citation_display .csl-entry,
.jm_cite .citation_display .csl-bib-body {
	padding: 14px 16px;
	background: var(--jm-neutral);
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.jm_cite .csl-entry + .csl-entry {
	margin-top: 8px;
}

.jm_card.jm_cite ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_cite li {
	margin: 0;
	padding: 0;
}

.jm_cite ul a,
.jm_cite .citation_formats_button,
.jm_cite button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 0;
	border: 0 !important;
	border-radius: 0;
	background: none !important;
	box-shadow: none !important;
	outline-offset: 3px;
	color: var(--jm-ink);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-color: rgba(128, 128, 128, 0.6);
	text-underline-offset: 3px;
	cursor: pointer;
}

.jm_cite ul a:hover,
.jm_cite ul a:focus,
.jm_cite .citation_formats_button:hover,
.jm_cite .citation_formats_button:focus,
.jm_cite button:hover,
.jm_cite button:focus {
	color: var(--jm-accent-text);
	text-decoration-color: currentColor;
}

/* The list of citation styles (APA, MLA, ...) is a vertical list, not chips */
.jm_cite .citation_formats_styles {
	flex-direction: column;
	gap: 0;
	margin-top: 8px;
}

.jm_cite .citation_formats_styles a {
	display: block;
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: none;
	font-weight: 600;
	text-decoration: none;
}

.jm_cite .citation_formats_styles a:hover,
.jm_cite .citation_formats_styles a:focus {
	background: var(--jm-neutral) !important;
	color: var(--jm-ink);
}

.jm_cite .citation_formats_list {
	margin-top: 8px;
}

/* Side cards */

.jm_card {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--jm-line);
	border-radius: 12px;
	background: var(--jm-bg);
}

.jm_card h2 {
	margin: 0 0 16px;
	font-size: 1.286rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: none;
	color: var(--jm-ink);
}

.jm_card_cover {
	padding: 0;
	overflow: hidden;
}

.jm_card_cover img {
	display: block;
	width: 100%;
	height: auto;
}

.jm_facts {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.jm_facts dt {
	margin: 0;
	color: var(--jm-muted);
}

.jm_facts dd {
	margin: 0 0 12px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.jm_facts dd:last-child {
	margin-bottom: 0;
}

.jm_usage_list {
	margin: 0;
}

.jm_usage_list div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--jm-line);
}

.jm_usage_list div:last-child {
	border-bottom: 0;
}

.jm_usage_list dt {
	margin: 0;
	font-size: 1rem;
	color: var(--jm-ink-soft);
}

.jm_usage_list dd {
	margin: 0;
	font-family: var(--jm-mono);
	font-size: 1.429rem;
	font-weight: 500;
	color: var(--jm-ink);
}

.jm_card:not(.jm_cite) ul {
	margin: 0;
	padding-left: 18px;
}

/* ---------- Text pages, issue pages, forms ---------- */

.pkp_structure_main h1,
.page h1 {
	font-size: clamp(2rem, 4vw, 3.143rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.pkp_structure_main h2 {
	font-weight: 800;
	letter-spacing: -0.01em;
}

.cmp_breadcrumbs {
	margin-bottom: 24px;
	font-size: 0.929rem;
}

.cmp_button,
.pkp_button,
button[type="submit"],
input[type="submit"] {
	border-radius: 8px;
	font-weight: 700;
}

.obj_article_summary .title a {
	color: var(--jm-ink);
}

.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus {
	color: var(--jm-accent-text);
}

.obj_galley_link {
	border-radius: 8px;
	font-weight: 700;
}

/* ---------- Footer ---------- */

.pkp_structure_footer_wrapper {
	background: var(--jm-dark);
	color: rgba(255, 255, 255, 0.78);
	border-top: 0;
}

.pkp_structure_footer {
	padding-top: 48px;
	padding-bottom: 32px;
	text-align: left;
}

.pkp_structure_footer a {
	color: #fff;
}

.jm_footer_grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.jm_footer_name {
	margin: 0 0 8px;
	font-size: 1.429rem;
	font-weight: 800;
	color: #fff;
}

.jm_footer_meta {
	margin: 0 0 4px;
	font-family: var(--jm-mono);
	font-size: 0.929rem;
}

.jm_footer_nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jm_footer_nav li {
	margin: 0;
}

.jm_footer_nav a {
	font-weight: 600;
	text-decoration: none;
}

.jm_footer_nav a:hover,
.jm_footer_nav a:focus {
	text-decoration: underline;
}

.jm_footer_bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 24px;
}

.jm_footer_credit {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.6);
}

.jm_footer_credit a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-decoration: none;
}

.jm_footer_credit a:hover,
.jm_footer_credit a:focus {
	text-decoration: underline;
}

.jm_orcid_icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #A6CE39;
	color: #fff;
	font-size: 0.643rem;
	font-weight: 800;
	line-height: 1;
}

.pkp_brand_footer {
	margin-top: 0;
	padding: 0;
	text-align: left;
}

.pkp_brand_footer img {
	filter: brightness(0) invert(1);
	opacity: 0.7;
}

/* ---------- Small screens: content ---------- */

@media (max-width: 767px) {
	.jm_flow {
		flex-direction: column;
		gap: 16px;
	}

	.jm_flow li {
		flex-grow: 1 !important;
	}

	.jm_article_views {
		flex: 0 0 auto;
		display: flex;
		align-items: baseline;
		gap: 8px;
	}

	.jm_article_row {
		gap: 12px 16px;
	}

	.jm_article_num {
		flex-basis: 28px;
	}

	.jm_topbar_issn {
		display: none;
	}

	.jm_topbar_inner {
		justify-content: flex-end;
	}
}

@media print {
	.jm_topbar,
	.jm_cta,
	.jm_lang,
	.jm_article_aside {
		display: none;
	}
}


/* Archive of issues: cover in its own column, title and description in the other */
.page_issue_archive .issues_archive,
.page_issue_archive .issues_archive > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page_issue_archive .issues_archive > li {
	padding: 28px 0;
	border-top: 1px solid var(--jm-line);
}

.page_issue_archive .obj_issue_summary {
	display: block;
	min-width: 0;
}

.page_issue_archive .obj_issue_summary::before,
.page_issue_archive .obj_issue_summary::after {
	display: none;
	content: none;
}

.page_issue_archive .obj_issue_summary h2 {
	margin: 0 0 10px;
	font-size: 1.571rem;
	line-height: 1.3;
}

.page_issue_archive .obj_issue_summary .description {
	min-width: 0;
	font-size: 1.143rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.page_issue_archive .obj_issue_summary .description img {
	max-width: 100%;
	height: auto;
}

@media (min-width: 700px) {
	.page_issue_archive .obj_issue_summary:has(> .cover) {
		display: grid;
		grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: clamp(20px, 3vw, 40px);
		align-items: start;
	}

	.page_issue_archive .obj_issue_summary > .cover {
		grid-column: 1;
		grid-row: 1 / span 2;
		float: none;
		width: auto;
		margin: 0;
	}

	.page_issue_archive .obj_issue_summary > .cover img {
		width: 100%;
		max-height: none;
		height: auto;
	}

	.page_issue_archive .obj_issue_summary > h2,
	.page_issue_archive .obj_issue_summary > .description {
		grid-column: 2;
		float: none;
		clear: none;
	}
}

@media (max-width: 699px) {
	.page_issue_archive .obj_issue_summary > .cover {
		float: none;
		width: auto;
		margin: 0 0 16px;
	}

	.page_issue_archive .obj_issue_summary > .cover img {
		max-width: 180px;
		height: auto;
	}
}

.page_issue_archive .obj_issue_summary .series {
	margin: 4px 0 0;
	font-family: var(--jm-mono);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--jm-ink-soft);
}

/* ---------- Display settings: text size, light/dark theme ---------- */

.jm_prefs {
	display: flex;
	align-items: center;
	gap: 6px 12px;
}

.jm_prefs_group {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 2px;
	border: 1px solid var(--jm-line);
	border-radius: 999px;
	background: var(--jm-bg);
}

.jm_topbar .jm_pref_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	color: var(--jm-ink) !important;
	font-family: inherit;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.jm_topbar .jm_pref_btn:hover:not(:disabled) {
	background: var(--jm-neutral) !important;
	color: var(--jm-ink) !important;
}

.jm_topbar .jm_pref_btn[aria-pressed="true"],
.jm_topbar .jm_pref_btn[aria-pressed="true"]:hover {
	background: var(--jm-inv-bg) !important;
	color: var(--jm-inv-fg) !important;
}

.jm_topbar .jm_pref_btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.jm_pref_a {
	font-size: 1.071rem;
	font-weight: 800;
	line-height: 1;
}

.jm_pref_a_small {
	font-size: 0.857rem;
}

.jm_pref_a_large {
	font-size: 1.357rem;
}

.jm_flow_hint {
	margin: 18px 0 0;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--jm-ink-soft);
}

@media (max-width: 760px) {
	.jm_topbar_issn {
		display: none;
	}

	.jm_topbar_inner {
		flex-wrap: wrap;
		padding-top: 6px;
		padding-bottom: 6px;
	}

	.jm_topbar_right {
		flex-wrap: wrap;
		justify-content: flex-end;
		margin-left: auto;
	}
}

/* Text size: the whole page is scaled through the root font size
   (the parent theme sets 14px; every size in this theme is in rem) */
html[data-jm-size="-1"],
html[data-jm-size="-1"] body {
	font-size: 12.6px;
}

html[data-jm-size="1"],
html[data-jm-size="1"] body {
	font-size: 15.7px;
}

html[data-jm-size="2"],
html[data-jm-size="2"] body {
	font-size: 17.5px;
}

html[data-jm-size="3"],
html[data-jm-size="3"] body {
	font-size: 21px;
}

/* Dark theme: colours come from the variables at the top of this file */
html[data-jm-theme="dark"] {
	color-scheme: dark;
}

html[data-jm-theme="dark"] .pkp_structure_footer_wrapper {
	border-top: 1px solid var(--jm-line);
}

html[data-jm-theme="dark"] .jm_topbar .jm_pref_btn:hover:not(:disabled) {
	background: var(--jm-line) !important;
}

html[data-jm-theme="dark"] img {
	opacity: 0.92;
}

@media print {
	.jm_prefs {
		display: none;
	}
}

html[data-jm-theme="dark"] .jm_flow:not(.jm_flow_tracked) .jm_flow_bar {
	background: #7E838D;
}

/* Language switch: a vertical line after the display settings, then the globe in line with EN / UA */
.jm_topbar .jm_prefs + .jm_lang {
	padding-left: 14px;
	border-left: 1px solid var(--jm-line);
}

.jm_lang {
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.jm_lang_icon {
	width: 18px;
	height: 18px;
}

/* The status line under the workflow strip: who the marked manuscript belongs to, its stage and progress */
.jm_flow_status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin: 26px 0 0;
	font-size: 1.071rem;
	line-height: 1.4;
}

.jm_flow_status .jm_flow_now {
	margin: 0;
	padding: 3px 12px;
	font-size: 0.929rem;
	font-weight: 700;
}

.jm_flow_status_stage {
	font-weight: 800;
}

.jm_flow_status .jm_flow_progress {
	display: inline;
	margin: 0;
}

/* ORCID mark: dark letters on the green circle for contrast */
.jm_orcid_icon {
	color: #111 !important;
}

/* Dark theme: links and buttons. The site's own stylesheet sets `a {color: #000}` and a white
   `button`, which would be black on black here. */
html:where([data-jm-theme="dark"]) a {
	color: var(--jm-accent-text);
}

html:where([data-jm-theme="dark"]) a:hover,
html:where([data-jm-theme="dark"]) a:focus {
	color: #FFC2A3;
}

html[data-jm-theme="dark"] button:not(.jm_pref_btn):not(.pkp_site_nav_toggle):not(.citation_formats_button),
html[data-jm-theme="dark"] .cmp_button:not(.jm_pref_btn),
html[data-jm-theme="dark"] .pkp_button {
	background-color: transparent !important;
	color: var(--jm-accent-text) !important;
	border-color: var(--jm-accent-text) !important;
}

html[data-jm-theme="dark"] button:not(.jm_pref_btn):not(.pkp_site_nav_toggle):not(.citation_formats_button):hover,
html[data-jm-theme="dark"] .cmp_button:not(.jm_pref_btn):hover,
html[data-jm-theme="dark"] .pkp_button:hover {
	background-color: var(--jm-accent) !important;
	color: #fff !important;
	border-color: var(--jm-accent) !important;
}

/* "More citation formats" keeps the text colour of the card (the site's button style would make it orange) */
.jm_cite .citation_formats_button,
.jm_cite button {
	color: var(--jm-ink) !important;
}

/* Search button: the magnifier sits on an accent square (the parent theme draws it with ::after) */
html[data-jm-theme="dark"] .page_search .submit button::after {
	background: var(--jm-accent) !important;
	color: #fff !important;
}

/* How to cite: no frame around "More citation formats" */
.jm_cite .citation_display .citation_formats {
	margin-top: 8px;
	border: 0 !important;
	border-radius: 0;
}

.jm_cite .citation_display .citation_formats_button {
	min-height: 0;
	padding: 0 !important;
}

.jm_cite .citation_display .citation_formats_button::after {
	position: static;
	margin-left: 8px;
	transform: none;
}

/* Home page additional content kept for search engines and screen readers, but not drawn */
.jm_visually_hidden,
.jm_home .additional_content.jm_visually_hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
