/**
 * Biomolecules and Biomedicine - child theme of the OJS Default theme
 * Phases 1-5. Phase 1: typography, full-width layout, header, navigation, footer.
 * Loaded after the parent stylesheet; layout overrides use !important
 * because the parent theme sets fixed widths at several breakpoints.
 */

:root {
	--bb-head: #073251;   /* existing header navy */
	--bb-navy: #173963;   /* wordmark navy: headings, links */
	--bb-cyan: #02ADC9;   /* accent: lines, large elements only */
	--bb-blue: #55A8DA;
	--bb-teal: #067A8F;   /* darker cyan, readable for small text */
	--bb-ink: #1B2533;
	--bb-muted: #4A586B;
	--bb-line: #DCE4EE;
	--bb-soft: #F2F6FA;
	--bb-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--bb-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--bb-gutter: max(24px, calc((100% - 1200px) / 2));
}

/* ---------- Base ---------- */

html,
body {
	background: #fff !important;
}

body {
	font-family: var(--bb-sans);
	font-size: 16px;
	line-height: 1.55;
	color: var(--bb-ink);
}

.pkp_structure_page {
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	box-shadow: none !important;
	background: #fff;
}

/* ---------- Typography ---------- */

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_structure_main h4,
.obj_article_summary .title a,
.obj_announcement_summary h3 a,
.obj_announcement_summary h4 a {
	font-family: var(--bb-serif);
}

.pkp_structure_main h1 {
	font-size: 32px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--bb-navy);
}

.pkp_structure_main h2 {
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--bb-navy);
	text-transform: none;
	letter-spacing: 0;
}

.pkp_structure_main a {
	color: var(--bb-navy);
}

.pkp_structure_main a:hover,
.pkp_structure_main a:focus {
	color: var(--bb-teal);
}

/* ---------- Article lists ---------- */

.obj_article_summary .title a {
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--bb-navy);
}

.obj_article_summary .meta,
.obj_article_summary .authors {
	font-size: 14px;
	color: #3B4A5E;
}

.obj_issue_toc .section > h2,
.obj_issue_toc .section > h3 {
	font-family: var(--bb-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bb-teal);
}

.obj_galley_link,
.cmp_button,
.read_more {
	font-family: var(--bb-sans);
}

.obj_galley_link {
	border: 1px solid var(--bb-navy);
	color: var(--bb-navy);
	background: #fff;
	border-radius: 6px;
	font-weight: 600;
	box-shadow: none;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
	background: var(--bb-navy);
	color: #fff !important;
}

.pkp_block .title {
	font-family: var(--bb-sans);
	color: var(--bb-navy);
}

/* ---------- Header ---------- */

.pkp_structure_head {
	background: var(--bb-head);
	border-bottom: 0;
}

.pkp_site_name_wrapper {
	background: var(--bb-head);
}

/* ---------- Desktop layout ---------- */

@media (min-width: 992px) {

	.pkp_head_wrapper {
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
	}

	.pkp_site_name_wrapper {
		width: auto !important;
		padding: 0 var(--bb-gutter) !important;
	}

	.pkp_site_name {
		padding: 18px 0 !important;
		height: auto !important;
	}

	.pkp_site_name .is_img img {
		max-height: 64px !important;
		height: 64px;
		width: auto;
	}

	/* Primary navigation: white bar across the full width */
	.pkp_site_nav_menu {
		background: #fff !important;
		border-bottom: 1px solid var(--bb-line);
	}

	.pkp_navigation_primary_row {
		background: #fff !important;
		padding: 0 var(--bb-gutter) !important;
		width: auto !important;
	}

	.pkp_navigation_primary_wrapper {
		width: auto !important;
		padding: 0 !important;
	}

	.pkp_navigation_primary > li > a {
		font-family: var(--bb-sans) !important;
		font-size: 15px !important;
		font-weight: 500 !important;
		text-transform: none !important;
		letter-spacing: 0;
		color: #3B4A5E !important;
		padding: 14px 0 11px !important;
		margin: 0 26px 0 0 !important;
		border-bottom: 3px solid transparent !important;
		background: none !important;
	}

	.pkp_navigation_primary > li > a:hover,
	.pkp_navigation_primary > li > a:focus {
		color: var(--bb-navy) !important;
		border-bottom-color: var(--bb-cyan) !important;
	}

	/* Dropdowns */
	.pkp_navigation_primary ul {
		background: #fff !important;
		border: 1px solid var(--bb-line);
		border-radius: 8px;
		box-shadow: 0 8px 24px rgba(7, 50, 81, .12);
		padding: 6px 0;
		min-width: 220px;
	}

	.pkp_navigation_primary ul a {
		font-family: var(--bb-sans) !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		text-transform: none !important;
		color: var(--bb-ink) !important;
		padding: 9px 16px !important;
		border-left: 3px solid transparent !important;
		background: none !important;
	}

	.pkp_navigation_primary ul a:hover,
	.pkp_navigation_primary ul a:focus {
		background: var(--bb-soft) !important;
		color: var(--bb-navy) !important;
		border-left-color: var(--bb-cyan) !important;
	}

	.pkp_navigation_search_wrapper a {
		font-family: var(--bb-sans);
		font-size: 15px;
		font-weight: 500;
		text-transform: none;
		color: var(--bb-navy);
	}

	.pkp_navigation_user_wrapper {
		top: 28px !important;
		right: var(--bb-gutter) !important;
		left: auto !important;
		width: auto !important;
	}

	.pkp_navigation_user {
		width: auto !important;
	}

	/* Content: centred 1200px column, main + sidebar side by side */
	.pkp_structure_content {
		display: flex;
		gap: 48px;
		width: auto !important;
		max-width: 1200px;
		margin: 0 auto !important;
		padding: 36px 24px 64px !important;
		box-sizing: content-box;
	}

	.pkp_structure_content::before,
	.pkp_structure_content::after {
		display: none !important;
	}

	.pkp_structure_main {
		float: none !important;
		flex: 1 1 auto;
		min-width: 0;
		width: auto !important;
		padding: 0 !important;
	}

	.pkp_structure_sidebar {
		float: none !important;
		flex: 0 0 280px;
		width: 280px !important;
		border: 0 !important;
	}

	/* The parent theme pulls these blocks out into the main column's side
	   padding with negative margins; that padding is now zero. */
	.pkp_structure_main .additional_content,
	.pkp_structure_main .cmp_announcements,
	.pkp_structure_main .current_issue,
	.pkp_structure_main .homepage_about,
	.pkp_structure_main .homepage_image {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Remove the vertical divider lines drawn by the parent theme */
	html body .pkp_structure_page .pkp_structure_main::before,
	html body .pkp_structure_page .pkp_structure_main::after,
	html body .pkp_structure_page .pkp_structure_sidebar::before {
		content: none !important;
		display: none !important;
	}
}

/* ---------- Footer ---------- */

.pkp_structure_footer_wrapper {
	background: var(--bb-head) !important;
	border-top: 0 !important;
	color: #C9D8EA;
}

.pkp_structure_footer {
	width: auto !important;
	max-width: none;
	padding: 0 var(--bb-gutter) !important;
}

.pkp_structure_footer_wrapper .pkp_footer_content {
	padding-top: 40px;
}

.pkp_structure_footer_wrapper p {
	color: #C9D8EA;
}

.pkp_structure_footer_wrapper a {
	color: #fff !important;
}

.pkp_structure_footer_wrapper a:hover,
.pkp_structure_footer_wrapper a:focus {
	color: var(--bb-cyan) !important;
}

.pkp_structure_footer_wrapper h2,
.pkp_structure_footer_wrapper h3,
.pkp_structure_footer_wrapper h4 {
	font-family: var(--bb-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9FC4E6;
}

.pkp_structure_footer_wrapper .custom_footer_menu {
	background: transparent !important;
	border: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

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

/* ==========================================================
   Phase 2: homepage (templates/frontend/pages/indexJournal.tpl)
   ========================================================== */

.bb_home .bb_label {
	display: block;
	font-family: var(--bb-sans);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bb-teal);
}

.bb_section_head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 24px;
}

.bb_home .bb_section_head h2 {
	margin: 0;
	padding: 0;
	border: 0;
}

.bb_home .bb_section_head h2::after,
.bb_home .bb_article_title::after {
	content: none;
	display: none;
}

.bb_section_head > a {
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
}

/* Article building blocks */

.bb_home .bb_article_title {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--bb-serif);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bb-navy);
}

.bb_home .bb_article_title a {
	color: var(--bb-navy);
	text-decoration: none;
}

.bb_home .bb_article_title a:hover,
.bb_home .bb_article_title a:focus {
	color: var(--bb-teal);
	text-decoration: underline;
}

.bb_article_image {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	background: var(--bb-soft);
	border: 1px solid var(--bb-line);
	border-radius: 6px;
	overflow: hidden;
}

.bb_article_image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bb_home .bb_article_authors {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #3B4A5E;
}

.bb_home .bb_article_meta {
	margin: 0;
	font-size: 13px;
	color: #5A6779;
}

.bb_button {
	display: inline-block;
	border: 1px solid var(--bb-navy);
	border-radius: 6px;
	padding: 13px 22px;
	font-family: var(--bb-sans);
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	color: var(--bb-navy) !important;
	text-decoration: none !important;
	background: #fff;
}

