/*
 * The journal's inner pages in the new look: a white page, charcoal text, one leaf-green accent
 * and a little ochre; Source Serif 4 for titles, Source Sans 3 for text.
 *
 * This sheet holds what the pages share (page frame, page heading, article card, issue card, small
 * buttons). Classes start with "jp-". Pages are moved onto it one at a time; a page that has not
 * been moved yet still gets the white frame and the colours, and keeps its own layout.
 * The theme's older sheets use !important widely, so some rules here need it too.
 */

:root {
	--jp-ink: #1c2a23;
	--jp-text: #35453d;
	--jp-muted: #62736a;
	--jp-line: #dde5df;
	--jp-paper: #f5f8f5;
	--jp-leaf: #1f6b45;
	--jp-leaf-deep: #17523a;
	--jp-leaf-soft: #e8f2eb;
	--jp-ochre: #b0812a;
	--jp-ochre-ink: #7a5712;
	--jp-ochre-soft: #fbf3de;
	--jp-serif: 'Source Serif 4', 'Merriweather', Georgia, 'Times New Roman', serif;
	--jp-sans: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Page frame: white, without the grey backdrop and the floating card ---------- */

body,
.pkp_structure_page,
.pkp_structure_page .pkp_structure_content {
	background: #fff !important;
}

.pkp_structure_page .pkp_structure_main {
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}

/* ---------- A page moved to the new look ---------- */

.jp-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 12px 8px 24px;
	font-family: var(--jp-sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--jp-text);
}

.jp-page *,
.jp-page *::before,
.jp-page *::after {
	box-sizing: border-box;
}

.jp-page ul,
.jp-page ol {
	list-style: none;
	margin: 0;
	padding: 0 !important;
}

.jp-page li {
	margin: 0;
}

.jp-page p,
.jp-page dl,
.jp-page dt,
.jp-page dd {
	margin: 0;
	padding: 0;
}

.jp-page h1,
.jp-page h2,
.jp-page h3,
.jp-page h4 {
	margin: 0;
	font-family: var(--jp-serif) !important;
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.005em;
	text-transform: none;
	color: var(--jp-ink) !important;
}

.jp-page a {
	color: var(--jp-leaf-deep);
	text-decoration: none;
}

.jp-page a:hover {
	text-decoration: underline;
}

.jp-page a:focus-visible,
.jp-page button:focus-visible {
	outline: 3px solid var(--jp-ochre);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Page heading */

.jp-page-head {
	max-width: 48rem;
	margin-bottom: 32px;
}

.jp-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-bottom: 14px !important;
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-crumbs span {
	color: #a9b6ae;
}

.jp-page .jp-page-head h1 {
	font-size: clamp(2rem, 3.4vw, 2.7rem);
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.jp-page-head > p:not(.jp-crumbs) {
	margin-top: 12px;
	font-size: 1.12rem;
	color: var(--jp-muted);
}

.jp-page a.jp-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--jp-leaf-deep);
}

.jp-page a.jp-more i {
	font-size: 0.78em;
}

.jp-empty {
	padding: 28px 30px !important;
	border: 1px dashed #b6c4ba;
	border-radius: 16px;
}

/* Label and value rows */

.jp-pairs > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-top: 1px solid var(--jp-line);
	font-size: 1rem;
	line-height: 1.35;
}

.jp-pairs > div:last-child {
	border-bottom: 1px solid var(--jp-line);
}

.jp-pairs dt {
	flex: none;
	color: var(--jp-muted);
}

.jp-pairs dd {
	font-weight: 700;
	text-align: right;
	color: var(--jp-ink);
	overflow-wrap: anywhere;
}

/* ---------- Archive: a grid of issues ---------- */

.jp-issues {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 20px;
}

.jp-issue {
	display: grid;
	grid-template-columns: 124px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	height: 100%;
	padding: 20px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
}

.jp-page a.jp-issue-cover {
	display: block;
	border: 0 !important;
}

.jp-page .jp-issue-cover img {
	display: block;
	width: 124px !important;
	height: auto !important;
	aspect-ratio: 124 / 178;
	object-fit: cover;
	max-width: none;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 3px;
	box-shadow: 0 14px 26px -16px rgba(28, 42, 35, 0.65) !important;
}

/* An issue without a cover gets a plain plate with its number, centred in the plate.
   (!important: an older rule for the cover link sets "display: block", which pushed the
   number to the top of the plate on the live site.) */
.jp-page a.jp-issue-cover-blank {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 124px;
	aspect-ratio: 124 / 178;
	border-radius: 3px;
	background: var(--jp-leaf-soft);
	font-family: var(--jp-serif);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: var(--jp-leaf-deep);
}

.jp-page .jp-issue h2 {
	font-size: 1.45rem;
}

.jp-page .jp-issue h2 a {
	color: var(--jp-ink) !important;
}

.jp-issue .series {
	margin-top: 4px;
	color: var(--jp-muted);
}

.jp-issue .description {
	margin-top: 8px;
	font-size: 0.98rem;
	line-height: 1.5;
	color: var(--jp-text);
}

.jp-issue .jp-more {
	margin-top: 12px;
}

/* ---------- Issue: cover and facts, then the articles ---------- */

.jp-issue-head {
	display: grid;
	grid-template-columns: 220px minmax(0, 420px);
	gap: 36px;
	align-items: start;
	margin-bottom: 44px;
}

.jp-issue-head-nocover {
	grid-template-columns: minmax(0, 420px);
}

.jp-page .jp-issue-head .cover img {
	display: block;
	width: 220px !important;
	height: auto !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 4px;
	box-shadow: 0 22px 40px -22px rgba(28, 42, 35, 0.7) !important;
}

.jp-issue-facts .description {
	margin-top: 18px;
	line-height: 1.6;
}

.jp-issue-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin-top: 20px !important;
}

.jp-page .obj_issue_toc .galleys {
	margin-bottom: 36px;
}

.jp-page .obj_issue_toc .section > h2,
.jp-page .obj_issue_toc .galleys > h2 {
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--jp-ink);
	font-size: 1.6rem;
}

.jp-page .obj_issue_toc .section + .section {
	margin-top: 44px;
}

.jp-page .cmp_article_list > li + li {
	margin-top: 20px;
}

/* ---------- Article card ---------- */

.jp-art {
	padding: 28px 30px 24px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
}

.jp-page .jp-art .title {
	font-size: 1.55rem;
	line-height: 1.26;
	text-wrap: pretty;
}

.jp-page .jp-art .title a {
	color: var(--jp-ink) !important;
}

.jp-page .jp-art .title a:hover {
	color: var(--jp-leaf-deep) !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.jp-art .subtitle {
	display: block;
	margin-top: 4px;
	font-size: 0.8em;
	font-weight: 600;
}

.jp-art .meta .authors {
	margin-top: 12px;
	font-size: 1.04rem;
	color: var(--jp-text);
}

.jp-art-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 44px;
	margin-top: 20px !important;
	padding: 16px 0 !important;
	border-top: 1px solid var(--jp-line);
	border-bottom: 1px solid var(--jp-line);
}

.jp-art-meta dt {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--jp-muted);
}

.jp-art-meta dd {
	margin-top: 2px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jp-ink);
	overflow-wrap: anywhere;
}

