/*!
 * Panoply Journal: CIRIS brand layer for the OJS 3.5 "Default" theme
 * --------------------------------------------------------------------
 * Upload at: Settings > Website > Appearance > Advanced > Journal style sheet
 * OJS loads this file AFTER the theme stylesheet (PKPTemplateManager,
 * STYLE_SEQUENCE_LATE), so these rules win without needing !important.
 *
 * Target:   OJS 3.5.0.6, Default theme (plugins/themes/default, stable-3_5_0)
 * Brand:    navy #0b1f3a, gold #c7a34b, cream #f7f4ef (as on www.ciris.info)
 * Fonts:    the same system font stacks used on www.ciris.info. No web-font
 *           CDN is added; nothing here downloads a font.
 * Rules:    colours, type, spacing, borders only. Nothing functional is
 *           hidden (login, register, user menu, submissions, search,
 *           language toggle all stay visible).
 *
 * Sections
 *   1. Tokens          6. Issue table of contents and article cards
 *   2. Base and focus  7. Article page
 *   3. Header          8. Sidebar blocks
 *   4. Mobile nav      9. Buttons and forms
 *   5. Content         10. Footer (incl. the custom .ciris-full-footer HTML)
 */

/* 1. Tokens ---------------------------------------------------------- */
:root {
	--pj-navy: #0b1f3a;
	--pj-navy-2: #14355f;
	--pj-navy-deep: #071627;
	--pj-gold: #c7a34b;
	--pj-gold-light: #f0d58a;      /* text on navy, 11.5:1 */
	--pj-gold-hover: #e6c66f;      /* text on navy, 10:1 */
	--pj-gold-text: #856727;       /* gold-looking text on cream, 4.8:1 */
	--pj-cream: #f7f4ef;
	--pj-ink: #1a2332;             /* body text on cream, 14.4:1 */
	--pj-muted: #4a5568;           /* secondary text, 6.9:1 on cream */
	--pj-line: #e2ddd4;
	--pj-link: #14355f;
	--pj-focus: #1a6fb5;
	--pj-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--pj-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--pj-radius: .85rem;
	--pj-shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
}

/* 2. Base and focus -------------------------------------------------- */
html,
body {
	font-family: var(--pj-sans);
	font-size: 16px;               /* Default theme uses 14px; ciris.info reads at ~17px */
	line-height: 1.6;
	color: var(--pj-ink);
	background: var(--pj-cream);
}

a {
	color: var(--pj-link);
	text-underline-offset: .2em;
}

a:hover,
a:focus {
	color: var(--pj-gold-text);
}

/* Visible keyboard focus everywhere (the Default theme removes outlines on
   several nav links and swaps colours instead; we add a clear ring back). */
:focus-visible {
	outline: 3px solid var(--pj-focus);
	outline-offset: 3px;
}

.pkp_structure_head :focus-visible,
.pkp_structure_footer_wrapper :focus-visible {
	outline-color: var(--pj-gold-hover);
}

.pkp_structure_main h1,
.pkp_structure_main h2,
.pkp_structure_main h3,
.pkp_block .title,
.obj_article_summary > .title {
	font-family: var(--pj-serif);
	color: var(--pj-navy);
	letter-spacing: -.01em;
}

.pkp_structure_main h1 {
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
	line-height: 1.2;
}

.pkp_structure_main h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	line-height: 1.25;
}

.pkp_structure_main h3 {
	font-size: 1.25rem;
	line-height: 1.3;
}

/* Skip links (cmp_skip_to_content) keep working; just brand them. */
.cmp_skip_to_content a:focus {
	background: #fff;
	color: var(--pj-navy);
	outline: 3px solid var(--pj-gold);
}

/* 3. Header ---------------------------------------------------------- */
.pkp_structure_head {
	background: var(--pj-navy);
	border-bottom: 3px solid var(--pj-gold);
}