.bb_button:hover,
.bb_button:focus {
	background: var(--bb-navy);
	color: #fff !important;
}

.bb_button--solid {
	background: var(--bb-navy);
	color: #fff !important;
}

.bb_button--solid:hover,
.bb_button--solid:focus {
	background: var(--bb-head);
}

/* Lead article */

.bb_hero {
	padding: 8px 0 44px;
	border-bottom: 1px solid var(--bb-line);
}

.bb_article--hero {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 44px;
	align-items: center;
}

.bb_article--hero .bb_article_image {
	flex: 1 1 380px;
	min-width: 0;
	height: 340px;
	padding: 12px;
	border-radius: 8px;
}

/* The cover fills the frame, also when the file is smaller than the frame. */
.bb_article--hero .bb_article_image img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

@media (max-width: 640px) {
	.bb_article--hero .bb_article_image {
		height: 240px;
	}
}

.bb_article--hero .bb_article_body {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.bb_home .bb_article--hero .bb_article_title {
	font-size: 34px;
	line-height: 1.18;
}

.bb_home .bb_article_abstract {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--bb-muted);
}

/* Cards */

.bb_featured {
	padding: 44px 0;
	border-bottom: 1px solid var(--bb-line);
	margin-bottom: 44px;
}

.bb_home .bb_cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 32px 28px;
}

.bb_home .bb_cards > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb_article--card .bb_article_image {
	aspect-ratio: 5 / 3;
	padding: 8px;
	margin-bottom: 14px;
}

.bb_article--card .bb_article_body,
.bb_article--row .bb_article_body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.bb_home .bb_article--card .bb_article_title,
.bb_home .bb_article--row .bb_article_title {
	font-size: 18px;
	line-height: 1.3;
}

/* Current issue, compact */

.bb_home .bb_issue {
	padding: 44px 0 0;
	margin-top: 44px;
	border-top: 1px solid var(--bb-line);
}

.bb_issue_body {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 48px;
}

.bb_issue_list {
	flex: 999 1 520px;
	min-width: 0;
}

.bb_issue_meta {
	flex: 1 1 240px;
	max-width: 300px;
}

.bb_article--row {
	display: flex;
	gap: 18px;
	padding: 18px 0;
	border-top: 1px solid var(--bb-line);
}

.bb_article--row .bb_article_image {
	flex: 0 0 120px;
	height: 84px;
	padding: 4px;
}

.bb_home .bb_issue_more {
	margin: 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--bb-line);
}

.bb_issue_cover img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--bb-line);
	border-radius: 6px;
}

.bb_home .bb_issue_title {
	margin: 14px 0 0;
	font-family: var(--bb-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--bb-navy);
}

.bb_home .bb_issue_date {
	margin: 4px 0 0;
	font-size: 13px;
	color: #5A6779;
}

.bb_issue_description {
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.5;
}

/* Header badges (1.8.3; theme options "Header badges"). BbThemePlugin::bbBadgesFilter
   puts one row at the start of the user menu (desktop, with captions) and one row of
   small images in the top bar (phones and tablets). --bb-badge is the image height. */

.bb_badges {
	display: none;
}

/* the parent theme styles every link in the user menu (block, padding) */
.bb_badges .bb_badge {
	display: flex !important;
	align-items: center;
	gap: 11px;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: #fff;
	text-decoration: none !important;
	border: 0 !important;
}

.bb_badge_img {
	display: block;
	flex: none;
	width: auto !important;
	height: var(--bb-badge, 52px) !important;
	max-width: calc(var(--bb-badge, 52px) * 2.5) !important;
	object-fit: contain;
	margin: 0 !important;
}

.bb_badge_text {
	display: none;
}

.bb_badge_label {
	max-width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: var(--bb-sans);
	font-size: 11px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #B9C9DC;
}

.bb_badge_value {
	white-space: nowrap;
	font-family: var(--bb-sans);
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	color: #fff;
}

a.bb_badge:hover .bb_badge_value,
a.bb_badge:focus .bb_badge_value {
	color: var(--bb-cyan);
}

a.bb_badge:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-radius: 6px;
}

@media (min-width: 992px) {

	.pkp_head_wrapper .pkp_navigation_user_wrapper.bb_has_badges {
		display: flex !important;
		align-items: center;
		top: calc(50px - var(--bb-badge, 52px) / 2) !important;
	}

	.bb_badges_desk {
		display: flex;
		align-items: center;
		gap: 18px;
		margin-right: 12px;
		padding-right: 22px;
		border-right: 1px solid rgba(255, 255, 255, .24);
	}
}

@media (min-width: 1200px) {

	.bb_badges_desk.bb_badges_cap {
		gap: 26px;
	}

	.bb_badges_cap .bb_badge_text {
		display: flex;
		flex-direction: column;
		gap: 3px;
		text-align: left;
	}

	/* three badges with captions need more room */
	.bb_badges_cap.bb_badges_n3 .bb_badge_text {
		display: none;
	}
}

@media (min-width: 1360px) {

	.bb_badges_cap.bb_badges_n3 .bb_badge_text {
		display: flex;
	}
}

@media (max-width: 991px) {

	.bb_badges_mob {
		display: flex;
		position: absolute;
		top: 0;
		right: 8px;
		z-index: 2;
		height: 40px;
		align-items: center;
	}

	.bb_badges_mob .bb_badge {
		height: 40px;
		padding: 0 4px !important;
	}

	.bb_badges_mob .bb_badge_img {
		height: 26px !important;
		max-width: 65px !important;
	}
}

/* Header button (added by js/bb.js); the mobile menu already has Submit */

.bb_submit {
	display: none;
}

@media (min-width: 992px) {

	.pkp_site_name_wrapper .bb_submit {
		display: inline-block;
		position: absolute;
		top: 30px;
		right: var(--bb-gutter);
		padding: 13px 22px;
		border-radius: 6px;
		background: var(--bb-cyan);
		color: #0B2545;
		font-family: var(--bb-sans);
		font-size: 14px;
		line-height: 1;
		font-weight: 700;
		text-decoration: none;
	}

	.pkp_site_name_wrapper .bb_submit:hover,
	.pkp_site_name_wrapper .bb_submit:focus {
		background: #fff;
		color: #0B2545;
	}

	.pkp_head_wrapper .pkp_navigation_user_wrapper {
		top: 34px !important;
		right: calc(var(--bb-gutter) + 200px) !important;
	}

	/* Homepage: full-width content, sidebar blocks in a row underneath */
	.pkp_page_index .pkp_structure_content {
		flex-direction: column;
		gap: 0;
	}

	.pkp_page_index .pkp_structure_sidebar {
		flex: none;
		width: auto !important;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
		align-items: start;
		margin-top: 56px;
		padding-top: 40px !important;
		border-top: 1px solid var(--bb-line) !important;
	}

	.pkp_page_index .pkp_structure_sidebar .pkp_block {
		margin: 0;
		padding: 0;
	}
}

/* ==========================================================
   Phase 3: theme-option sections, article page, inner pages
   ========================================================== */

/* ---------- Homepage: journal stats strip ---------- */

.bb_stats {
	margin: 0 0 36px;
	padding: 22px 0;
	background: var(--bb-soft);
	/* paint the strip across the full window width without overflow */
	box-shadow: 0 0 0 100vmax var(--bb-soft);
	clip-path: inset(0 -100vmax);
}

.bb_home .bb_stats_title {
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	font-family: var(--bb-sans);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bb-teal);
}

.bb_home .bb_stats_title::after {
	content: none;
	display: none;
}

.bb_home .bb_stats_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px 28px;
}

.bb_home .bb_stats_list > li {
	margin: 0;
	padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--bb-cyan);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bb_stat_value {
	font-family: var(--bb-serif);
	font-size: 28px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--bb-navy);
}

.bb_stat_label {
	font-size: 13px;
	line-height: 1.35;
	color: var(--bb-muted);
}

.bb_home .bb_stats_note {
	margin: 16px 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	font-size: 13px;
	color: #5A6779;
}

.bb_stats_note a {
	font-weight: 600;
	text-decoration: underline;
}

/* The strip sits under the lead article (since 1.7.9): the band itself
   separates the two, so the lead article drops its bottom line. */
.bb_home .bb_hero:has(+ script + .bb_stats),
.bb_home .bb_hero:has(+ .bb_stats) {
	border-bottom: 0;
}

.bb_home .bb_hero + script + .bb_stats,
.bb_home .bb_hero + .bb_stats {
	margin-top: 0;
}

/* ---------- Homepage: about the journal ---------- */

.bb_about {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 56px;
	padding: 0 0 44px;
	margin-bottom: 44px;
	border-bottom: 1px solid var(--bb-line);
}

.bb_about_text {
	flex: 3 1 420px;
	min-width: 0;
}