.jp-page .jp-art-meta a {
	color: var(--jp-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: #b6c4ba;
}

.jp-art-actions,
.jp-art-actions .galleys_links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.jp-art-actions {
	margin-top: 18px;
}

/* An article with no file yet has no PDF button, and leaves no gap for one */
.jp-art-actions .galleys_links:not(:has(li)) {
	display: none;
}

/* Small buttons: Read, PDF, Cite, Scholar, Copy. The PDF link keeps its stock class (obj_galley_link). */
.jp-page .jp-act,
.jp-page .jp-art-actions a.obj_galley_link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid #c6d2ca;
	border-radius: 8px;
	background: #fff;
	color: var(--jp-ink);
	font-family: var(--jp-sans);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.jp-page .jp-act:hover,
.jp-page .jp-art-actions a.obj_galley_link:hover {
	border-color: var(--jp-leaf);
	background: var(--jp-paper);
	color: var(--jp-ink);
	text-decoration: none;
}

.jp-page .jp-art-actions a.obj_galley_link.pdf::before {
	content: '\f1c1';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 0.9em;
}

.jp-page .jp-act i {
	font-size: 0.9em;
}

.jp-page a.jp-act-main {
	border-color: var(--jp-ink);
	background: var(--jp-ink);
	color: #fff !important;
}

.jp-page a.jp-act-main:hover {
	border-color: var(--jp-leaf-deep);
	background: var(--jp-leaf-deep);
	color: #fff !important;
}

/* The theme restyles every <button> with !important, so the two buttons need it as well. */
.jp-page button.jp-act {
	min-height: 44px !important;
	padding: 0 16px !important;
	border: 1.5px solid #c6d2ca !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--jp-ink) !important;
	font-family: var(--jp-sans) !important;
	font-size: 0.98rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	transform: none !important;
}

.jp-page button.jp-act:hover {
	border-color: var(--jp-leaf) !important;
	background: var(--jp-paper) !important;
}

.jp-page button.jp-act-cite,
.jp-page button.jp-act-cite:hover {
	border-color: transparent !important;
	background: var(--jp-leaf-soft) !important;
	color: var(--jp-leaf-deep) !important;
}

.jp-page button.jp-act-cite:hover,
.jp-page button.jp-act-cite[aria-expanded='true'] {
	border-color: var(--jp-leaf) !important;
}

.jp-art-cite {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 14px;
	padding: 14px 16px;
	border: 1px dashed #b6c4ba;
	border-radius: 10px;
	background: var(--jp-paper);
	font-size: 0.98rem;
	line-height: 1.5;
}

.jp-art-cite[hidden] {
	display: none;
}

.jp-art-cite p {
	flex: 1;
	overflow-wrap: anywhere;
}

.jp-art-cite .jp-act {
	flex: none;
}

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

.jp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.jp-article-head {
	max-width: 58rem;
	margin-bottom: 0;
}

/* Every item has a rule on its left; the clip hides the rule of whichever item starts a line. */
.jp-page .jp-article-flags {
	display: flex;
	flex-wrap: wrap;
	row-gap: 6px;
	margin: 0 0 14px -15px;
	clip-path: inset(0 0 0 15px);
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--jp-leaf);
}

.jp-article-flags span {
	padding: 0 14px;
	border-left: 1px solid #b9c8be;
}

.jp-page .jp-article-head h1 {
	font-size: clamp(1.85rem, 3.1vw, 2.55rem);
	line-height: 1.16;
	text-wrap: pretty;
}

.jp-page .jp-article-subtitle {
	margin-top: 10px;
	font-family: var(--jp-serif);
	font-size: 1.3rem;
	line-height: 1.35;
	color: var(--jp-text);
}

/* Authors: name, then affiliation and ORCID under it */
.jp-authors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px 32px;
	margin-top: 24px !important;
}

.jp-authors li {
	line-height: 1.4;
}

.jp-authors .name {
	display: block;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--jp-ink);
}

.jp-authors .affiliation,
.jp-authors .userGroup {
	display: block;
	margin-top: 2px;
	font-size: 0.96rem;
	color: var(--jp-muted);
}

.jp-authors .orcid {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 0.9rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.jp-authors .orcid i {
	color: #a6ce39;
}

.jp-page .jp-authors .orcid a {
	color: var(--jp-text);
}

.jp-article-facts {
	margin-top: 26px !important;
}

/* The article's own file is the main action on this page */
.jp-page .jp-article-actions a.obj_galley_link {
	border-color: var(--jp-leaf);
	background: var(--jp-leaf);
	color: #fff !important;
	font-weight: 700;
}

.jp-page .jp-article-actions a.obj_galley_link:hover {
	border-color: var(--jp-leaf-deep);
	background: var(--jp-leaf-deep);
	color: #fff !important;
}

/* The theme colours every link inside an article summary; set ours back.
   The filled "Read article" button keeps its white text. */
.jp-page .jp-art-actions a.jp-act:not(.jp-act-main) {
	color: var(--jp-ink) !important;
}

.jp-page .jp-art-actions a.jp-act-main,
.jp-page .jp-art-actions a.jp-act-main:hover {
	color: #fff !important;
	text-decoration: none !important;
}

.jp-article-nofile {
	margin-top: 12px !important;
	color: var(--jp-muted);
}

.jp-article-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 52px;
	align-items: start;
	margin-top: 44px;
}

.jp-article-main > section + section {
	margin-top: 44px;
}

.jp-page .jp-article-main > section > h2 {
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--jp-ink);
	font-size: 1.55rem;
}

/* Running text keeps its paragraph spacing */
.jp-prose {
	max-width: 46rem;
	font-size: 1.08rem;
	line-height: 1.7;
	color: var(--jp-text);
	overflow-wrap: break-word;
}

.jp-page .jp-prose p {
	margin: 0 0 1em;
}

.jp-page .jp-prose p:last-child {
	margin-bottom: 0;
}

.jp-page .jp-prose ul,
.jp-page .jp-prose ol {
	margin: 0 0 1em;
	padding-left: 1.4em !important;
	list-style: revert;
}

.jp-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.jp-keywords li {
	padding: 5px 13px;
	border: 1px solid #c6d2ca;
	border-radius: 999px;
	font-size: 0.98rem;
	line-height: 1.3;
	color: var(--jp-ink);
}

.jp-refs {
	max-width: 46rem;
	font-size: 0.98rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.jp-page .jp-refs p {
	margin: 0 0 0.8em;
	padding-left: 1.4em;
	text-indent: -1.4em;
}

.jp-bios > li + li {
	margin-top: 20px;
}

.jp-bios .label {
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--jp-ink);
}

/* Side column */

.jp-side-card {
	padding: 20px 22px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
	font-size: 1rem;
	line-height: 1.5;
	scroll-margin-top: 100px;
}

.jp-side-card + .jp-side-card {
	margin-top: 18px;
}

.jp-page .jp-side-card h2 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.jp-page .jp-side-card h3 {
	margin: 14px 0 6px;
	font-family: var(--jp-sans) !important;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--jp-muted) !important;
}

.jp-cite-box p {
	margin-bottom: 14px !important;
	font-size: 0.98rem;
	overflow-wrap: anywhere;
}

.jp-side-issue {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.jp-side-issue:has(> div:only-child) {
	grid-template-columns: minmax(0, 1fr);
}

.jp-page .jp-side-issue img {
	display: block;
	width: 76px !important;
	height: auto !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 3px;
	box-shadow: 0 10px 20px -12px rgba(28, 42, 35, 0.65) !important;
}

.jp-page .jp-side-issue a.title {
	font-family: var(--jp-serif);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--jp-ink) !important;
}

.jp-side-issue p {
	margin-top: 2px;
	color: var(--jp-muted);
}

.jp-side-card .jp-pairs {
	margin-top: 14px !important;
}

.jp-side-card.copyright img {
	margin: 6px 0;
}

.jp-versions li + li {
	margin-top: 4px;
}

/* Notices OJS shows above an article (preview, older version) */
.jp-page .cmp_notification {
	margin-bottom: 20px;
	padding: 12px 16px;
	border: 1px solid #e6d5a8;
	border-radius: 10px;
	background: var(--jp-ochre-soft);
	color: var(--jp-ochre-ink);
}

/* ---------- Larger buttons (page headings, closing blocks) ---------- */

.jp-page a.jp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 8px;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jp-page a.jp-btn-solid {
	background: var(--jp-leaf);
	color: #fff !important;
}

.jp-page a.jp-btn-solid:hover {
	background: var(--jp-leaf-deep);
}

.jp-page a.jp-btn-line {
	border-color: #b9c8be;
	background: #fff;
	color: var(--jp-ink) !important;
}

.jp-page a.jp-btn-line:hover {
	border-color: var(--jp-leaf);
	color: var(--jp-leaf-deep) !important;
}

/* A pale closing block with one action */
.jp-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 36px;
	margin-top: 56px;
	padding: 30px 34px;
	border-radius: 16px;
	background: var(--jp-leaf-soft);
}

.jp-page .jp-callout h2 {
	font-size: 1.6rem;
}

.jp-callout p {
	margin-top: 4px;
}

/* Bulleted list with a small green mark */
.jp-page .jp-list li {
	position: relative;
	padding: 5px 0 5px 20px;
	line-height: 1.5;
}

.jp-page .jp-list li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.9em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--jp-leaf);
}

/* Plain ruled table */
.jp-table-wrap {
	overflow-x: auto;
}

.jp-page table.jp-table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 1rem;
}

.jp-page .jp-table th,
.jp-page .jp-table td {
	padding: 11px 16px 11px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--jp-line) !important;
	background: transparent !important;
	color: var(--jp-text) !important;
	font-weight: 400;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	vertical-align: top;
	white-space: normal !important;
}

.jp-page .jp-table thead th {
	border-bottom: 2px solid var(--jp-ink) !important;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--jp-muted) !important;
}

.jp-page .jp-table tbody th {
	font-weight: 700;
	color: var(--jp-ink) !important;
}

/* ---------- Author guidelines: contents list beside a long text ---------- */

