/**
 * THESARA theme — public site styles (child of the OJS 3.5 default theme).
 *
 * "Lumen" design (chosen 2026-10-19 from three prototypes): a dark navy
 * header and hero where the emblem assembles itself, light sections with
 * cool-grey bands, large display headings (Libre Caslon Display) over a clean
 * text face (Figtree), pill buttons, quiet cards. Motion follows Emil
 * Kowalski's design-engineering rules: strong ease-out, UI motion under
 * 300ms, transform/opacity only, hover gated to pointer devices, press
 * feedback, reduced motion respected. Brand colours come
 * from the THESARA logo: navy #082B50 and gold #BE9555 (theme options
 * --cj-primary / --cj-accent, injected inline by the plugin).
 *
 * Fonts are bundled in ../fonts (SIL Open Font License).
 * Distributed under the GNU GPL v3.
 */

/* ================================================================= fonts */
/* Figtree (text) and Libre Caslon Display (large headings), SIL OFL,
   bundled so readers' browsers contact no font service. */
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Figtree";
	font-style: italic;
	font-display: swap;
	font-weight: 300 900;
	src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Libre Caslon Display";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url("../fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Libre Caslon Display";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url("../fonts/libre-caslon-display-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================ tokens */
:root {
	/* brand (overridden by the theme options) */
	--cj-primary: #082B50;
	--cj-accent: #BE9555;

	/* derived brand shades */
	--cj-dark: color-mix(in srgb, var(--cj-primary) 62%, #000814);   /* hero, footer */
	--cj-primary-hover: color-mix(in srgb, var(--cj-primary) 80%, #000000);
	--cj-primary-soft: color-mix(in srgb, var(--cj-primary) 7%, #ffffff);
	/* white text on accent, accent text on white/warm: -deep is >= 4.5:1
	   (WCAG AA; 5.5:1 on white, 4.9:1 on --cj-warm for the gold); -deeper for hover */
	--cj-accent-deep: color-mix(in srgb, var(--cj-accent) 62%, #241400);
	--cj-accent-deeper: color-mix(in srgb, var(--cj-accent) 50%, #241400);

	/* neutrals */
	--cj-ink: #141518;
	--cj-text: #2B2D33;
	--cj-muted: #5E626C;
	--cj-line: #DCE2E9;
	--cj-line-strong: #C3CCD7;
	--cj-warm: #F2F5F8;   /* quiet bands and hovers, tinted toward the navy */
	--cj-bg: #FFFFFF;
	--cj-on-dark: #FFFFFF;
	--cj-on-dark-muted: rgba(255, 255, 255, 0.72);
	--cj-focus: #F2B705;

	/* type (set by the Typography option; defaults: Figtree / Libre Caslon Display) */
	--cj-font: "Figtree", "Segoe UI", system-ui, sans-serif;
	--cj-font-heading: "Libre Caslon Display", Georgia, serif;

	/* layout */
	--cj-wrap: 1280px;
	--cj-gutter: 40px;
	--cj-radius: 12px;
	--cj-radius-sm: 8px;
	--cj-shadow: 0 1px 2px rgba(20, 21, 24, 0.04), 0 8px 24px rgba(20, 21, 24, 0.06);
	--cj-shadow-lg: 0 16px 40px rgba(20, 21, 24, 0.14);
	/* strong ease-out for UI (entering, hover, press); keep UI motion under 300ms */
	--cj-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ================================================================== base */
html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: var(--cj-text);
	background: var(--cj-bg);
	font-family: var(--cj-font);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: -0.006em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "cv11", "ss01";
}

::selection {
	background: color-mix(in srgb, var(--cj-accent) 30%, transparent);
}

a {
	color: var(--cj-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--cj-primary-hover);
}

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

img {
	max-width: 100%;
}

.pkp_structure_page {
	max-width: none;
	margin: 0;
	background: var(--cj-bg);
	box-shadow: none;
}

/* Headings: serif display face, regular weight, tight tracking */
.pkp_structure_main h1,
.pkp_structure_main .page_title,
.cj-display {
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-optical-sizing: auto;
	letter-spacing: 0;
	color: var(--cj-ink);
}

.pkp_structure_main h1,
.pkp_structure_main .page_title {
	margin: 0 0 28px;
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
	line-height: 1.12;
}

.pkp_structure_main h2 {
	margin: 2.2em 0 0.6em;
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-size: 1.85rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--cj-ink);
}

.pkp_structure_main h3 {
	margin: 1.8em 0 0.5em;
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.35;
	letter-spacing: -0.015em;
	color: var(--cj-ink);
}

.pkp_structure_main h4 {
	margin: 1.5em 0 0.4em;
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1.4;
	color: var(--cj-ink);
}

.pkp_structure_main p,
.pkp_structure_main ul,
.pkp_structure_main ol {
	margin: 0 0 1.1em;
	font-size: 16px;
	line-height: 1.7;
}

.pkp_structure_main li {
	margin-bottom: 0.35em;
}

.pkp_structure_main ul,
.pkp_structure_main ol {
	padding-left: 1.4em;
}

/* ================================================================ header */
/* The parent fixes several header/content boxes at 728/952/1160px per
   breakpoint; this layout sizes them itself. */
.pkp_structure_head .pkp_site_name_wrapper,
.pkp_structure_head .pkp_navigation_primary_wrapper,
.pkp_structure_head .pkp_navigation_user,
.pkp_structure_head .pkp_search_mobile,
.pkp_structure_content,
.pkp_structure_footer {
	width: auto;
}

.pkp_structure_head {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--cj-dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

.pkp_site_name .is_text,
.pkp_site_name a {
	color: var(--cj-on-dark);
}

.pkp_site_name .is_img img {
	width: auto;
}

/* The uploaded header logo is navy. On the dark header the theme shows the
   same lockup with white letters (images/logo-on-dark.svg, built by
   branding/build_logo.py); the <img> keeps its size and alt text. */
.pkp_site_name .is_img {
	background: url("../images/logo-on-dark.svg") left center / contain no-repeat;
}

.pkp_site_name .is_img img {
	opacity: 0;
}

.pkp_site_nav_toggle {
	box-shadow: none;
}

.pkp_site_nav_toggle > span {
	border-bottom-color: var(--cj-on-dark);
}

.pkp_site_nav_toggle > span::before,
.pkp_site_nav_toggle > span::after {
	background: var(--cj-on-dark);
}

.pkp_site_nav_toggle:focus {
	outline: 0; /* the parent's outline also showed after a mouse/touch tap */
}

.pkp_site_nav_toggle:focus-visible {
	outline: 3px solid var(--cj-focus);
	outline-offset: -3px;
}

@media (min-width: 992px) {
	/* One row: logo · primary menu · search · Register / Login */
	.pkp_structure_head .pkp_head_wrapper {
		display: flex;
		align-items: center;
		gap: 24px;
		width: 100%;
		max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter));
		height: 80px;
		margin: 0 auto;
		padding: 0 var(--cj-gutter);
		box-sizing: border-box;
	}

	.has_site_logo .pkp_head_wrapper {
		padding-top: 0;
	}

	/* the parent pins these to 1160px and the menu to 80% */
	.pkp_structure_head .pkp_site_name_wrapper,
	.pkp_structure_head .pkp_navigation_user_wrapper,
	.pkp_structure_head .pkp_navigation_primary_row,
	.pkp_structure_head .pkp_navigation_primary_wrapper {
		width: auto;
	}

	.pkp_navigation_primary {
		max-width: none;
	}

	.pkp_site_name_wrapper {
		flex: 0 0 auto;
		height: auto;
		margin: 0;
		padding: 0;
	}

	.pkp_structure_head .pkp_site_name {
		left: auto;
		margin: 0;
	}

	.pkp_site_name {
		padding: 0;
		font-size: 1rem;
	}

	.pkp_site_name .is_img {
		display: block;
		margin: 0;
		line-height: 0;
	}

	.pkp_site_name .is_img img {
		height: 50px;
		max-height: none;
	}

	.pkp_site_name .is_text {
		font-family: var(--cj-font-heading);
		font-size: 1.6rem;
		letter-spacing: -0.02em;
	}

	.pkp_site_nav_menu {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 1 1 auto;
		min-width: 0;
		position: static;
		padding: 0;
		background: none;
	}

	.pkp_navigation_primary_row {
		flex: 1 1 auto;
		background: none;
		box-shadow: none;
	}

	.pkp_navigation_primary_wrapper {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		max-width: none;
		padding: 0;
	}

	.pkp_navigation_primary {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		justify-content: flex-end;
		margin: 0;
		padding: 0;
	}

	.pkp_navigation_primary > li {
		position: relative;
		margin: 0;
	}

	/* The parent shows a panel only while its link or the panel itself is
	   hovered; keep it open over the whole item and for keyboard focus. */
	.pkp_navigation_primary > li:hover > .dropdown-menu,
	.pkp_navigation_primary > li:focus-within > .dropdown-menu,
	.pkp_navigation_user > li:hover > .dropdown-menu,
	.pkp_navigation_user > li:focus-within > .dropdown-menu {
		display: block;
	}

	/* invisible bridge over the small gap between an item and its panel, so
	   the hover is not lost on the way down */
	.pkp_navigation_primary > li::after,
	.pkp_navigation_user > li::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		height: 14px;
	}

	.pkp_navigation_primary > li > a {
		display: inline-flex;
		align-items: center;
		gap: 4px;
		margin: 0;
		padding: 8px 12px;
		border: 0;
		border-radius: 999px;
		color: var(--cj-on-dark);
		font-weight: 500;
		font-size: 14.5px;
		line-height: 1.3;
		text-decoration: none;
		transition: background-color 0.15s ease;
	}

	.pkp_navigation_primary > li > a:hover,
	.pkp_navigation_primary > li > a:focus,
	.pkp_navigation_primary > li > a[aria-expanded="true"] {
		background: rgba(255, 255, 255, 0.1);
		color: var(--cj-on-dark);
		text-decoration: none;
	}

	/* dropdown panels */
	.pkp_navigation_primary .dropdown-menu {
		min-width: 18rem;
		margin-top: 0; /* no gap: hover must not be lost on the way to the menu */
		padding: 8px;
		border: 1px solid var(--cj-line);
		border-radius: var(--cj-radius);
		background: var(--cj-bg);
		box-shadow: var(--cj-shadow-lg);
	}

	.pkp_navigation_primary .dropdown-menu li {
		margin: 0;
	}

	.pkp_navigation_primary .dropdown-menu a {
		display: block;
		padding: 10px 14px;
		border: 0;
		border-radius: var(--cj-radius-sm);
		color: var(--cj-text);
		font-weight: 450;
		font-size: 14.5px;
		text-decoration: none;
	}

	.pkp_navigation_primary .dropdown-menu a:hover,
	.pkp_navigation_primary .dropdown-menu a:focus {
		background: var(--cj-warm);
		color: var(--cj-ink);
	}

	/* search: icon button */
	.pkp_navigation_search_wrapper {
		float: none;
		flex: 0 0 auto;
		margin: 0;
	}

	.pkp_navigation_search_wrapper a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 50%;
		color: var(--cj-on-dark);
		font-size: 0;
	}

	.pkp_navigation_search_wrapper a .fa {
		font-size: 17px;
	}

	.pkp_navigation_search_wrapper a:hover,
	.pkp_navigation_search_wrapper a:focus {
		background: rgba(255, 255, 255, 0.1);
		color: var(--cj-on-dark);
		border: 0;
	}

	/* Register / Login (or the account menu) */
	.pkp_navigation_user_wrapper {
		position: static;
		flex: 0 0 auto;
		transform: none;
		margin: 0 0 0 4px;
		padding: 0;
		text-align: left;
	}

	.pkp_navigation_user {
		display: flex;
		align-items: center;
		gap: 6px;
		margin: 0;
		padding: 0;
	}

	.pkp_navigation_user > li {
		margin: 0;
	}

	.pkp_navigation_user > li > a {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 10px 18px;
		border: 1.5px solid transparent;
		border-radius: 999px;
		color: var(--cj-on-dark);
		font-weight: 550;
		font-size: 14.5px;
		line-height: 1.2;
		text-decoration: none;
		transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	}

	.pkp_navigation_user > li > a:hover,
	.pkp_navigation_user > li > a:focus {
		background: rgba(255, 255, 255, 0.1);
		color: var(--cj-on-dark);
	}

	/* first item (Register, or the account name) as the gold pill */
	.pkp_navigation_user > li:first-child > a {
		background: var(--cj-accent);
		border-color: var(--cj-accent);
		color: var(--cj-dark);
	}

	.pkp_navigation_user > li:first-child > a:hover,
	.pkp_navigation_user > li:first-child > a:focus {
		background: color-mix(in srgb, var(--cj-accent) 85%, #ffffff);
		border-color: color-mix(in srgb, var(--cj-accent) 85%, #ffffff);
		color: var(--cj-dark);
	}

	.pkp_navigation_user .dropdown-menu {
		right: 0;
		left: auto;
		margin-top: 0; /* no gap: hover must not be lost on the way to the menu */
		padding: 8px;
		border: 1px solid var(--cj-line);
		border-radius: var(--cj-radius);
		box-shadow: var(--cj-shadow-lg);
	}

	.pkp_navigation_user .dropdown-menu a {
		display: block;
		padding: 9px 14px;
		border-radius: var(--cj-radius-sm);
		color: var(--cj-text);
		text-decoration: none;
	}

	.pkp_navigation_user .dropdown-menu a:hover,
	.pkp_navigation_user .dropdown-menu a:focus {
		background: var(--cj-warm);
	}
}

@media (max-width: 991px) {
	.pkp_site_name_wrapper,
	.pkp_site_nav_toggle {
		height: 64px;
	}

	/* burger in the right corner, logo on the left edge of the page */
	.pkp_site_nav_toggle {
		left: auto;
		right: max(0px, calc(var(--cj-gutter) - 18px));
		width: 60px;
	}

	.pkp_site_name {
		left: var(--cj-gutter);
		right: 64px;
	}

	.pkp_site_name .is_img {
		margin: 8px 0;
	}

	.pkp_site_name .is_img img {
		height: 46px;
		max-height: none;
	}

	/* off-canvas menu: white sheet under the header */
	.pkp_site_nav_menu {
		padding: 12px 20px 28px;
		background: var(--cj-bg);
		border-top: 1px solid var(--cj-line);
		box-shadow: var(--cj-shadow-lg);
	}

	/* The open menu is a fixed sheet from below the header to the bottom of
	   the screen that scrolls on its own (visible scrollbar, no scroll
	   chaining to the page). Otherwise its lower items sit below the screen,
	   unreachable. (Locking the page instead breaks the sticky header.) */
	.pkp_site_nav_menu--isOpen {
		position: fixed;
		top: 64px;
		right: 0;
		bottom: 0;
		left: 0;
		width: auto;
		max-height: none;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
		scrollbar-width: thin;
		scrollbar-color: var(--cj-line-strong) transparent;
	}

	.pkp_site_nav_menu a,
	.pkp_site_nav_menu a:hover,
	.pkp_site_nav_menu a:focus {
		color: var(--cj-ink);
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li > a {
		display: block;
		padding: 12px 0;
		font-weight: 600;
		font-size: 16px;
	}

	.pkp_site_nav_menu .pkp_navigation_primary > li {
		border-bottom: 1px solid var(--cj-line);
	}

	.pkp_site_nav_menu ul ul a {
		padding: 8px 0 8px 12px;
		color: var(--cj-muted);
	}

	.pkp_navigation_user.pkp_navigation_user,
	.pkp_navigation_search_wrapper {
		border-top-color: var(--cj-line);
	}

	.pkp_navigation_user {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		padding-top: 16px;
	}

	.pkp_navigation_user > li > a {
		display: inline-block;
		padding: 10px 20px;
		border: 1.5px solid var(--cj-primary);
		border-radius: 999px;
		font-weight: 600;
	}

	.pkp_navigation_user > li:first-child > a {
		background: var(--cj-primary);
		color: var(--cj-on-dark);
	}
}

/* ======================================================= page structure */
.pkp_structure_content {
	width: auto;
	max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter));
	margin: 0 auto;
	padding: 48px var(--cj-gutter) 112px;
	box-sizing: border-box;
	background: none;
}

.pkp_structure_main {
	float: none;
	width: auto;
	padding: 0;
}

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

.pkp_structure_sidebar {
	float: none;
	width: auto;
}

@media (min-width: 992px) {
	.pkp_structure_content.has_sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 72px;
		align-items: start;
	}

	/* explicit cells: the parent orders a "left" sidebar first */
	.pkp_structure_content.has_sidebar .pkp_structure_main {
		grid-column: 1;
		grid-row: 1;
		order: 0;
		max-width: 820px;
	}

	.pkp_structure_content.has_sidebar .pkp_structure_sidebar {
		grid-column: 2;
		grid-row: 1;
		order: 0;
	}

	.pkp_structure_main:first-child:last-child {
		max-width: 880px;
		margin: 0 auto;
		padding: 0;
	}

	.pkp_structure_sidebar {
		position: sticky;
		top: 112px;
	}
}

/* breadcrumbs */
.cmp_breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font-size: 13.5px;
	color: var(--cj-muted);
}