/* Logo: the white "CIRIS" wordmark (CIRISLogdef) */
.pkp_site_name .is_img img {
	max-height: 64px;
}

/* "Panoply Journal" label next to the CIRIS logo, styled like the
   ciris.info brand tagline. It becomes part of the logo link text, so the
   link reads "<logo alt text> Panoply Journal". Delete this rule if you
   prefer the logo alone. */
.pkp_site_name .is_img {
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	text-decoration: none;
}

.pkp_site_name .is_img::after {
	content: "Panoply Journal";
	padding-left: .9rem;
	border-left: 2px solid var(--pj-gold);
	font-family: var(--pj-serif);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
}

/* Text title fallback (if no logo is uploaded) */
.pkp_site_name .is_text {
	font-family: var(--pj-serif);
	color: #fff;
}

/* Primary navigation (desktop values; mobile overrides in section 4) */
.pkp_navigation_primary > li > a {
	color: #fff;
	font-size: .9rem;
	font-weight: 600;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a[aria-expanded="true"] {
	color: var(--pj-gold-hover);
	border-color: var(--pj-gold);
}

.pkp_navigation_primary > li > a:focus {
	background: var(--pj-gold);
	color: var(--pj-navy);
}

/* Search link in the nav row */
.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper a:hover {
	color: #fff;
	font-weight: 600;
	font-size: .9rem;
}

.pkp_navigation_search_wrapper a:hover {
	border-color: var(--pj-gold);
}

.pkp_navigation_search_wrapper a:focus {
	background: var(--pj-gold);
	color: var(--pj-navy);
}

.pkp_navigation_search_wrapper .fa-search {
	color: var(--pj-gold);
}

.pkp_navigation_search_wrapper a:focus .fa-search {
	color: var(--pj-navy);
}

/* User menu (Register / Login / username, task count) */
.pkp_navigation_user a {
	color: rgba(255, 255, 255, .9);
}

.pkp_navigation_user > li > a:hover {
	color: var(--pj-gold-hover);
}

.pkp_navigation_user > li > a:focus {
	background: var(--pj-gold);
	color: var(--pj-navy);
}

.pkp_navigation_user .task_count {
	background: var(--pj-gold);
	color: var(--pj-navy);
	font-weight: 700;
}

/* Dropdown menus (primary "More Info", user menu) */
.pkp_nav_list ul,
.pkp_site_nav_menu .dropdown-menu {
	background: var(--pj-navy);
	border: 1px solid rgba(255, 255, 255, .19);
	border-radius: .6rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.pkp_nav_list ul a,
.pkp_navigation_primary ul a,
.pkp_navigation_user ul a {
	color: #fff;
	border-left-color: transparent;
}

.pkp_nav_list ul a:hover,
.pkp_nav_list ul a:focus,
.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus {
	background: var(--pj-navy-2);
	border-color: var(--pj-gold);
	color: var(--pj-gold-light);
}

@media (min-width: 992px) {
	/* More breathing room around the logo, like the ciris.info header */
	.has_site_logo .pkp_head_wrapper {
		padding-top: 2.75rem;
	}

	.pkp_site_name {
		margin-bottom: .5rem;
	}

	.pkp_navigation_user {
		font-size: .85rem;
	}

	.pkp_navigation_user_wrapper {
		padding-top: .35rem;
	}
}

/* 4. Mobile navigation (< 992px) ------------------------------------ */
@media (max-width: 991.98px) {
	/* Taller bar so the logo and a 64px tap target fit */
	.pkp_site_name_wrapper {
		height: 64px;
	}

	.pkp_site_nav_toggle {
		width: 64px;
		height: 64px;
		box-shadow: 1px 0 0 rgba(255, 255, 255, .15);
	}

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

	.pkp_site_nav_toggle:focus:not(:focus-visible) {
		outline: 0;
	}

	.pkp_site_nav_toggle > span,
	.pkp_site_nav_toggle > span::before,
	.pkp_site_nav_toggle > span::after {
		border-color: var(--pj-gold-hover);
	}

	.pkp_site_nav_toggle > span::before,
	.pkp_site_nav_toggle > span::after {
		background: var(--pj-gold-hover);
	}

	.pkp_site_name {
		left: 64px;
		padding-left: .9rem;
	}

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

	.pkp_site_name .is_img {
		gap: .6rem;
	}

	.pkp_site_name .is_img::after {
		padding-left: .6rem;
		font-size: 1rem;
	}

	.pkp_site_name .is_text {
		line-height: 64px;
	}

	/* Opened menu panel */
	.pkp_site_nav_menu {
		background: var(--pj-navy);
		padding: .5rem 1rem 1.25rem;
		border-bottom: 3px solid var(--pj-gold);
		box-shadow: 0 12px 24px rgba(0, 0, 0, .25);
	}

	.pkp_site_nav_menu a {
		display: block;
		min-height: 44px;
		padding: .65rem .25rem;
		font-size: 1rem;
		color: #fff;
	}

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

	.pkp_navigation_primary > li {
		border-bottom: 1px solid rgba(255, 255, 255, .12);
	}

	.pkp_navigation_primary > li:last-child {
		border-bottom: 0;
	}

	.pkp_navigation_primary > li > a {
		font-size: 1rem;
	}

	/* Sub-menu items are shown inline on mobile */
	.pkp_site_nav_menu ul ul,
	.pkp_site_nav_menu .dropdown-menu {
		background: transparent;
		border: 0;
		box-shadow: none;
		padding-left: 1rem;
	}

	.pkp_site_nav_menu ul ul a {
		font-size: .95rem;
		color: rgba(255, 255, 255, .88);
	}

	.pkp_navigation_search_wrapper,
	.pkp_navigation_user.pkp_navigation_user {
		border-top-color: rgba(255, 255, 255, .2);
	}
}

/* 5. Content area ---------------------------------------------------- */
/* Cream page, no grey column rules (purely decorative lines in Default) */
.pkp_structure_main::before,
.pkp_structure_main::after {
	background: transparent;
}

.pkp_structure_content {
	padding-top: 2.25rem;
	padding-bottom: 3rem;
}

/* Gold rule under page titles */
.pkp_structure_main .page > h1,
.pkp_structure_main .page_title,
.cmp_breadcrumbs .current h1 {
	color: var(--pj-navy);
}

.pkp_structure_main .page > h1::after,
.obj_article_details > .page_title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	margin-top: .9rem;
	background: var(--pj-gold);
	border-radius: 2px;
}

.cmp_breadcrumbs {
	font-size: .85rem;
	color: var(--pj-muted);
}

.cmp_breadcrumbs a {
	color: var(--pj-link);
}

.cmp_breadcrumbs .separator {
	color: var(--pj-gold-text);
}

/* Homepage image: keep it, but as a cropped banner instead of a tall photo */
.pkp_page_index .homepage_image {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
}

.pkp_page_index .homepage_image img {
	width: 100%;
	height: clamp(180px, 28vw, 320px);
	object-fit: cover;
	object-position: center 40%;
	border-radius: var(--pj-radius);
	box-shadow: var(--pj-shadow);
}

.pkp_page_index .homepage_about {
	font-size: 1.05rem;
}

/* "Current Issue" heading as a gold eyebrow, issue title as the headline */
.pkp_page_index .current_issue > h2 {
	margin: 2.5rem 0 .4rem;
	font-family: var(--pj-sans);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--pj-gold-text);
}