.bb_home .bb_about_text h2 {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.bb_home .bb_about_text h2::after {
	content: none;
	display: none;
}

.bb_about_intro {
	font-size: 16px;
	line-height: 1.6;
	color: #3B4A5E;
}

.bb_home .bb_about_links {
	margin: 20px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bb_home .bb_facts {
	flex: 2 1 380px;
	min-width: 0;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
}

.bb_fact {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 0;
	border-top: 1px solid var(--bb-line);
}

.bb_fact:last-child {
	border-bottom: 1px solid var(--bb-line);
}

.bb_home .bb_fact dt {
	flex: 0 0 38%;
	margin: 0;
	padding: 0;
	font-weight: 400;
	color: #5A6779;
}

.bb_home .bb_fact dd {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	text-align: right;
	color: var(--bb-ink);
}

/* ---------- Homepage: headings from the parent theme ---------- */

.bb_home .bb_issue .bb_section_head h2,
.bb_home .cmp_announcements > h2 {
	font-family: var(--bb-serif);
	font-size: 26px;
	text-transform: none;
	color: var(--bb-navy);
}

.bb_home .cmp_announcements {
	margin-top: 0;
}

/* Announcements: visible heading, two columns without the parent theme's
   floats, large paddings and divider pseudo-elements */
@media (min-width: 992px) {

	.bb_home .cmp_announcements {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		gap: 0 56px;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	.bb_home .cmp_announcements > a {
		grid-column: 1 / -1;
	}

	.bb_home .cmp_announcements > h2 {
		grid-column: 1 / -1;
		position: static !important;
		clip: auto !important;
		left: auto !important;
		width: auto !important;
		height: auto !important;
		overflow: visible !important;
		margin: 0 0 24px !important;
		padding: 0;
		border: 0;
	}

	.bb_home .cmp_announcements > h2::after,
	.bb_home .cmp_announcements::before,
	.bb_home .cmp_announcements::after,
	.bb_home .cmp_announcements > .obj_announcement_summary::before,
	.bb_home .cmp_announcements > .obj_announcement_summary::after,
	.bb_home .cmp_announcements > .more::before,
	.bb_home .cmp_announcements > .more::after {
		content: none !important;
		display: none !important;
	}

	.bb_home .cmp_announcements > .obj_announcement_summary,
	.bb_home .cmp_announcements > .more {
		float: none !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
	}

	.bb_home .cmp_announcements > .more {
		padding-left: 32px !important;
		border-left: 1px solid var(--bb-line) !important;
	}
}

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

.pkp_page_article .obj_article_details h1.page_title {
	font-family: var(--bb-serif);
	color: var(--bb-navy);
}

.pkp_page_article .main_entry h2.label {
	font-family: var(--bb-serif);
	color: var(--bb-navy);
}

.pkp_page_article .main_entry h2,
.pkp_page_article .main_entry h3 {
	scroll-margin-top: 84px;
}

.pkp_page_article .entry_details,
.pkp_page_article .entry_details h2,
.pkp_page_article .entry_details h3 {
	font-family: var(--bb-sans);
}

/* Sections list (built by js/bb.js at the end of the right column) */

.bb_toc {
	box-sizing: border-box;
	width: 100%;
	margin-top: 16px;
	padding: 16px 18px;
	background: var(--bb-soft);
	border: 1px solid var(--bb-line);
	border-radius: 8px;
	font-family: var(--bb-sans);
}

@media (min-width: 992px) {
	/* let the right column run the full height of the article so the
	   sections list has room to stay in view */
	.pkp_page_article .obj_article_details .row > .entry_details {
		align-self: stretch;
	}

	.bb_toc {
		position: sticky;
		top: 76px;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
}

.bb_toc .bb_toc_title {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #5A6779;
}

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

.bb_toc li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb_toc a {
	display: block;
	padding: 5px 0 5px 12px;
	border-left: 2px solid transparent;
	font-size: 14px;
	line-height: 1.35;
	color: #3B4A5E;
	text-decoration: none;
}

.bb_toc .bb_toc_level3 a {
	padding-left: 26px;
	font-size: 13px;
}

.bb_toc a:hover,
.bb_toc a:focus {
	color: var(--bb-navy);
	text-decoration: underline;
}

.bb_toc a.is_current {
	border-left-color: var(--bb-cyan);
	color: var(--bb-navy);
	font-weight: 600;
}

/* Sticky title bar (built by js/bb.js) */

.bb_artbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 900;
	background: #fff;
	border-bottom: 1px solid var(--bb-line);
	box-shadow: 0 2px 10px rgba(7, 50, 81, .08);
	transform: translateY(-110%);
	transition: transform .18s ease;
	visibility: hidden;
}

.bb_artbar.is_visible {
	transform: none;
	visibility: visible;
}

.bb_artbar_inner {
	box-sizing: border-box;
	max-width: 1248px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.bb_artbar_title {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: var(--bb-serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--bb-navy);
}

.bb_artbar_pdf {
	flex: none;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--bb-navy);
	color: #fff;
	font-family: var(--bb-sans);
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
}

.bb_artbar_pdf:hover,
.bb_artbar_pdf:focus {
	background: var(--bb-head);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.bb_artbar {
		transition: none;
	}
}

/* ---------- Inner pages: title with a short accent line ---------- */

.pkp_structure_main .page:not(.page_article) > h1::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	margin-top: 14px;
	background: var(--bb-cyan);
}

/* ==========================================================
   Phase 4: article page refinement, full-text plugin skin,
   archive, forms and static pages.
   The journal stylesheet and the bbFullText stylesheet load after
   this file, so rules that compete with them use !important.
   ========================================================== */

/* ---------- bbFullText plugin: use the theme's colours and fonts ---------- */

body {
	--bbft-accent: #067A8F;
	--bbft-ink: #1B2533;
	--bbft-muted: #4A586B;
	--bbft-border: #DCE4EE;
	--bbft-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

.bbft-body a {
	text-decoration-color: rgba(6, 122, 143, .35);
}

/* reading width below 992 px: see "Article page: two columns" */

.bbft-aside,
#bbft-aside {
	border-radius: 8px;
	font-family: var(--bb-sans);
}

.bbft-tab {
	font-family: var(--bb-sans);
}

@media (min-width: 993px) {
	/* Leave room for the sticky title bar (54px high). The plugin's own
	   stylesheet loads later and sets top: 14px, hence the longer selector
	   and !important. A long list scrolls inside the panel. */
	.pkp_page_article .entry_details .bbft-aside,
	.pkp_page_article .entry_details #bbft-aside {
		top: 70px !important;
		max-height: calc(100vh - 86px);
		overflow-y: auto;
	}
}

/* ---------- Article page: where the sections panel sits (1.7.21) ----------
   Since 1.8.0 the script no longer builds the left column (.bb_rail): the
   panel is in the right column from 992 px (see "right column and About this
   article" at the end of this file). The .bb_rail rules below are unused.
   As it was in 1.7.21:
   js/bb.js (placeSections) moves the panel (#bbft-aside from bbFullText, or
   .bb_toc) and marks it .bb_secpanel:
   - 1280 px and wider: own column on the left (.bb_rail), sticky;
     from 1760 px the column sits in the empty margin and the article keeps
     its two columns at full width;
   - 992-1279 px: last in the right column, sticky, nothing scrolls under it;
   - below 992 px: in its place, plus a Sections button (.bb_secbtn). */

/* 992-1279 px: last in the right column. The ordering rules of the article
   layout put the panel near the top (order: -3), hence the long selector. */
body.pkp_page_article.pkp_op_view .obj_article_details.bb-article .entry_details > #bbft-aside.bb_secpanel,
.pkp_page_article .entry_details > .bb_toc.bb_secpanel {
	order: 50 !important;
}

@media (min-width: 992px) {
	.pkp_page_article .entry_details > .bb_secpanel {
		margin-top: 16px;
	}
}

/* 1280 px and wider: three columns, panel on the left */
@media (min-width: 1280px) {
	.pkp_page_article .obj_article_details.bb_has_rail > .row {
		display: grid !important;
		grid-template-columns: 200px minmax(0, 1fr) 300px;
		column-gap: 40px !important;
		row-gap: 0 !important;
		align-items: start;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .bb_rail {
		grid-column: 1;
		grid-row: 1;
		align-self: stretch;
		min-width: 0;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .main_entry {
		grid-column: 2;
		grid-row: 1;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
		margin: 0 !important;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .entry_details {
		grid-column: 3;
		grid-row: 1;
		flex: none !important;
		float: none !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
		margin: 0 !important;
	}

	.pkp_page_article .bb_rail > .bb_secpanel {
		position: sticky !important;
		top: 70px !important;
		box-sizing: border-box;
		width: 100%;
		max-height: calc(100vh - 90px);
		margin: 0 !important;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	/* the two tabs side by side need a little less room in 200 px */
	.pkp_page_article .bb_rail > .bb_secpanel {
		overflow-x: hidden;
	}

	.pkp_page_article .bb_rail .bbft-tabs {
		display: flex;
		gap: 2px;
	}

	.pkp_page_article .bb_rail .bbft-tab {
		flex: 1 1 auto;
		min-width: 0;
		padding-left: 4px !important;
		padding-right: 4px !important;
		font-size: 11.5px !important;
		white-space: nowrap;
	}

	.pkp_page_article .bb_rail .bb_count {
		min-width: 16px;
		margin-left: 3px;
		padding: 0 4px;
		font-size: 10.5px;
		line-height: 16px;
	}

	.pkp_page_article .bb_rail .bbft-panel a {
		font-size: 13.5px;
		line-height: 1.35;
	}
}

/* 1760 px and wider: the column moves into the empty margin on the left */
@media (min-width: 1760px) {
	.pkp_page_article .obj_article_details.bb_has_rail > .row {
		display: flex !important;
		position: relative;
		column-gap: 56px !important;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .main_entry {
		flex: 1 1 auto !important;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .entry_details {
		flex: 0 0 320px !important;
	}

	.pkp_page_article .obj_article_details.bb_has_rail > .row > .bb_rail {
		position: absolute;
		top: 0;
		bottom: 0;
		right: calc(100% + 36px);
		width: 210px;
	}
}

/* Number of figures and tables on the second tab */
.bb_count {
	display: inline-block;
	min-width: 18px;
	margin-left: 5px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--bb-soft, #EEF3F8);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	color: var(--bb-navy, #1B3A5C);
}

/* Below 992 px: Sections button in the bottom left corner */
.bb_secbtn {
	display: none;
}

@media (max-width: 991px) {
	body.bb_sec_mobile .bb_secbtn {
		position: fixed;
		left: 16px;
		bottom: 16px;
		z-index: 900;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		height: 44px;
		padding: 0 16px;
		border: 0;
		border-radius: 22px;
		background: var(--bb-navy, #1B3A5C);
		color: #fff;
		font-family: var(--bb-sans);
		font-size: 14px;
		font-weight: 600;
		box-shadow: 0 4px 14px rgba(15, 35, 60, .25);
		cursor: pointer;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	body.bb_sec_mobile .bb_secbtn.is_visible,
	body.bb_sec_open .bb_secbtn {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	body.bb_sec_open .bb_secpanel {
		position: fixed !important;
		left: 12px !important;
		right: 12px !important;
		top: auto !important;
		bottom: 72px !important;
		z-index: 950;
		width: auto !important;
		max-height: 60vh !important;
		margin: 0 !important;
		overflow-y: auto !important;
		background: #fff;
		border: 1px solid var(--bb-line, #DCE4EE) !important;
		box-shadow: 0 12px 36px rgba(15, 35, 60, .32);
	}

	/* the cookie notice comes first */
	body.bb_consent_open .bb_secbtn {
		display: none !important;
	}
}

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

@media print {
	.bb_secbtn,
	.bb_rail {
		display: none !important;
	}
}

/* ---------- Article page: header ---------- */

.pkp_page_article .bb-article .bb-kicker-type,
.pkp_page_article .bb-article a.bb-cite-link {
	color: var(--bb-teal) !important;
}

.pkp_page_article .obj_article_details h1.page_title {
	max-width: 960px !important;
	margin-bottom: 18px;
	font-family: var(--bb-serif) !important;
	font-size: 36px !important;
	line-height: 1.18 !important;
	color: var(--bb-navy) !important;
}

.pkp_page_article h1.page_title .viewcounter-title-text {
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit !important;
}

.pkp_page_article h1.page_title .viewcounter-stats {
	flex: none;
	margin-top: 14px;
	font-family: var(--bb-sans) !important;
}

.pkp_page_article .bb-authors ul.authors li,
.pkp_page_article .bb-authors ul.authors a {
	font-family: var(--bb-sans) !important;
}

.pkp_page_article .bb-authors ul.authors li {
	font-size: 15px !important;
}

@media (max-width: 767px) {
	.pkp_page_article .obj_article_details h1.page_title {
		font-size: 27px !important;
	}
}

/* ---------- Article page: two columns (1.8.1, as on nature.com) ----------
   From 992 px: right column 400 px (a third of the content width on smaller
   desktops, never under 300 px), 64 px gap, and the left column takes the
   rest; the abstract, the full text, "About this article" and the Metrics
   section fill it. Below 992 px the right column leaves and the text keeps
   to 720 px. */

@media (min-width: 992px) {

	.pkp_page_article .obj_article_details > .row {
		gap: 64px !important;
	}

	.pkp_page_article .obj_article_details > .row > .main_entry {
		flex: 1 1 0 !important;
		min-width: 0 !important;
	}

	/* bbFullText (42rem) and bbMetrics (720 px) set widths of their own */
	.pkp_page_article .obj_article_details .main_entry .item.abstract,
	.pkp_page_article .obj_article_details .main_entry .bbft-body,
	.pkp_page_article .obj_article_details .main_entry .bbm,
	body.pkp_page_article .obj_article_details .main_entry .bb-about,
	.pkp_page_article .obj_article_details .main_entry .bb-related {
		max-width: none !important;
	}

	/* the parent theme's clearfix pseudo-elements act as empty flex items
	   and push both columns inwards */
	.pkp_page_article .obj_article_details > .row::before,
	.pkp_page_article .obj_article_details > .row::after {
		content: none !important;
		display: none !important;
	}

	.pkp_page_article .obj_article_details > .row > .entry_details {
		flex: 0 0 clamp(300px, 33.333%, 400px) !important;
	}
}

@media (max-width: 991px) {
	.pkp_page_article .main_entry .item.abstract,
	.pkp_page_article .bbft-body,
	body.pkp_page_article .obj_article_details .bb-about,
	.pkp_page_article .main_entry .bb-related {
		max-width: 720px !important;
	}
}

/* ---------- Article page: reading column ---------- */

.pkp_page_article .main_entry .item.abstract,
.pkp_page_article .main_entry .item.abstract p {
	font-size: 16px !important;
	line-height: 1.65 !important;
}

.pkp_page_article .main_entry h2.label {
	font-family: var(--bb-serif) !important;
	font-size: 24px !important;
	line-height: 1.25 !important;
	color: var(--bb-navy) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* ---------- Article page: right column ---------- */

.pkp_page_article .entry_details .item.galleys .galleys_links li > a {
	font-family: var(--bb-sans) !important;
	font-size: 14px !important;
	border-radius: 6px !important;
}

.pkp_page_article .entry_details .item.galleys .galleys_links li > a.obj_galley_link.pdf {
	background: var(--bb-navy) !important;
	border-color: var(--bb-navy) !important;
	color: #fff !important;
}

.pkp_page_article .entry_details .item.galleys .galleys_links li > a.obj_galley_link.pdf:hover,
.pkp_page_article .entry_details .item.galleys .galleys_links li > a.obj_galley_link.pdf:focus {
	background: var(--bb-head) !important;
}

.pkp_page_article .entry_details .bb-card-title {
	font-family: var(--bb-sans) !important;
	color: #5A6779;
}

.pkp_page_article .entry_details .item {
	border-color: var(--bb-line);
	border-radius: 8px;
}

/* ---------- Issue archive ---------- */

@media (min-width: 992px) {
	.pkp_structure_main .issues_archive {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

.pkp_structure_main .issues_archive > li {
	padding: 28px 0 !important;
	border-top: 1px solid var(--bb-line);
}

.pkp_structure_main .issues_archive > li:first-child {
	padding-top: 8px !important;
	border-top: 0;
}

.obj_issue_summary h2 {
	font-size: 22px !important;
	line-height: 1.25;
}

.obj_issue_summary h2 a,
.obj_issue_summary a.title {
	font-family: var(--bb-serif) !important;
	color: var(--bb-navy) !important;
	text-decoration: none;
}

.obj_issue_summary h2 a:hover,
.obj_issue_summary h2 a:focus {
	color: var(--bb-teal) !important;
	text-decoration: underline;
}

.obj_issue_summary .description {
	font-size: 15px !important;
	line-height: 1.55;
}

.obj_issue_summary .cover img,
.obj_issue_toc .heading .cover img {
	border: 1px solid var(--bb-line);
	border-radius: 6px;
}

/* ---------- Forms (search, login, register, contact) ---------- */

.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=search],
.pkp_structure_main .cmp_form select,
.pkp_structure_main .cmp_form textarea {
	font-family: var(--bb-sans) !important;
	font-size: 15px !important;
	color: var(--bb-ink);
	background: #fff;
	border: 1px solid #B8C4D2 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
}

.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=search] {
	height: 44px !important;
	padding: 0 12px !important;
}

.pkp_structure_main .cmp_form select {
	height: 40px !important;
	padding: 0 8px !important;
}

.pkp_structure_main .cmp_form input:focus,
.pkp_structure_main .cmp_form select:focus,
.pkp_structure_main .cmp_form textarea:focus {
	border-color: var(--bb-teal) !important;
	outline: 2px solid rgba(2, 173, 201, .35);
	outline-offset: 1px;
}

.pkp_structure_main .cmp_form fieldset {
	border: 1px solid var(--bb-line) !important;
	border-radius: 8px;
}

.pkp_structure_main .cmp_form fieldset fieldset {
	border: 0 !important;
	padding: 0 !important;
}

.pkp_structure_main .cmp_form legend {
	font-family: var(--bb-sans) !important;
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #5A6779;
}

.pkp_structure_main .cmp_form .label,
.pkp_structure_main .cmp_form label {
	font-family: var(--bb-sans);
	font-size: 14px;
}

.pkp_structure_main .cmp_form .buttons button,
.pkp_structure_main .cmp_form button.submit,
.pkp_structure_main .cmp_form .submit button,
.pkp_structure_main a.cmp_button,
.pkp_structure_main button.cmp_button {
	height: 44px !important;
	font-family: var(--bb-sans) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	background: var(--bb-navy) !important;
	color: #fff !important;
	border: 1px solid var(--bb-navy) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.pkp_structure_main .cmp_form .buttons button:hover,
.pkp_structure_main .cmp_form .submit button:hover,
.pkp_structure_main a.cmp_button:hover {
	background: var(--bb-head) !important;
}

.pkp_structure_main .cmp_form .submit button::before,
.pkp_structure_main .cmp_form .submit button::after {
	background: transparent !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
}

.pkp_structure_main .cmp_notification {
	background: var(--bb-soft);
	border: 0;
	border-left: 3px solid var(--bb-cyan);
	border-radius: 0 6px 6px 0;
	font-size: 15px;
}

/* ---------- Static pages (About, guidelines, policies) ----------
   Their content carries its own fonts and colours; bring text and
   headings back to the theme. Icon spans are left alone. */

.pkp_structure_main .page {
	font-size: 16px;
	line-height: 1.6;
}

.pkp_structure_main .page:not(.page_article) p,
.pkp_structure_main .page:not(.page_article) li,
.pkp_structure_main .page:not(.page_article) td,
.pkp_structure_main .page:not(.page_article) th,
.pkp_structure_main .page:not(.page_article) dd,
.pkp_structure_main .page:not(.page_article) dt,
.pkp_structure_main .page:not(.page_article) blockquote {
	font-family: var(--bb-sans) !important;
}

.pkp_structure_main .page:not(.page_article) h2,
.pkp_structure_main .page:not(.page_article) h3,
.pkp_structure_main .page:not(.page_article) h4 {
	font-family: var(--bb-serif) !important;
	color: var(--bb-navy) !important;
}

/* ==========================================================
   Phase 5: rotating lead article, pinned announcement,
   announcements strip (templates/frontend/pages/indexJournal.tpl)
   ========================================================== */

/* The page holds every lead article of the rotation; one is shown.
   The inline script in the homepage template moves .is_active. */

.bb_hero_item {
	display: none;
}

.bb_hero_item.is_active {
	display: block;
}


/* An announcement in place of the lead article */

.bb_article--news {
	padding: 36px 40px;
	background: var(--bb-soft);
	border-left: 4px solid var(--bb-cyan);
	border-radius: 0 8px 8px 0;
}

.bb_article--news .bb_article_image {
	background: #fff;
}

.bb_article--news .bb_article_body {
	max-width: 860px;
}

@media (max-width: 767px) {
	.bb_article--news {
		padding: 24px 20px;
	}
}

/* Announcements strip */

.bb_news {
	padding: 28px 0 32px;
	border-bottom: 1px solid var(--bb-line);
}

.bb_home .bb_news .bb_section_head {
	margin-bottom: 18px;
}

.bb_home .bb_news .bb_section_head h2 {
	font-size: 20px;
}

.bb_home .bb_news_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px 36px;
}

.bb_home .bb_news_list > li {
	margin: 0;
	padding: 2px 0 2px 16px;
	list-style: none;
	border-left: 2px solid var(--bb-line);
}

.bb_news_date {
	display: block;
	margin-bottom: 4px;
	font-family: var(--bb-sans);
	font-size: 13px;
	line-height: 1.4;
	color: #5A6779;
}

.bb_home a.bb_news_title {
	font-family: var(--bb-serif);
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--bb-navy);
	text-decoration: none;
}

.bb_home a.bb_news_title:hover,
.bb_home a.bb_news_title:focus {
	color: var(--bb-teal);
	text-decoration: underline;
}

/* ---------- Homepage: latest research (numbered list, two columns) ---------- */

.bb_latest {
	padding: 0 0 44px;
	margin-bottom: 44px;
	border-bottom: 1px solid var(--bb-line);
}

/* Directly below the announcements strip, when no articles are featured */
.bb_news + .bb_latest,
.bb_news + .bb_about {
	margin-top: 44px;
}

.bb_home .bb_latest_list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 56px;
}

.bb_home .bb_latest_list > li {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb_latest_num {
	flex: 0 0 28px;
	font-family: var(--bb-serif);
	font-size: 26px;
	line-height: 1.15;
	font-weight: 400;
	color: var(--bb-teal);
	text-align: left;
}

.bb_latest_body {
	min-width: 0;
}

.bb_home .bb_latest .bb_article_title {
	font-size: 18px;
	line-height: 1.3;
}

.bb_home .bb_latest .bb_article_authors {
	margin: 6px 0 0;
}

.bb_home .bb_latest .bb_article_meta {
	margin: 2px 0 0;
}

@media (max-width: 767px) {
	.bb_home .bb_latest_list {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
}

/* ---------- Homepage: about the journal, aligned with the other sections ---------- */

/* The empty anchor would otherwise take a column (and a gap) of the flex row */
.bb_about > a:empty,
.bb_issue > a:empty {
	position: absolute;
}

/* ---------- Article page: PDF button ---------- */

/* The word "Download" is added as ::before, which the parent theme sets in
   the icon font; without real glyphs for letters it showed in a stray font. */
.pkp_page_article .obj_galley_link::before,
.pkp_page_article .obj_galley_link::after {
	font-family: inherit !important;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: none;
}

/* ---------- Article page: author names and the author card ---------- */

.pkp_page_article .bb-authors .name.bb_author {
	cursor: pointer;
	border-bottom: 1px solid var(--bb-line);
	transition: color .15s, border-color .15s;
}

.pkp_page_article .bb-authors .name.bb_author:hover,
.pkp_page_article .bb-authors .name.bb_author:focus-visible,
.pkp_page_article .bb-authors .name.bb_author[aria-expanded="true"] {
	color: var(--bb-teal);
	border-bottom-color: var(--bb-teal);
}

.pkp_page_article .bb-authors .name.bb_author:focus-visible {
	outline: 2px solid var(--bb-cyan);
	outline-offset: 2px;
}

.bb_author .bb_icon--mail {
	width: 15px;
	height: 15px;
	margin-left: 5px;
	vertical-align: -2px;
	color: var(--bb-teal);
}

.bb_author_card {
	position: absolute;
	z-index: 1200;
	box-sizing: border-box;
	padding: 20px 22px 16px;
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(7, 50, 81, .16);
	font-family: var(--bb-sans);
	font-size: 14px;
	line-height: 1.5;
	color: var(--bb-ink);
	text-align: left;
}

.bb_author_card[hidden] {
	display: none;
}

.bb_author_card p {
	margin: 0;
	padding: 0;
}

.bb_author_card .bb_author_label {
	padding-right: 32px;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bb-teal);
}

.bb_author_card .bb_author_name {
	margin-top: 6px;
	font-family: var(--bb-serif);
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--bb-navy);
}

.bb_author_card .bb_author_affiliation {
	margin-top: 12px;
	color: var(--bb-muted);
}

.bb_author_links {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--bb-line);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bb_author_card .bb_author_link {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bb_author_link .bb_icon {
	flex: 0 0 16px;
	color: var(--bb-navy);
}

.bb_author_card a {
	color: var(--bb-navy);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bb_author_card a:hover,
.bb_author_card a:focus {
	color: var(--bb-teal);
}

.bb_author_card .bb_author_search {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--bb-line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	font-size: 13px;
	color: var(--bb-muted);
}

.bb_author_search > span {
	margin-right: 8px;
}

.bb_author_search > a + a {
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px solid var(--bb-line);
}

.bb_author_close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 28px;
	height: 28px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--bb-line);
	border-radius: 6px;
	color: var(--bb-navy);
	cursor: pointer;
}

.bb_author_close:hover,
.bb_author_close:focus {
	background: var(--bb-soft);
	border-color: var(--bb-navy);
}

.bb_author_close .bb_icon {
	width: 14px;
	height: 14px;
}

/* ---------- Images sized by the search-engine clean-up (BbSeo.php) ---------- */

/* width and height are written into the tag so the page does not jump while
   images load; the height then follows the displayed width. */
img[data-bb-dim] {
	height: auto;
}

/* Back to top button (built by js/bb.js; option "Back to top button") */

.bb_top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bb-navy);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(11, 50, 84, .28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}

.bb_top.is_visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.bb_top:hover {
	background: var(--bb-cyan);
	color: var(--bb-navy);
}

.bb_top:focus-visible {
	outline: 3px solid var(--bb-cyan);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.bb_top {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bb_top {
		transition: none;
	}
}

@media print {
	.bb_top {
		display: none;
	}
}

/* Cookie notice (built by js/bb.js; option "Cookie notice") */

.bb_consent {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 950;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-sizing: border-box;
	width: 400px;
	max-width: calc(100% - 48px);
	padding: 20px 22px;
	border: 1px solid var(--bb-line);
	border-top: 3px solid var(--bb-cyan);
	border-radius: 8px;
	background: #fff;
	color: var(--bb-ink);
	font-family: var(--bb-sans);
	box-shadow: 0 10px 32px rgba(11, 50, 84, .18);
}

.bb_consent[hidden] {
	display: none;
}

.bb_consent_text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--bb-ink);
}

.bb_consent_text a {
	color: var(--bb-teal);
	font-weight: 600;
	text-decoration: underline;
}

.bb_consent_actions {
	display: flex;
	gap: 10px;
}

.bb_consent_btn {
	flex: 1 1 0;
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid var(--bb-navy);
	border-radius: 6px;
	background: var(--bb-navy);
	color: #fff;
	font-family: var(--bb-sans);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.bb_consent_btn:hover {
	background: var(--bb-cyan);
	border-color: var(--bb-cyan);
	color: var(--bb-navy);
}

.bb_consent_btn:focus-visible {
	outline: 3px solid var(--bb-cyan);
	outline-offset: 2px;
}

.bb_consent_link {
	margin: 0;
	padding: 0 0 24px;
	font-size: 13px;
}

/* The notice and the Back to top button share the bottom of small screens. */
@media (max-width: 767px) {
	.bb_consent {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		max-width: none;
		padding: 16px 18px;
	}

	body.bb_consent_open .bb_top {
		display: none;
	}
}

@media print {
	.bb_consent {
		display: none;
	}
}

/* Article page, small screens: the View Counter plugin puts the views and
   downloads next to the title (h1 is a flex row). Move them to their own
   line under the title so the title gets the full width. */
@media (max-width: 767px) {
	.bb-article h1.viewcounter-title-host {
		flex-wrap: wrap;
	}

	.bb-article h1.viewcounter-title-host .viewcounter-title-text {
		flex: 1 1 100%;
	}

	.bb-article h1.viewcounter-title-host .viewcounter-stats {
		margin: 10px 0 0;
		margin-left: 0;
	}
}

/* Search results: sort order (built by js/bb.js) */

.bb_search_sort {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin: 0 0 18px;
	font-family: var(--bb-sans);
	font-size: 14px;
	color: var(--bb-muted);
}

.bb_search_sort label {
	margin: 0;
	font-weight: 600;
}

.bb_search_sort select {
	min-height: 38px;
	padding: 6px 32px 6px 12px;
	border: 1px solid var(--bb-line);
	border-radius: 6px;
	background-color: #fff;
	color: var(--bb-ink);
	font-family: var(--bb-sans);
	font-size: 14px;
	cursor: pointer;
}

.bb_search_sort select:focus-visible {
	outline: 3px solid var(--bb-cyan);
	outline-offset: 2px;
}

/* Contact page (templates/frontend/pages/contact.tpl, bbPages layout) */
.page_contact .bb-cards {
	margin-bottom: 40px;
}

.page_contact .bb-card h2 {
	margin: 0 0 12px;
	font-family: var(--bb-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--bb-teal);
}

.page_contact .bb-card p {
	margin: 0 0 6px;
}

.bb-contact-more h2 {
	margin: 0 0 16px;
	font-size: 24px;
}

/* Dimensions citation badge on the article page (js/bb.js; option "Dimensions citation badge") */
.entry_details > .bb-dimensions {
	order: -2;
}

.entry_details > .bb-dimensions[hidden] {
	display: none !important;
}

/* Article page: download buttons (PDF and supplementary files).
   The parent theme adds "Download " before the label and a Unicode arrow
   after it; on supplementary files the arrow was positioned on the left.
   Same layout for both, with a local SVG arrow (data URI: no request to
   another server, no icon font). */
.pkp_page_article .entry_details .obj_galley_link,
.pkp_page_article .entry_details .obj_galley_link_supplementary {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: .3em;
	position: relative;
}

.pkp_page_article .entry_details .obj_galley_link::before,
.pkp_page_article .entry_details .obj_galley_link_supplementary::before {
	content: "Download" !important;
	position: static !important;
	margin: 0 !important;
}

.pkp_page_article .entry_details .obj_galley_link::after,
.pkp_page_article .entry_details .obj_galley_link_supplementary::after {
	--bb-dl-icon: 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10.5l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
	content: "" !important;
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0 0 0 .25em !important;
	background-color: currentColor;
	-webkit-mask: var(--bb-dl-icon) center / contain no-repeat;
	mask: var(--bb-dl-icon) center / contain no-repeat;
}

/* Share buttons: local SVG icons (js/bb.js), the same size as the X icon */
.bb-share-row .bb-share-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.bb-share-row .bb-share-icon svg {
	width: 1em;
	height: 1em;
	display: block;
}

/* Related articles (TrendMD) before it loads: short note and a button (js/bb.js) */
.bb-trendmd-ask p {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--bb-muted);
}

.bb-trendmd-btn {
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--bb-navy);
	border-radius: 6px;
	background: #fff;
	color: var(--bb-navy);
	font-family: var(--bb-sans);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.bb-trendmd-btn:hover {
	background: var(--bb-navy);
	color: #fff;
}

.bb-trendmd-btn:focus-visible {
	outline: 3px solid var(--bb-cyan);
	outline-offset: 2px;
}

/* ---------- Article page: right column and "About this article" (1.8.0) ----------
   js/bb.js (arrangeArticle) leaves the file buttons and the sections panel in
   the right column and moves the other boxes into one block after the
   references: bbFullText's "About this article" (#bbft-about) or, without
   the full text, a new section (#bb-about). Option "Article page: About this
   article". */

/* the issue link in the line under the authors, after the DOI */
.pkp_page_article .bb-meta-row a.bb-meta-issue {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(27, 37, 51, .35);
	text-underline-offset: 2px;
}

.pkp_page_article .bb-meta-row a.bb-meta-issue:hover,
.pkp_page_article .bb-meta-row a.bb-meta-issue:focus {
	color: var(--bb-teal);
	text-decoration-color: currentColor;
}

/* right column: the panel follows the reader, with the full height of the screen */
@media (min-width: 992px) {
	.pkp_page_article .obj_article_details.bb_arranged > .row > .entry_details {
		flex: 0 0 clamp(300px, 33.333%, 400px) !important;
	}

	.pkp_page_article .obj_article_details.bb_arranged .entry_details > .bb_secpanel {
		position: sticky !important;
		top: 70px !important;
		max-height: calc(100vh - 90px);
		margin-top: 16px !important;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.pkp_page_article .obj_article_details.bb_arranged .entry_details > .item.galleys {
		margin-top: 0 !important;
	}

	/* the two tabs side by side on one line */
	.pkp_page_article .entry_details > .bb_secpanel .bbft-tabs {
		display: flex;
		gap: 2px;
	}

	.pkp_page_article .entry_details > .bb_secpanel .bbft-tab {
		flex: 1 1 auto;
		min-width: 0;
		padding-left: 6px !important;
		padding-right: 6px !important;
		font-size: 12.5px !important;
		white-space: nowrap;
	}
}

/* the block (width: see "Article page: two columns") */
body.pkp_page_article .obj_article_details .bb-about {
	scroll-margin-top: 80px;
}

body.pkp_page_article .obj_article_details .bb-about > .bb-about-item,
body.pkp_page_article .obj_article_details .bb-about > .bbft-info-item {
	margin: 0 !important;
	padding: 16px 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--bb-line, #DCE4EE) !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-family: var(--bb-sans);
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--bb-ink, #1B2533);
}

body.pkp_page_article .obj_article_details .bb-about > h2 + .bb-about-item,
body.pkp_page_article .obj_article_details .bb-about > h2 + .bbft-info-item {
	border-top: 0 !important;
	padding-top: 4px !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-title,
body.pkp_page_article .obj_article_details .bb-about > .bbft-info-item > h3 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: 0 !important;
	font-family: var(--bb-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	color: #5A6779 !important;
}

body.pkp_page_article .obj_article_details .bb-about > .bbft-info-item p {
	margin: 0;
	font-family: var(--bb-sans);
	font-size: 14.5px;
	line-height: 1.55;
}

/* publication details: label on the left, value next to it */
body.pkp_page_article .obj_article_details .bb-about .bb-about-details dl {
	margin: 0;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-details .bb-detail-row {
	display: grid !important;
	grid-template-columns: 120px minmax(0, 1fr);
	column-gap: 16px;
	margin: 0 !important;
	padding: 3px 0 !important;
	border: 0 !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-details dt,
body.pkp_page_article .obj_article_details .bb-about .bb-about-details dd {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--bb-sans) !important;
	font-size: 14.5px !important;
	line-height: 1.5 !important;
	text-align: left !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-details dt {
	font-weight: 400 !important;
	color: #5A6779 !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-details dd {
	color: var(--bb-ink, #1B2533) !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-details dd a {
	color: var(--bb-teal) !important;
}

/* how to cite */
body.pkp_page_article .obj_article_details .bb-about .bb-about-cite {
	scroll-margin-top: 80px;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-cite-text {
	margin: 0 0 10px !important;
	padding: 12px 14px;
	border-left: 3px solid var(--bb-cyan, #02ADC9);
	border-radius: 0 6px 6px 0;
	background: var(--bb-soft, #F2F6FA);
	font-family: var(--bb-sans) !important;
	font-size: 14.5px !important;
	line-height: 1.55 !important;
	color: var(--bb-ink, #1B2533) !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-copy {
	min-height: 34px;
	padding: 6px 14px !important;
	border: 1px solid var(--bb-navy) !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--bb-navy) !important;
	font-family: var(--bb-sans) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-copy:hover,
body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-copy:focus-visible {
	background: var(--bb-navy) !important;
	color: #fff !important;
}

/* related articles: the part already has its title, so TrendMD's own is hidden */
body.pkp_page_article .obj_article_details .bb-about .bb-about-related {
	padding-bottom: 0 !important;
}

.pkp_page_article .bb-about .bb-about-related #trendmd-suggestions h2 {
	display: none !important;
}

@media (max-width: 480px) {
	body.pkp_page_article .obj_article_details .bb-about .bb-about-details .bb-detail-row {
		grid-template-columns: 96px minmax(0, 1fr);
		column-gap: 10px;
	}
}

@media print {
	.pkp_page_article .bb-about .bb-about-share,
	.pkp_page_article .bb-about .bb-about-related,
	.pkp_page_article .bb-about .bb-copy {
		display: none !important;
	}
}

/* ---------- Article page: full text without its "Full text" title (1.8.1) ----------
   bbFullText prints an h2 "Full text" above the first section; the sections
   carry their own titles, so it is hidden. */

.pkp_page_article .main_entry .bbft > .bbft-heading {
	display: none !important;
}

/* ---------- Article page: related articles (1.8.1) ----------
   js/bb.js (placeRelated) moves TrendMD from the right column into
   section#bb-related under the abstract and its keywords. TrendMD's own
   class names change between its releases, so its markup is reached through
   the element structure: #trendmd-suggestions > ins > div > (h2, list
   columns, "Powered by"). Numbered like "Latest research" on the homepage. */

@keyframes bb-late-show {
	to {
		visibility: visible;
	}
}

/* until the script has moved it, the box stays invisible in the right column */
.pkp_page_article .obj_article_details:not(.bb_arrange_failed) .entry_details > .bb-trendmd {
	visibility: hidden;
	animation: bb-late-show 0s linear 4s forwards;
}

.pkp_page_article .main_entry .bb-related {
	margin: 36px 0 8px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	scroll-margin-top: 80px;
}

.pkp_page_article .main_entry .bb-related[hidden] {
	display: none !important;
}

.pkp_page_article .main_entry .bb-related > h2.label {
	margin: 0 0 18px !important;
}

.bb-related #trendmd-suggestions,
.bb-related #trendmd-suggestions ins {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-decoration: none;
}

.bb-related #trendmd-suggestions ins > div {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-family: var(--bb-sans);
	counter-reset: bb-related;
}

/* the section has its title already */
.bb-related #trendmd-suggestions h2 {
	display: none !important;
}

.bb-related #trendmd-suggestions ins > div > h2 + div {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 56px;
	margin: 0 !important;
	padding: 0 !important;
}

.bb-related #trendmd-suggestions ins > div > h2 + div > div {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
}

.bb-related #trendmd-suggestions ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.bb-related #trendmd-suggestions li {
	position: relative;
	display: block !important;
	margin: 0 !important;
	padding: 14px 0 14px 40px !important;
	border: 0 !important;
	border-top: 1px solid var(--bb-line) !important;
	background: none !important;
	counter-increment: bb-related;
}

.bb-related #trendmd-suggestions ul > li:first-child {
	border-top: 0 !important;
	padding-top: 2px !important;
}

.bb-related #trendmd-suggestions li::before {
	content: counter(bb-related);
	position: absolute;
	top: 10px;
	left: 0;
	width: 28px;
	font-family: var(--bb-serif);
	font-size: 26px;
	line-height: 1.15;
	font-weight: 400;
	color: var(--bb-teal);
}

.bb-related #trendmd-suggestions ul > li:first-child::before {
	top: -2px;
}

.bb-related #trendmd-suggestions li > a {
	display: block;
	margin: 0;
	font-family: var(--bb-serif) !important;
	font-size: 16px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	color: var(--bb-navy) !important;
	text-decoration: none !important;
}

.bb-related #trendmd-suggestions li > a:hover,
.bb-related #trendmd-suggestions li > a:focus-visible {
	color: var(--bb-teal) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

.bb-related #trendmd-suggestions li > div,
.bb-related #trendmd-suggestions li > div span {
	font-family: var(--bb-sans) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: var(--bb-muted) !important;
}

.bb-related #trendmd-suggestions li > div {
	margin: 4px 0 0 !important;
}

/* "Powered by TrendMD" stays, small */
.bb-related #trendmd-suggestions ins > div > div:last-child {
	margin-top: 10px !important;
	opacity: .8;
}

/* before TrendMD loads: the note and the button (js/bb.js) */
.bb-related .bb-trendmd-ask {
	padding: 14px 16px;
	border: 1px solid var(--bb-line);
	border-radius: 8px;
	background: var(--bb-soft);
}

@media (max-width: 767px) {
	.bb-related #trendmd-suggestions ins > div > h2 + div {
		grid-template-columns: minmax(0, 1fr);
	}

	.bb-related #trendmd-suggestions ins > div > h2 + div > div + div ul > li:first-child {
		border-top: 1px solid var(--bb-line) !important;
		padding-top: 14px !important;
	}

	.bb-related #trendmd-suggestions ins > div > h2 + div > div + div ul > li:first-child::before {
		top: 10px;
	}
}