.cmp_breadcrumbs li {
	margin: 0;
}

.cmp_breadcrumbs a {
	color: var(--cj-muted);
	text-decoration: none;
}

.cmp_breadcrumbs a:hover {
	color: var(--cj-ink);
	text-decoration: underline;
}

.cmp_breadcrumbs .separator {
	margin: 0 2px;
	color: var(--cj-line-strong);
}

.cmp_breadcrumbs .current {
	color: var(--cj-ink);
}

/* ============================================================= sidebar */
.pkp_block {
	margin: 0 0 16px;
	padding: 24px;
	border: 0;
	border-radius: var(--cj-radius);
	background: var(--cj-warm);
}

.pkp_block .title {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	color: var(--cj-muted);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pkp_block .content ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pkp_block .content li {
	margin: 0;
	padding: 6px 0;
}

.pkp_block .content a {
	color: var(--cj-ink);
	text-decoration: none;
}

.pkp_block .content a:hover {
	text-decoration: underline;
}

.pkp_block .content .current a,
.pkp_block .content li.current {
	font-weight: 600;
}

.block_make_submission {
	padding: 20px;
	background: var(--cj-dark);
}

.pkp_block.block_make_submission a,
.pkp_block.block_make_submission a:hover,
.pkp_block.block_make_submission a:focus {
	color: var(--cj-dark);
}

/* same gold pill as the hero (the parent theme adds a gradient and shadow) */
.block_make_submission a,
.block_make_submission a:hover {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--cj-accent);
	background-image: none;
	box-shadow: none;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 160ms var(--cj-ease);
}