/* The theme clips the page with overflow, which stops "sticky" from working. On a page that has a
   contents list the clipping is done another way, so the list can stay in view. */
.pkp_structure_page:has(.jp-toc),
.pkp_structure_page:has(.jp-toc) .pkp_structure_main {
	overflow: visible !important;
	overflow-x: clip !important;
}

.jp-guide-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
}

.jp-page-head .jp-guide-actions {
	margin-top: 22px;
}

.jp-guide-body {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin-top: 12px;
}

.jp-toc {
	position: sticky;
	top: 24px;
	padding: 4px 0 4px 18px;
	border-left: 2px solid var(--jp-line);
}

.jp-page .jp-toc h2 {
	margin-bottom: 8px;
	font-family: var(--jp-sans) !important;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--jp-muted) !important;
}

.jp-page .jp-toc a {
	display: block;
	padding: 6px 0;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--jp-ink);
}

.jp-page .jp-toc a:hover {
	color: var(--jp-leaf-deep);
}

.jp-guide-main {
	max-width: 54rem;
}

.jp-guide-section {
	scroll-margin-top: 96px;
}

.jp-guide-section + .jp-guide-section {
	margin-top: 60px;
}

.jp-page .jp-guide-section > h2 {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--jp-ink);
	font-size: 1.75rem;
}

.jp-page .jp-guide-section h3 {
	margin-bottom: 8px;
	font-size: 1.22rem;
}

.jp-page .jp-guide-section h4 {
	margin-bottom: 6px;
	font-family: var(--jp-sans) !important;
	font-size: 1.06rem;
	font-weight: 700;
}

.jp-page .jp-guide-section h3.jp-guide-sub {
	margin: 36px 0 16px;
	padding-top: 22px;
	border-top: 1px solid var(--jp-line);
	font-size: 1.35rem;
}

.jp-guide-lead {
	max-width: 46rem;
	margin-bottom: 20px !important;
	font-size: 1.12rem;
	line-height: 1.65;
}

.jp-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 28px 40px;
}

.jp-guide-grid p {
	margin-bottom: 8px;
}

.jp-guide-chips {
	margin-bottom: 10px !important;
}

/* What each manuscript type is for, under the table */
.jp-guide-types {
	margin-top: 26px !important;
}

.jp-guide-types > div {
	padding: 12px 0;
	border-top: 1px solid var(--jp-line);
}

.jp-guide-types > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.jp-guide-types dt {
	font-weight: 700;
	color: var(--jp-ink);
}

.jp-guide-types dd {
	margin-top: 2px;
	line-height: 1.55;
}

/* Review stages: a real sequence, so they are numbered */
.jp-guide-stages {
	counter-reset: jp-stage;
}

.jp-guide-stages > li {
	position: relative;
	padding: 0 0 28px 58px;
	counter-increment: jp-stage;
}

.jp-guide-stages > li:last-child {
	padding-bottom: 0;
}

.jp-guide-stages > li::before {
	content: counter(jp-stage);
	position: absolute;
	left: 0;
	top: -4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1.5px solid var(--jp-leaf);
	border-radius: 50%;
	background: #fff;
	font-family: var(--jp-serif);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--jp-leaf-deep);
}

.jp-guide-stages > li:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 18px;
	top: 40px;
	bottom: 6px;
	width: 2px;
	background: var(--jp-line);
}

/* ---------- A row of figures under a page heading ---------- */

.jp-figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	border-top: 1px solid var(--jp-line);
	border-bottom: 1px solid var(--jp-line);
}

.jp-figures li {
	padding: 20px 24px 20px 0;
}

.jp-figures li + li {
	padding-left: 24px;
	border-left: 1px solid var(--jp-line);
}

.jp-figures b {
	display: block;
	font-family: var(--jp-serif);
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: lining-nums;
	color: var(--jp-leaf-deep);
}

.jp-figures span {
	display: block;
	max-width: 15rem;
	margin-top: 8px;
	font-size: 0.98rem;
	line-height: 1.4;
	color: var(--jp-muted);
}

.jp-source-note {
	margin-top: 10px !important;
	font-size: 0.92rem;
	color: var(--jp-muted);
}

/* ---------- Editorial board ---------- */

.jp-board-section {
	margin-top: 56px;
}

.jp-board-head {
	max-width: 48rem;
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--jp-ink);
}

.jp-page .jp-board-head h2 {
	font-size: 1.75rem;
}

.jp-board-head p {
	margin-top: 6px;
	color: var(--jp-muted);
}

.jp-board-section .jp-board-head {
	max-width: none;
}

.jp-members {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.jp-member {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 22px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
}

/* The theme's phone CSS sets every image to height: auto, so fixed image sizes carry !important. */
.jp-page .jp-member-photo img,
.jp-member-blank {
	display: block;
	width: 96px !important;
	height: 96px !important;
	max-width: none;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 14px;
	object-fit: cover;
	object-position: center top;
	box-shadow: none !important;
}

.jp-member-blank {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--jp-leaf-soft);
	font-size: 1.8rem;
	color: var(--jp-leaf);
}

.jp-page .jp-member h3 {
	font-size: 1.3rem;
}

.jp-member-role {
	margin-top: 2px !important;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--jp-ochre-ink);
}

.jp-member-role span {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid #d7c9a3;
	font-weight: 600;
	color: var(--jp-muted);
}

.jp-member-where {
	margin-top: 10px !important;
	line-height: 1.45;
	color: var(--jp-ink);
}

.jp-member-where span {
	display: block;
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-member-h {
	display: inline-block;
	margin-top: 10px !important;
	padding: 3px 12px !important;
	border-radius: 999px;
	background: var(--jp-leaf-soft);
	font-size: 0.92rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--jp-leaf-deep);
}

.jp-member-bio {
	margin-top: 12px !important;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--jp-text);
}

.jp-member-fields {
	gap: 6px !important;
	margin-top: 12px !important;
}

.jp-member-fields li {
	padding: 3px 10px;
	font-size: 0.88rem;
	color: var(--jp-text);
}

.jp-member-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 14px !important;
	padding-top: 12px !important;
	border-top: 1px solid var(--jp-line);
	font-size: 0.95rem;
	font-weight: 600;
}

.jp-page .jp-member-links a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 0;
	color: var(--jp-leaf-deep);
	font-variant-numeric: tabular-nums;
}

.jp-member-links i {
	font-size: 0.95em;
	color: var(--jp-muted);
}

.jp-member-links .fa-orcid {
	color: #a6ce39;
}

/* The Editor-in-Chief: one wide card with a larger photo */
.jp-board-chief .jp-members {
	grid-template-columns: minmax(0, 1fr);
}

.jp-board-chief .jp-member {
	grid-template-columns: 168px minmax(0, 1fr);
	gap: 30px;
	padding: 28px;
	border-left: 4px solid var(--jp-leaf);
}

.jp-page .jp-board-chief .jp-member-photo img,
.jp-board-chief .jp-member-blank {
	width: 168px !important;
	height: 168px !important;
}

.jp-page .jp-board-chief .jp-member h3 {
	font-size: 1.75rem;
}

.jp-board-chief .jp-member-bio {
	max-width: 46rem;
	font-size: 1.04rem;
}

/* ---------- About the journal ---------- */

.jp-figures b small {
	font-size: 0.6em;
	font-weight: 600;
	color: var(--jp-muted);
	white-space: nowrap;
}

.jp-about-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 56px;
	align-items: start;
	margin-top: 48px;
}

.jp-about .jp-guide-section h3 {
	margin-bottom: 8px;
}

/* The quotable facts paragraph */
.jp-keyfacts {
	max-width: 46rem;
	margin-top: 22px;
	padding: 18px 22px;
	border-left: 3px solid var(--jp-ochre);
	border-radius: 0 12px 12px 0;
	background: var(--jp-ochre-soft);
	line-height: 1.65;
}

.jp-keyfacts strong {
	color: var(--jp-ink);
}

/* Two headed columns with a coloured rule on top (mission and vision) */
.jp-areas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.jp-area {
	padding-top: 14px;
	border-top: 4px solid var(--jp-leaf);
	line-height: 1.65;
}

.jp-area:nth-child(2) {
	border-top-color: var(--jp-ochre);
}

.jp-about-more {
	margin-top: 18px !important;
}

.jp-about-info .jp-pairs dd {
	max-width: 62%;
}

/* A list of links to related pages */
.jp-linklist {
	border-bottom: 1px solid var(--jp-line);
}

.jp-page .jp-linklist a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 6px 4px;
	border-top: 1px solid var(--jp-line);
	font-weight: 600;
	color: var(--jp-ink);
	text-decoration: none;
}

.jp-page .jp-linklist a:hover {
	background: var(--jp-paper);
	color: var(--jp-leaf-deep);
}

