:root {
	--jcl-blue: #003c69;
	--jcl-action: #3366cc;
	--jcl-gold: #fdba11;
	--jcl-red: #b22d1b;
	--jcl-gray-100: #f5f7fd;
	--jcl-gray-200: #d0d4dc;
	--jcl-gray-300: #c0c8da;
	--jcl-gray-500: #b7c2c9;
	--jcl-text: #111820;
	--jcl-width: 1080px;
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--jcl-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

a {
	color: var(--jcl-action);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.14em;
}

a:hover,
a:focus {
	color: var(--jcl-blue);
}

.pkp_structure_page {
	background: #fff;
}

#headerNavigationContainer {
	min-height: 78px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: var(--jcl-blue);
	box-shadow: none;
}

#headerNavigationContainer > .container-fluid {
	max-width: var(--jcl-width);
	margin: 0 auto;
}

#headerNavigationContainer > .container-fluid:first-child {
	position: absolute;
	inset: 0 max(20px, calc((100vw - var(--jcl-width)) / 2)) auto auto;
	width: auto;
	z-index: 3;
}

#navigationUser {
	margin: 19px 0 0;
}

#navigationUser > li > a {
	padding: 9px 14px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

#navigationUser > li:last-child > a {
	margin-left: 8px;
	border-radius: 6px;
	background: var(--jcl-gold);
	color: #101820;
}

#navigationUser > li > a:hover,
#navigationUser > li > a:focus {
	background: rgba(255, 255, 255, 0.12);
}

#navigationUser > li:last-child > a:hover,
#navigationUser > li:last-child > a:focus {
	background: #ffd15b;
}

.navbar-header {
	min-height: 78px;
}

.navbar-brand-logo {
	height: 78px;
	padding: 14px 15px;
}

.navbar-brand-logo img {
	width: auto;
	max-width: min(420px, 56vw);
	height: 48px;
	object-fit: contain;
	object-position: left center;
}

.navbar-brand {
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
}

#nav-menu {
	position: absolute;
	top: 78px;
	left: max(20px, calc((100vw - var(--jcl-width)) / 2));
	z-index: 50;
	width: 260px;
	padding: 10px 0 16px;
	border: 1px solid var(--jcl-gray-200);
	border-top: 0;
	border-radius: 0 0 10px 10px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 60, 105, 0.18);
}

#nav-menu:not(.in) {
	display: none !important;
}

#main-navigation {
	float: none;
	width: 100%;
	margin: 0;
}

#main-navigation > li {
	float: none;
}

#main-navigation > li > a {
	padding: 13px 20px;
	color: var(--jcl-text);
	font-weight: 700;
}

#main-navigation > li > a:hover,
#main-navigation > li > a:focus,
#main-navigation > .active > a {
	background: var(--jcl-gray-300);
	color: var(--jcl-blue);
}

#nav-menu .pull-md-right {
	display: none;
}

.navbar-toggle {
	position: relative;
	z-index: 5;
	float: left;
	margin: 22px 10px 0 0;
	border-color: rgba(255,255,255,.55);
}

.navbar-default .navbar-toggle .icon-bar {
	background: #fff;
}

.pkp_structure_content {
	width: 100%;
	max-width: var(--jcl-width);
	padding: 0 24px;
}

.pkp_structure_main {
	float: none;
	width: 100%;
	padding: 0;
}

.pkp_structure_sidebar {
	display: none;
}

h1,
h2,
h3,
h4 {
	color: var(--jcl-blue);
	font-weight: 800;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 4rem);
}

h2 {
	position: relative;
	margin: 0 0 28px;
	padding-bottom: 12px;
	font-size: clamp(2rem, 3vw, 3rem);
}

h2::after,
.page-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 190px;
	height: 4px;
	background: linear-gradient(90deg, var(--jcl-gold) 0 50%, var(--jcl-red) 50%);
}

.page-header {
	position: relative;
	padding-bottom: 14px;
	border: 0;
}

.btn {
	border: 2px solid transparent;
	border-radius: 5px;
	font-weight: 700;
}

.btn-primary,
.btn-default {
	border-color: var(--jcl-action);
	background: var(--jcl-action);
	color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-default:hover,
.btn-default:focus {
	border-color: var(--jcl-blue);
	background: var(--jcl-blue);
	color: #fff;
}

.alert-info {
	border-color: var(--jcl-action);
	background: var(--jcl-action);
	color: #fff;
}

.alert-info a {
	color: #fff;
}

.btn:focus,
a:focus,
button:focus,
input:focus,
select:focus {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 5px var(--jcl-action);
}

.jcl-home {
	margin-inline: calc(50% - 50vw);
}

.jcl-home > section {
	padding: 58px max(24px, calc((100vw - var(--jcl-width)) / 2));
}

.jcl-section-inner,
.jcl-hero__inner {
	width: 100%;
	max-width: var(--jcl-width);
	margin: 0 auto;
}

.jcl-hero {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: center;
	background-color: var(--jcl-gray-300);
	background-image:
		linear-gradient(90deg, rgba(245,247,253,.96), rgba(245,247,253,.70)),
		var(--jcl-hero-image);
	background-position: center;
	background-size: cover;
}

.jcl-hero h1 {
	max-width: 700px;
	margin: 0 0 26px;
	color: #080b0e;
}

.jcl-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.jcl-about {
	background: var(--jcl-blue);
	color: #fff;
}

.jcl-about h2 {
	color: #fff;
}

.jcl-about .journal-description {
	max-width: 900px;
	font-size: 18px;
}

.jcl-current__meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 280px);
	gap: clamp(34px, 8vw, 100px);
	align-items: start;
}