.block_make_submission a:hover,
.block_make_submission a:focus {
	background: color-mix(in srgb, var(--cj-accent) 85%, #ffffff);
}

.block_make_submission a:active {
	transform: scale(0.97);
}

/* ======================================================== components */
/* pills (buttons) */
.cj-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--cj-font);
	font-weight: 550;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 160ms var(--cj-ease);
}

.cj-pill:active {
	transform: scale(0.97);
}

.cj-pill__icon {
	font-size: 1.05em;
	transition: transform 0.2s var(--cj-ease);
}

.cj-pill:hover .cj-pill__icon,
.cj-pill:focus .cj-pill__icon {
	transform: translateX(3px);
}

.cj-pill--accent {
	background: var(--cj-accent-deep);
	color: var(--cj-on-dark);
}

.cj-pill--accent:hover,
.cj-pill--accent:focus {
	background: var(--cj-accent-deeper);
	color: var(--cj-on-dark);
}

.cj-pill--light {
	background: var(--cj-bg);
	color: var(--cj-ink);
}

.cj-pill--light:hover,
.cj-pill--light:focus {
	background: var(--cj-warm);
	color: var(--cj-ink);
}

.cj-pill--dark {
	background: var(--cj-primary);
	color: var(--cj-on-dark);
}

.cj-pill--dark:hover,
.cj-pill--dark:focus {
	background: var(--cj-primary-hover);
	color: var(--cj-on-dark);
}

/* OJS buttons as pills */
.cmp_button,
.cmp_form .buttons button,
.cmp_form button.submit,
.pkp_button,
.page_search button.submit,
.cmp_form .buttons .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 26px;
	border: 1.5px solid var(--cj-primary);
	border-radius: 999px;
	background: var(--cj-primary);
	box-shadow: none;
	color: var(--cj-on-dark);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cmp_button:hover,
.cmp_form .buttons button:hover,
.cmp_form button.submit:hover,
.pkp_button:hover,
.cmp_button:focus,
.cmp_form .buttons button:focus,
.pkp_button:focus {
	background: var(--cj-primary-hover);
	border-color: var(--cj-primary-hover);
	color: var(--cj-on-dark);
}

.cmp_button_wire,
.obj_galley_link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border: 1.5px solid var(--cj-line-strong);
	border-radius: 999px;
	background: var(--cj-bg);
	color: var(--cj-ink);
	font-weight: 600;
	font-size: 13.5px;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cmp_button_wire:hover,