.jp-linklist i {
	font-size: 0.75rem;
	color: #94a39a;
}

.jp-about-publisher {
	margin-top: 60px;
}

.jp-offices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px 40px;
}

.jp-offices li {
	padding-top: 14px;
	border-top: 1px solid var(--jp-line);
	line-height: 1.55;
}

.jp-page .jp-offices h3 {
	margin-bottom: 6px;
	font-size: 1.15rem;
}

.jp-offices p + p {
	margin-top: 6px;
	font-size: 0.98rem;
}

/* ---------- Processing fees ---------- */

.jp-fee {
	display: grid;
	grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.jp-fee-price {
	padding: 26px 28px;
	border: 1px solid var(--jp-line);
	border-top: 4px solid var(--jp-leaf);
	border-radius: 16px;
	background: #fff;
}

.jp-fee-amount {
	margin: 10px 0 6px !important;
	font-family: var(--jp-serif);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: lining-nums;
	color: var(--jp-leaf-deep);
}

.jp-fee-amount small {
	font-size: 0.42em;
	font-weight: 600;
	color: var(--jp-muted);
	white-space: nowrap;
}

.jp-fee-terms {
	color: var(--jp-muted);
}

.jp-fee-when {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 16px !important;
	padding-top: 14px !important;
	border-top: 1px solid var(--jp-line);
	font-weight: 700;
	color: var(--jp-leaf-deep);
}

.jp-dot {
	display: inline-block;
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--jp-leaf);
}

.jp-keyfacts p + p {
	margin-top: 10px;
}

.jp-fees .jp-keyfacts {
	max-width: none;
	margin-top: 28px;
}

.jp-pay {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.jp-pay-steps > li {
	padding-top: 4px;
	padding-bottom: 20px;
	line-height: 1.5;
}

.jp-pay-note {
	margin-top: 22px !important;
	padding-top: 16px !important;
	border-top: 1px solid var(--jp-line);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--jp-muted);
}

.jp-pay-sub {
	margin-bottom: 14px !important;
	color: var(--jp-muted);
}

.jp-page .jp-pay .jp-side-card h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-family: var(--jp-sans) !important;
	font-size: 1.06rem;
	font-weight: 700;
}

.jp-pay .jp-side-card h4 i {
	width: 20px;
	text-align: center;
	color: var(--jp-leaf);
}

.jp-pay .jp-pairs dd {
	font-variant-numeric: tabular-nums;
}

.jp-pay-small {
	margin-top: 8px !important;
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-pay-important {
	margin-top: 18px !important;
	padding: 14px 18px !important;
	border-left: 3px solid var(--jp-ochre);
	border-radius: 0 10px 10px 0;
	background: var(--jp-ochre-soft);
	line-height: 1.55;
}

/* Questions and answers */
.jp-faq {
	max-width: 50rem;
}

.jp-faq > div {
	padding: 18px 0;
	border-top: 1px solid var(--jp-line);
}

.jp-faq > div:first-child {
	padding-top: 0;
	border-top: 0;
}

.jp-faq dt {
	font-family: var(--jp-serif);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--jp-ink);
}

.jp-faq dd {
	margin-top: 6px;
	line-height: 1.65;
}

.jp-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 9px;
	border-radius: 999px;
	background: var(--jp-leaf-soft);
	font-family: var(--jp-sans);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--jp-leaf-deep);
	vertical-align: middle;
	white-space: nowrap;
}

.jp-fees .jp-table td:last-child {
	min-width: 16rem;
}

/* Webinars (filled by the page's script) */
.jp-webinars > li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 22px;
	padding: 20px 0;
	border-top: 1px solid var(--jp-line);
}

.jp-webinar-date b {
	display: block;
	font-family: var(--jp-serif);
	font-size: 2.2rem;
	font-weight: 600;
	line-height: 1;
	color: var(--jp-leaf-deep);
}

.jp-webinar-date span {
	display: block;
	margin-top: 4px;
	font-size: 0.92rem;
	color: var(--jp-muted);
}

.jp-webinar-meta {
	margin: 4px 0 8px !important;
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-webinar-fee {
	margin-top: 8px !important;
	font-weight: 700;
	color: var(--jp-leaf-deep);
}

/* ---------- Contact ---------- */

.jp-contact-cards {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 20px;
}

.jp-contact-cards > li {
	padding: 24px 26px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
	line-height: 1.55;
}

.jp-contact-cards > li.jp-contact-main {
	border-top: 4px solid var(--jp-leaf);
}

.jp-page .jp-contact-cards h2 {
	margin-bottom: 8px;
	font-size: 1.35rem;
}

.jp-contact-cards > li > p {
	color: var(--jp-muted);
}

.jp-contact-cards .jp-pairs,
.jp-contact-cards .jp-list {
	margin-top: 14px !important;
}

.jp-contact-line {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px !important;
	font-size: 1.15rem;
	font-weight: 700;
}

.jp-contact-line + .jp-contact-line {
	margin-top: 8px !important;
}

.jp-contact-line i {
	width: 20px;
	font-size: 1rem;
	text-align: center;
	color: var(--jp-leaf);
}

.jp-page .jp-contact-line a {
	min-height: 0;
	color: var(--jp-ink);
}

.jp-page .jp-contact-line a:hover {
	color: var(--jp-leaf-deep);
}

.jp-contact-offices {
	margin-top: 56px;
}

.jp-office-place {
	font-weight: 600;
	color: var(--jp-muted);
}

.jp-office-hours {
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-contact .jp-about-body {
	margin-top: 56px;
}

/* Questions that open and close (the browser's own details element) */
.jp-q {
	border-top: 1px solid var(--jp-line);
}

.jp-q:last-of-type {
	border-bottom: 1px solid var(--jp-line);
}

.jp-q summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 56px;
	padding: 12px 0;
	font-family: var(--jp-serif);
	font-size: 1.16rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--jp-ink);
	list-style: none;
	cursor: pointer;
}

.jp-q summary::-webkit-details-marker {
	display: none;
}

.jp-q summary::after {
	content: '\2b';
	flex: none;
	width: 28px;
	height: 28px;
	border: 1.5px solid #c6d2ca;
	border-radius: 50%;
	font-family: var(--jp-sans);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 25px;
	text-align: center;
	color: var(--jp-leaf-deep);
}

.jp-q[open] summary::after {
	content: '\2212';
	border-color: var(--jp-leaf);
	background: var(--jp-leaf-soft);
}

.jp-q summary:hover {
	color: var(--jp-leaf-deep);
}

.jp-q > p {
	max-width: 46rem;
	padding: 0 0 18px !important;
	line-height: 1.65;
}

/* Social links: name with a short note under it */
.jp-follow a > span {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 0 12px;
	align-items: center;
}

.jp-follow a > span > i {
	grid-row: 1 / span 2;
	font-size: 1.05rem;
	text-align: center;
	color: var(--jp-muted);
}

.jp-follow small {
	grid-column: 2;
	font-size: 0.88rem;
	font-weight: 400;
	color: var(--jp-muted);
}

/* Pagination (archive, search) */

.jp-page .cmp_pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--jp-line);
	color: var(--jp-muted);
}

