/**
 * REABMS, direction C: "Ulat" (the report).
 *
 * The journal as a listed company's annual report: a charcoal cover band that
 * runs from the masthead through the opening and carries the current issue's
 * cover, then open white pages. Each section opens on its title, set large;
 * facts sit in a tinted highlights panel; the editorial pipeline is drawn as a
 * process line.
 *
 * Type: Hanken Grotesk (headings, navigation, labels, figures) and Source
 * Serif 4 (reading), self-hosted (styles/fonts.css).
 *
 * The theme's look, after reabms-base.css (the structure). Ported from the
 * signed-off mockups (journals/reabms/mockups/reabms.css, frozen 2026-11-07;
 * the design record is journals/reabms/DESIGN.md); this file is the source
 * from now on. What OJS prints differently from the mockups is handled in
 * section 3: the copies of the trail and title that the page templates still
 * print, and the homepage summary's Read More arrow.
 *
 * Contrast (WCAG 2.1; AA is 4.5:1 for text, 3:1 for large text):
 *   charcoal on white 17.40, on tint 16.14     white on charcoal 17.40
 *   light on charcoal 13.60                    gold on charcoal 6.80 (headings, marks)
 *   charcoal on gold 6.80                      gold-deep on white 4.84 (never on the tint)
 *   warm ink on white 9.33, on tint 8.65
 * Gold on white is 2.56:1: a rule, a dot or a fill, never text.
 */

:root {
	--rb-ink: #1a1a1a;
	--rb-ink-2: #4d4639;
	--rb-gold: #c89b3c;
	--rb-gold-deep: #8f6c24;
	--rb-tint: #faf6ed;
	--rb-line: #e8ddc4;
	--rb-light: #e9e3d5;
	--rb-white: #ffffff;
	--rb-field: #8a7f69;     /* form-field edges: 3.95:1 on white (3:1 needed) */
	--rb-error: #a4262c;     /* a form's error text and the edge of a field in error: 7.26:1 */
	--rb-error-tint: #fdf1f1;

	--rb-sans: 'Hanken Grotesk', system-ui, sans-serif;
	--rb-read: 'Source Serif 4', Georgia, 'Times New Roman', serif;

	--rb-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--rb-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
	--rb-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--rb-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E");
	--rb-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--rb-i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 2.5 20h19z'/%3E%3Cpath d='M12 10v4.5M12 17.5v.01'/%3E%3C/svg%3E");
	--rb-i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E");
}

/* 1. Base ===================================================================== */

html,
body {
	background: var(--rb-white);
	color: var(--rb-ink);
}

body {
	font-family: var(--rb-read);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-optical-sizing: auto;
}

::selection {
	background: var(--rb-gold);
	color: var(--rb-ink);
}

a {
	color: var(--rb-ink);
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color 150ms ease-out, color 150ms ease-out;
}

a:hover,
a:focus {
	color: var(--rb-ink);
	text-decoration-color: var(--rb-ink);
}

:focus-visible {
	outline: 3px solid var(--rb-ink);
	outline-offset: 2px;
}

.pkp_structure_main :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	font-family: var(--rb-sans);
	color: var(--rb-ink);
	text-wrap: balance;
}

.pkp_structure_main :is(p, ul, ol) {
	margin: 0 0 1em;
}

:is(.date, .pages, .published .value, .rb-pipeline b, .item.published .value) {
	font-variant-numeric: tabular-nums lining-nums;
}

.rb-button,
.cmp_form button.submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	box-sizing: border-box;
	padding: 12px 26px;
	border: 0;
	border-radius: 2px;
	background: var(--rb-gold);
	box-shadow: none;
	font: 600 1.0625rem/1.2 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
	text-shadow: none;
	transition: background-color 200ms ease-out, color 200ms ease-out;
}

.rb-button:hover,
.rb-button:focus {
	background: var(--rb-white);
	color: var(--rb-ink);
}

.rb-button .rb-icon {
	transition: transform 300ms var(--rb-ease);
}

.rb-button:hover .rb-icon {
	transform: translateX(3px);
}

/* 2. Masthead: the top of the cover band ======================================== */

.pkp_structure_head {
	background: var(--rb-ink);
	color: var(--rb-white);
}

.pkp_structure_head :focus-visible {
	outline-color: var(--rb-gold);
}

.rb-util {
	padding-top: 12px;
}

.rb-util .pkp_navigation_user {
	gap: 4px 22px;
}

.pkp_structure_head .pkp_navigation_user > li > a,
.pkp_structure_head .pkp_navigation_user > li:last-child > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -11px 0;
	padding: 0;
	font: 500 0.9rem/1.5 var(--rb-sans);
	color: var(--rb-light);
	text-decoration: none;
}

.pkp_structure_head .pkp_navigation_user > li > a:is(:hover, :focus) {
	background: transparent;
	color: var(--rb-gold);
}

.pkp_site_name_wrapper,
.pkp_site_name .is_img,
.pkp_site_name .is_img img {
	flex-shrink: 0;
}

.pkp_site_name .is_img {
	padding: 6px;
	background: var(--rb-white);
	border-radius: 2px;
}

.pkp_site_name .is_img img {
	height: 62px;
}

/* The parent takes the outline off header links on focus (and gives the logo a
   1px charcoal one, unseen on the band); keyboard focus gets the gold ring back.
   Added 2026-11-07 when the theme met the parent's stylesheet: the same fix as
   AETHERION's. */
.pkp_site_name .is_img:focus {
	outline: 0;
}

.pkp_site_name .is_img:focus-visible,
.pkp_structure_head :is(.pkp_nav_list a, .pkp_navigation_search_wrapper a):focus-visible {
	outline: 3px solid var(--rb-gold);
	outline-offset: 2px;
}

@media (min-width: 992px) {
	.pkp_head_wrapper,
	.has_site_logo .pkp_head_wrapper {
		padding-top: 4px;
		padding-bottom: 22px;
	}

	.pkp_structure_head .pkp_navigation_primary > li > a,
	.pkp_structure_head .pkp_navigation_primary > li:first-child > a,
	.pkp_structure_head .pkp_navigation_primary > li:last-child > a {
		gap: 3px;
		margin: 0;
		padding: 10px 11px;
		border: 0;
		background: linear-gradient(var(--rb-gold), var(--rb-gold)) no-repeat 11px calc(100% - 2px) / 0 2px;
		font: 500 1rem/1.2 var(--rb-sans);
		color: var(--rb-white);
		text-decoration: none;
		transition: background-size 300ms var(--rb-ease);
	}

	.pkp_structure_head .pkp_navigation_primary > li > a:focus {
		background-color: transparent;
		color: var(--rb-white);
	}

	.pkp_structure_head .pkp_navigation_primary > li:is(:hover, :focus-within) > a,
	.pkp_structure_head .pkp_navigation_primary > li.rb-current > a {
		background-size: calc(100% - 22px) 2px;
	}

	.pkp_structure_head .pkp_navigation_primary > li.rb-current > a {
		color: var(--rb-gold);
	}

	.pkp_structure_head .pkp_nav_list [aria-haspopup]::after {
		content: "";
		width: 15px;
		height: 15px;
		margin: 1px 0 0;
		border: 0;
		background: currentColor;
		opacity: 0.85;
		-webkit-mask: var(--rb-i-chev) center / contain no-repeat;
		mask: var(--rb-i-chev) center / contain no-repeat;
	}

	.pkp_structure_head .pkp_nav_list ul {
		margin-top: 6px;
		padding: 8px;
		border: 1px solid var(--rb-line);
		border-radius: 2px;
		background: var(--rb-white);
		box-shadow: none;
	}

	.pkp_structure_head .pkp_nav_list ul a,
	.pkp_structure_head .pkp_nav_list ul li:first-child a,
	.pkp_structure_head .pkp_nav_list ul li:last-child a {
		display: block;
		margin: 0;
		padding: 11px 14px;
		border: 0;
		border-radius: 2px;
		font: 500 0.98rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
		white-space: nowrap;
		text-decoration: none;
	}

	.pkp_structure_head .pkp_nav_list ul a:is(:hover, :focus) {
		background: var(--rb-tint);
		color: var(--rb-ink);
	}

	/* The dropdown is a light panel: the focus ring goes charcoal there (gold is too faint on it). */
	.pkp_structure_head .pkp_nav_list ul a:focus-visible {
		outline-color: var(--rb-ink);
	}

	.pkp_structure_head .pkp_navigation_search_wrapper a {
		margin-left: 10px;
		padding: 8px 16px;
		border: 1px solid rgba(233, 227, 213, 0.35);
		border-radius: 2px;
		font: 500 0.98rem/1.2 var(--rb-sans);
		color: var(--rb-white);
		text-decoration: none;
	}

	.pkp_structure_head .pkp_navigation_search_wrapper a:is(:hover, :focus) {
		background: transparent;
		border-color: var(--rb-gold);
		color: var(--rb-gold);
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.pkp_structure_head .pkp_navigation_primary > li > a,
	.pkp_structure_head .pkp_navigation_primary > li:first-child > a,
	.pkp_structure_head .pkp_navigation_primary > li:last-child > a {
		padding-left: 7px;
		padding-right: 7px;
		background-position-x: 7px;
		font-size: 0.92rem;
	}

	.pkp_site_name .is_img img {
		height: 50px;
	}
}

@media (max-width: 991.98px) {
	.pkp_head_wrapper,
	.has_site_logo .pkp_head_wrapper {
		padding-top: 4px;
		padding-bottom: 14px;
	}

	.pkp_site_name .is_img img {
		height: 46px;
	}

	.pkp_site_nav_toggle {
		border: 1px solid rgba(233, 227, 213, 0.5);
		border-radius: 2px;
	}

	.pkp_site_nav_toggle > span,
	.pkp_site_nav_toggle > span::before,
	.pkp_site_nav_toggle > span::after {
		border-color: var(--rb-white);
	}

	.pkp_site_nav_toggle > span::before,
	.pkp_site_nav_toggle > span::after {
		background: var(--rb-white);
	}
}

/* 3. The opening: the rest of the cover band ===================================== */

.rb-opening {
	background: var(--rb-ink);
	color: var(--rb-light);
}

.rb-opening--home {
	padding: clamp(40px, 5vw, 76px) 0 0;
	/* The cover's shadow ends at the band's edge, not as a haze on the white page. */
	overflow: hidden;
	overflow: clip;
}

.rb-opening--home .rb-opening_inner {
	display: grid;
	gap: 40px clamp(32px, 5vw, 80px);
}

@media (min-width: 900px) {
	.rb-opening--home .rb-opening_inner {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
		align-items: end;
	}
}

.rb-hero {
	padding-bottom: clamp(40px, 5vw, 76px);
}

.rb-hero_title {
	margin: 0 0 26px;
	font: 700 clamp(2.4rem, 4.6vw, 4.2rem)/1.03 var(--rb-sans);
	letter-spacing: -0.032em;
	color: var(--rb-white);
	text-wrap: balance;
}

.rb-hero_title span {
	display: block;
	font-weight: 300;
	color: var(--rb-gold);
}

.rb-hero_lead {
	max-width: 54ch;
	margin: 0 0 28px;
	font: 400 1.2rem/1.6 var(--rb-read);
	color: var(--rb-light);
}

.rb-hero_facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0 0 32px;
	font: 600 0.98rem/1.3 var(--rb-sans);
	color: var(--rb-white);
}