.pkp_page_index .current_issue_title {
	margin-bottom: 1.5rem;
	font-family: var(--pj-serif);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--pj-navy);
}

.pkp_page_index .current_issue .read_more {
	display: inline-block;
	margin-top: 1.5rem;
	padding: .7rem 1.3rem;
	border-radius: 999px;
	background: var(--pj-navy);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.pkp_page_index .current_issue .read_more:hover,
.pkp_page_index .current_issue .read_more:focus {
	background: var(--pj-navy-2);
	color: var(--pj-gold-light);
}

.pkp_page_index .cmp_announcements {
	border-color: var(--pj-line);
}

/* Announcements (homepage and archive) */
.obj_announcement_summary .date,
.obj_announcement_full .date {
	color: var(--pj-muted);
}

.obj_announcement_summary h2 a,
.obj_announcement_summary h3 a,
.obj_announcement_summary h4 a {
	text-decoration: none;
}

/* Notifications */
.cmp_notification {
	background: #fff;
	border-left: 5px solid var(--pj-gold);
	border-radius: .5rem;
	box-shadow: var(--pj-shadow);
}

/* Pagination */
.cmp_pagination {
	color: var(--pj-muted);
}

/* 6. Issue table of contents and article cards ----------------------- */
.obj_issue_toc .cover img,
.obj_issue_summary .cover img {
	border-radius: .5rem;
	box-shadow: var(--pj-shadow);
}

.obj_issue_toc .description {
	color: var(--pj-ink);
}

/* Section dividers: gold rule with a navy serif label on cream */
@media (min-width: 768px) {
	.obj_issue_toc .galleys::before,
	.obj_issue_toc .section::before {
		border-top: 2px solid var(--pj-gold);
	}

	.obj_issue_toc .galleys > h2,
	.obj_issue_toc .galleys > h3,
	.obj_issue_toc .section > h2,
	.obj_issue_toc .section > h3 {
		background: var(--pj-cream);
		font-family: var(--pj-serif);
		font-size: 1.25rem;
		font-weight: 700;
		color: var(--pj-navy);
	}
}

@media (max-width: 767.98px) {
	.obj_issue_toc .section > h2,
	.obj_issue_toc .section > h3 {
		padding-bottom: .4rem;
		border-bottom: 2px solid var(--pj-gold);
	}
}

/* Article summaries as cards (issue TOC, homepage, search, sections) */
.cmp_article_list > li {
	margin-bottom: 1rem;
}

.obj_article_summary {
	position: relative;
	padding: 1.15rem 1.35rem 1.25rem;
	background: #fff;
	border: 1px solid var(--pj-line);
	border-radius: var(--pj-radius);
	box-shadow: var(--pj-shadow);
	transition: box-shadow .15s ease, border-color .15s ease;
}

.obj_article_summary:hover,
.obj_article_summary:focus-within {
	border-color: rgba(199, 163, 75, .7);
	box-shadow: 0 2px 4px rgba(11, 31, 58, .08), 0 12px 28px rgba(11, 31, 58, .10);
}

.obj_article_summary > .title {
	font-size: 1.15rem;
	line-height: 1.35;
}

.obj_article_summary > .title a {
	color: var(--pj-navy);
}

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

.obj_article_summary .subtitle {
	color: var(--pj-muted);
}

.obj_article_summary .meta {
	font-size: .9rem;
	color: var(--pj-muted);
}

.obj_article_summary .authors {
	color: var(--pj-ink);
	font-style: italic;
}

.obj_article_summary .pages,
.obj_article_summary .published {
	color: var(--pj-muted);
}

.obj_article_summary .cover img {
	border-radius: .5rem;
}

/* Galley buttons (PDF, HTML, ...) as small pills */
.obj_galley_link {
	padding: 0 1rem;
	border: 1px solid var(--pj-navy);
	border-radius: 999px;
	background: #fff;
	color: var(--pj-navy);
	font-weight: 700;
	line-height: 2.1rem;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
	background: var(--pj-navy);
	border-color: var(--pj-navy);
	color: #fff;
}

.obj_galley_link.restricted {
	border-color: var(--pj-gold-text);
	color: var(--pj-gold-text);
}

/* Issue archive */
.obj_issue_summary .title {
	font-family: var(--pj-serif);
	color: var(--pj-navy);
}

.page_issue_archive .issues_archive > li {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--pj-line);
}