.jp-page .cmp_pagination a {
	font-weight: 700;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 720px) {
	.jp-page {
		padding: 4px 2px 16px;
		font-size: 16px;
	}

	.jp-page-head {
		margin-bottom: 24px;
	}

	.jp-issues {
		grid-template-columns: minmax(0, 1fr);
	}

	.jp-issue {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 16px;
		padding: 16px;
	}

	.jp-page .jp-issue-cover img,
	.jp-page a.jp-issue-cover-blank {
		width: 96px !important;
	}

	.jp-page .jp-issue h2 {
		font-size: 1.25rem;
	}

	.jp-issue-head {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-bottom: 32px;
	}

	.jp-page .jp-issue-head .cover img {
		width: 170px !important;
	}

	.jp-art {
		padding: 20px 18px 18px;
		border-radius: 14px;
	}

	.jp-page .jp-art .title {
		font-size: 1.28rem;
	}

	.jp-art-meta {
		gap: 12px 28px;
	}

	.jp-art-meta-doi {
		flex-basis: 100%;
	}

	/* Read article and the Scholar link take a full row; PDF and Cite share one */
	.jp-art-actions > .jp-act,
	.jp-art-actions > .galleys_links {
		flex: 1 1 calc(50% - 5px);
	}

	.jp-art-actions > .galleys_links > li,
	.jp-art-actions > .galleys_links a.obj_galley_link {
		flex: 1 1 auto;
		width: 100%;
	}

	.jp-art-actions > .jp-act-main,
	.jp-art-actions > .jp-act:last-child {
		flex-basis: 100%;
	}

	.jp-art-cite {
		flex-direction: column;
	}

	.jp-art-cite .jp-act {
		align-self: stretch;
	}

	/* Article page: one column, the side cards after the text */
	.jp-authors {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.jp-article-actions > .galleys_links,
	.jp-article-actions > .galleys_links > li,
	.jp-article-actions > .jp-act {
		flex: 1 1 100%;
	}

	.jp-article-body {
		margin-top: 32px;
	}

	.jp-article-main > section + section {
		margin-top: 34px;
	}

	.jp-page .jp-article-main > section > h2 {
		font-size: 1.35rem;
	}

	.jp-prose {
		font-size: 1.04rem;
	}

	.jp-cite-box .jp-act {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.jp-article-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.jp-about-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		margin-top: 40px;
	}

	/* Author guidelines: the contents list becomes a block above the text */
	.jp-guide-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.jp-toc {
		position: static;
		padding: 16px 18px;
		border: 1px solid var(--jp-line);
		border-radius: 14px;
	}

	.jp-toc ul {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
		gap: 0 24px;
	}
}

@media (max-width: 900px) {
	.jp-members {
		grid-template-columns: minmax(0, 1fr);
	}

	.jp-contact-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.jp-fee,
	.jp-pay {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.jp-fee-price {
		max-width: 420px;
	}
}

@media (max-width: 640px) {
	.jp-areas {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.jp-fee-amount {
		font-size: 2.5rem;
	}

	.jp-fee-price {
		padding: 22px 20px;
	}

	.jp-webinars > li {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.jp-keyfacts {
		padding: 16px 18px;
	}

	.jp-about-info .jp-pairs dd {
		max-width: 58%;
	}
}

@media (max-width: 720px) {
	/* Editorial board on phones */
	.jp-figures {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jp-figures li {
		padding: 16px 12px 16px 0;
	}

	.jp-figures li + li {
		padding-left: 14px;
	}

	.jp-figures li:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.jp-figures li:nth-child(n + 3) {
		border-top: 1px solid var(--jp-line);
	}

	.jp-figures b {
		font-size: 1.9rem;
	}

	.jp-board-section {
		margin-top: 44px;
	}

	.jp-page .jp-board-head h2 {
		font-size: 1.45rem;
	}

	/* Photo beside the name and post; everything else runs the full width of the card */
	.jp-member {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 0 16px;
		align-items: center;
		padding: 18px 16px;
	}

	.jp-member-text {
		display: contents;
	}

	.jp-member-photo {
		grid-row: 1 / span 2;
		align-self: start;
	}

	.jp-member-text > h3 {
		grid-column: 2;
		align-self: end;
	}

	.jp-member-text > .jp-member-role {
		grid-column: 2;
		align-self: start;
	}

	.jp-member-text > :not(h3):not(.jp-member-role) {
		grid-column: 1 / -1;
	}

	.jp-member-text > .jp-member-where {
		margin-top: 14px !important;
	}

	.jp-member-text > .jp-member-h {
		justify-self: start;
	}

	.jp-page .jp-member-photo img,
	.jp-member-blank {
		width: 72px !important;
		height: 72px !important;
		border-radius: 12px;
	}

	.jp-page .jp-member h3 {
		font-size: 1.18rem;
	}

	.jp-board-chief .jp-member {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 0 16px;
		padding: 20px 18px;
	}

	.jp-page .jp-board-chief .jp-member-photo img,
	.jp-board-chief .jp-member-blank {
		width: 88px !important;
		height: 88px !important;
	}

	.jp-page .jp-board-chief .jp-member h3 {
		font-size: 1.35rem;
	}

	.jp-member-links {
		gap: 10px 20px;
	}

	.jp-page .jp-guide-section > h2 {
		font-size: 1.45rem;
	}

	.jp-guide-section + .jp-guide-section {
		margin-top: 44px;
	}

	.jp-guide-actions .jp-btn {
		width: 100%;
	}

	.jp-callout {
		margin-top: 40px;
		padding: 24px 20px;
	}

	/* The types table becomes one card per type, each value with its label */
	.jp-page table.jp-table,
	.jp-page .jp-table tbody,
	.jp-page .jp-table tr,
	.jp-page .jp-table th,
	.jp-page .jp-table td {
		display: block !important;
		width: auto !important;
	}

	.jp-page .jp-table thead {
		display: none !important;
	}

	.jp-page .jp-table tr {
		padding: 12px 0;
		border-top: 1px solid var(--jp-line);
	}

	.jp-page .jp-table tbody th,
	.jp-page .jp-table td {
		padding: 3px 0 !important;
		border: 0 !important;
	}

	.jp-page .jp-table tbody th {
		margin-bottom: 4px;
		font-size: 1.06rem;
	}

	/* Label on the left, value on the right, and a long value wraps within its own column */
	.jp-page .jp-table td {
		display: grid !important;
		grid-template-columns: 8.5rem minmax(0, 1fr);
		gap: 0 10px;
	}

	.jp-page .jp-table td::before {
		content: attr(data-label);
		font-size: 0.92rem;
		color: var(--jp-muted);
	}
}

@media (prefers-reduced-motion: reduce) {
	.jp-page .jp-act,
	.jp-page .jp-art-actions a.obj_galley_link {
		transition: none;
	}
}

/* Contact: office e-mail links stand alone, so give them a full tap height on phones. */
@media (max-width: 820px) {
	.jp-page .jp-offices p > a[href^="mailto:"] {
		display: inline-block !important;
		min-height: 0 !important;
		padding: 10px 0;
	}
}

/* ---------- Editorial policies (built from the same parts as the guidelines) ---------- */

/* Short points under a paragraph: two columns where there is room */
.jp-policy-points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 0 40px;
	max-width: 46rem;
}

.jp-policies .jp-guide-stages p {
	max-width: 42rem;
}

.jp-policy-quality {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	max-width: 46rem;
	margin-top: 0 !important;
}

.jp-policy-quality > div,
.jp-policy-quality > div:first-child {
	padding: 14px 0;
	border-top: 1px solid var(--jp-line);
}

/* Label on the left, rule on the right: one row per rule */
.jp-policy-rows {
	max-width: 50rem;
	border-bottom: 1px solid var(--jp-line);
}

.jp-policy-rows > div {
	display: grid;
	grid-template-columns: 12.5rem minmax(0, 1fr);
	gap: 6px 32px;
	padding: 18px 0;
	border-top: 1px solid var(--jp-line);
}

.jp-policy-rows dt {
	font-family: var(--jp-serif);
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jp-ink);
}

.jp-policy-rows dd > p:last-child,
.jp-policy-rows dd > ul:last-child,
.jp-policy-rows dd li:last-child {
	margin-bottom: 0 !important;
}

.jp-policies .jp-guide-section > p,
.jp-policies .jp-guide-section > ul {
	max-width: 46rem;
}

.jp-policies .jp-guide-section > p + p,
.jp-policies .jp-policy-rows + p,
.jp-policies .jp-guide-section > ul + p {
	margin-top: 16px;
}

.jp-policies .jp-guide-section > p + ul {
	margin-top: 12px;
}

/* An example of the wording we ask for */
.jp-policy-example {
	margin: 16px 0 !important;
	padding: 14px 18px;
	border-left: 3px solid var(--jp-ochre);
	background: var(--jp-ochre-soft);
	color: var(--jp-ink);
}

.jp-policies .jp-contact-line {
	border-top: 0;
	padding-top: 0;
}

@media (max-width: 700px) {
	.jp-policy-rows > div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.jp-policy-quality {
		grid-template-columns: 1fr;
	}
}

/* ---------- Submissions ---------- */

.jp-submit .jp-figures {
	margin-top: 8px;
}

/* The two ways to send a manuscript */
.jp-submit-ways {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.jp-submit-ways > li {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 26px;
	border: 1px solid var(--jp-line);
	border-radius: 16px;
	background: #fff;
	line-height: 1.55;
}

.jp-submit-ways > li.jp-submit-main {
	border-top: 4px solid var(--jp-leaf);
}

.jp-page .jp-submit-ways h3 {
	margin-bottom: 6px;
	font-size: 1.3rem;
}

.jp-submit-ways > li > p {
	margin-bottom: 18px !important;
	color: var(--jp-muted);
}

.jp-submit-ways a.jp-btn {
	margin-top: auto;
}

.jp-submit-ways > li > p.jp-submit-note {
	margin: 12px 0 0 !important;
	font-size: 0.95rem;
}

/* Text that comes from the journal settings */
.jp-submit-text {
	max-width: 46rem;
	line-height: 1.65;
}

.jp-submit-text p + p,
.jp-submit-text p + ul,
.jp-submit-text p + ol,
.jp-submit-text ul + p {
	margin-top: 12px;
}

.jp-submit-text a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.jp-page .jp-submit-more {
	margin-top: 20px;
}

/* Checklist: one tick per requirement */
.jp-submit-checklist ul,
.jp-submit-checklist ol {
	margin: 14px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px solid var(--jp-line);
}

.jp-submit-checklist li {
	position: relative;
	margin: 0 !important;
	padding: 13px 0 13px 38px !important;
	border-bottom: 1px solid var(--jp-line);
	list-style: none !important;
}

.jp-submit-checklist li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 15px;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--jp-leaf);
	border-radius: 5px;
	background: var(--jp-leaf-soft);
}

.jp-submit-checklist li::after {
	content: '';
	position: absolute;
	left: 9px;
	top: 18px;
	width: 6px;
	height: 11px;
	border: solid var(--jp-leaf-deep);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.jp-submit .jp-side-card > p {
	color: var(--jp-muted);
	line-height: 1.55;
}

.jp-submit .jp-side-card .jp-contact-line {
	font-size: 1.05rem;
	overflow-wrap: anywhere;
}

.jp-submit .jp-guide-section + .jp-guide-section {
	margin-top: 56px;
}

@media (max-width: 700px) {
	.jp-submit-ways {
		grid-template-columns: 1fr;
	}

	.jp-submit-ways a.jp-btn {
		width: 100%;
	}
}

.jp-submit .jp-figures b {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.jp-submit .jp-figures b {
		font-size: 1.5rem;
	}
}

/* ---------- Privacy statement (built from the guideline and policy parts) ---------- */

/* A scope note under a lead paragraph */
.jp-note {
	max-width: 46rem;
	padding: 14px 18px;
	border-left: 3px solid var(--jp-leaf);
	background: var(--jp-paper);
	color: var(--jp-text);
}

/* Small print under a section */
.jp-page .jp-fineprint {
	font-size: 0.95rem;
	color: var(--jp-muted);
}

.jp-privacy .jp-guide-section > ul.jp-list li + li {
	margin-top: 4px;
}

.jp-privacy .jp-callout .jp-guide-actions,
.jp-terms .jp-callout .jp-guide-actions {
	flex-wrap: wrap;
}

.jp-policies .jp-guide-section > p + .jp-note {
	margin-top: 16px;
}

/* The theme clears padding on paragraphs, so the two boxed paragraphs set it firmly */
.jp-page p.jp-note,
.jp-page p.jp-policy-example {
	padding: 14px 18px !important;
}

/* ---------- Search ---------- */

/* Labels meant only for screen readers (the theme does not hide OJS's own class) */
.jp-search .pkp_screen_reader {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.jp-search-form {
	max-width: 52rem;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* One row: icon, box, button */
.jp-search-bar {
	position: relative;
	display: flex;
	gap: 10px;
	margin: 0 !important;
}

.jp-search-bar > i {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--jp-muted);
	pointer-events: none;
}

.jp-page .jp-search-bar input.query {
	flex: 1;
	min-width: 0;
	height: 56px !important;
	margin: 0 !important;
	padding: 0 18px 0 48px !important;
	border: 1.5px solid #b9c8be !important;
	border-radius: 10px !important;
	background: #fff !important;
	font-family: var(--jp-sans) !important;
	font-size: 1.1rem !important;
	color: var(--jp-ink) !important;
	box-shadow: none !important;
}

.jp-page .jp-search-bar input.query:focus {
	border-color: var(--jp-leaf) !important;
	outline: 3px solid var(--jp-leaf-soft);
	outline-offset: 0;
}

.jp-page button.jp-search-go {
	flex: none;
	height: 56px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 26px !important;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--jp-leaf) !important;
	font-family: var(--jp-sans) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: pointer;
}

.jp-page button.jp-search-go:hover {
	background: var(--jp-leaf-deep) !important;
}

/* Optional filters */
.jp-search-more {
	margin-top: 14px;
}

.jp-search-more > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 700;
	color: var(--jp-leaf-deep);
	cursor: pointer;
	list-style: none;
}

.jp-search-more > summary::-webkit-details-marker {
	display: none;
}

.jp-search-more > summary::before {
	content: '+';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-size: 1rem;
	line-height: 1;
}

.jp-search-more[open] > summary::before {
	content: '\2212';
}

.jp-page .jp-search-more fieldset.search_advanced {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	min-width: 0;
	margin: 8px 0 0 !important;
	padding: 22px 24px !important;
	border: 1px solid var(--jp-line) !important;
	border-radius: 14px !important;
	background: var(--jp-paper) !important;
}

.jp-search-dates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 28px;
}

/* OJS writes each date as legend, then label + select three times: lay them out three across */
.jp-page .jp-search-dates fieldset {
	display: grid;
	grid-template-columns: 1.3fr 1.5fr 1fr;
	grid-template-rows: auto auto;
	grid-auto-flow: column;
	gap: 4px 10px;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.jp-page .jp-search-dates legend,
.jp-page .jp-search-field > label {
	display: block;
	width: auto;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--jp-sans) !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: var(--jp-ink) !important;
}

.jp-page .jp-search-dates label {
	margin: 0 !important;
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	color: var(--jp-muted) !important;
}

.jp-page .jp-search-dates select,
.jp-page .jp-search-field input,
.jp-page .jp-search-field select {
	width: 100% !important;
	min-width: 0;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid #b9c8be !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	font-family: var(--jp-sans) !important;
	font-size: 1rem !important;
	color: var(--jp-ink) !important;
	box-shadow: none !important;
}

.jp-page .jp-search-field input {
	max-width: 26rem;
}

.jp-search-apply {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 14px !important;
}

.jp-page .jp-search-apply button.jp-search-go {
	height: 46px !important;
	font-size: 1rem !important;
}

/* What was found */
.jp-search-found {
	margin-top: 40px;
}

.jp-search-count {
	margin-bottom: 18px !important;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--jp-ink);
	font-size: 1.1rem;
	color: var(--jp-text);
}