@media print {
	.pkp_page_article .main_entry .bb-related {
		display: none !important;
	}
}

/* ---------- Article page: sections panel, References tab (1.8.2) ----------
   js/bb.js (extendSections) adds "Abstract" to the Sections list and a third
   tab with the reference list to bbFullText's panel. */

.pkp_page_article .bb_secpanel.bb_tabs3 .bbft-tab {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 4px !important;
	padding-right: 4px !important;
	font-size: 12px !important;
	white-space: nowrap;
}

.pkp_page_article .bb_secpanel.bb_tabs3 .bbft-tab .bb_count {
	margin-left: 4px;
}

.pkp_page_article .bb_secpanel .bb_refpanel ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pkp_page_article .bb_secpanel .bb_refpanel li {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 8px 4px;
	border-top: 1px solid var(--bb-line);
	font-family: var(--bb-sans);
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--bb-ink);
}

.pkp_page_article .bb_secpanel .bb_refpanel li:first-child {
	border-top: 0;
}

.pkp_page_article .bb_secpanel .bb_refpanel .bb_refnum {
	flex: 0 0 30px;
	display: block !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	font-weight: 600;
	color: var(--bb-teal) !important;
	text-align: right;
	text-decoration: none;
}

.pkp_page_article .bb_secpanel .bb_refpanel a.bb_refnum:hover,
.pkp_page_article .bb_secpanel .bb_refpanel a.bb_refnum:focus-visible {
	text-decoration: underline;
}