.jcl-current__copy h3 {
	margin-top: 0;
	font-size: 1.6rem;
}

.jcl-current__description {
	max-width: 720px;
}

.jcl-current__published {
	color: #4b5563;
}

.jcl-current__cover img {
	width: 100%;
	max-height: 360px;
	object-fit: contain;
	box-shadow: 0 10px 28px rgba(0, 60, 105, 0.18);
}

.jcl-recent,
.jcl-involved {
	background: var(--jcl-gray-100);
}

.jcl-recent .issue-toc > .heading,
.jcl-recent .issue-toc > .galleys {
	display: none;
}

.jcl-recent .section {
	margin: 0;
}

.jcl-recent .section .page-header {
	margin: 0 0 15px;
	padding: 0;
}

.jcl-recent .section .page-header::after {
	display: none;
}

.jcl-recent .section .page-header h2 {
	padding: 0;
	font-size: 1.15rem;
}

.jcl-recent .section .page-header h2::after {
	display: none;
}

.jcl-recent .media {
	padding: 18px 0;
	border-bottom: 1px solid var(--jcl-gray-500);
}

.jcl-announcements .announcement-summary {
	padding: 0 0 26px;
	margin: 0 0 26px;
	border-bottom: 2px solid var(--jcl-gray-500);
}

.jcl-announcements .announcement-summary h2,
.announcement-summary h2 {
	margin: 0 0 4px;
	padding: 0;
	font-size: 1.2rem;
}

.jcl-announcements .announcement-summary h2::after,
.announcement-summary h2::after {
	display: none;
}

.jcl-announcements .date {
	color: #6b7280;
	font-size: 14px;
}

.jcl-text-link {
	display: inline-block;
	font-weight: 700;
}

.jcl-involved .additional_content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.page_issue,
.page_article,
.page_announcements,
.page_announcement,
.page_about,
.page_about_submissions {
	padding: 58px 0 80px;
}

.page_issue .issue-toc .heading {
	padding: 34px;
	border-radius: 3px;
	background: var(--jcl-gray-100);
}

.page_issue .issue-toc .thumbnail {
	float: right;
}

.page_issue .sections {
	margin-top: 42px;
}

.article-details > header .page-header {
	margin-top: 0;
}

.article-details > .row {
	display: flex;
	align-items: flex-start;
}

.article-details .article-sidebar {
	order: 2;
}

.article-details > .row > .col-md-8 {
	order: 1;
}

.article-details .article-main {
	padding: 28px;
	background: var(--jcl-gray-100);
}

.article-details .authors {
	margin-bottom: 24px;
}

.article-details .author {
	display: inline-block;
	margin: 0 16px 10px 0;
}

.article-details .article-summary h2 {
	font-size: 1.5rem;
}

.article-details .cover-image img {
	width: 100%;
	max-height: 360px;
	object-fit: contain;
}

.article-details .list-group-item {
	border: 0;
	border-bottom: 1px solid var(--jcl-gray-200);
}

.page_about_submissions,
.page_about {
	max-width: 920px;
}

.page_about_submissions h2,
.page_about h2 {
	margin-top: 42px;
	font-size: 1.8rem;
}

.page_about_submissions li,
.page_about li {
	margin-bottom: 8px;
}

.pkp_structure_footer_wrapper {
	border-top: 1px solid var(--jcl-gray-200);
	background: var(--jcl-blue);
	color: #fff;
}

.pkp_structure_footer_wrapper a {
	color: #fff;
}

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

@media (min-width: 768px) {
	.navbar-toggle {
		display: block;
	}

	.navbar-header {
		float: none;
	}

	.navbar-brand {
		float: left;
		margin-left: 44px;
	}

	#nav-menu.collapse {
		display: none !important;
	}

	#nav-menu.collapse.in {
		display: block !important;
	}
}

@media (max-width: 767px) {
	#headerNavigationContainer {
		min-height: 70px;
	}

	#headerNavigationContainer > .container-fluid:first-child {
		right: 10px;
	}

	#navigationUser {
		margin-top: 15px;
	}

	#navigationUser > li:first-child {
		display: none;
	}

	.navbar-header {
		min-height: 70px;
	}

	.navbar-brand-logo {
		height: 70px;
		padding: 13px 10px;
	}

	.navbar-brand-logo img {
		height: 44px;
		max-width: 58vw;
	}

	.navbar-toggle {
		margin-top: 18px;
	}

	#nav-menu {
		top: 70px;
		left: 0;
		width: min(86vw, 320px);
		height: calc(100vh - 70px);
		margin: 0;
		overflow-y: auto;
		border-radius: 0 10px 10px 0;
	}

	.jcl-home > section {
		padding-top: 42px;
		padding-bottom: 42px;
	}

	.jcl-hero {
		min-height: 270px;
	}

	.jcl-current__meta {
		grid-template-columns: 1fr;
	}

	.jcl-current__cover {
		order: -1;
	}

	.jcl-current__cover img {
		max-width: 220px;
	}

	.jcl-involved .additional_content {
		grid-template-columns: 1fr;
	}

	.article-details > .row {
		display: block;
	}

	.article-details .article-main {
		padding: 22px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