.jp-search-count b {
	font-family: var(--jp-serif);
	font-size: 1.3rem;
	color: var(--jp-ink);
}

.jp-page ul.jp-search-results {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jp-search-results > li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	list-style: none !important;
}

.jp-search-results > li + li {
	margin-top: 18px !important;
}

.jp-search-none {
	max-width: 44rem;
}

.jp-page .jp-search-none h3 {
	margin-bottom: 10px;
	font-size: 1.3rem;
}

.jp-search-none p {
	margin-top: 16px !important;
}

.jp-search-hint {
	color: var(--jp-muted);
}

.jp-search .cmp_pagination {
	margin-top: 28px;
}

@media (max-width: 700px) {
	.jp-search-bar {
		flex-wrap: wrap;
	}

	.jp-page .jp-search-bar input.query {
		flex: 1 1 100%;
	}

	.jp-search-bar > i {
		top: 28px;
	}

	.jp-page .jp-search-bar button.jp-search-go {
		width: 100%;
	}

	.jp-search-dates {
		grid-template-columns: 1fr;
	}

	.jp-page .jp-search-more fieldset.search_advanced {
		padding: 18px 16px !important;
	}
}

/* ---------- Account pages: log in, sign up, reset password, sign-up complete ---------- */

.jp-account {
	--jp-alert: #a23b2a;
	--jp-alert-soft: #fdf3f0;
}

/* Form on the left, a short note on the right */
.jp-account-body {
	display: grid;
	grid-template-columns: minmax(0, 30rem) minmax(0, 21rem);
	gap: 64px;
	align-items: start;
}

.jp-account-wide .jp-account-body {
	grid-template-columns: minmax(0, 44rem) minmax(0, 20rem);
	gap: 56px;
}

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

/* The form itself: no card, the fields carry it */
.jp-page form.jp-form {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.jp-page .jp-form fieldset {
	min-width: 0;
	margin: 0 0 30px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.jp-page .jp-form fieldset > legend {
	float: none;
	display: block;
	width: 100%;
	margin: 0 0 16px !important;
	padding: 0 0 8px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--jp-line) !important;
	font-family: var(--jp-serif) !important;
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	line-height: 1.3;
	color: var(--jp-ink) !important;
	background: none !important;
}

.jp-page .jp-form .fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px 20px;
	margin: 0 !important;
	padding: 0 !important;
}