.pkp_page_article .bb_secpanel .bb_refpanel .bb_reftext {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.pkp_page_article .bb_secpanel .bb_refpanel .bb_reftext a {
	display: inline !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: var(--bb-teal) !important;
	text-decoration: underline;
	text-decoration-color: rgba(6, 122, 143, .35);
}

/* ==========================================================
   1.9.0: a calmer, editorial look
   Thin rules instead of boxes, square corners, no shadows, and
   one accent: the cyan stays for small highlights, navy carries
   lines and buttons. Everything here overrides the rules above
   and a few rules of the bb plugins (bbFullText, bbMetrics,
   bbPages, bbSimilar); remove this block to get 1.8.5 back.
   ========================================================== */

:root {
	--bb-radius: 2px;
	--bb-paper: #F7F9FB;   /* quiet ground for image frames */
}

/* ---------- Corners and shadows ---------- */

.obj_galley_link,
.bb_article_image,
.bb_article--hero .bb_article_image,
.bb_button,
.bb_issue_cover img,
.bb_toc,
.bb_artbar_pdf,
.bbft-aside,
#bbft-aside,
.pkp_page_article .entry_details .item,
.obj_issue_summary .cover img,
.obj_issue_toc .heading .cover img,
.pkp_structure_main .cmp_form fieldset,
.bb_author_card,
.bb_author_close,
.bb_consent,
.bb_consent_btn,
.bb_search_sort select,
.bb-trendmd-btn,
.bb-related .bb-trendmd-ask,
.obj_article_summary .cover img {
	border-radius: var(--bb-radius);
}

.pkp_page_article .entry_details .item.galleys .galleys_links li > a,
.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=search],
.pkp_structure_main .cmp_form select,
.pkp_structure_main .cmp_form textarea,
.pkp_structure_main .cmp_form .buttons button,
.pkp_structure_main .cmp_form button.submit,
.pkp_structure_main .cmp_form .submit button,
body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-copy {
	border-radius: var(--bb-radius) !important;
}