.rb-hero_facts li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rb-hero_facts li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rb-gold);
}

.rb-hero_more {
	margin: 0;
}

/* The current issue's cover, inside the band: its foot level with the hero's (the
   user's call, 2026-11-07: no overhang into the page). Tilted, it straightens on hover. */
.rb-opening_aside {
	align-self: end;
	justify-self: center;
	width: min(100%, 22rem);
	margin-bottom: clamp(40px, 5vw, 76px);
}

.rb-opening_aside .cover {
	margin: 0;
}

.rb-opening_aside .cover img {
	display: block;
	width: 100%;
	border-radius: 2px;
	/* Black, not charcoal: the cover sits on the charcoal band, where a charcoal shadow would not show. */
	box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55), 0 6px 16px rgba(0, 0, 0, 0.3);
	transform: rotate(-1.5deg);
	transition: transform 600ms var(--rb-ease);
}

.rb-opening_aside .cover:hover img {
	transform: rotate(0deg) translateY(-4px);
}

/* OJS's own copies, hidden. header.tpl prints a page's trail and title in the
   band (and the homepage's issue cover beside the journal's name); the page
   templates still print their own at the top of the page, so the body stays
   exactly as OJS prints it. Hidden, they leave the accessibility tree too, so
   a page has one h1. */
.rb-band .pkp_structure_main > .page > :is(.cmp_breadcrumbs, h1),
.rb-band .obj_article_details > :is(h1.page_title, h2.subtitle),
.rb-band .obj_announcement_full > h1,
.pkp_page_index .current_issue .obj_issue_toc .heading > .cover {
	display: none;
}

/* The homepage summary's Read More: the arrow the mockup drew with an inline
   icon, drawn here, because the summary is editor content (no SVG). */
.rb-hero_more .rb-button::after {
	content: "";
	width: 1.15em;
	height: 1.15em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--rb-i-arrow) center / contain no-repeat;
	mask: var(--rb-i-arrow) center / contain no-repeat;
	transition: transform 300ms var(--rb-ease);
}

.rb-hero_more .rb-button:is(:hover, :focus)::after {
	transform: translateX(3px);
}

/* A page's opening: the trail and the title on the band. */
.rb-opening--page {
	padding: clamp(28px, 3vw, 44px) 0 clamp(36px, 4vw, 56px);
}

.rb-opening--page h1 {
	max-width: 32ch;
	margin: 18px 0 0;
	font: 700 clamp(1.9rem, 3.2vw, 2.85rem)/1.12 var(--rb-sans);
	letter-spacing: -0.025em;
	color: var(--rb-white);
	text-wrap: balance;
}

.rb-opening--page h1 b {
	font-weight: inherit;
}

.cmp_breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 0.92rem/1.45 var(--rb-sans);
	color: var(--rb-light);
}

.cmp_breadcrumbs li {
	display: inline;
}

.cmp_breadcrumbs a {
	display: inline;
	color: var(--rb-white);
	text-decoration-color: rgba(200, 155, 60, 0.7);
}

.cmp_breadcrumbs a:hover {
	color: var(--rb-gold);
	text-decoration-color: var(--rb-gold);
}

.cmp_breadcrumbs .separator {
	margin: 0 10px;
	padding: 0;
	color: var(--rb-gold);
}

.cmp_breadcrumbs .current {
	color: var(--rb-light);
}

/* 4. Columns and sidebar ========================================================= */