.jp-page .jp-form .fields > div {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.jp-page .jp-form .fields label {
	display: block;
	margin: 0 !important;
	font-family: var(--jp-sans) !important;
	font-weight: 400 !important;
	color: var(--jp-text);
}

.jp-page .jp-form .fields + .fields {
	margin-top: 10px !important;
}

.jp-page .jp-form .label {
	display: block;
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-family: var(--jp-sans) !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.4;
	color: var(--jp-ink) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.jp-page .jp-form .label::before,
.jp-page .jp-form .label::after {
	content: none !important;
}

.jp-page .jp-form .required {
	color: var(--jp-alert) !important;
}

.jp-page .jp-form input[type="text"],
.jp-page .jp-form input[type="email"],
.jp-page .jp-form input[type="password"],
.jp-page .jp-form select,
.jp-page .jp-form textarea {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 50px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #b9c8be !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	font-family: var(--jp-sans) !important;
	font-size: 1.05rem !important;
	line-height: 1.4 !important;
	color: var(--jp-ink) !important;
	box-shadow: none !important;
	transform: none !important;
}

.jp-page .jp-form textarea {
	height: auto !important;
	min-height: 96px;
	padding: 12px 14px !important;
	resize: vertical;
}

.jp-page .jp-form input:focus,
.jp-page .jp-form select:focus,
.jp-page .jp-form textarea:focus {
	border-color: var(--jp-leaf) !important;
	outline: 3px solid var(--jp-leaf-soft) !important;
	outline-offset: 0 !important;
}

.jp-form-help {
	margin-top: 6px !important;
	font-size: 0.95rem;
	color: var(--jp-muted);
}

/* Password box with a Show / Hide button inside it (added by the script in accountFormScript.tpl) */
.jp-pass {
	position: relative;
	display: block;
}

.jp-page .jp-form .jp-pass input {
	padding-right: 76px !important;
}

.jp-page .jp-form button.jp-pass-toggle {
	position: absolute;
	top: 3px;
	right: 3px;
	height: 44px !important;
	min-width: 62px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: none !important;
	font-family: var(--jp-sans) !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: var(--jp-leaf-deep) !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: pointer;
}

.jp-page .jp-form button.jp-pass-toggle:hover {
	background: var(--jp-leaf-soft) !important;
}

/* Tick boxes with their sentence beside them */
.jp-page .jp-form .jp-check label,
.jp-page .jp-form .optin label,
.jp-page .jp-form .remember label {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	padding: 4px 0 !important;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--jp-text);
	cursor: pointer;
}

.jp-page .jp-form input[type="checkbox"] {
	flex: none;
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	border-radius: 4px !important;
	accent-color: var(--jp-leaf);
	box-shadow: none !important;
}

.jp-page .jp-form .jp-check .label,
.jp-page .jp-form .remember .label {
	margin: 0 !important;
	font-weight: 400 !important;
	color: var(--jp-text) !important;
}

.jp-page .jp-form .optin a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* A link under a field (Forgot your password?) */
.jp-page .jp-form a.jp-form-link {
	display: inline-block;
	margin-top: 8px;
	font-weight: 600;
}

/* Buttons that are <button> elements */
.jp-page button.jp-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 1.5px solid transparent !important;
	border-radius: 8px !important;
	font-family: var(--jp-sans) !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	transform: none !important;
	cursor: pointer;
}

.jp-page button.jp-btn-solid {
	background: var(--jp-leaf) !important;
	color: #fff !important;
}

.jp-page button.jp-btn-solid:hover {
	background: var(--jp-leaf-deep) !important;
}

.jp-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 26px;
}

.jp-account-narrow .jp-form-actions button.jp-btn {
	width: 100%;
}

.jp-account-alt {
	margin-top: 22px !important;
	padding-top: 20px;
	border-top: 1px solid var(--jp-line);
	color: var(--jp-text);
}

.jp-page .jp-account-alt a {
	font-weight: 700;
}

/* Messages above a form */
.jp-form-error,
.jp-account #formErrors {
	margin: 0 0 22px !important;
	padding: 14px 16px !important;
	border: 1px solid #e6c3ba !important;
	border-left: 4px solid var(--jp-alert) !important;
	border-radius: 10px !important;
	background: var(--jp-alert-soft) !important;
	color: #7a2416 !important;
	line-height: 1.5;
}

.jp-account #formErrors .pkp_form_error {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	color: #7a2416 !important;
	background: none !important;
	padding: 0 !important;
}

.jp-account #formErrors ul {
	margin: 0 !important;
	padding-left: 20px !important;
	list-style: disc !important;
}

.jp-account #formErrors li {
	margin: 2px 0 !important;
	list-style: disc !important;
}

.jp-page #formErrors a {
	color: #7a2416 !important;
	text-decoration: underline;
}

.jp-account .cmp_notification {
	margin: 0 0 22px;
}

/* The note beside the form */
.jp-account-side .jp-side-card > p {
	color: var(--jp-muted);
	line-height: 1.55;
}

.jp-account-side .jp-side-card .jp-list {
	margin-top: 10px !important;
}

.jp-account-side .jp-side-card > p + p {
	margin-top: 12px;
}

/* Sign up: two fields side by side where there is room */
@media (min-width: 701px) {
	.jp-account-wide .jp-form fieldset.identity .fields,
	.jp-account-wide .jp-form fieldset.login .fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Sign-up complete: what to do next */
.jp-next {
	display: grid;
	gap: 14px;
	max-width: 34rem;
	margin-top: 8px !important;
}

.jp-page .jp-next a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 14px 20px;
	border: 1px solid var(--jp-line);
	border-radius: 12px;
	background: #fff;
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--jp-ink) !important;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jp-page .jp-next a:hover {
	border-color: var(--jp-leaf);
	background: var(--jp-paper);
}

.jp-page .jp-next li:first-child a {
	border-color: var(--jp-leaf);
	background: var(--jp-leaf);
	color: #fff !important;
}

.jp-page .jp-next li:first-child a:hover {
	background: var(--jp-leaf-deep);
}

@media (max-width: 900px) {
	.jp-account-body,
	.jp-account-wide .jp-account-body {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.jp-account-main {
		max-width: 34rem;
	}

	.jp-account-wide .jp-account-main {
		max-width: none;
	}
}

@media (max-width: 700px) {
	.jp-form-actions button.jp-btn {
		width: 100%;
	}
}

.jp-next-help {
	max-width: 34rem;
}

/* One bullet per error (the theme adds its own marker as well) */
.jp-account #formErrors li::before,
.jp-account #formErrors li::after {
	content: none !important;
}

.jp-account #formErrors li {
	padding-left: 0 !important;
	border: 0 !important;
}

.jp-account #formErrors {
	margin-bottom: 28px !important;
}

/* ---------- Page not found, and OJS's short message and error pages ---------- */

/* Page not found: search box, then the main places of the journal */
.jp-lost .jp-search-form {
	margin-bottom: 44px !important;
}

.jp-lost-places h2 {
	margin: 0 0 16px !important;
	font-family: var(--jp-serif) !important;
	font-size: 1.35rem !important;
	font-weight: 600 !important;
	color: var(--jp-ink) !important;
}

/* Six equal links: three across, two on tablets, one on phones. None is the "main" one,
   so the first is not filled green as it is on the Sign-up complete page. */
.jp-page .jp-lost-links {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 52rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jp-page .jp-lost-links li {
	margin: 0 !important;
	padding: 0 !important;
}

.jp-page .jp-lost-links li::before,
.jp-page .jp-lost-links li::after {
	content: none !important;
}

.jp-page .jp-lost-links li:first-child a {
	border-color: var(--jp-line);
	background: #fff;
	color: var(--jp-ink) !important;
}

.jp-page .jp-lost-links li:first-child a:hover {
	border-color: var(--jp-leaf);
	background: var(--jp-paper);
}

.jp-page .jp-lost-links a i {
	color: var(--jp-leaf);
}

.jp-page .jp-lost-help {
	max-width: 52rem;
	margin-top: 36px !important;
}

/* Message and error pages: the message in a quiet box, then where to go */
.jp-notice-text {
	max-width: 42rem;
	padding: 18px 22px !important;
	border-left: 3px solid var(--jp-leaf);
	border-radius: 0 10px 10px 0;
	background: var(--jp-paper);
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--jp-text);
}

.jp-notice-text p {
	margin: 0 0 10px !important;
}

.jp-notice-text p:last-child {
	margin-bottom: 0 !important;
}

.jp-notice-error .jp-notice-text {
	border-left-color: #a23b2a;
	background: #fdf3f0;
	color: #7a2416;
}

.jp-page .jp-notice-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 0 !important;
}

.jp-notice .jp-fineprint {
	max-width: 42rem;
	margin-top: 28px !important;
}