.pkp_structure_main .cmp_notification,
.bb_article--news,
body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-cite-text {
	border-radius: 0;
}

.bb_artbar {
	box-shadow: none;
	border-bottom: 1px solid var(--bb-line);
}

.bb_author_card,
.bb_consent {
	box-shadow: none;
	border: 1px solid var(--bb-navy);
}

/* ---------- Header: outlined Submit button, navy menu line ---------- */

@media (min-width: 992px) {

	.pkp_site_name_wrapper .bb_submit {
		padding: 12px 21px;
		border: 1px solid rgba(255, 255, 255, .85);
		border-radius: var(--bb-radius);
		background: transparent;
		color: #fff;
		font-weight: 600;
	}

	.pkp_site_name_wrapper .bb_submit:hover,
	.pkp_site_name_wrapper .bb_submit:focus {
		background: #fff;
		border-color: #fff;
		color: var(--bb-head);
	}

	.pkp_site_nav_menu {
		border-bottom-color: var(--bb-navy);
	}

	.pkp_navigation_primary > li > a:hover,
	.pkp_navigation_primary > li > a:focus,
	.pkp_navigation_primary > li.show > a {
		color: var(--bb-navy) !important;
		border-bottom-color: var(--bb-navy) !important;
	}

	/* Drop-down menus: a ruled list, each item with a line of explanation
	   (theme option "Main menu: a line of explanation under menu items") */
	.pkp_navigation_primary ul {
		min-width: 300px;
		margin-top: 0;
		padding: 4px 20px 8px !important;
		border: 1px solid var(--bb-line);
		border-top: 2px solid var(--bb-navy);
		border-radius: 0;
		box-shadow: none;
	}

	.pkp_navigation_primary ul a {
		display: block;
		padding: 12px 0 !important;
		border-left: 0 !important;
		border-top: 1px solid var(--bb-line) !important;
		font-size: 15px !important;
		line-height: 1.3;
		font-weight: 600 !important;
		color: var(--bb-navy) !important;
		white-space: normal !important;
	}

	.pkp_navigation_primary ul li:first-child > a {
		border-top-color: transparent !important;
	}

	.pkp_navigation_primary ul a:hover,
	.pkp_navigation_primary ul a:focus {
		background: none !important;
		color: var(--bb-teal) !important;
		border-left-color: transparent !important;
	}

	/* Five items or more: two columns, from 1200 px */
	@media (min-width: 1200px) {

		.pkp_navigation_primary ul.bb_nav_wide {
			width: 600px;
		}

		.pkp_navigation_primary ul.bb_nav_wide.show {
			display: grid !important;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			column-gap: 32px;
		}

		.pkp_navigation_primary ul.bb_nav_wide li:nth-child(2) > a {
			border-top-color: transparent !important;
		}
	}
}