/* 7. Article page ---------------------------------------------------- */
.obj_article_details > .page_title {
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	line-height: 1.2;
}

.obj_article_details > .subtitle {
	color: var(--pj-muted);
	font-family: var(--pj-serif);
	font-size: 1.15rem;
}

.obj_article_details .row {
	background: #fff;
	border: 1px solid var(--pj-line);
	border-radius: var(--pj-radius);
	box-shadow: var(--pj-shadow);
	overflow: hidden;
}

.obj_article_details .main_entry,
.obj_article_details .entry_details,
.obj_article_details .entry_details .item {
	border-color: var(--pj-line);
}

.obj_article_details .main_entry .item {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.obj_article_details .main_entry .item .label,
.obj_article_details .entry_details .item .label {
	font-family: var(--pj-serif);
	color: var(--pj-navy);
}

.obj_article_details .entry_details {
	background: #fbf9f5;
}

.obj_article_details .item.doi a,
.obj_article_details .item.abstract {
	word-break: break-word;
}

.obj_article_details .authors .affiliation {
	color: var(--pj-muted);
}

.obj_article_details .citation_display .citation_formats {
	border-color: var(--pj-line);
	border-radius: .5rem;
}

/* 8. Sidebar blocks -------------------------------------------------- */
.pkp_structure_sidebar .pkp_block {
	padding: 1.5rem 1.25rem;
	border-top: 3px solid var(--pj-gold);
	margin-bottom: 1rem;
}

.pkp_block .title,
.pkp_block > h2 {
	margin-top: 0;
	font-size: 1.1rem;
	color: var(--pj-navy);
}

.pkp_block .content ul li {
	border-bottom: 1px solid var(--pj-line);
}

.pkp_block .content ul li:last-child {
	border-bottom: 0;
}

.pkp_block a {
	color: var(--pj-link);
}

.pkp_block a:hover,
.pkp_block a:focus {
	color: var(--pj-gold-text);
	text-decoration: underline;
}

/* RSS / Atom feed icons stay as they are, just spaced */
.block_web_feed .content ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.block_web_feed .content ul li {
	border: 0;
}

/* "Make a Submission" block as the gold call-to-action (like ciris.info) */
.block_make_submission a {
	display: inline-block;
	padding: .75rem 1.3rem;
	border: 1px solid var(--pj-gold);
	border-radius: 999px;
	background: var(--pj-gold);
	box-shadow: none;
	color: var(--pj-navy);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.block_make_submission a:hover,
.block_make_submission a:focus {
	background: #dbb85e;
	border-color: #dbb85e;
	color: var(--pj-navy);
	text-decoration: none;
}

/* Language toggle: visible and readable */
.block_language_toggle a {
	color: var(--pj-link);
}

/* 9. Buttons and forms ----------------------------------------------- */
.cmp_button,
.cmp_form .buttons button,
.cmp_form .buttons .submit,
.page_search .submit button,
.page_search .submit .submit {
	padding: 0 1.3rem;
	border: 1px solid var(--pj-navy);
	border-radius: 999px;
	background: var(--pj-navy);
	box-shadow: none;
	color: #fff;
	font-family: var(--pj-sans);
	font-size: .95rem;
	font-weight: 700;
	line-height: 2.6rem;
	text-decoration: none;
	cursor: pointer;
}

.cmp_button:hover,
.cmp_button:focus,
.cmp_form .buttons button:hover,
.cmp_form .buttons button:focus,
.page_search .submit button:hover,
.page_search .submit button:focus {
	background: var(--pj-navy-2);
	border-color: var(--pj-navy-2);
	box-shadow: none;
	color: var(--pj-gold-light);
}

.cmp_button_wire {
	border-color: var(--pj-navy);
	border-radius: 999px;
	color: var(--pj-navy);
}

.cmp_button_wire:hover,
.cmp_button_wire:focus {
	background: var(--pj-navy);
	color: #fff;
}

/* Secondary links next to form buttons ("Register", "Forgot password?") */
.cmp_form .buttons a {
	color: var(--pj-link);
}

.cmp_form fieldset {
	border-color: var(--pj-line);
}

.cmp_form legend {
	font-family: var(--pj-serif);
	color: var(--pj-navy);
}

.cmp_form label,
.cmp_form .label {
	color: var(--pj-ink);
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="tel"],
.cmp_form input[type="search"],
.cmp_form input[type="number"],
.cmp_form select,
.cmp_form textarea,
.page_search input[type="text"],
.page_search select {
	border: 1px solid #a89f90;     /* 3:1 against white for non-text UI */
	border-radius: .45rem;
	background: #fff;
	color: var(--pj-ink);
	font-family: var(--pj-sans);
}

.cmp_form input:focus,
.cmp_form select:focus,
.cmp_form textarea:focus,
.page_search input:focus,
.page_search select:focus {
	border-color: var(--pj-navy);
	outline: 3px solid var(--pj-focus);
	outline-offset: 1px;
}

.cmp_form .pkp_form_error,
.cmp_form .error {
	color: #a4161a;               /* 6.9:1 on cream */
}

.cmp_form .description,
.cmp_form .label .required {
	color: var(--pj-muted);
}

/* Login, register, lost password, search: light card behind the form */
.page_login .cmp_form,
.page_register .cmp_form,
.page_lost_password .cmp_form,
.page_search .cmp_form {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--pj-line);
	border-radius: var(--pj-radius);
	box-shadow: var(--pj-shadow);
}

.cmp_table th,
.cmp_table td {
	border-color: var(--pj-line);
}

/* 10. Footer --------------------------------------------------------- */
.pkp_structure_footer_wrapper {
	background: var(--pj-navy-deep);
	border-top: 3px solid var(--pj-gold);
	color: rgba(255, 255, 255, .81);
}

.pkp_structure_footer {
	text-align: left;
}

.pkp_footer_content {
	padding: 2.5rem 0 1rem;
}

.pkp_structure_footer_wrapper a {
	color: var(--pj-gold-light);
}

.pkp_structure_footer_wrapper a:hover,
.pkp_structure_footer_wrapper a:focus {
	color: #fff;
}

/* OJS/PKP brand image is black artwork; invert it to white on navy */
.pkp_brand_footer {
	padding: 1rem 0 2rem;
}

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

.pkp_brand_footer a:hover img,
.pkp_brand_footer a:focus img {
	opacity: 1;
}

/* Custom Page Footer HTML (Settings > Website > Appearance > Setup >
   Page Footer), markup starting <footer class="ciris-full-footer">.
   It was written for Bootstrap (Immersion); Default has no Bootstrap,
   so the layout is rebuilt here. */
.ciris-full-footer {
	display: block;
	background: transparent;
	color: rgba(255, 255, 255, .81);
	font-size: .95rem;
	line-height: 1.6;
	text-align: left;
}

.ciris-full-footer h6 {
	margin: 0 0 .75rem;
	font-family: var(--pj-sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--pj-gold-light);
}

.ciris-full-footer .row.mt-3 > div:first-child h6 {
	font-family: var(--pj-serif);
	font-size: 1.15rem;
	letter-spacing: 0;
	text-transform: none;
	color: #fff;
}

.ciris-full-footer p {
	margin: 0 0 .75rem;
}

.ciris-full-footer a,
.ciris-full-footer .text-reset {
	color: var(--pj-gold-light);
	text-decoration: none;
}

.ciris-full-footer a:hover,
.ciris-full-footer a:focus {
	color: #fff;
	text-decoration: underline;
}

/* Social row: "Get connected..." + gold-ringed pills, like ciris.info */
.ciris-full-footer > section:first-child {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.ciris-full-footer > section:first-child > div:last-child {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.ciris-full-footer > section:first-child a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin: 0;
	padding: .35rem 1rem;
	border: 1px solid var(--pj-gold);
	border-radius: 999px;
	background: var(--pj-navy-2);
	color: var(--pj-gold-light);
	font-size: .9rem;
	font-weight: 600;
}

.ciris-full-footer > section:first-child a:hover,
.ciris-full-footer > section:first-child a:focus {
	background: var(--pj-gold);
	color: var(--pj-navy);
	text-decoration: none;
}

/* Address + References: two columns from tablet up */
.ciris-full-footer .ciris-footer-inner {
	margin-top: 2rem;
}

.ciris-full-footer .row {
	display: block;
}

/* Default's .row clearfix pseudo-elements would become grid cells */
.ciris-full-footer .row::before,
.ciris-full-footer .row::after {
	content: none;
}

.ciris-full-footer .row.mt-3 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 3rem;
}

@media (min-width: 768px) {
	.ciris-full-footer .row.mt-3 {
		grid-template-columns: 1fr 1fr;
	}
}

.ciris-full-footer .text-center {
	text-align: center;
}

@media (min-width: 768px) {
	.ciris-full-footer .text-md-start {
		text-align: left;
	}
}

.ciris-full-footer .mb-4 {
	margin-bottom: 1.5rem;
}

/* Reference badges: no white panels. Each logo is converted to a single
   light tone and blended onto the navy, so logos that ship with a baked-in
   white background (DOAJ, BASE, CORE, Scilit) lose their white box, and
   dark logos (Internet Archive, ERIH PLUS) become readable. */
.ciris-full-footer .ciris-ref-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.4rem;
	margin: .5rem 0 0;
}