.cmp_button_wire:focus,
.obj_galley_link:hover,
.obj_galley_link:focus {
	background: var(--cj-primary);
	border-color: var(--cj-primary);
	color: var(--cj-on-dark);
}

.obj_galley_link::before {
	color: inherit;
}

/* tags */
.cj-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--cj-warm);
	color: var(--cj-muted);
	font-weight: 600;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* notifications */
.cmp_notification {
	margin: 0 0 24px;
	padding: 18px 22px;
	border: 0;
	border-left: 4px solid var(--cj-accent);
	border-radius: var(--cj-radius-sm);
	background: var(--cj-warm);
	color: var(--cj-text);
}

/* pagination */
.cmp_pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	font-size: 14.5px;
}

.cmp_pagination a,
.cmp_pagination .current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 999px;
	text-decoration: none;
}

.cmp_pagination a {
	border: 1.5px solid var(--cj-line);
	color: var(--cj-ink);
}

.cmp_pagination .current {
	background: var(--cj-primary);
	color: var(--cj-on-dark);
}

/* edit link (managers) */
.cmp_edit_link {
	font-size: 13.5px;
}

/* ============================================================== forms */
.cmp_form fieldset {
	margin: 0 0 28px;
	padding: 0;
	border: 0;
}

.cmp_form legend {
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	color: var(--cj-ink);
}

.cmp_form .fields > div,
.cmp_form fieldset > div {
	margin-bottom: 18px;
}

.cmp_form label,
.cmp_form .label {
	display: block;
	color: var(--cj-ink);
	font-weight: 550;
	font-size: 14.5px;
}

.cmp_form .label {
	margin-bottom: 6px;
}

.cmp_form .required {
	color: var(--cj-accent-deep);
}

.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,
.page_search input[type="text"] {
	/* The parent fixes the height at 2.143rem; that clipped drop-down text
	   (e.g. Country). Height follows the content instead. */
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--cj-line-strong);
	border-radius: var(--cj-radius-sm);
	background: var(--cj-bg);
	color: var(--cj-ink);
	font-family: var(--cj-font);
	font-size: 15.5px;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pkp_structure_main .cmp_form input[type="text"],
.pkp_structure_main .cmp_form input[type="email"],
.pkp_structure_main .cmp_form input[type="password"],
.pkp_structure_main .cmp_form input[type="url"],
.pkp_structure_main .cmp_form input[type="tel"],
.pkp_structure_main .cmp_form select,
.pkp_structure_main .cmp_form textarea {
	width: 100%;
	max-width: 100%;
}

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus,
.page_search input[type="text"]:focus {
	border-color: var(--cj-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cj-primary) 16%, transparent);
	outline: 0;
}

.cmp_form .checkbox label,
.cmp_form .optin label,
.cmp_form label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
}

.cmp_form input[type="checkbox"],
.cmp_form input[type="radio"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--cj-primary);
}

.cmp_form .buttons {
	margin-left: 0;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 8px;
}

.cmp_form .buttons a {
	color: var(--cj-primary);
	font-weight: 550;
	font-size: 14.5px;
}

.pkp_form_error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-left: 4px solid #B42318;
	border-radius: var(--cj-radius-sm);
	background: #FEF3F2;
	color: #7A271A;
	font-size: 14.5px;
}

/* login, register, lost password, staff login: a centred card on a warm
   page, without the sidebar */
.pkp_page_login .pkp_structure_content,
.pkp_page_user.pkp_op_register .pkp_structure_content,
.pkp_page_redaksi .pkp_structure_content {
	display: block;
	max-width: none;
	padding-top: 64px;
	background: var(--cj-warm);
}

.pkp_page_login .pkp_structure_sidebar,
.pkp_page_user.pkp_op_register .pkp_structure_sidebar,
.pkp_page_redaksi .pkp_structure_sidebar {
	display: none;
}

.pkp_page_login .pkp_structure_content .pkp_structure_main,
.pkp_page_user.pkp_op_register .pkp_structure_content .pkp_structure_main,
.pkp_page_redaksi .pkp_structure_content .pkp_structure_main {
	max-width: none;
	margin: 0;
}

.page_login,
.page_register,
.page_lost_password,
.page_staff_login {
	max-width: 640px;
	margin: 0 auto;
	padding: 48px;
	border: 1px solid var(--cj-line);
	border-radius: var(--cj-radius);
	background: var(--cj-bg);
	box-shadow: var(--cj-shadow);
}

.page_login .cmp_form,
.page_staff_login .cmp_form,
.page_lost_password .cmp_form {
	max-width: none; /* the parent caps the login form at 255px */
}

.page_login .page_title,
.page_register .page_title,
.page_lost_password .page_title,
.page_staff_login .page_title {
	font-size: 2.4rem;
}

.page_login .cmp_breadcrumbs,
.page_register .cmp_breadcrumbs,
.page_lost_password .cmp_breadcrumbs,
.page_staff_login .cmp_breadcrumbs {
	display: none;
}

/* search page */
.page_search .search_input {
	display: flex;
	gap: 10px;
}

.page_search button.submit {
	position: relative;
	margin-top: 16px;
	padding-left: 46px;
}

.page_search button.submit::before {
	left: 20px;
	color: inherit;
}

.page_search .search_advanced {
	margin-top: 16px;
	padding: 24px;
	border-radius: var(--cj-radius);
	background: var(--cj-warm);
}

.page_search .search_results {
	margin-top: 40px;
}

/* ===================================================== article lists */
.obj_article_summary {
	position: relative;
	padding: 22px 0;
	border-bottom: 1px solid var(--cj-line);
}

.obj_article_summary > .title,
.obj_article_summary .title {
	margin: 0 0 6px;
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
	letter-spacing: -0.012em;
}

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

.obj_article_summary .title a:hover,
.obj_article_summary .title a:focus {
	color: var(--cj-primary);
	text-decoration: underline;
}

.obj_article_summary .subtitle {
	display: block;
	margin-top: 2px;
	color: var(--cj-muted);
	font-weight: 400;
	font-size: 15px;
}

.obj_article_summary .meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0 0 12px;
	color: var(--cj-muted);
	font-size: 14px;
	line-height: 1.5;
}

.obj_article_summary .meta .authors {
	color: var(--cj-text);
}

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

.obj_article_summary .galleys_links li {
	margin: 0;
}

.obj_article_summary .cover {
	float: right;
	width: 96px;
	margin: 0 0 12px 20px;
}