.bb_nav_note {
	display: none;
}

@media (min-width: 992px) {

	.pkp_navigation_primary ul .bb_nav_note {
		display: block;
		margin-top: 3px;
		font-size: 13px;
		line-height: 1.4;
		font-weight: 400;
		color: var(--bb-muted);
	}
}

/* ---------- Homepage ---------- */

.bb_article_image {
	background: var(--bb-paper);
}

/* Lead article: text button with a rule under it, in place of the filled one */
.bb_home .bb_article--hero .bb_button--solid {
	padding: 10px 0;
	border: 0 !important;
	border-bottom: 2px solid var(--bb-navy) !important;
	border-radius: 0;
	background: none !important;
	color: var(--bb-navy) !important;
}

.bb_home .bb_article--hero .bb_button--solid::after {
	content: " \2192";
}

.bb_home .bb_article--hero .bb_button--solid:hover,
.bb_home .bb_article--hero .bb_button--solid:focus {
	background: none !important;
	color: var(--bb-teal) !important;
	border-bottom-color: var(--bb-teal) !important;
}

/* Journal stats: ruled strip on white, figures divided by hairlines */
.bb_stats {
	margin: 0 0 44px;
	padding: 20px 0 24px;
	background: none;
	box-shadow: none;
	clip-path: none;
	border-top: 2px solid var(--bb-navy);
	border-bottom: 1px solid var(--bb-line);
}