.ciris-full-footer .ciris-ref-logos a {
	display: inline-flex;
	align-items: center;
	padding: .25rem;
	border-radius: .35rem;
	background: transparent;
}

.ciris-full-footer .ciris-ref-logos img {
	display: block;
	width: auto;
	height: 38px;
	max-width: 140px;
	background: transparent;
	filter: grayscale(1) invert(1) contrast(1.15);
	mix-blend-mode: screen;
	opacity: .9;
}

/* BASE is pale grey on white: brighten after inverting so it reads */
.ciris-full-footer .ciris-ref-logos img[src*="base-logo"] {
	filter: grayscale(1) invert(1) brightness(4.5);
}

/* ERIH PLUS ships as light-grey artwork on transparency: keep it light
   instead of inverting it to near-black. */
.ciris-full-footer .ciris-ref-logos img[src*="erihplus"] {
	filter: grayscale(1) brightness(1.15);
	mix-blend-mode: normal;
}

.ciris-full-footer .ciris-ref-logos a:hover img,
.ciris-full-footer .ciris-ref-logos a:focus img {
	opacity: 1;
}

@media (max-width: 767.98px) {
	.pkp_structure_footer {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.ciris-full-footer .ciris-ref-logos {
		justify-content: center;
	}

	.ciris-full-footer > section:first-child {
		justify-content: center;
		text-align: center;
	}

	.ciris-full-footer > section:first-child > div:last-child {
		justify-content: center;
	}
}

/* Sitemap row and publisher statement */
.ciris-full-footer .col.text-center {
	text-align: center;
}

.ciris-full-footer [style*="background-color"] {
	margin-top: .5rem;
	padding: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .13);
	background-color: transparent !important; /* overrides the inline rgba(0,0,0,.05) */
	color: rgba(255, 255, 255, .66);
	font-size: .85rem;
	text-align: center;
}

/* Print: drop the dark chrome */
@media print {
	.pkp_structure_head,
	.pkp_structure_footer_wrapper {
		background: #fff;
		color: #000;
		border: 0;
	}

	.obj_article_summary,
	.obj_article_details .row {
		box-shadow: none;
	}
}