/* =================================================== issue / archive */
.obj_issue_toc .heading {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.obj_issue_toc .heading .published {
	margin: 0;
	color: var(--cj-muted);
	font-size: 14px;
}

.obj_issue_toc .heading .published .label {
	font-weight: 600;
}

.obj_issue_toc .heading .description {
	color: var(--cj-text);
}

.obj_issue_toc .sections .section {
	margin: 0 0 8px;
	padding: 0;
}

.obj_issue_toc .sections .section > .cmp_article_list,
.obj_issue_toc .cmp_article_list > li {
	margin-left: 0;
	padding-left: 0;
}

.obj_issue_toc .sections .section > h2,
.obj_issue_toc .sections .section > h3 {
	display: block;
	position: static;
	left: 0;
	margin: 28px 0 0;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--cj-ink);
	background: none;
	color: var(--cj-ink);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

.obj_issue_toc .cmp_article_list > li {
	margin: 0;
}

.obj_issue_toc .galleys {
	margin: 0 0 24px;
}

.obj_issue_toc .galleys h2 {
	font-size: 1.3rem;
}

/* archive: issue cards */
.pkp_structure_main .issues_archive {
	border: 0;
}

.issues_archive {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

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

.obj_issue_summary {
	height: 100%;
	padding: 28px;
	border: 1px solid var(--cj-line);
	border-radius: var(--cj-radius);
	background: var(--cj-bg);
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.2s ease;
}

.obj_issue_summary:hover {
	border-color: var(--cj-line-strong);
	box-shadow: var(--cj-shadow);
}

.obj_issue_summary .cover {
	display: block;
	margin: 0 0 18px;
}

.obj_issue_summary .cover img {
	width: 100%;
	border-radius: var(--cj-radius-sm);
}

.obj_issue_summary h2 {
	margin: 0 0 8px;
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-size: 1.45rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.obj_issue_summary h2 a,
.obj_issue_summary .title {
	color: var(--cj-ink);
	font-family: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.obj_issue_summary h2 a:hover {
	text-decoration: underline;
}

.obj_issue_summary .series {
	display: block;
	margin-top: 6px;
	color: var(--cj-muted);
	font-family: var(--cj-font);
	font-size: 14px;
	letter-spacing: 0;
}

.obj_issue_summary .description {
	color: var(--cj-muted);
	font-size: 14.5px;
}

/* ======================================================= article page */
.obj_article_details .page_title {
	margin-bottom: 12px;
	font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem);
}

.obj_article_details .subtitle {
	margin: 0 0 28px;
	color: var(--cj-muted);
	font-family: var(--cj-font);
	font-style: italic;
	font-size: 1.45rem;
	line-height: 1.35;
}

.obj_article_details .row {
	margin: 32px 0 0;
}

@media (min-width: 992px) {
	/* article pages read without the site sidebar (details sit on the right) */
	.pkp_page_article.pkp_op_view .pkp_structure_content.has_sidebar {
		display: block;
	}

	.pkp_page_article.pkp_op_view .pkp_structure_sidebar {
		display: none;
	}

	.pkp_page_article.pkp_op_view .pkp_structure_content .pkp_structure_main {
		max-width: 1120px;
		margin: 0 auto;
	}

	.obj_article_details .row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 64px;
		align-items: start;
	}

	.obj_article_details .row .main_entry {
		grid-column: 1;
		grid-row: 1;
	}

	.obj_article_details .row .entry_details {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: 112px;
	}
}

.obj_article_details .main_entry,
.obj_article_details .entry_details {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.obj_article_details .main_entry::before,
.obj_article_details .main_entry::after,
.obj_article_details .entry_details::before,
.obj_article_details .entry_details::after {
	display: none;
}

.obj_article_details .item {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid var(--cj-line);
}

.obj_article_details .main_entry .item:first-child {
	padding-top: 0;
}

.obj_article_details .item .label,
.obj_article_details .entry_details .item .label {
	display: block;
	margin: 0 0 10px;
	padding: 0;
	color: var(--cj-muted);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.obj_article_details .item.authors ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.obj_article_details .item.authors li {
	margin: 0 0 12px;
}

.obj_article_details .item.authors .name {
	color: var(--cj-ink);
	font-weight: 600;
	font-size: 16px;
}

.obj_article_details .item.authors .affiliation {
	color: var(--cj-muted);
	font-size: 14.5px;
}

.obj_article_details .item.abstract p {
	font-size: 17px;
	line-height: 1.75;
}

.obj_article_details .item.references .value p,
.obj_article_details .item.references .value {
	font-size: 14.5px;
	line-height: 1.6;
}

.obj_article_details .entry_details {
	padding: 8px 24px;
	border-radius: var(--cj-radius);
	background: var(--cj-warm);
}

.obj_article_details .entry_details .item {
	padding: 18px 0;
	font-size: 14.5px;
}

.obj_article_details .entry_details .item:last-child {
	border-bottom: 0;
}

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

.obj_article_details .galleys_links li {
	margin: 0;
}

.obj_article_details .item.citation .csl-bib-body {
	font-size: 14px;
}

/* ===================================================== announcements */
.cmp_announcements .obj_announcement_summary,
.page_announcements .obj_announcement_summary {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid var(--cj-line);
}

.obj_announcement_summary h2,
.obj_announcement_summary h3,
.obj_announcement_summary h4 {
	margin: 0 0 6px;
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 19px;
	letter-spacing: -0.012em;
}

.obj_announcement_summary h2 a,
.obj_announcement_summary h3 a,
.obj_announcement_summary h4 a {
	color: var(--cj-ink);
	text-decoration: none;
}

.obj_announcement_summary h2 a:hover,
.obj_announcement_summary h3 a:hover {
	text-decoration: underline;
}

.obj_announcement_summary .date,
.obj_announcement_full .date {
	color: var(--cj-muted);
	font-size: 13.5px;
}

.obj_announcement_summary .read_more {
	font-weight: 600;
	font-size: 14.5px;
}

/* ====================================== custom pages (policy texts etc.) */
.cj-table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	font-size: 15px;
}

.cj-table th,
.cj-table td {
	padding: 12px 14px 12px 0;
	border-bottom: 1px solid var(--cj-line);
	text-align: left;
	vertical-align: top;
}

.cj-table th {
	width: 36%;
	color: var(--cj-muted);
	font-weight: 600;
}

.cj-note {
	margin: 1.5em 0;
	padding: 16px 20px;
	border-left: 4px solid var(--cj-accent);
	border-radius: var(--cj-radius-sm);
	background: var(--cj-warm);
	font-size: 15px;
}

.cj-scope-list li {
	margin-bottom: 0.6em;
}

.cj-logo-figure {
	margin: 0 0 2em;
	padding: 32px;
	border: 1px solid var(--cj-line);
	border-radius: var(--cj-radius);
	background: #FFFFFF; /* the logo's soft edges are matted for white */
	text-align: center;
}

.cj-logo-figure img {
	display: inline-block;
	width: 100%;
	max-width: 440px;
	height: auto;
}

/* ============================================================ homepage */
.pkp_page_index.pkp_op_index .pkp_structure_content {
	max-width: none;
	padding: 0;
}

.pkp_page_index.pkp_op_index .pkp_structure_main {
	max-width: none;
	margin: 0;
}

.cj-wrap {
	max-width: var(--cj-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--cj-gutter);
	padding-right: var(--cj-gutter);
	box-sizing: content-box;
}

.cj-home ul,
.cj-home ol,
.cj-home dl,
.cj-home p {
	margin: 0;
}

.cj-home ul,
.cj-home ol {
	padding: 0;
	list-style: none;
}

.cj-home li {
	margin: 0;
}

.cj-band {
	padding: 80px 0;
}

/* white sections that follow each other share one gap */
.cj-band--light + .cj-band--light {
	padding-top: 0;
}

.cj-band--warm {
	background: var(--cj-warm);
}

.cj-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
}

.cj-kicker {
	margin: 0 0 12px;
	color: var(--cj-accent-deep);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pkp_structure_main .cj-display,
.cj-display {
	margin: 0;
	font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
	line-height: 1.15;
}

.cj-more {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cj-ink);
	font-weight: 550;
	font-size: 15px;
	text-decoration: underline;
	text-decoration-color: var(--cj-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.cj-more span {
	transition: transform 0.2s var(--cj-ease);
}

.cj-more:hover,
.cj-more:focus {
	color: var(--cj-ink);
	text-decoration: underline;
}

.cj-more:hover span,
.cj-more:focus span {
	transform: translateX(3px);
}

.cj-empty {
	color: var(--cj-muted);
}

/* ------------------------------------------------------------- hero */
/* "Lumen": a deep navy opening. The emblem assembles itself once (book,
   T and ribbon, star: animated inside images/hero-mark.svg), then floats
   gently; the texts rise in with a short stagger. */
.cj-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 90% at 78% 40%, color-mix(in srgb, var(--cj-primary) 80%, #2C6CA8) 0%, var(--cj-dark) 62%);
	color: var(--cj-on-dark);
}

.cj-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: 32px;
	align-items: center;
	padding-top: 88px;
	padding-bottom: 96px;
}

.cj-hero__text > * {
	animation: cj-rise 600ms var(--cj-ease) both;
}

.cj-hero__text > :nth-child(2) { animation-delay: 60ms; }
.cj-hero__text > :nth-child(3) { animation-delay: 120ms; }
.cj-hero__text > :nth-child(4) { animation-delay: 180ms; }
.cj-hero__text > :nth-child(5) { animation-delay: 240ms; }
.cj-hero__text > :nth-child(6) { animation-delay: 300ms; }

@keyframes cj-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

.cj-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--cj-accent);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pkp_structure_main .cj-hero__title,
.cj-hero__title {
	margin: 18px 0 0;
	color: var(--cj-on-dark);
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-size: clamp(3.2rem, 1.6rem + 6vw, 6.5rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
}

.cj-home .cj-hero__subtitle {
	margin: 14px 0 0;
	color: var(--cj-on-dark-muted);
	font-family: var(--cj-font);
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
	line-height: 1.4;
}

.cj-home .cj-hero__tagline,
.cj-home .cj-hero__lede {
	max-width: 52ch;
	margin: 24px 0 0;
	color: var(--cj-on-dark-muted);
	font-size: 17px;
	line-height: 1.65;
}

.cj-home .cj-hero__tagline + .cj-hero__lede {
	margin-top: 12px;
}

.cj-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.cj-pill--gold {
	background: var(--cj-accent);
	color: var(--cj-dark);
}

.cj-pill--line {
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
	color: var(--cj-on-dark);
}

.cj-pill--gold:hover,
.cj-pill--gold:focus {
	background: color-mix(in srgb, var(--cj-accent) 85%, #ffffff);
	color: var(--cj-dark);
}

.cj-pill--line:hover,
.cj-pill--line:focus {
	box-shadow: inset 0 0 0 1px var(--cj-on-dark);
	color: var(--cj-on-dark);
}

.cj-hero__art {
	position: relative;
	justify-self: center;
	width: min(420px, 100%);
}

.cj-hero__glow {
	position: absolute;
	inset: 15% 10% auto;
	height: 60%;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--cj-accent) 24%, transparent), transparent);
	filter: blur(10px);
}

.cj-hero__mark {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	animation: cj-float 7s ease-in-out 2.4s infinite;
	will-change: transform;
}

@keyframes cj-float {
	0%,
	100% {
		transform: none;
	}

	50% {
		transform: translateY(-8px);
	}
}

/* -------------------------------------------------------- key facts */
.cj-band--facts {
	padding: 0;
	background: var(--cj-primary);
	color: var(--cj-on-dark);
}

.cj-facts dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.cj-facts dl > div {
	padding: 20px 20px 22px;
	box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
}

.cj-facts dl > div:first-child {
	padding-left: 0;
	box-shadow: none;
}

.cj-facts dt {
	color: var(--cj-accent);
	font-weight: 600;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cj-facts dd {
	margin: 6px 0 0;
	color: var(--cj-on-dark);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.35;
}

/* --------------------------------------------------- journal summary */
.cj-summary__text {
	max-width: 52rem;
	font-size: 17px;
	line-height: 1.7;
}

/* ------------------------------------------------------------- scope */
.cj-scope-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0 32px;
}

.cj-scope-list li {
	padding: 18px 0;
	box-shadow: inset 0 1px 0 var(--cj-line);
}

.cj-scope-list strong {
	display: block;
	color: var(--cj-ink);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.35;
}

.cj-scope-list span {
	display: block;
	margin-top: 4px;
	color: var(--cj-muted);
	font-size: 15px;
	line-height: 1.5;
}

/* ---------------------------------------------------- latest articles */
.cj-latest__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.cj-latest__grid .obj_article_summary {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 24px;
	border-radius: 16px;
	background: var(--cj-warm);
	transition: transform 200ms var(--cj-ease);
}

.cj-latest__grid .obj_article_summary .cover {
	display: none;
}

.pkp_structure_main .cj-latest__grid .obj_article_summary .title,
.cj-latest__grid .obj_article_summary .title {
	margin: 0;
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.35;
	letter-spacing: 0;
}

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

.cj-latest__grid .obj_article_summary .subtitle {
	display: block;
	margin-top: 4px;
	color: var(--cj-muted);
	font-weight: 400;
	font-size: 15px;
}

.cj-latest__grid .obj_article_summary .meta {
	display: grid;
	gap: 4px;
	color: var(--cj-muted);
	font-size: 15px;
	line-height: 1.5;
}

.cj-latest__grid .galleys_links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: auto 0 0;
	padding: 4px 0 0;
	list-style: none;
}