@media (max-width: 900px) {
	.jp-page .jp-lost-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.jp-page .jp-lost-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.jp-page .jp-notice-actions .jp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ---------- Announcements ---------- */

/* Labels meant only for screen readers (the theme does not hide OJS's own class) */
.jp-news .pkp_screen_reader {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.jp-news-intro {
	margin-bottom: 28px;
}

/* The list: one dated row per announcement, date in its own column on wide screens */
.jp-page .jp-news-list {
	max-width: 60rem;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px solid var(--jp-line);
}

.jp-page .jp-news-list > li {
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid var(--jp-line);
}

.jp-page .jp-news-list > li::before,
.jp-page .jp-news-list > li::after {
	content: none !important;
}

.jp-news-item {
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	gap: 8px 32px;
	padding: 28px 0;
}

.jp-news-item-pic {
	grid-template-columns: 9.5rem minmax(0, 1fr) 11rem;
}

.jp-page .jp-news-date {
	margin: 0 !important;
	padding-top: 5px;
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--jp-ochre-ink);
}

.jp-page .jp-news-item h2 {
	margin: 0 0 8px !important;
	font-family: var(--jp-serif) !important;
	font-size: 1.4rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	overflow-wrap: break-word;
}

.jp-page .jp-news-item h2 a {
	color: var(--jp-ink) !important;
	text-decoration: none !important;
}

.jp-page .jp-news-item h2 a:hover {
	color: var(--jp-leaf) !important;
	text-decoration: underline !important;
}

.jp-news-summary {
	max-width: 44rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--jp-text);
	overflow-wrap: break-word;
}

.jp-page .jp-news-summary p {
	margin: 0 0 0.6em !important;
}

.jp-page .jp-news-more {
	margin: 10px 0 0 !important;
}

/* The whole "Read more" link is a comfortable tap target */
.jp-page .jp-news-more a.jp-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.jp-news-pic {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
}

/* Nothing posted yet */
.jp-news-none {
	max-width: 44rem;
}

.jp-page .jp-news-none h2 {
	margin: 0 0 8px !important;
	font-family: var(--jp-serif) !important;
	font-size: 1.35rem !important;
	font-weight: 600 !important;
	color: var(--jp-ink) !important;
}

.jp-page .jp-news-none-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 0 !important;
}

/* One announcement */
.jp-news-one .jp-page-head .jp-news-date {
	margin: 0 0 6px !important;
	padding-top: 0;
}

.jp-news-one .jp-page-head h1 {
	max-width: 48rem;
}

.jp-news-lead-pic {
	display: block;
	width: 100%;
	max-width: 46rem;
	max-height: 26rem;
	margin: 0 0 28px;
	object-fit: cover;
	border-radius: 12px;
}

/* Text written in the OJS editor: headings, quotes, pictures and tables */
.jp-page .jp-news-body h2,
.jp-page .jp-news-body h3,
.jp-page .jp-news-body h4 {
	margin: 1.6em 0 0.5em !important;
	font-family: var(--jp-serif) !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: var(--jp-ink) !important;
}

.jp-page .jp-news-body h2 { font-size: 1.45rem !important; }
.jp-page .jp-news-body h3 { font-size: 1.22rem !important; }
.jp-page .jp-news-body h4 { font-size: 1.08rem !important; }

.jp-page .jp-news-body li {
	margin: 0 0 0.35em !important;
}

.jp-page .jp-news-body li::before,
.jp-page .jp-news-body li::after {
	content: none !important;
}

.jp-page .jp-news-body blockquote {
	margin: 0 0 1em !important;
	padding: 4px 0 4px 18px !important;
	border-left: 3px solid var(--jp-ochre);
	color: var(--jp-ink);
}

.jp-page .jp-news-body img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.jp-page .jp-news-body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.jp-page .jp-news-body th,
.jp-page .jp-news-body td {
	padding: 8px 12px;
	border: 1px solid var(--jp-line);
	text-align: left;
}

.jp-page .jp-news-back {
	max-width: 46rem;
	margin: 36px 0 0 !important;
	padding-top: 24px;
	border-top: 1px solid var(--jp-line);
}

@media (max-width: 800px) {
	.jp-news-item,
	.jp-news-item-pic {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding: 22px 0;
	}

	.jp-page .jp-news-date {
		padding-top: 0;
	}

	.jp-news-pic {
		max-width: 22rem;
		margin-top: 10px;
	}

	.jp-page .jp-news-item h2 {
		font-size: 1.28rem !important;
	}
}

@media (max-width: 560px) {
	.jp-page .jp-news-none-actions .jp-btn,
	.jp-page .jp-news-back .jp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ---------- Information pages (readers, authors, librarians) ---------- */

/* One row of links between the three sister pages; the current one is filled */
.jp-info-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.jp-page .jp-info-tabs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid #c6d2ca;
	border-radius: 999px;
	background: #fff;
	font-size: 1rem;
	font-weight: 600;
	color: var(--jp-ink) !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.jp-page .jp-info-tabs a:hover {
	border-color: var(--jp-leaf);
	background: var(--jp-paper);
}

.jp-page .jp-info-tabs a[aria-current="page"] {
	border-color: var(--jp-leaf);
	background: var(--jp-leaf);
	color: #fff !important;
}

.jp-info .jp-about-body {
	margin-top: 40px;
}

/* Label and value rows at reading width, values on the right */
.jp-info-pairs {
	max-width: 44rem;
}

.jp-info-pairs dd {
	text-align: right;
}

.jp-info .jp-guide-section > p,
.jp-info .jp-guide-section > .jp-list {
	max-width: 46rem;
}

.jp-info .jp-side-card p {
	margin: 0 0 12px !important;
}

.jp-info-text,
.jp-info-none {
	margin-top: 8px;
}

@media (max-width: 560px) {
	.jp-info-tabs a {
		flex: 1 1 auto;
		justify-content: center;
	}

	/* Label above value when the two no longer fit side by side */
	.jp-info-pairs > div {
		flex-direction: column;
		gap: 2px;
	}

	.jp-info-pairs dd {
		text-align: left;
	}
}

/* ---------- Editorial history ---------- */

.jp-history-role {
	max-width: 52rem;
	margin: 0 0 40px;
}

.jp-page .jp-history-role h2 {
	margin: 0 0 4px !important;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--jp-ink);
	font-family: var(--jp-serif) !important;
	font-size: 1.45rem !important;
	font-weight: 600 !important;
	color: var(--jp-ink) !important;
}

/* One row per person: name and affiliation on the left, years of service on the right */
.jp-page .jp-history-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jp-page .jp-history-list > li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 32px;
	margin: 0 !important;
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--jp-line);
}

.jp-page .jp-history-list > li::before,
.jp-page .jp-history-list > li::after {
	content: none !important;
}

.jp-history-who {
	min-width: 0;
}

.jp-history-who .name {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--jp-ink);
}

.jp-history-who .affiliation {
	display: block;
	margin-top: 2px;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--jp-muted);
}

.jp-history-who .orcid a {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	vertical-align: -3px;
}

.jp-history-who .orcid svg,
.jp-history-who .orcid img {
	width: 18px;
	height: 18px;
}

.jp-history-years {
	flex: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--jp-ochre-ink);
	white-space: nowrap;
}

.jp-history-none {
	max-width: 44rem;
}

.jp-page .jp-history-none h2 {
	margin: 0 0 8px !important;
	font-family: var(--jp-serif) !important;
	font-size: 1.35rem !important;
	font-weight: 600 !important;
	color: var(--jp-ink) !important;
}

.jp-page .jp-history-none p {
	margin: 0 !important;
}

.jp-history-text {
	margin-top: 8px;
}

.jp-page .jp-history-now {
	margin: 32px 0 0 !important;
}

@media (max-width: 560px) {
	.jp-page .jp-history-list > li {
		flex-direction: column;
		gap: 4px;
	}

	.jp-history-years {
		white-space: normal;
	}

	.jp-page .jp-history-now .jp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ---------- About the publishing system ---------- */

.jp-system .jp-about-body {
	margin-top: 8px;
}

.jp-system .jp-guide-section > .jp-list {
	max-width: 46rem;
}

.jp-page .jp-system .jp-list li + li,
.jp-system .jp-guide-section > .jp-list li + li {
	margin-top: 10px;
}

/* ---------- ORCID information ---------- */

.jp-orcid .jp-about-body {
	margin-top: 8px;
}

.jp-orcid .jp-guide-section > .jp-list {
	max-width: 46rem;
}

.jp-orcid .jp-guide-section > .jp-list li + li {
	margin-top: 10px;
}

.jp-orcid .jp-guide-actions {
	margin-top: 20px;
}

/* OJS's own wording carries a small inline ORCID picture */
.jp-orcid .jp-prose img {
	display: inline;
	vertical-align: -2px;
}

@media (max-width: 560px) {
	.jp-orcid .jp-guide-actions .jp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}
