/* Article covers are 25% larger than the previous one-third size. */
body,
.pkp_structure_page,
.pkp_structure_content {
	background-color: #f5f5f5;
}

.pkp_structure_main::before {
	background-color: #f5f5f5;
}

.obj_issue_toc .obj_article_summary .cover img {
	max-height: 104.166px;
	width: auto;
}

@media (min-width: 768px) {
	.obj_issue_toc .obj_article_summary .cover {
		width: 10.416667%;
	}

	.obj_issue_toc .obj_article_summary .cover img {
		max-height: none;
		width: 100%;
	}
}

/* Institutional logos centred in the journal footer. */
.imli-footer-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 32px;
	width: 100%;
}

.imli-footer-contact {
	margin: 0;
	font-style: normal;
	font-size: 0.93rem;
	line-height: 1.65;
	text-align: left;
}

.imli-footer-contact span {
	display: block;
}

.imli-footer-contact a {
	color: inherit;
	text-decoration: none;
}

.imli-footer-contact a:hover,
.imli-footer-contact a:focus {
	text-decoration: underline;
}

.imli-footer-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 24px 36px;
	width: auto;
}

.imli-footer-logos img {
	display: block;
	width: auto;
	max-width: 100%;
}

.imli-footer-logos .imli-footer-logo--imli {
	width: 55px;
	height: 55px;
	object-fit: contain;
	border-radius: 50%;
	background: #fff;
}

.imli-footer-logo--government {
	height: 55px;
}

.imli-footer-logo--unesco {
	height: 36px;
}

/* Hide the default OJS/PKP publishing-system badge and link. */
.pkp_brand_footer {
	display: none;
}

@media (max-width: 540px) {
	.imli-footer-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.imli-footer-balance {
		display: none;
	}

	.imli-footer-logos {
		gap: 20px 24px;
	}

	.imli-footer-logos .imli-footer-logo--imli {
		width: 44px;
		height: 44px;
	}

	.imli-footer-logo--government {
		height: 44px;
	}

	.imli-footer-logo--unesco {
		height: 27px;
	}
}

/* Shared IMLI portal palette. */
html {
	background-color: #eef2f6;
}

html body {
	color: #102334;
	background-color: transparent;
	background-image: linear-gradient(180deg, #eef2f6 0%, #f6f8fb 100%);
	background-attachment: fixed;
}

body .pkp_structure_page,
body .pkp_structure_content,
body .pkp_structure_main,
body .pkp_structure_sidebar {
	background-color: transparent;
}

body .pkp_structure_main::before {
	background-color: transparent;
}

body .pkp_structure_head,
body .pkp_site_nav_menu {
	background-color: #eef2f6;
}

body .pkp_structure_content {
	box-shadow: 0 0 5px 0.5px rgba(103, 104, 107, 0.34);
}

.page_index_site .journals > ul > li {
	box-sizing: border-box;
	margin-bottom: 18px;
	padding: 20px;
	border: 1px solid rgba(122, 137, 148, 0.12);
	border-radius: 20px;
	background-image: linear-gradient(rgba(250, 252, 253, 0.96), rgba(236, 241, 245, 0.96));
	box-shadow: 0 14px 28px rgba(90, 103, 114, 0.08);
}

.page_index_site .journals > ul > li:last-child {
	margin-bottom: 0;
}

.page_index_site .journals h3 a {
	color: #101e5a;
}

body .pkp_structure_footer_wrapper {
	border-top: 1px solid rgba(79, 98, 119, 0.10);
	background-color: transparent;
	background-image: linear-gradient(180deg, #f6f8fb 0%, #edf1f5 100%);
	color: #102334;
}

body .pkp_structure_footer,
body .pkp_footer_content {
	background-color: transparent;
	color: #102334;
}

.doilab-credit {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid rgba(79, 98, 119, 0.14);
	text-align: center;
}

.doilab-credit a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #102334;
	font-size: 0.78rem;
	line-height: 1.35;
	text-decoration: none;
}

.doilab-credit a:hover,
.doilab-credit a:focus {
	color: #0a526e;
	text-decoration: none;
}

.doilab-credit-logo {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	overflow: hidden;
}

.doilab-credit-logo img {
	display: block;
	width: auto;
	max-width: none;
	height: 20px;
}

body .dropdown-menu,
body .pkp_navigation_primary ul {
	background-color: #eef2f6;
}

body .cmp_notification {
	border: 1px solid rgba(79, 98, 119, 0.14);
	border-radius: 12px;
	background-color: #f8fafc;
	color: #102334;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

@media (max-width: 767px) {
	.doilab-credit a {
		gap: 5px;
		font-size: 0.75rem;
	}

	.page_index_site .journals > ul > li {
		margin-bottom: 12px;
		padding: 14px;
		border-radius: 16px;
	}
}

/* DOI links: keep identifiers clickable without underlines. */
.doi a, .doi a:hover, .doi a:focus, .doi a:active, .doi a:visited,
.doiInSummary a, .doiInSummary a:hover, .doiInSummary a:focus, .doiInSummary a:active, .doiInSummary a:visited {
    text-decoration: none !important;
}

/* Smaller typography for the homepage journal introduction. */
.pkp_page_index .homepage_about h2 { font-size: 16px !important; }
.pkp_page_index .homepage_about p { font-size: 12px !important; line-height: 1.65 !important; }

/* Match site homepage descriptions to both journal introductions. */
.page_index_site .journals .description,
.page_index_site .journals .description p { font-size: 12px !important; line-height: 1.65 !important; }
.page_index_site .journals h3,
.page_index_site .journals h3 a { font-size: 16px !important; }

/* Breathing room below the footer developer credit. */
.doilab-credit { padding-bottom: 24px !important; }