.cj-latest__grid .obj_galley_link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 12px;
	border: 0;
	border-radius: 999px;
	background: var(--cj-bg);
	color: var(--cj-primary);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.6;
	text-decoration: none;
}

.cj-latest__grid .obj_article_summary:active {
	transform: scale(0.99);
}

/* -------------------------------------------------- publishing integrity */
.cj-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.cj-trust__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	border-radius: 16px;
	box-shadow: inset 0 0 0 1px var(--cj-line);
	text-decoration: none;
	transition: box-shadow 200ms ease, transform 160ms var(--cj-ease);
}

a.cj-trust__item:active {
	transform: scale(0.98);
}

.cj-trust__item strong {
	color: var(--cj-primary);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.3;
}

.cj-trust__item span {
	color: var(--cj-muted);
	font-size: 15px;
	line-height: 1.5;
}

/* ------------------------------------------------------- announcements */
.cj-news {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px 32px;
}

.cj-news li {
	padding-top: 18px;
	box-shadow: inset 0 2px 0 var(--cj-accent);
}

.cj-news__date {
	display: block;
	color: var(--cj-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.cj-news a {
	display: block;
	margin-top: 6px;
	color: var(--cj-ink);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.35;
	text-decoration: none;
}

.cj-home .cj-news p {
	margin-top: 6px;
	color: var(--cj-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* --------------------------------------------- call to action panel */
.cj-cta-wrap {
	padding-bottom: 80px;
}

.cj-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px 40px;
	align-items: center;
	padding: 48px;
	border-radius: 24px;
	background: var(--cj-primary);
	color: var(--cj-on-dark);
}

.pkp_structure_main .cj-cta h2,
.cj-cta h2 {
	margin: 0;
	color: var(--cj-on-dark);
	font-family: var(--cj-font-heading);
	font-weight: 400;
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.4rem);
	line-height: 1.15;
}

.cj-home .cj-cta p {
	max-width: 56ch;
	margin-top: 10px;
	color: var(--cj-on-dark-muted);
	font-size: 16px;
	line-height: 1.6;
}

.cj-home .cj-cta__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.cj-cta__specs li {
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--cj-on-dark);
	font-size: 13.5px;
	line-height: 1.4;
}

.cj-cta__specs b {
	margin-right: 6px;
	color: var(--cj-accent);
	font-weight: 600;
}

.cj-home .additional_content {
	padding-bottom: 80px;
}

/* hover only where a pointer hovers (no sticky hover after a tap) */
@media (hover: hover) and (pointer: fine) {
	.cj-latest__grid .obj_article_summary:hover {
		transform: translateY(-2px);
	}

	.cj-latest__grid .obj_article_summary .title a:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

	a.cj-trust__item:hover {
		box-shadow: inset 0 0 0 1px var(--cj-accent);
	}

	.cj-news a:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* ============================================================== footer */
.pkp_structure_footer_wrapper {
	background: var(--cj-dark);
	color: var(--cj-on-dark-muted);
}

.pkp_structure_footer {
	width: auto;
	text-align: left;
	max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter));
	margin: 0 auto;
	padding: 80px var(--cj-gutter) 32px;
	box-sizing: border-box;
}