.pkp_structure_content {
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.pkp_structure_sidebar {
	display: grid;
	gap: 36px;
}

@media (max-width: 991.98px) {
	.pkp_structure_sidebar {
		margin-top: 56px;
	}
}

.rb-submit {
	margin: 0 0 8px;
}

.rb-submit .rb-button {
	width: 100%;
	min-height: 58px;
}

.rb-submit .rb-button:hover {
	background: var(--rb-ink);
	color: var(--rb-white);
}

.pkp_block .content .rb-sidelinks {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.rb-sidelinks li + li {
	border-top: 1px solid var(--rb-line);
}

.rb-sidelinks a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding: 0 4px;
	font: 500 1.02rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
}

.rb-sidelinks a::after {
	content: "";
	width: 1.05em;
	height: 1.05em;
	background: var(--rb-gold-deep);
	-webkit-mask: var(--rb-i-arrow) center / contain no-repeat;
	mask: var(--rb-i-arrow) center / contain no-repeat;
	transition: transform 300ms var(--rb-ease);
}

.rb-sidelinks a:hover::after {
	transform: translateX(4px);
}

.pkp_block .title {
	margin: 0 0 12px;
	font: 600 1.15rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
	text-transform: none;
	letter-spacing: 0;
}

/* The indexing marks: one column of hairline cells. */
.pkp_block .content .rb-logos {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pkp_block .content .rb-logos li {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	place-items: center;
	min-height: 64px;
	padding: 10px 16px;
	border: 1px solid var(--rb-line);
	border-radius: 2px;
}

.rb-logos img {
	max-height: 40px;
	max-width: 100%;
	width: auto;
}

/* 5. Homepage: the report's pages ================================================= */

.rb-section,
.pkp_page_index .cmp_announcements,
.current_issue {
	margin: 0 0 clamp(56px, 7vw, 96px);
	padding: 0;
	border: 0;
}

.pkp_structure_main .rb-section_title,
.pkp_structure_main .current_issue > h2,
.pkp_page_index .cmp_announcements > h2 {
	margin: 0 0 20px;
	font: 700 clamp(1.8rem, 2.8vw, 2.4rem)/1.08 var(--rb-sans);
	letter-spacing: -0.028em;
}

.rb-section_body > p {
	font-size: 1.125rem;
	line-height: 1.75;
}

/* Areas of publication: the report's segments, a ruled entry each. */
.pkp_structure_main .rb-scope {
	display: grid;
	gap: 0 28px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.pkp_structure_main .rb-scope {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1300px) {
	.pkp_structure_main .rb-scope {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.rb-scope li {
	padding: 16px 0 18px;
	border-top: 1px solid var(--rb-ink);
	font: 500 1.06rem/1.38 var(--rb-sans);
	transition: border-color 200ms ease-out;
}

.rb-scope li:hover {
	border-top-color: var(--rb-gold);
}

/* Frequency: the highlights panel. */
.pkp_structure_main .rb-freq {
	display: grid;
	gap: 24px;
	margin: 32px 0 40px;
	padding: clamp(22px, 3vw, 32px);
	list-style: none;
	border-radius: 2px;
	background: var(--rb-tint);
}

@media (min-width: 700px) {
	.pkp_structure_main .rb-freq {
		grid-template-columns: repeat(3, 1fr);
	}

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

.rb-freq li {
	display: grid;
	align-content: start;
	gap: 6px;
}

.rb-freq strong {
	font: 600 1.25rem/1.25 var(--rb-sans);
	letter-spacing: -0.015em;
}

.rb-freq span {
	font: 400 1rem/1.45 var(--rb-read);
	color: var(--rb-ink-2);
}

.pkp_structure_main .rb-section_body > h3 {
	margin: 0 0 18px;
	font: 600 1.05rem/1.3 var(--rb-sans);
}

/* The pipeline: a process line, a station per step. */
.rb-pipeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-pipeline::before {
	content: "";
	position: absolute;
	top: 21px;
	left: 21px;
	right: calc(100% / 6 - 22px);
	height: 2px;
	background: var(--rb-gold);
}

.rb-pipeline li {
	position: relative;
	display: grid;
	justify-items: start;
	gap: 12px;
	padding-right: 12px;
}

.rb-pipeline b {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	box-sizing: border-box;
	border: 2px solid var(--rb-ink);
	border-radius: 50%;
	background: var(--rb-white);
	font: 600 1rem/1 var(--rb-sans);
}

.rb-pipeline li:last-child b {
	border-color: var(--rb-gold);
	background: var(--rb-gold);
}

.rb-pipeline span {
	font: 500 0.98rem/1.3 var(--rb-sans);
}

@media (max-width: 767.98px) {
	.rb-pipeline {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.rb-pipeline::before {
		top: 21px;
		bottom: 21px;
		left: 21px;
		right: auto;
		width: 2px;
		height: auto;
	}

	.rb-pipeline li {
		grid-template-columns: 44px minmax(0, 1fr);
		align-items: center;
		gap: 14px;
	}
}

/* Announcements: the featured one beside the others. */
@media (max-width: 899.98px) {
	.pkp_page_index .cmp_announcements .more {
		margin-top: 20px;
	}
}

@media (min-width: 900px) {
	.pkp_page_index .cmp_announcements {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		column-gap: 36px;
	}

	.pkp_page_index .cmp_announcements > h2,
	.pkp_page_index .cmp_announcements > a {
		grid-column: 1 / -1;
	}
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary {
	padding: 24px;
	border-radius: 2px;
	background: var(--rb-tint);
}

.pkp_page_index .cmp_announcements > .obj_announcement_summary h3 {
	margin: 6px 0 0;
	font: 600 1.35rem/1.3 var(--rb-sans);
	letter-spacing: -0.015em;
}

.pkp_page_index .cmp_announcements :is(h3, h4) a {
	color: var(--rb-ink);
	text-decoration: none;
}

.pkp_page_index .cmp_announcements :is(h3, h4) a:hover {
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.pkp_page_index .cmp_announcements .obj_announcement_summary_details {
	display: flex;
	flex-direction: column;
}

.pkp_page_index .cmp_announcements .obj_announcement_summary_details .date {
	order: -1;
}

.pkp_page_index .cmp_announcements .more .obj_announcement_summary {
	display: flex;
	flex-direction: column;
	padding: 16px 0;
	border-bottom: 1px solid var(--rb-line);
}

.pkp_page_index .cmp_announcements .more .obj_announcement_summary:first-child {
	padding-top: 0;
}

.pkp_page_index .cmp_announcements .more h4 {
	order: 1;
	margin: 4px 0 0;
	font: 600 1.1rem/1.35 var(--rb-sans);
}

.obj_announcement_summary .date {
	font: 600 0.9rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_announcement_summary .summary {
	margin-top: 14px;
}

.obj_announcement_summary .read_more,
.pkp_page_index .current_issue .read_more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 1rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.obj_announcement_summary .read_more::after,
.pkp_page_index .current_issue .read_more::after {
	content: "";
	position: static;
	width: 1.05em;
	height: 1.05em;
	margin: 0;
	border: 0;
	transform: none;
	background: currentColor;
	-webkit-mask: var(--rb-i-arrow) center / contain no-repeat;
	mask: var(--rb-i-arrow) center / contain no-repeat;
}

/* The current issue (its cover is on the band above). */
.current_issue_title {
	margin: 0 0 6px;
	font: 600 1.3rem/1.35 var(--rb-sans);
	letter-spacing: -0.012em;
}

.current_issue .obj_issue_toc .heading {
	display: block;
	margin: 0 0 26px;
}

.obj_issue_toc .heading .published {
	margin: 0;
	font: 500 0.95rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_issue_toc .heading .published .label {
	margin-right: 6px;
}

.obj_issue_toc .section > h3 {
	margin: 0 0 4px;
	font: 600 0.95rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
}

.cmp_article_list,
.search_results {
	container-type: inline-size;
}

.cmp_article_list > li {
	border-top: 1px solid var(--rb-line);
}

.obj_article_summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 4.5rem auto;
	grid-template-areas: "title pages file" "authors pages file";
	column-gap: 20px;
	align-items: start;
	padding: 18px 0;
}

.obj_article_summary .meta {
	display: contents;
}

.obj_article_summary > .title {
	grid-area: title;
	margin: 0 0 6px;
	text-wrap: pretty;
	font: 600 1.13rem/1.38 var(--rb-sans);
	letter-spacing: -0.01em;
}

.obj_article_summary > .title a {
	color: var(--rb-ink);
	text-decoration: none;
}

.obj_article_summary > .title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.obj_article_summary > .title b {
	font-weight: inherit;
}

.obj_article_summary .authors {
	grid-area: authors;
	font: italic 400 1rem/1.5 var(--rb-read);
	color: var(--rb-ink-2);
}

.obj_article_summary .pages {
	grid-area: pages;
	justify-self: end;
	padding-top: 2px;
	font: 500 0.95rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_article_summary .galleys_links {
	grid-area: file;
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.obj_article_summary .galleys_links .obj_galley_link {
	width: 100%;
}

.obj_galley_link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	box-sizing: border-box;
	padding: 8px 16px;
	border: 1px solid var(--rb-ink);
	border-radius: 2px;
	background: var(--rb-white);
	font: 600 0.92rem/1.2 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
	transition: background-color 200ms ease-out, color 200ms ease-out;
}

.obj_galley_link.obj_galley_link::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	margin: 0;
	background: currentColor;
	-webkit-mask: var(--rb-i-doc) center / contain no-repeat;
	mask: var(--rb-i-doc) center / contain no-repeat;
}

.obj_galley_link:is(:hover, :focus) {
	background: var(--rb-ink);
	border-color: var(--rb-ink);
	color: var(--rb-white);
}

.pkp_page_index .current_issue > .read_more {
	margin-top: 24px;
}

@container (max-width: 34rem) {
	.obj_article_summary {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "title title" "authors authors" "pages file";
		row-gap: 6px;
		align-items: center;
	}

	.obj_article_summary.obj_article_summary:has(> .cover) {
		grid-template-columns: 4rem minmax(0, 1fr) auto;
		grid-template-areas: "cover title title" "cover authors authors" "cover pages file";
		align-items: start;
	}

	.obj_article_summary .pages {
		justify-self: start;
		padding: 0;
	}

	.obj_article_summary .galleys_links {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.obj_article_summary .galleys_links .obj_galley_link {
		width: auto;
	}
}

/* 6. The article ================================================================ */

.obj_article_details .main_entry > .item {
	margin: 0 0 36px;
}

.obj_article_details ul.authors {
	display: grid;
	gap: 18px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1100px) {
	.obj_article_details ul.authors {
		grid-template-columns: 1fr 1fr;
	}
}

.obj_article_details ul.authors > li {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--rb-ink);
}

.obj_article_details ul.authors .name {
	display: block;
	font: 600 1.13rem/1.35 var(--rb-sans);
}

.obj_article_details ul.authors .affiliation {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
	color: var(--rb-ink-2);
	font: 400 1rem/1.45 var(--rb-read);
}

.obj_article_details ul.authors .affiliation a {
	display: inline-flex;
	text-decoration: none;
}

.obj_article_details ul.authors .affiliation svg {
	width: 22px;
	height: auto;
}

.obj_article_details ul.authors .userGroup {
	display: block;
	margin-top: 4px;
	font: 500 0.9rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
}

/* DOI and keywords: a key-facts panel. */
.obj_article_details .main_entry > .doi {
	margin: 0;
	padding: 20px 24px 8px;
	border-radius: 2px 2px 0 0;
	background: var(--rb-tint);
}

.obj_article_details .main_entry > .keywords {
	margin: 0 0 40px;
	padding: 8px 24px 20px;
	border-radius: 0 0 2px 2px;
	background: var(--rb-tint);
}

.obj_article_details .main_entry .item:is(.doi, .keywords) .label {
	display: block;
	margin: 0 0 2px;
	font: 600 0.88rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_article_details .main_entry > :is(.doi, .keywords) .value {
	font: 500 1rem/1.55 var(--rb-sans);
}

.obj_article_details .main_entry > :is(.doi, .keywords) .value a {
	overflow-wrap: anywhere;
}

.obj_article_details .main_entry .item:is(.abstract, .references) .label {
	margin: 0 0 18px;
	font: 700 1.75rem/1.15 var(--rb-sans);
	letter-spacing: -0.025em;
}

.obj_article_details .abstract p {
	font: 400 1.125rem/1.72 var(--rb-read);
}

.obj_article_details .abstract p strong {
	font: 600 1.05rem/1 var(--rb-sans);
}

.obj_article_details .main_entry > .references {
	padding-top: 32px;
	border-top: 1px solid var(--rb-line);
}

.obj_article_details .references .value p {
	margin: 0 0 0.7em;
	padding-left: 1.5em;
	text-indent: -1.5em;
	font: 400 0.98rem/1.6 var(--rb-read);
}

.obj_article_details .references .value a {
	overflow-wrap: anywhere;
}

.obj_article_details .entry_details > .item {
	padding: 18px 0;
	border-top: 1px solid var(--rb-line);
}

.obj_article_details .entry_details > .item:first-child {
	padding-top: 0;
	border-top: 0;
}

.obj_article_details .entry_details > .cover_image img {
	display: block;
	width: 100%;
	max-width: 15.5rem;
	border-radius: 2px;
	box-shadow: 0 20px 40px -16px rgba(26, 26, 26, 0.45), 0 3px 8px rgba(26, 26, 26, 0.16);
}

.obj_article_details .entry_details .galleys_links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.obj_article_details .entry_details .obj_galley_link {
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border-color: var(--rb-gold);
	background: var(--rb-gold);
	font-size: 1rem;
}

.obj_article_details .entry_details .obj_galley_link:hover {
	background: var(--rb-ink);
	border-color: var(--rb-ink);
	color: var(--rb-white);
}

.obj_article_details .entry_details .sub_item + .sub_item {
	margin-top: 14px;
}

.obj_article_details .entry_details .item .label {
	margin: 0 0 4px;
	font: 600 0.88rem/1.35 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_article_details .entry_details .value,
.obj_article_details .entry_details .copyright p {
	font: 400 0.98rem/1.55 var(--rb-sans);
}

.obj_article_details .entry_details .published .value {
	font: 600 1.25rem/1.3 var(--rb-sans);
}

.obj_article_details .entry_details .copyright p {
	margin: 8px 0 0;
}

.obj_article_details .entry_details .copyright img {
	display: block;
	margin-top: 8px;
}

.obj_article_details .csl-entry {
	font: 400 0.98rem/1.55 var(--rb-read);
	overflow-wrap: anywhere;
}

.citation_formats {
	margin-top: 12px;
	border: 0;
}

.citation_formats_button.label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 6px 14px;
	border: 1px solid var(--rb-ink);
	border-radius: 2px;
	background: var(--rb-white);
	font: 600 0.9rem/1.2 var(--rb-sans);
	color: var(--rb-ink);
	text-transform: none;
	cursor: pointer;
}

.citation_formats_button.label::after {
	content: "";
	position: static;
	width: 14px;
	height: 14px;
	margin: 0;
	border: 0;
	background: currentColor;
	-webkit-mask: var(--rb-i-chev) center / contain no-repeat;
	mask: var(--rb-i-chev) center / contain no-repeat;
}

/* 7. Footer: the back cover ======================================================== */

.pkp_structure_footer_wrapper {
	background: var(--rb-ink);
	color: var(--rb-light);
}

.pkp_structure_footer {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: 32px;
}

.pkp_footer_content {
	padding: 0;
	font: 400 0.98rem/1.6 var(--rb-sans);
}

.rb-footer_cols {
	display: grid;
	gap: 32px clamp(32px, 4vw, 56px);
}

@media (min-width: 900px) {
	.rb-footer_cols {
		grid-template-columns: 1.1fr 1fr 1.3fr;
	}
}

.rb-footer_cols h2 {
	margin: 0 0 14px;
	font: 600 1.1rem/1.3 var(--rb-sans);
	color: var(--rb-gold);
}

.rb-footer_cols p {
	margin: 0 0 12px;
}

.rb-footer_cols ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rb-footer_cols li {
	display: grid;
	gap: 2px;
	padding: 0 0 12px;
}

.rb-footer_cols li strong {
	font-weight: 600;
	color: var(--rb-white);
}

.pkp_structure_footer_wrapper a {
	color: var(--rb-white);
	text-decoration-color: rgba(200, 155, 60, 0.8);
	overflow-wrap: anywhere;
}

.pkp_structure_footer_wrapper a:hover {
	color: var(--rb-gold);
}

.rb-footer_pkp {
	margin: 40px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(233, 227, 213, 0.18);
	font: 500 0.9rem/1.4 var(--rb-sans);
}

.rb-footer_pkp span {
	margin: 0 8px;
	color: var(--rb-gold);
}

.pkp_brand_footer {
	margin: 18px 0 0;
	padding: 0;
}

.pkp_brand_footer img {
	width: 110px;
	filter: invert(1);
	opacity: 0.85;
}

/* 8. Pages without the sidebar ==================================================== */

/* The article: its details column widens beside the full-width text. */
@media (min-width: 992px) {
	.pkp_structure_content:not(.has_sidebar) .obj_article_details .row {
		grid-template-columns: minmax(0, 1fr) 17.5rem;
		column-gap: clamp(48px, 6vw, 104px);
	}
}

/* The issue: its cover stays beside the contents. */
.page_issue .obj_issue_toc {
	display: grid;
	gap: 36px clamp(40px, 5vw, 80px);
}

@media (min-width: 900px) {
	.page_issue .obj_issue_toc {
		grid-template-columns: 15rem minmax(0, 1fr);
		align-items: start;
	}

	.page_issue .obj_issue_toc .heading {
		position: sticky;
		top: 24px;
		grid-row: 1 / span 3;
	}

	.page_issue .obj_issue_toc > :not(.heading) {
		grid-column: 2;
	}
}

.page_issue .obj_issue_toc .heading {
	display: grid;
	gap: 14px;
	margin: 0;
}

.page_issue .obj_issue_toc .heading .cover {
	float: none;
	width: auto;
	max-width: 15rem;
	margin: 0;
	padding: 0;
}

.page_issue .obj_issue_toc .heading .cover img {
	display: block;
	width: 100%;
	max-height: none;
	border-radius: 2px;
	box-shadow: 0 22px 44px -18px rgba(26, 26, 26, 0.45), 0 3px 8px rgba(26, 26, 26, 0.14);
}

.obj_issue_toc .heading .published,
.obj_issue_toc .heading .pub_id {
	margin: 0;
	font: 500 0.95rem/1.45 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_issue_toc .heading .pub_id .type {
	font-weight: 600;
	margin-right: 4px;
}

.obj_issue_toc .heading .pub_id .id a {
	overflow-wrap: anywhere;
}

.obj_issue_toc .heading .description {
	margin: 0;
	font: 400 1rem/1.6 var(--rb-read);
	color: var(--rb-ink);
}

.obj_issue_toc .heading .description p {
	margin: 0 0 0.6em;
}

.obj_issue_toc .section > h2 {
	margin: 0 0 4px;
	font: 600 0.95rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
}

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

/* The full issue's own files. */
.obj_issue_toc > .galleys {
	padding: 18px 22px;
	border-radius: 2px;
	background: var(--rb-tint);
}

.obj_issue_toc > .galleys > h2 {
	margin: 0 0 10px;
	font: 600 1.05rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
}

.obj_issue_toc > .galleys .galleys_links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* An article with its own cover: the thumbnail beside the entry. */
.obj_article_summary:has(> .cover) {
	grid-template-columns: 5.5rem minmax(0, 1fr) 4.5rem auto;
	grid-template-areas: "cover title pages file" "cover authors pages file";
}

.obj_article_summary > .cover {
	grid-area: cover;
	float: none;
	width: auto;
	margin: 0;
}

.obj_article_summary > .cover img {
	display: block;
	width: 100%;
	border-radius: 2px;
	box-shadow: 0 6px 14px -6px rgba(26, 26, 26, 0.4);
}

.obj_article_summary .subtitle {
	display: block;
	margin-top: 2px;
	font-weight: 400;
	color: var(--rb-ink-2);
}

.obj_article_summary .meta .published {
	grid-column: 1 / -1;
	margin-top: 4px;
	font: 500 0.9rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

/* The archive: past issues on a shelf, cover first. */
.pkp_structure_main .issues_archive {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
	gap: 44px 36px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.pkp_structure_main .issues_archive > li {
	margin: 0;
	padding: 0;
	border: 0;
}

.obj_issue_summary {
	display: grid;
	gap: 14px;
	align-content: start;
}

.obj_issue_summary:not(:has(> .cover))::before {
	content: "";
	display: block;
	aspect-ratio: 900 / 1294;
	border-radius: 2px;
	background: var(--rb-ink);
}

.obj_issue_summary .cover {
	display: block;
	float: none;
	width: auto;
	margin: 0;
}

.obj_issue_summary .cover img {
	display: block;
	width: 100%;
	max-height: none;
	border-radius: 2px;
	box-shadow: 0 18px 36px -16px rgba(26, 26, 26, 0.45), 0 3px 8px rgba(26, 26, 26, 0.14);
	transition: transform 400ms var(--rb-ease);
}

.obj_issue_summary .cover:hover img {
	transform: translateY(-4px);
}

.obj_issue_summary h2 {
	margin: 0;
	font: 600 1.06rem/1.38 var(--rb-sans);
	letter-spacing: -0.01em;
}

.obj_issue_summary .title {
	color: var(--rb-ink);
	text-decoration: none;
}

.obj_issue_summary .title:hover {
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.obj_issue_summary .series {
	margin-top: 4px;
	font: 500 0.92rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_issue_summary .description {
	font: 400 0.98rem/1.55 var(--rb-read);
	color: var(--rb-ink-2);
}

.obj_issue_summary .description:empty {
	display: none;
}

/* An empty archive, an empty announcement list, a search with no results. */
.page_issue_archive > p,
.page_announcements > p {
	padding: 20px 24px;
	border-radius: 2px;
	background: var(--rb-tint);
	font: 400 1.05rem/1.6 var(--rb-read);
}

/* 9. OJS's own pages ================================================================= */

/* Announcements: dated entries, the date in the margin. */
.page_announcements .cmp_announcements.cmp_announcements {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.page_announcements .cmp_announcements.cmp_announcements > li {
	padding: 28px 0;
	border: 0;
	border-top: 1px solid var(--rb-line);
}

.page_announcements .cmp_announcements.cmp_announcements > li:first-child {
	padding-top: 0;
	border-top: 0;
}

@media (min-width: 700px) {
	.page_announcements .obj_announcement_summary_details {
		display: grid;
		grid-template-columns: 8.5rem minmax(0, 1fr);
		column-gap: 32px;
	}

	.page_announcements .obj_announcement_summary_details > * {
		grid-column: 2;
	}

	.page_announcements .obj_announcement_summary_details .date {
		grid-column: 1;
		grid-row: 1 / span 2;
		padding-top: 5px;
	}
}

.page_announcements .obj_announcement_summary h2 {
	margin: 0 0 4px;
	font: 600 1.35rem/1.3 var(--rb-sans);
	letter-spacing: -0.015em;
}

.page_announcements .obj_announcement_summary h2 a {
	color: var(--rb-ink);
	text-decoration: none;
}

.page_announcements .obj_announcement_summary h2 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.page_announcements .obj_announcement_summary .summary,
.page_announcements .obj_announcement_summary .summary p {
	font: 400 1.06rem/1.7 var(--rb-read);
	color: var(--rb-ink);
}

/* One announcement: its date under the title, its text as a page. */
.obj_announcement_full .date {
	margin: 0 0 28px;
	font: 600 0.95rem/1.4 var(--rb-sans);
	color: var(--rb-ink-2);
}

.obj_announcement_full .date::before {
	content: none;
}

.obj_announcement_full_image {
	display: block;
	width: 100%;
	max-width: 46rem;
	margin: 0 0 28px;
	border-radius: 2px;
}

.obj_announcement_summary_image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 22rem;
	margin: 0 0 20px;
	border-radius: 2px;
}

@media (min-width: 700px) {
	.page_announcements .obj_announcement_summary_has_image {
		display: block;
	}

	.page_announcements .obj_announcement_summary_image {
		max-width: calc(100% - 8.5rem - 32px);
		margin-left: calc(8.5rem + 32px);
	}
}

/* The editorial masthead: a dated roll of names. */
.page_masthead h2 {
	margin: 0 0 12px;
	font: 600 1.4rem/1.25 var(--rb-sans);
	letter-spacing: -0.015em;
}

.page_masthead h2:not(:first-of-type) {
	margin-top: 44px;
}

.page_masthead .user_listing {
	max-width: 52rem;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.page_masthead .user_listing li {
	display: grid;
	grid-template-columns: 6rem minmax(0, 1fr);
	column-gap: 20px;
	padding: 12px 0;
	border-top: 1px solid var(--rb-line);
}

.page_masthead .user_listing .date_start {
	grid-row: 1 / span 2;
	font: 500 0.95rem/1.5 var(--rb-sans);
	color: var(--rb-ink-2);
	font-variant-numeric: tabular-nums;
}

.page_masthead .user_listing .name {
	font: 600 1.06rem/1.4 var(--rb-sans);
}

.page_masthead .user_listing .affiliation {
	grid-column: 2;
	font: 400 1rem/1.5 var(--rb-read);
	color: var(--rb-ink-2);
}

.page_masthead hr {
	height: 1px;
	margin: 32px 0;
	border: 0;
	background: var(--rb-line);
}

/* Submissions, the privacy statement and the information pages: OJS's own
   reading pages, set like the custom pages. */
.page_submissions > div:not(.cmp_notification) {
	margin: 0 0 44px;
}

.page_submissions > div > h2 {
	margin: 0 0 14px;
	font: 700 1.55rem/1.2 var(--rb-sans);
	letter-spacing: -0.02em;
}

.page_submissions > div p,
.page_privacy > p {
	font: 400 1.1rem/1.72 var(--rb-read);
}

.page_submissions .submission_checklist ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page_submissions .submission_checklist li {
	position: relative;
	padding: 14px 0 14px 34px;
	border-top: 1px solid var(--rb-line);
	font: 400 1.04rem/1.6 var(--rb-read);
}

.page_submissions .submission_checklist li:last-child {
	border-bottom: 1px solid var(--rb-line);
}

.page_submissions .submission_checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 19px;
	width: 14px;
	height: 14px;
	border: 1.5px solid var(--rb-ink);
	border-radius: 2px;
}

/* Notices: a tinted panel with its mark, never a coloured edge. */
.cmp_notification {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: auto;
	max-width: none;
	margin: 0 0 32px;
	padding: 18px 22px 18px calc(36px + 1.25em);
	border: 0;
	border-radius: 2px;
	background: var(--rb-tint);
	font: 400 1.04rem/1.6 var(--rb-read);
	color: var(--rb-ink);
}

.cmp_notification::before {
	content: "";
	position: absolute;
	top: calc(18px + 0.175em);
	left: 22px;
	width: 1.25em;
	height: 1.25em;
	background: var(--rb-gold-deep);
	-webkit-mask: var(--rb-i-info) center / contain no-repeat;
	mask: var(--rb-i-info) center / contain no-repeat;
}

.cmp_notification.success::before {
	background: var(--rb-ink);
	-webkit-mask-image: var(--rb-i-check);
	mask-image: var(--rb-i-check);
}

.cmp_notification:is(.error, .warning) {
	background: var(--rb-error-tint);
}

.cmp_notification:is(.error, .warning)::before {
	background: var(--rb-error);
	-webkit-mask-image: var(--rb-i-alert);
	mask-image: var(--rb-i-alert);
}

/* Pagination: earlier, the range, later. */
.cmp_pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 36px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--rb-line);
	font: 500 0.95rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
	text-align: left;
}

.cmp_pagination::before,
.cmp_pagination::after {
	content: none;
}

.cmp_pagination :is(.prev, .next) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	float: none;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid var(--rb-ink);
	border-radius: 2px;
	font: 600 0.95rem/1.2 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
}

.cmp_pagination :is(.prev, .next)::before,
.cmp_pagination :is(.prev, .next)::after {
	content: none;
}

.cmp_pagination :is(.prev, .next):hover {
	background: var(--rb-ink);
	color: var(--rb-white);
}

.cmp_pagination .next {
	margin-left: auto;
}

/* Forms: login, register, reset password, search. */
.cmp_form fieldset {
	margin: 0 0 32px;
	padding: 0;
	border: 0;
}

.cmp_form legend {
	margin: 0 0 16px;
	padding: 0;
	font: 600 1.3rem/1.3 var(--rb-sans);
	letter-spacing: -0.015em;
	color: var(--rb-ink);
}

.cmp_form .fields > div {
	margin: 0 0 22px;
	padding-bottom: 0;
}

.cmp_form label {
	display: block;
	font: 400 1rem/1.5 var(--rb-sans);
}

.cmp_form .label {
	display: block;
	margin: 0 0 6px;
	font: 600 0.95rem/1.35 var(--rb-sans);
	color: var(--rb-ink);
}

.cmp_form .required,
.pkp_structure_main abbr.required {
	color: var(--rb-error);
	text-decoration: none;
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form select,
.cmp_form textarea,
.search_input .query {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 32rem;
	min-height: 48px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--rb-field);
	border-radius: 2px;
	background: var(--rb-white);
	box-shadow: none;
	font: 400 1rem/1.4 var(--rb-sans);
	color: var(--rb-ink);
	transition: border-color 150ms ease-out;
}

.cmp_form :is(input, select, textarea):hover {
	border-color: var(--rb-ink);
}

.cmp_form :is(input, select, textarea):focus-visible {
	outline: 3px solid var(--rb-gold);
	outline-offset: 1px;
	border-color: var(--rb-ink);
}

.cmp_form :is(input, select, textarea)[aria-invalid="true"],
.cmp_form .error :is(input, select, textarea) {
	border: 2px solid var(--rb-error);
}

.cmp_form .field_error,
.cmp_form .error .label + .error_message {
	display: block;
	margin-top: 6px;
	font: 500 0.92rem/1.4 var(--rb-sans);
	color: var(--rb-error);
}

.cmp_form input[type="checkbox"],
.cmp_form input[type="radio"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--rb-ink);
}

.cmp_form :is(.checkbox, .optin, .remember) label,
.cmp_form label:has(> input[type="checkbox"]) {
	display: block;
	position: relative;
	padding-left: 32px;
	font: 400 1rem/1.55 var(--rb-read);
}

.cmp_form :is(.checkbox, .optin, .remember) label > input[type="checkbox"],
.cmp_form label:has(> input[type="checkbox"]) > input[type="checkbox"] {
	position: absolute;
	top: 0.2em;
	left: 0;
	margin: 0;
}

.cmp_form .remember .label {
	display: inline;
	margin: 0;
	font: inherit;
}

.cmp_form .password a,
.cmp_form .buttons a {
	display: inline-block;
	margin-top: 8px;
	font: 600 0.95rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
}

.cmp_form .buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	margin-top: 12px;
}

.cmp_form .buttons a {
	margin-top: 0;
}

.cmp_form button.submit {
	cursor: pointer;
}

.cmp_form button.submit:hover {
	background: var(--rb-ink);
	color: var(--rb-white);
}

.cmp_form button.submit:disabled {
	background: var(--rb-line);
	color: var(--rb-ink-2);
	cursor: not-allowed;
}

.page_login,
.page_lost_password {
	max-width: 32rem;
}

.page_register {
	max-width: 40rem;
}

.page_login > p,
.page_lost_password > p,
.page_register > p {
	font: 400 1.04rem/1.6 var(--rb-read);
	color: var(--rb-ink-2);
}

.page_register .reviewer_interests {
	margin-top: 12px;
}

/* A form's error summary, and a login error. */
#formErrors,
.pkp_form_error {
	max-width: 40rem;
	margin: 0 0 28px;
	padding: 18px 22px;
	border-radius: 2px;
	background: var(--rb-error-tint);
	font: 600 1rem/1.5 var(--rb-sans);
	color: var(--rb-error);
}

#formErrors .pkp_form_error {
	margin: 0;
	padding: 0;
	background: none;
	color: var(--rb-error);
}

.pkp_form_error_list {
	margin: 8px 0 0;
	padding-left: 1.2em;
	font-weight: 500;
}

.pkp_form_error_list a {
	color: var(--rb-error);
	text-decoration-color: currentColor;
}

.pkp_form_error p {
	margin: 0;
}

/* Search: one wide field, the filters folded under it. */
.page_search .cmp_form {
	max-width: 56rem;
	margin: 0 0 48px;
}

.search_input {
	display: flex;
	gap: 0;
	margin: 0 0 20px;
}

.search_input .query {
	max-width: none;
	min-height: 56px;
	padding: 0 18px;
	font-size: 1.15rem;
}

.search_advanced {
	padding: 22px 24px 4px;
	border-radius: 2px;
	background: var(--rb-tint);
}

.cmp_form .search_advanced legend {
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: 14px;
	font-size: 1.05rem;
}

.page_search .search_advanced .date_range {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	float: none;
	width: auto;
	clear: both;
}

.search_advanced .date_range fieldset {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 6px 10px;
	width: 100%;
	max-width: 22rem;
	margin: 0 0 18px;
}

.search_advanced .date_range legend {
	float: none;
	width: 100%;
	margin: 0 0 4px;
	font: 600 0.95rem/1.35 var(--rb-sans);
}

.search_advanced .date_range label {
	font: 500 0.85rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
}

/* Year, month, day: one row of three, without the default theme's fixed
   widths and its nudge between them. */
.page_search .search_advanced .date_range select {
	width: 100%;
	min-width: 0;
	margin: 0;
}

.page_search .search_advanced .author {
	float: none;
	width: auto;
	max-width: 46rem;
	clear: both;
	margin: 0 0 18px;
}

.page_search .submit {
	margin-top: 18px;
	text-align: left;
}

.page_search .submit button.submit {
	padding: 12px 26px;
	border: 0;
	box-shadow: none;
}

.page_search .submit button.submit::after {
	content: none;
}

.page_search .cmp_pagination {
	max-width: 56rem;
}

.search_results {
	max-width: 56rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search_results > li {
	border-top: 1px solid var(--rb-line);
}

/* 10. Custom pages, the information pages and announcement text =================== */

/* The journal-pages content contract (tools/journal-pages): the page holds only
   headings, paragraphs, lists, notes, links and tables, plus the jp-*
   components (one class on a list, table or note). No cards: hairlines,
   space and the tinted panel. */
:is(.page_custom, .page_information .description, .obj_announcement_full .description) {
	--jp-accent: var(--rb-gold-deep);

	font-family: var(--rb-read);
	color: var(--rb-ink);

	& .jp-toc {
		margin: 0 0 48px;
		padding: 20px 24px;
		border-radius: 2px;
		background: var(--rb-tint);
	}

	& .jp-toc p {
		margin: 0 0 8px;
		font: 600 0.92rem/1.3 var(--rb-sans);
		color: var(--rb-ink-2);
	}

	& .jp-toc ol {
		max-width: none;
		margin: 0;
		padding: 0;
		list-style: none;
		columns: 2 260px;
		column-gap: 40px;
	}

	& .jp-toc li {
		margin: 0;
		padding: 0;
		border-top: 1px solid var(--rb-line);
		break-inside: avoid;
	}

	& .jp-toc a {
		display: block;
		padding: 9px 0;
		font: 500 0.98rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
		text-decoration: none;
	}

	& .jp-toc a:hover {
		text-decoration: underline;
		text-decoration-color: var(--rb-gold);
	}

	& h2 {
		margin: 56px 0 16px;
		font: 700 1.6rem/1.18 var(--rb-sans);
		letter-spacing: -0.022em;
		color: var(--rb-ink);
		scroll-margin-top: 24px;
	}

	& > h2:first-child,
	& .jp-toc + h2 {
		margin-top: 0;
	}

	& h3 {
		margin: 36px 0 12px;
		font: 600 1.25rem/1.3 var(--rb-sans);
		letter-spacing: -0.012em;
		color: var(--rb-ink);
	}

	& h4 {
		margin: 28px 0 8px;
		font: 600 1.02rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
	}

	& h4 strong {
		display: inline-block;
		margin-left: 8px;
		padding: 1px 8px;
		border-radius: 2px;
		background: var(--rb-gold);
		font-size: 0.82rem;
		font-weight: 600;
		vertical-align: 2px;
	}

	& p,
	& li {
		font: 400 1.1rem/1.72 var(--rb-read);
		color: var(--rb-ink);
	}

	& p {
		margin: 0 0 1em;
	}

	& strong {
		font-weight: 600;
	}

	& ul,
	& ol {
		margin: 0 0 1.2em;
		padding: 0 0 0 1.4em;
	}

	& li {
		margin: 0;
		padding: 3px 0 3px 4px;
	}

	& ul > li::marker {
		color: var(--rb-gold-deep);
	}

	& ol > li::marker {
		font: 600 0.95em var(--rb-sans);
		color: var(--rb-ink-2);
	}

	& li > p {
		margin: 0;
		font-size: inherit;
		line-height: inherit;
	}

	& blockquote {
		margin: 24px 0;
		padding: 18px 22px;
		border: 0;
		border-radius: 2px;
		background: var(--rb-tint);
	}

	& blockquote p {
		margin: 0 0 10px;
		font-size: 1.04rem;
	}

	& blockquote p:last-child {
		margin-bottom: 0;
	}

	& table {
		width: 100%;
		margin: 0 0 28px;
		border-collapse: collapse;
	}

	& th,
	& td {
		padding: 12px 16px;
		border: 1px solid var(--rb-line);
		text-align: left;
		vertical-align: top;
		font-size: 1rem;
	}

	& th {
		background: var(--rb-tint);
		font: 600 0.98rem/1.4 var(--rb-sans);
		color: var(--rb-ink);
	}

	& td p {
		margin: 0 0 6px;
		font-size: inherit;
	}

	& td > :last-child {
		margin-bottom: 0;
	}

	/* ==== Components: a plain list, table or note with ONE class ======== */
	& table[class],
	& table[class] > tbody,
	& table[class] tr,
	& table[class] td,
	& table[class] th {
		display: block;
		padding: 0;
		border: 0;
		background: none;
		text-align: left;
	}

	& table[class] {
		width: auto;
		margin: 0 0 32px;
	}

	& :is(ul, table)[class] {
		max-width: none;
	}

	& ul[class] {
		margin: 0 0 32px;
		padding: 0;
		list-style: none;
	}

	& ul[class] > li {
		padding: 0;
	}

	& :is(table, ul)[class] p {
		margin: 0 0 8px;
	}

	& table[class] td > :last-child {
		margin-bottom: 0;
	}

	/* Facts: **Title** / line break / text, ruled rows in columns. */
	& ul.jp-facts {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
		gap: 0 36px;
	}

	& ul.jp-facts > li {
		padding: 16px 0 18px;
		border-top: 1px solid var(--rb-ink);
		font: 400 1rem/1.55 var(--rb-read);
		color: var(--rb-ink-2);
	}

	& ul.jp-facts strong {
		display: inline-block;
		margin-bottom: 4px;
		font: 600 1.12rem/1.3 var(--rb-sans);
		color: var(--rb-ink);
	}

	/* Boxed: each item its own ruled entry (not a card). */
	& ul.jp-boxed {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
		gap: 0 36px;
	}

	& ul.jp-boxed > li {
		padding: 14px 0 16px;
		border-top: 1px solid var(--rb-ink);
		font: 400 1.04rem/1.6 var(--rb-read);
	}

	& ul.jp-boxed > li strong {
		display: block;
		margin-bottom: 2px;
		font: 600 1.06rem/1.35 var(--rb-sans);
	}

	/* Hero: the lead under a page's title, its links as the button pair. */
	& table.jp-hero {
		margin: 0 0 44px;
	}

	& table.jp-hero p {
		font-size: 1.25rem;
		line-height: 1.6;
	}

	& table.jp-hero p:has(> a) {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
		margin: 24px 0 0;
	}

	& table.jp-hero a {
		display: inline-flex;
		align-items: center;
		min-height: 48px;
		box-sizing: border-box;
		padding: 10px 22px;
		border: 1.5px solid var(--rb-gold);
		border-radius: 2px;
		background: var(--rb-gold);
		font: 600 1rem/1.2 var(--rb-sans);
		color: var(--rb-ink);
		text-decoration: none;
	}

	& table.jp-hero a + a {
		border-color: var(--rb-ink);
		background: transparent;
	}

	& table.jp-hero a:hover {
		border-color: var(--rb-ink);
		background: var(--rb-ink);
		color: var(--rb-white);
	}

	/* Checklist: title | text, ruled rows with an empty box to tick. */
	& table.jp-checklist {
	}

	& table.jp-checklist tr {
		position: relative;
		padding: 16px 0 16px 34px;
		border-top: 1px solid var(--rb-line);
	}

	& table.jp-checklist tr:last-child {
		border-bottom: 1px solid var(--rb-line);
	}

	& table.jp-checklist tr::before {
		content: "";
		position: absolute;
		left: 0;
		top: 21px;
		width: 14px;
		height: 14px;
		border: 1.5px solid var(--rb-ink);
		border-radius: 2px;
	}

	& table.jp-checklist td:first-child {
		margin-bottom: 4px;
		font: 600 1.06rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
	}

	& table.jp-checklist td:last-child {
		font: 400 1.02rem/1.6 var(--rb-read);
	}

	/* Chips: a short list as small outlined tags. */
	& ul.jp-chips {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	& ul.jp-chips > li {
		padding: 5px 12px;
		border: 1px solid var(--rb-field);
		border-radius: 2px;
		font: 500 0.95rem/1.3 var(--rb-sans);
	}

	/* Tiles: one-line items in a ruled grid. */
	& ul.jp-tiles {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
		gap: 0 32px;
	}

	& ul.jp-tiles > li {
		padding: 12px 0;
		border-top: 1px solid var(--rb-line);
		font: 500 1rem/1.5 var(--rb-sans);
	}

	/* Index: a ruled list of links, one target a row. */
	& ul.jp-index {
		border-bottom: 1px solid var(--rb-line);
	}

	& ul.jp-index > li {
		border-top: 1px solid var(--rb-line);
	}

	& ul.jp-index a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		min-height: 48px;
		padding: 8px 2px;
		font: 500 1.04rem/1.4 var(--rb-sans);
		color: var(--rb-ink);
		text-decoration: none;
	}

	& ul.jp-index a::after {
		content: "";
		flex: none;
		width: 1.05em;
		height: 1.05em;
		background: var(--rb-gold-deep);
		-webkit-mask: var(--rb-i-arrow) center / contain no-repeat;
		mask: var(--rb-i-arrow) center / contain no-repeat;
		transition: transform 300ms var(--rb-ease);
	}

	& ul.jp-index a:hover {
		text-decoration: underline;
		text-decoration-color: var(--rb-gold);
	}

	& ul.jp-index a:hover::after {
		transform: translateX(4px);
	}

	/* Cards: area | *tag* | text, ruled entries in columns, the tag first. */
	& table.jp-cards > tbody {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
		gap: 0 36px;
	}

	& table.jp-cards tr {
		display: flex;
		flex-direction: column;
		padding: 16px 0 18px;
		border-top: 1px solid var(--rb-ink);
	}

	& table.jp-cards td:nth-child(2):has(> em:only-child) {
		margin-bottom: 6px;
		font: 500 0.88rem/1.3 var(--rb-sans);
		color: var(--rb-ink-2);
	}

	& table.jp-cards td em {
		font-style: normal;
	}

	& table.jp-cards td:first-child {
		margin-bottom: 6px;
		font: 600 1.1rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
	}

	& table.jp-cards td h4 {
		margin: 0 0 4px;
		font: 600 0.95rem/1.35 var(--rb-sans);
		color: var(--rb-ink-2);
	}

	& table.jp-cards td :is(p, li) {
		font: 400 0.98rem/1.55 var(--rb-read);
		color: var(--rb-ink-2);
		overflow-wrap: anywhere;
	}

	/* Panel: a heading row, then label | value rows. */
	& table.jp-panel {
	}

	& table.jp-panel th {
		padding: 0 0 10px;
		font: 600 1.1rem/1.3 var(--rb-sans);
	}

	& table.jp-panel tr:not(:first-child) {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 16px;
		padding: 11px 0;
		border-top: 1px solid var(--rb-line);
	}

	& table.jp-panel tr:last-child {
		border-bottom: 1px solid var(--rb-line);
	}

	& table.jp-panel td {
		font: 400 1rem/1.5 var(--rb-sans);
	}

	& table.jp-panel td:first-child {
		font-weight: 600;
		color: var(--rb-ink-2);
	}

	/* Box: one cell under a hairline (a contact, a file, the licence). */
	& table.jp-box {
		padding-top: 18px;
		border-top: 1px solid var(--rb-ink);
	}

	& table.jp-box h3 {
		margin: 0 0 8px;
		font: 600 1.2rem/1.3 var(--rb-sans);
	}

	& table.jp-box h4 {
		margin: 26px 0 8px;
		font: 600 1.15rem/1.3 var(--rb-sans);
		color: var(--rb-ink);
	}

	& table.jp-box h4:first-child {
		margin: 0 0 6px;
	}

	/* A box holds running text: body size, not the table cell's. */
	& table.jp-box td :is(p, li) {
		font-size: 1.1rem;
	}

	/* A link alone in a box's paragraph (a download): the gold button. */
	& table.jp-box p:has(> a:only-child) a,
	& table.jp-box p:has(> code) a {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		min-height: 46px;
		box-sizing: border-box;
		padding: 10px 20px;
		border-radius: 2px;
		background: var(--rb-gold);
		font: 600 0.98rem/1.2 var(--rb-sans);
		color: var(--rb-ink);
		text-decoration: none;
		overflow-wrap: normal;
	}

	& table.jp-box p:has(> a:only-child) a::before,
	& table.jp-box p:has(> code) a::before {
		content: "";
		width: 1.05em;
		height: 1.05em;
		background: currentColor;
		-webkit-mask: var(--rb-i-doc) center / contain no-repeat;
		mask: var(--rb-i-doc) center / contain no-repeat;
	}

	& table.jp-box p:has(> a:only-child) a:hover,
	& table.jp-box p:has(> code) a:hover {
		background: var(--rb-ink);
		color: var(--rb-white);
	}

	& table.jp-box p:has(> a[href^="mailto:"]:only-child) a {
		display: inline;
		min-height: 0;
		padding: 0;
		background: none;
		font: inherit;
		text-decoration: underline;
		text-decoration-color: var(--rb-gold);
	}

	& table.jp-box p:has(> a[href^="mailto:"]:only-child) a::before {
		content: none;
	}

	& table.jp-box p:has(> code) {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 12px 20px;
		max-width: none;
		margin: 18px 0 0;
		padding: 12px 12px 12px 16px;
		border: 1px solid var(--rb-line);
		border-radius: 2px;
	}

	& table.jp-box code {
		font: 400 0.92rem/1.4 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
		overflow-wrap: anywhere;
	}

	& :is(table, blockquote).jp-alt {
		padding: 20px 24px;
		border-top: 0;
		border-radius: 2px;
		background: var(--rb-tint);
	}

	/* Dark: a charcoal block, the cover band's own colour. */
	& :is(table.jp-box, blockquote.jp-note).jp-dark {
		padding: 22px 26px;
		border: 0;
		border-radius: 2px;
		background: var(--rb-ink);
	}

	& .jp-dark :is(p, li) {
		color: var(--rb-light);
	}

	& .jp-dark :is(h3, h4) {
		color: var(--rb-white);
	}

	& .jp-dark a,
	& .jp-dark a:focus {
		color: var(--rb-white);
		text-decoration-color: var(--rb-gold);
	}

	& .jp-dark a:hover {
		color: var(--rb-gold);
	}

	& .jp-dark :focus-visible {
		outline-color: var(--rb-gold);
	}

	/* People: name | profile | role | institution | address | email, ruled
	   entries in columns. .jp-featured: one person, larger, on the tint. */
	& table.jp-people > tbody {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
		gap: 0 36px;
	}

	& table.jp-people tr {
		display: flex;
		flex-direction: column;
		padding: 16px 0 20px;
		border-top: 1px solid var(--rb-ink);
	}

	& table.jp-people td {
		font: 400 0.98rem/1.5 var(--rb-read);
		color: var(--rb-ink-2);
		overflow-wrap: anywhere;
	}

	& table.jp-people td:empty {
		display: none;
	}

	& table.jp-people td:first-child {
		font: 600 1.12rem/1.35 var(--rb-sans);
		color: var(--rb-ink);
	}

	& table.jp-people td:first-child a {
		color: var(--rb-ink);
		text-decoration-color: var(--rb-line);
	}

	& table.jp-people td:first-child a:hover {
		text-decoration-color: var(--rb-gold);
	}

	& table.jp-people td:nth-child(2) {
		margin-bottom: 6px;
		font: 500 0.9rem/1.4 var(--rb-sans);
	}

	& table.jp-people td:nth-child(3) {
		font-weight: 600;
		color: var(--rb-ink);
	}

	& table.jp-people:is(.jp-featured, :has(tr:only-child)) {
		padding: 22px 26px 4px;
		border-radius: 2px;
		background: var(--rb-tint);
	}

	& table.jp-people:is(.jp-featured, :has(tr:only-child)) > tbody {
		display: block;
	}

	& table.jp-people:is(.jp-featured, :has(tr:only-child)) tr {
		padding-top: 0;
		border-top: 0;
	}

	& table.jp-people:is(.jp-featured, :has(tr:only-child)) td:first-child {
		font-size: 1.4rem;
	}

	& table:not([class]) td:first-child:has(> strong:only-child) {
		white-space: nowrap;
	}

	/* Pasted formatting: a paste from Word cannot restyle the page. */
	& [style] {
		font-family: inherit !important;
		color: inherit !important;
		background: transparent !important;
	}

	& span[style],
	& font {
		font-size: inherit !important;
		line-height: inherit !important;
	}
}

/* 11. Elements OJS prints once their content exists ================================= */

/* The account menu, signed in: its items drop down at the right. */
.rb-util .pkp_navigation_user > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* The task count: OJS prints it on the account name and again on Dashboard inside
   the menu. It shows once, on the name, gold in every state. The parent theme sizes
   it for a circle and colours it from its own base colour on focus; these rules
   outrank both. */
.pkp_structure_head .pkp_navigation_user .task_count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 18px;
	height: 18px;
	margin: 0;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 2px;
	background: var(--rb-gold);
	font: 700 0.72rem/1 var(--rb-sans);
	color: var(--rb-ink);
}

.pkp_structure_head .pkp_navigation_user a:is(:hover, :focus) .task_count {
	background: var(--rb-gold);
	color: var(--rb-ink);
}

.pkp_structure_head .pkp_navigation_user ul .task_count {
	display: none;
}

@media (min-width: 992px) {
	/* The account menu drops from the name, at the right edge. */
	.pkp_structure_head .rb-util .pkp_navigation_user > li {
		position: relative;
	}

	.pkp_structure_head .rb-util .pkp_navigation_user > li > ul {
		top: 100%;
		right: 0;
		left: auto;
		min-width: 200px;
		margin-top: 6px;
	}

	.pkp_structure_head .rb-util .pkp_navigation_user > li:is(:hover, :focus-within) > ul {
		left: auto;
	}

	/* OJS's script hands both menus' dropdowns to Bootstrap, whose Popper writes an
	   inline position when a heading is clicked (the primary menu's moved 7px, the
	   account menu's jumped left). The stylesheet's position holds instead, so hover,
	   keyboard focus and a click all open a menu in the same place. */
	.pkp_structure_head .pkp_navigation_primary > li > ul.dropdown-menu {
		top: 100% !important;
		left: 0 !important;
		transform: none !important;
	}

	.pkp_structure_head .rb-util .pkp_navigation_user > li > ul.dropdown-menu {
		top: 100% !important;
		right: 0 !important;
		left: auto !important;
		transform: none !important;
	}

	/* A see-through strip over the gap above each dropdown, so the pointer can travel
	   from the heading to the menu without it closing. */
	.pkp_structure_head .pkp_nav_list > li > ul::before {
		content: "";
		position: absolute;
		inset: -14px 0 auto;
		height: 14px;
	}
}

/* The phone menu, open (OJS's main.js adds the class): rows on the band. */
@media (max-width: 991.98px) {
	.pkp_site_nav_menu.pkp_site_nav_menu--isOpen {
		display: block;
		padding: 10px 0 4px;
	}

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

	.pkp_site_nav_menu .pkp_navigation_primary > li > a {
		display: block;
		padding: 13px 0;
		border-top: 1px solid rgba(233, 227, 213, 0.16);
		font: 500 1.05rem/1.2 var(--rb-sans);
		color: var(--rb-white);
		text-decoration: none;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li.rb-current > a {
		color: var(--rb-gold);
	}

	.pkp_site_nav_menu ul ul {
		position: static;
		width: auto;
		margin: 0;
		padding: 0 0 10px 16px;
		background: none;
		box-shadow: none;
	}

	.pkp_site_nav_menu ul ul a {
		display: block;
		padding: 12px 0;
		border: 0;
		font: 500 0.98rem/1.35 var(--rb-sans);
		color: var(--rb-light);
		text-decoration: none;
	}

	.pkp_site_nav_menu .pkp_navigation_search_wrapper a {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 13px 0;
		border-top: 1px solid rgba(233, 227, 213, 0.16);
		font: 500 1.05rem/1.2 var(--rb-sans);
		color: var(--rb-white);
		text-decoration: none;
	}

	.pkp_site_nav_menu a:is(:hover, :focus) {
		color: var(--rb-gold);
	}

	/* Outrank the default theme's grey hover (.pkp_nav_list ul a:hover). */
	.pkp_structure_head .pkp_nav_list ul a:is(:hover, :focus) {
		background: none;
		color: var(--rb-gold);
	}

	/* Signed in: OJS's script makes no dropdowns below 992px, so the account name heads
	   its links, both right-aligned in the utility row. The name does nothing here (the
	   script sets its link to "#"), so it takes no taps. */
	.rb-util .pkp_navigation_user > li:has(> ul) {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}

	.rb-util .pkp_navigation_user > li > a[href="#"] {
		pointer-events: none;
	}

	.rb-util .pkp_navigation_user ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 0 18px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.rb-util .pkp_navigation_user ul a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font: 500 0.88rem/1.4 var(--rb-sans);
		color: var(--rb-light);
		text-decoration: none;
	}
}

/* OJS's stock sidebar blocks, if the journal turns them on. */
.pkp_block:not(.block_custom) .content ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pkp_block:not(.block_custom) .content li {
	border-top: 1px solid var(--rb-line);
}

.pkp_block:not(.block_custom) .content li:first-child {
	border-top: 0;
}

.pkp_block:not(.block_custom) .content li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font: 500 1rem/1.3 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
}

.pkp_block:not(.block_custom) .content li a:hover {
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.block_language .current a {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--rb-gold);
}

.block_language .current a::after {
	content: "";
	width: 1em;
	height: 1em;
	margin-left: 8px;
	background: var(--rb-gold-deep);
	-webkit-mask: var(--rb-i-check) center / contain no-repeat;
	mask: var(--rb-i-check) center / contain no-repeat;
}

.pkp_block .block_make_submission_link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 20px;
	border: 0;
	box-shadow: none;
	border-radius: 2px;
	background: var(--rb-gold);
	font: 600 1.05rem/1.2 var(--rb-sans);
	color: var(--rb-ink);
	text-decoration: none;
}

.pkp_block .block_make_submission_link:hover {
	background: var(--rb-ink);
	color: var(--rb-white);
}

.block_browse .has_submenu {
	font: 600 0.95rem/1.3 var(--rb-sans);
	color: var(--rb-ink-2);
}

.block_browse .has_submenu ul {
	margin-top: 6px;
}

/* The article: ORCID iDs, biographies, extra files, versions, data. */
.obj_article_details .authors .orcid {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font: 500 0.88rem/1.4 var(--rb-sans);
}

.obj_article_details .authors .orcid svg,
.obj_article_details .authors .orcid img {
	width: 18px;
	height: 18px;
	flex: none;
}

.obj_article_details .authors .orcid a {
	overflow-wrap: anywhere;
}

.obj_article_details .subtitle,
.rb-opening .subtitle {
	margin: 10px 0 0;
	font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.35 var(--rb-sans);
	color: var(--rb-ink-2);
}

.rb-opening .subtitle {
	color: var(--rb-light);
}

.obj_article_details .main_entry .item.author_bios .label {
	margin: 0 0 18px;
	font: 700 1.75rem/1.15 var(--rb-sans);
	letter-spacing: -0.025em;
}

.obj_article_details .author_bios ul.authors {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.obj_article_details .author_bios .sub_item {
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--rb-line);
}

.obj_article_details .main_entry .author_bios .sub_item .label {
	margin: 0 0 4px;
	font: 600 1.04rem/1.4 var(--rb-sans);
	letter-spacing: 0;
}

.obj_article_details .author_bios .sub_item .value {
	font: 400 1.02rem/1.65 var(--rb-read);
}

.obj_article_details .entry_details .supplementary_galleys_links {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.obj_article_details .entry_details .supplementary_galleys_links .obj_galley_link {
	justify-content: flex-start;
	min-height: 44px;
	border-color: var(--rb-ink);
	background: var(--rb-white);
	font-size: 0.95rem;
}

.obj_galley_link.obj_galley_link_supplementary::after,
.obj_galley_link.restricted::after {
	content: none;
}

.obj_article_details .entry_details .versions ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.obj_article_details .entry_details .versions li {
	padding: 4px 0;
	font: 500 0.95rem/1.45 var(--rb-sans);
}

.obj_article_details .dataAvailability p {
	margin: 4px 0 0;
	font: 400 0.98rem/1.55 var(--rb-read);
}

.obj_article_details > .cmp_notification {
	max-width: none;
}

/* A homepage image, if the journal uploads one: under the cover band. */
.pkp_page_index .homepage_image {
	margin: 0 0 clamp(40px, 5vw, 64px);
}

.pkp_page_index .homepage_image img {
	display: block;
	width: 100%;
	border-radius: 2px;
}

/* 12. Phones ======================================================================== */

@media (max-width: 899.98px) {
	.rb-hero {
		padding-bottom: 0;
	}

	.rb-opening_aside {
		width: min(70%, 16rem);
	}
}

@media (max-width: 767.98px) {
	body {
		font-size: 1rem;
	}
}