.bb_home .bb_stats_list {
	gap: 20px 0;
}

.bb_home .bb_stats_list > li {
	padding: 0 20px;
	border-left: 1px solid var(--bb-line);
}

.bb_home .bb_stats_list > li:first-child {
	padding-left: 0;
	border-left: 0;
}

.bb_stat_value {
	font-size: 32px;
}

/* The lead article keeps its distance from the strip now that the
   strip is no longer a coloured band */
.bb_home .bb_hero:has(+ script + .bb_stats),
.bb_home .bb_hero:has(+ .bb_stats) {
	padding-bottom: 44px;
}

/* Featured articles: each card hangs from a navy rule */
.bb_home .bb_featured .bb_cards > li {
	padding-top: 16px;
	border-top: 1px solid var(--bb-navy);
}

.bb_home .bb_news_list > li {
	border-left-width: 1px;
}

/* One rule between About the journal and Current issue, not two */
.bb_home .current_issue.bb_issue {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

.bb_article_datelabel {
	color: var(--bb-muted);
}

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

/* The last crumb was the article number; the crumbs end with the issue */
.bb-crumbs .bb-crumbs-current,
.bb-crumbs .bb-crumbs-sep:nth-last-of-type(2) {
	display: none;
}

/* Sections panel: the current section is marked by the line and the
   colour, without the pink ground */
html body #bbft-aside .bbft-panel a.is-current,
html body .bbft-aside .bbft-panel a.is-current {
	background: none !important;
	color: var(--bb-navy) !important;
	font-weight: 600;
	border-left-color: var(--bb-navy) !important;
}

html body #bbft-aside,
html body .bbft-aside,
.bb_toc {
	background: #fff;
	border: 1px solid var(--bb-line);
	border-top: 2px solid var(--bb-navy);
	border-radius: 0;
}

body.pkp_page_article .obj_article_details .bb-about .bb-about-cite .bb-cite-text {
	background: none;
	border-left: 2px solid var(--bb-navy);
}

/* Boxes of the bb plugins on the article page: square, no shadows */
body.pkp_page_article .bbm .bbm-card,
body.pkp_page_article .bbm .bbm-tile,
body.pkp_page_article .bbsim,
body.pkp_page_article .bbsim img {
	border-radius: var(--bb-radius) !important;
	box-shadow: none !important;
}

/* "Similar content": a ruled block on white, like the rest of the page */
body.pkp_page_article .bbsim {
	background: none !important;
	border: 0 !important;
	border-top: 2px solid var(--bb-navy) !important;
	border-bottom: 1px solid var(--bb-line) !important;
	border-radius: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ---------- Inner pages (Submissions, Editorial Board, bbPages pages) ----------
   The intro block is a ruled block on white; cards and buttons are square. */

html body .pkp_structure_main .bb-hero,
html body .pkp_structure_main .bb-sub-hero,
html body .pkp_structure_main .bb-eb-hero {
	background: none !important;
	border: 0 !important;
	border-top: 2px solid var(--bb-navy) !important;
	border-bottom: 1px solid var(--bb-line) !important;
	border-radius: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

html body .pkp_structure_main .bb-card,
html body .pkp_structure_main .bb-metric,
html body .pkp_structure_main .bb-apc,
html body .pkp_structure_main .bb-types-wrap,
html body .pkp_structure_main .bb-btn,
html body .pkp_structure_main .bb-cta,
html body .pkp_structure_main .bb-sub-cta,
html body .pkp_structure_main .bb-eb-cta,
html body .pkp_structure_main .bb-eb-lead-card,
html body .pkp_structure_main .bb-eb-card,
html body .pkp_structure_main .bb-eb-office-card,
html body .pkp_structure_main .bb-eb-more {
	border-radius: var(--bb-radius) !important;
	box-shadow: none !important;
}

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

.bb_search_adv {
	margin: 0 0 20px;
	border-top: 1px solid var(--bb-line);
	border-bottom: 1px solid var(--bb-line);
}

.bb_search_adv > summary {
	padding: 12px 0;
	font-family: var(--bb-sans);
	font-size: 14px;
	font-weight: 600;
	color: var(--bb-navy);
	cursor: pointer;
}

.bb_search_adv > summary:hover,
.bb_search_adv > summary:focus {
	color: var(--bb-teal);
}

.pkp_structure_main .cmp_form .bb_search_adv fieldset.search_advanced {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.pkp_structure_main .cmp_form .bb_search_adv fieldset.search_advanced > legend {
	display: none;
}

/* ---------- Collections ---------- */

.pkp_page_collections .page nav[aria-label="Journal collections"] {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.pkp_page_collections .page nav[aria-label="Journal collections"] ul li a {
	height: auto !important;
	min-height: 64px;
	border-radius: var(--bb-radius) !important;
	box-shadow: none !important;
}

.pkp_page_collections .page nav[aria-label="Journal collections"] ul li a span:first-child {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	line-height: 1.3;
}

/* ---------- Footer: partner logos as even grey tiles ---------- */

.pkp_structure_footer_wrapper .pkp_footer_content img:not([src*="CC-by"]):not([src*="cc-by"]) {
	box-sizing: content-box;
	height: 30px !important;
	width: auto !important;
	max-width: 120px;
	padding: 7px 10px;
	background: #fff;
	border-radius: var(--bb-radius);
	object-fit: contain;
	vertical-align: middle;
	filter: grayscale(1);
	opacity: .92;
	transition: filter .15s ease, opacity .15s ease;
}

.pkp_structure_footer_wrapper .pkp_footer_content a:hover img:not([src*="CC-by"]):not([src*="cc-by"]),
.pkp_structure_footer_wrapper .pkp_footer_content a:focus img:not([src*="CC-by"]):not([src*="cc-by"]),
.pkp_structure_footer_wrapper .pkp_footer_content img:not([src*="CC-by"]):not([src*="cc-by"]):hover {
	filter: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {

	.pkp_structure_footer_wrapper .pkp_footer_content img {
		transition: none;
	}
}