.cj-footer {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 48px;
	padding-bottom: 56px;
}

.cj-wordmark {
	margin: 0;
	color: var(--cj-on-dark);
	font-family: var(--cj-font-heading);
	font-size: 34px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.cj-footer__subtitle {
	margin: 10px 0 0;
	color: color-mix(in srgb, var(--cj-accent) 65%, #ffffff);
	font-family: var(--cj-font);
	font-size: 18px;
}

.cj-footer__tagline {
	max-width: 22rem;
	margin: 18px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
}

.cj-footer__publisher {
	margin: 18px 0 0;
	font-size: 14.5px;
}

.cj-footer__publisher strong {
	color: var(--cj-on-dark);
	font-weight: 600;
}

.cj-footer h2 {
	margin: 0 0 20px;
	color: var(--cj-on-dark);
	font-family: var(--cj-font);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.cj-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cj-footer li {
	margin: 0 0 14px;
}

.cj-footer a {
	color: var(--cj-on-dark);
	font-size: 14.5px;
	text-decoration: none;
	word-break: break-word;
}

.cj-footer a:hover,
.cj-footer a:focus {
	color: var(--cj-on-dark);
	text-decoration: underline;
}

.pkp_footer_content {
	padding: 0 0 32px;
	color: var(--cj-on-dark-muted);
}

.pkp_footer_content a {
	color: var(--cj-on-dark);
}

.cj-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13px;
}

.cj-footer__langs {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cj-footer__langs li {
	margin: 0;
}

.cj-footer__globe {
	margin-right: 4px !important;
	color: var(--cj-on-dark);
	font-size: 16px;
}

.cj-footer__langs a {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	color: var(--cj-on-dark);
	font-size: 13px;
	text-decoration: none;
}

.cj-footer__langs .current a,
.cj-footer__langs a:hover,
.cj-footer__langs a:focus {
	border-color: var(--cj-on-dark);
	background: var(--cj-on-dark);
	color: var(--cj-dark);
}

.cj-footer__copy {
	flex: 1 1 auto;
	margin: 0;
	text-align: center;
}

.pkp_brand_footer {
	padding: 0;
}

.pkp_brand_footer img {
	display: block;
	width: 96px;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: 0.72;
}

/* ========================================================== responsive */
@media (min-width: 992px) and (max-width: 1199px) {
	:root {
		--cj-gutter: 28px;
	}

	.pkp_structure_head .pkp_head_wrapper {
		gap: 14px;
		height: 72px;
	}

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

	.pkp_navigation_primary > li > a {
		padding: 7px 8px;
		font-size: 13.5px;
	}

	.pkp_navigation_search_wrapper a {
		width: 34px;
		height: 34px;
	}

	.pkp_navigation_user > li > a {
		padding: 8px 14px;
		font-size: 13.5px;
	}

	.pkp_structure_content.has_sidebar {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 48px;
	}

	.obj_article_details .row {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 40px;
	}
}

@media (max-width: 1199px) {
	.cj-latest__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	:root {
		--cj-gutter: 20px;
	}

	.pkp_structure_content {
		padding-top: 32px;
		padding-bottom: 80px;
	}

	.pkp_structure_sidebar {
		margin-top: 56px;
	}

	.cj-band {
		padding: 56px 0;
	}

	/* emblem above the text, smaller */
	.cj-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-top: 40px;
		padding-bottom: 56px;
	}

	/* the header already carries the emblem; on narrow screens the hero is text only */
	.cj-hero__art {
		display: none;
	}

	.cj-head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 24px;
	}

	.cj-facts dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cj-facts dl > div,
	.cj-facts dl > div:first-child {
		padding: 14px 16px 14px 0;
		box-shadow: none;
	}

	.cj-cta {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 24px;
	}

	.cj-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px;
	}

	.cj-footer__brand {
		grid-column: 1 / -1;
	}

	.cj-footer__copy {
		text-align: left;
	}

	.page_login,
	.page_register,
	.page_lost_password,
	.page_staff_login {
		padding: 28px 22px;
	}
}

@media (min-width: 640px) and (max-width: 991px) {
	:root {
		--cj-gutter: 32px;
	}
}

@media (max-width: 639px) {
	.cj-latest__grid {
		grid-template-columns: 1fr;
	}

	.cj-hero__actions .cj-pill {
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
	}

	.cj-footer {
		grid-template-columns: 1fr;
	}

	.cj-table th {
		width: 42%;
	}
}

/* ---------------------------------------------------------------- motifs */
/* Dark areas (header, hero, key facts, call to action, footer): gold
   "constellation" built from the logo's star, faded behind the hero text.
   Light areas: every other content band is cream with faint "page lines". */
:root {
	--cj-motif-stars: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27260%27%20height%3D%27260%27%20viewBox%3D%270%200%20260%20260%27%3E%3Cg%20stroke%3D%27%23BE9555%27%20stroke-opacity%3D%270.245%27%20stroke-width%3D%270.8%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M30%2040%20L95%2070%20L150%2045%20L210%2095%20M95%2070%20L80%20150%20L150%20190%20L230%20170%20M150%20190%20L120%20240%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23BE9555%27%20fill-opacity%3D%270.56%27%3E%3Cpath%20d%3D%27M30%2035%20L31.40%2038.60%20L35%2040%20L31.40%2041.40%20L30%2045%20L28.60%2041.40%20L25%2040%20L28.60%2038.60Z%27%2F%3E%3Cpath%20d%3D%27M95%2062%20L97.24%2067.76%20L103%2070%20L97.24%2072.24%20L95%2078%20L92.76%2072.24%20L87%2070%20L92.76%2067.76Z%27%2F%3E%3Cpath%20d%3D%27M150%2041%20L151.12%2043.88%20L154%2045%20L151.12%2046.12%20L150%2049%20L148.88%2046.12%20L146%2045%20L148.88%2043.88Z%27%2F%3E%3Cpath%20d%3D%27M210%2089%20L211.68%2093.32%20L216%2095%20L211.68%2096.68%20L210%20101%20L208.32%2096.68%20L204%2095%20L208.32%2093.32Z%27%2F%3E%3Cpath%20d%3D%27M80%20146%20L81.12%20148.88%20L84%20150%20L81.12%20151.12%20L80%20154%20L78.88%20151.12%20L76%20150%20L78.88%20148.88Z%27%2F%3E%3Cpath%20d%3D%27M150%20183%20L151.96%20188.04%20L157%20190%20L151.96%20191.96%20L150%20197%20L148.04%20191.96%20L143%20190%20L148.04%20188.04Z%27%2F%3E%3Cpath%20d%3D%27M230%20166%20L231.12%20168.88%20L234%20170%20L231.12%20171.12%20L230%20174%20L228.88%20171.12%20L226%20170%20L228.88%20168.88Z%27%2F%3E%3Cpath%20d%3D%27M120%20235%20L121.40%20238.60%20L125%20240%20L121.40%20241.40%20L120%20245%20L118.60%20241.40%20L115%20240%20L118.60%20238.60Z%27%2F%3E%3Ccircle%20cx%3D%27190%27%20cy%3D%2720%27%20r%3D%271.2%27%2F%3E%3Ccircle%20cx%3D%2720%27%20cy%3D%27200%27%20r%3D%271.2%27%2F%3E%3Ccircle%20cx%3D%27250%27%20cy%3D%27240%27%20r%3D%271.2%27%2F%3E%3Ccircle%20cx%3D%2760%27%20cy%3D%27110%27%20r%3D%271%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	--cj-motif-pages: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%2748%27%20viewBox%3D%270%200%20160%2048%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23082B50%27%20stroke-opacity%3D%270.06%27%20stroke-width%3D%271%27%3E%3Cpath%20d%3D%27M0%2012%20Q40%200%2080%2012%20T160%2012%27%2F%3E%3Cpath%20d%3D%27M0%2036%20Q40%2024%2080%2036%20T160%2036%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
	--cj-cream: #F6F2EA;
}

.pkp_structure_head {
	background-image: var(--cj-motif-stars);
}

.cj-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--cj-motif-stars);
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), #000 70%);
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), #000 70%);
	pointer-events: none;
}

.cj-hero__inner {
	position: relative;
	z-index: 1;
}

.cj-band--facts {
	background-image: var(--cj-motif-stars);
	border-top: 1px solid rgba(190, 149, 85, 0.45);
}

.cj-cta {
	background-image: var(--cj-motif-stars);
}

.pkp_structure_footer_wrapper {
	background-image: var(--cj-motif-stars);
	border-top: 3px solid var(--cj-accent);
}

.cj-latest,
.cj-band--light:nth-of-type(2n+1) {
	background-color: var(--cj-cream);
	background-image: var(--cj-motif-pages);
}

/* Phones and tablets: the opening fills the first screen (below the
   64px header), content centred, with a quiet gold scroll cue. */
.cj-hero__cue {
	display: none;
	position: absolute;
	left: 50%;
	bottom: 24px;
	z-index: 1;
	width: 1px;
	height: 44px;
	margin-left: -0.5px;
	background: linear-gradient(rgba(190, 149, 85, 0), rgba(190, 149, 85, 0.7));
	overflow: hidden;
}

.cj-hero__cue::after {
	content: "";
	position: absolute;
	left: -1.5px;
	top: -8px;
	width: 4px;
	height: 8px;
	border-radius: 2px;
	background: #D9B676;
	animation: cj-cue 2.2s ease-in-out infinite;
}

@keyframes cj-cue {
	0% { transform: translateY(0); opacity: 0; }
	25% { opacity: 1; }
	100% { transform: translateY(52px); opacity: 0; }
}

@media (max-width: 991px) {
	.cj-hero {
		display: flex;
		flex-direction: column;
		min-height: calc(100vh - 65px);
		min-height: calc(100svh - 65px);
	}

	.cj-hero__inner {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: 100%;
		box-sizing: border-box;
		padding-top: 48px;
		padding-bottom: 88px;
	}

	.cj-hero__cue {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cj-hero__cue::after {
		animation: none;
		top: 18px;
	}
}

/* Long-form text (policy pages, About, guidelines, abstracts) is justified
   on every screen size, phones included (publisher's choice). */
.pkp_structure_main .page p,
.pkp_structure_main .page li,
.obj_article_details .item.abstract p,
.cj-summary__text p {
	text-align: justify;
	hyphens: auto;
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}

	.cj-hero__mark,
	.cj-hero__text > * {
		animation: none;
	}
}

@media print {
	.pkp_structure_head,
	.pkp_structure_footer_wrapper,
	.pkp_structure_sidebar,
	.cj-hero__actions,
	.cj-hero__art,
	.cj-cta-wrap {
		display: none;
	}

	.cj-hero {
		background: none;
		color: #000;
	}

	.pkp_structure_main .cj-hero__title {
		color: #000;
	}
}

/* ==================== download list ([daftar-templat] on a custom page) */
.cj-downloads {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
	margin: 8px 0 28px;
}

.cj-download {
	padding: 22px 24px;
	border: 1px solid var(--cj-line);
	border-radius: var(--cj-radius);
	background: var(--cj-bg);
}

.pkp_structure_main .cj-download h4 {
	margin: 0 0 12px;
	font-size: 16.5px;
	line-height: 1.35;
}

.pkp_structure_main .cj-download__note {
	margin: -4px 0 14px;
	color: var(--cj-muted);
	font-size: 14px;
	line-height: 1.55;
}

.pkp_structure_main .cj-download ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pkp_structure_main .cj-download li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin: 0;
	padding: 9px 0;
	border-top: 1px solid var(--cj-line);
	font-size: 14.5px;
}

.cj-download__variant {
	color: var(--cj-muted);
	font-weight: 550;
}

.cj-download__files {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cj-download__file {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 5px 12px;
	border: 1.5px solid var(--cj-line-strong);
	border-radius: 999px;
	color: var(--cj-ink);
	font-size: 13px;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cj-download__format {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.cj-download__size {
	color: var(--cj-muted);
	font-size: 12px;
}

.cj-download__file:hover,
.cj-download__file:focus {
	background: var(--cj-primary);
	border-color: var(--cj-primary);
	color: var(--cj-on-dark);
}

.cj-download__file:hover .cj-download__size,
.cj-download__file:focus .cj-download__size {
	color: rgba(255, 255, 255, 0.75);
}
