/**
 * Andina — tema para OJS 3.5
 * Capa visual que se aplica sobre el tema por defecto de PKP.
 * Distributed under the GNU GPL v3.
 *
 * Index
 *  01 Tokens            08 Sidebar blocks
 *  02 Base              09 Article cards / lists
 *  03 Layout            10 Issue TOC & archive
 *  04 Header & nav      11 Article page
 *  05 Hero              12 Announcements, search, forms, pages
 *  06 Buttons & tags    13 Footer
 *  07 Home sections     14 Utilities, print, motion
 */

/* ============================================================ 01 Tokens */
:root {
	--an-primary: #12355B;
	--an-on-primary: #ffffff;
	--an-accent: #C4572E;
	--an-on-accent: #ffffff;
	--an-font-heading: Lora, Georgia, "Times New Roman", serif;
	--an-font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--an-bg: #F7F5F1;
	--an-surface: #FFFFFF;
	--an-surface-2: #F1EEE8;
	--an-ink: #1C2430;
	--an-ink-2: #3A4452;
	--an-muted: #5E6876;
	--an-line: #E3DED5;
	--an-line-strong: #CFC8BC;

	--an-primary-soft: #E8EDF3;
	--an-accent-soft: #F8E9E3;
	--an-success: #1F7A4D;

	--an-radius: 12px;
	--an-radius-sm: 8px;
	--an-shadow-sm: 0 1px 2px rgba(20, 28, 40, .06);
	--an-shadow: 0 1px 2px rgba(20, 28, 40, .05), 0 8px 24px -12px rgba(20, 28, 40, .18);
	--an-shadow-lg: 0 24px 48px -24px rgba(10, 20, 35, .45);
	--an-container: 1220px;
	--an-gutter: 20px;
	--an-ease: cubic-bezier(.2, .7, .2, 1);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	:root {
		--an-primary-soft: color-mix(in srgb, var(--an-primary) 9%, #fff);
		--an-accent-soft: color-mix(in srgb, var(--an-accent) 11%, #fff);
		--an-primary-strong: color-mix(in srgb, var(--an-primary) 82%, #000);
	}
}

/* ============================================================ 02 Base */
html {
	font-size: 15px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

html,
body.an-theme {
	background: var(--an-bg);
	color: var(--an-ink);
	font-family: var(--an-font-body);
	line-height: 1.65;
}

body.an-theme {
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

:where(.an-theme) a {
	color: var(--an-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
	transition: color .15s var(--an-ease), background-color .15s var(--an-ease), border-color .15s var(--an-ease);
}

:where(.an-theme) a:hover,
:where(.an-theme) a:focus {
	color: var(--an-accent);
}

.an-theme :focus-visible {
	outline: 3px solid var(--an-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.an-theme ::selection {
	background: var(--an-accent-soft);
	color: var(--an-ink);
}

.an-theme .pkp_structure_main h1,
.an-theme .pkp_structure_main h2,
.an-theme .pkp_structure_main h3,
.an-theme .pkp_structure_main h4 {
	font-family: var(--an-font-heading);
	color: var(--an-ink);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.an-theme .pkp_structure_main h1 {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	line-height: 1.2;
	margin: 0 0 1.25rem;
}

.an-theme .pkp_structure_main h2 {
	font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem);
	line-height: 1.3;
	margin: 2.5rem 0 1rem;
}

.an-theme .pkp_structure_main h3 {
	font-size: 1.2rem;
	line-height: 1.35;
	margin: 2rem 0 .75rem;
}

.an-theme .pkp_structure_main h4 {
	font-size: 1.05rem;
	margin: 1.5rem 0 .5rem;
}

.an-theme .pkp_structure_main p,
.an-theme .pkp_structure_main ul,
.an-theme .pkp_structure_main ol {
	line-height: 1.7;
	margin: 1rem 0;
}

.an-theme .pkp_structure_main hr {
	border: 0;
	border-top: 1px solid var(--an-line);
	margin: 2rem 0;
}

.an-theme .pkp_structure_main blockquote {
	margin: 1.5rem 0;
	padding: .5rem 0 .5rem 1.25rem;
	border-left: 3px solid var(--an-accent);
	color: var(--an-ink-2);
	font-style: italic;
}

.an-theme .pkp_structure_main table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
	margin: 1.5rem 0;
}

.an-theme .pkp_structure_main th,
.an-theme .pkp_structure_main td {
	padding: .6rem .75rem;
	border-bottom: 1px solid var(--an-line);
	text-align: left;
	vertical-align: top;
}

.an-theme .pkp_structure_main th {
	background: var(--an-surface-2);
	font-weight: 700;
}

.an-theme img {
	max-width: 100%;
	height: auto;
}

.an-prose > *:first-child { margin-top: 0; }
.an-prose > *:last-child { margin-bottom: 0; }

.an-eyebrow {
	margin: 0 0 .75rem;
	font-family: var(--an-font-body);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--an-accent);
}

.an-eyebrow--muted {
	color: var(--an-muted);
	margin-bottom: .25rem;
}

/* ============================================================ 03 Layout */
.an-container {
	width: 100%;
	max-width: var(--an-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--an-gutter);
	padding-right: var(--an-gutter);
	box-sizing: border-box;
}

.an-theme .pkp_structure_page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.an-theme .pkp_structure_content,
.an-theme .pkp_structure_content.an-container {
	width: 100%;
	max-width: var(--an-container);
	margin: 0 auto;
	padding: 2.5rem var(--an-gutter) 4.5rem;
	flex: 1 0 auto;
	box-sizing: border-box;
}

.an-theme .pkp_structure_content::before,
.an-theme .pkp_structure_content::after {
	display: none;
}

.an-theme .pkp_structure_main,
.an-theme .pkp_structure_main:first-child:last-child {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.an-theme .pkp_structure_main::before,
.an-theme .pkp_structure_main::after {
	display: none !important;
}

.an-theme .pkp_structure_sidebar {
	float: none;
	width: auto;
	margin: 3rem 0 0;
}

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

	.an-theme .pkp_structure_content.has_sidebar .pkp_structure_sidebar {
		margin: 0;
		position: sticky;
		top: 1.5rem;
	}
}

.an-theme .page > h1:first-child,
.an-theme .page .cmp_breadcrumbs + h1 {
	margin-top: 0;
}

/* Breadcrumbs */
.an-theme .cmp_breadcrumbs {
	margin: 0 0 1.5rem;
	font-size: .85rem;
	color: var(--an-muted);
}

.an-theme .cmp_breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .cmp_breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
}

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

.an-theme .cmp_breadcrumbs a:hover {
	color: var(--an-primary);
	text-decoration: underline;
}

.an-theme .cmp_breadcrumbs .separator {
	color: var(--an-line-strong);
	padding: 0 .2rem;
}

.an-theme .cmp_breadcrumbs .current {
	color: var(--an-ink-2);
	font-weight: 600;
}

/* ============================================================ 04 Header & nav */
.an-header {
	position: relative;
	z-index: 50;
	background: var(--an-surface);
	border-bottom: 1px solid var(--an-line);
}

.an-header .pkp_skip_links a:focus {
	z-index: 10000;
}

/* Top utility bar */
.an-topbar {
	background: var(--an-primary);
	background: var(--an-primary-strong, var(--an-primary));
	color: var(--an-on-primary);
	font-size: .8rem;
}

.an-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 40px;
}

.an-topbar__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.25rem;
	opacity: .92;
}

.an-issn__label {
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: .7rem;
	opacity: .75;
	margin-right: .25rem;
}

.an-topbar__publisher {
	display: none;
}

@media (min-width: 768px) {
	.an-topbar__publisher { display: inline; }
}

.an-topbar__user {
	margin-left: auto;
}

.an-theme .an-usernav,
.an-theme .an-usernav.pkp_navigation_user {
	width: auto;
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	text-align: right;
}

.an-theme .an-usernav > li {
	position: relative;
	display: block;
}

.an-theme .an-usernav > li > a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .45rem .7rem;
	border-radius: 999px;
	color: var(--an-on-primary);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 !important;
}

.an-theme .an-usernav > li > a:hover,
.an-theme .an-usernav > li > a:focus {
	background: rgba(255, 255, 255, .14);
	color: var(--an-on-primary);
}

.an-theme .an-usernav .task_count {
	display: inline-block;
	min-width: 1.4em;
	height: 1.4em;
	padding: 0 .35em;
	border-radius: 999px;
	background: var(--an-accent);
	color: var(--an-on-accent);
	font-size: .7rem;
	line-height: 1.4em;
	text-align: center;
}

/* Masthead */
.an-masthead__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 84px;
	position: relative;
}

.an-brand {
	flex: 0 1 auto;
	min-width: 0;
	padding: .75rem 0;
}

.an-brand__link {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	color: var(--an-ink);
	text-decoration: none;
}

.an-brand__link:hover,
.an-brand__link:focus {
	color: var(--an-primary);
}

.an-brand__link img {
	display: block;
	max-height: 64px;
	width: auto;
}

.an-brand__mark {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background:
		linear-gradient(135deg, transparent 0 50%, var(--an-accent) 50% 100%),
		var(--an-primary);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.an-brand__text {
	font-family: var(--an-font-heading);
	font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
}

/* Nav toggle (mobile) */
.an-nav-toggle {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--an-line);
	border-radius: 10px;
	background: var(--an-surface);
	cursor: pointer;
}

.an-nav-toggle__bars,
.an-nav-toggle__bars::before,
.an-nav-toggle__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--an-ink);
	transition: transform .2s var(--an-ease), opacity .2s var(--an-ease);
	content: "";
}

.an-nav-toggle__bars { position: relative; }
.an-nav-toggle__bars::before { position: absolute; top: -6px; }
.an-nav-toggle__bars::after { position: absolute; top: 6px; }

.an-nav-toggle[aria-expanded="true"] .an-nav-toggle__bars { background: transparent; }
.an-nav-toggle[aria-expanded="true"] .an-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.an-nav-toggle[aria-expanded="true"] .an-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Primary nav — mobile first */
.an-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--an-surface);
	border-top: 1px solid var(--an-line);
	box-shadow: var(--an-shadow);
	padding: .75rem var(--an-gutter) 1.25rem;
}

.an-nav.is-open {
	display: block;
}

.an-theme .an-nav .pkp_nav_list,
.an-theme .an-nav .an-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
	max-width: none;
	display: block;
}

.an-theme .an-nav .pkp_nav_list li {
	display: block;
	position: relative;
}

.an-theme .an-nav .pkp_nav_list a {
	display: block;
	padding: .7rem .25rem;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--an-line);
	color: var(--an-ink);
	font-weight: 600;
	text-decoration: none;
}

.an-theme .an-nav .pkp_nav_list a:hover,
.an-theme .an-nav .pkp_nav_list a:focus {
	color: var(--an-primary);
	background: transparent;
}

.an-theme .an-nav .pkp_nav_list ul {
	position: static;
	left: auto;
	width: auto;
	margin: 0;
	padding: 0 0 0 1rem;
	list-style: none;
	background: transparent;
	box-shadow: none;
}

.an-theme .an-nav .pkp_nav_list ul a {
	font-weight: 400;
	color: var(--an-ink-2);
}

.an-nav__search {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1rem;
	padding: .6rem 1rem;
	border: 1px solid var(--an-line);
	border-radius: 999px;
	color: var(--an-ink);
	text-decoration: none;
	font-weight: 600;
}

.an-nav__search:hover,
.an-nav__search:focus {
	border-color: var(--an-primary);
	color: var(--an-primary);
}

@media (min-width: 992px) {
	.an-nav-toggle {
		display: none;
	}

	.an-nav {
		display: flex;
		align-items: center;
		gap: .5rem;
		position: static;
		margin-left: auto;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.an-theme .an-nav .pkp_nav_list,
	.an-theme .an-nav .an-nav__list {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		gap: .1rem;
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a {
		position: relative;
		padding: .6rem .85rem;
		border: 0;
		border-radius: 8px;
		font-size: .95rem;
		color: var(--an-ink-2);
		margin: 0 !important;
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a::before {
		content: "";
		position: absolute;
		left: .85rem;
		right: .85rem;
		bottom: .3rem;
		height: 2px;
		background: var(--an-accent);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .2s var(--an-ease);
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a:hover,
	.an-theme .an-nav .pkp_navigation_primary > li > a:focus {
		background: var(--an-primary-soft);
		color: var(--an-primary);
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a:hover::before {
		transform: scaleX(1);
	}

	.an-theme .an-nav .pkp_navigation_primary [aria-haspopup]::after {
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		margin-left: .4em;
		border-top: 4px solid;
		border-right: 4px solid transparent;
		border-left: 4px solid transparent;
		vertical-align: middle;
	}

	/* Dropdowns (Bootstrap/Popper driven by the parent theme JS) */
	.an-theme .an-nav .pkp_nav_list > li > ul,
	.an-theme .an-topbar .pkp_nav_list > li > ul {
		display: none;
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		right: auto;
		transform: none !important;
		z-index: 1000;
		min-width: 15rem;
		margin: .35rem 0 0;
		padding: .4rem;
		background: var(--an-surface);
		border: 1px solid var(--an-line);
		border-radius: var(--an-radius-sm);
		box-shadow: var(--an-shadow);
		text-align: left;
	}

	.an-theme .an-topbar .pkp_nav_list > li > ul {
		left: auto !important;
		right: 0 !important;
		min-width: 12rem;
	}

	.an-theme .an-nav .pkp_nav_list > li:hover > ul,
	.an-theme .an-nav .pkp_nav_list > li:focus-within > ul,
	.an-theme .an-topbar .pkp_nav_list > li:hover > ul,
	.an-theme .an-topbar .pkp_nav_list > li:focus-within > ul,
	.an-theme .an-header .dropdown-menu.show {
		display: block;
	}

	.an-theme .an-header .pkp_nav_list ul li {
		display: block;
	}

	.an-theme .an-header .pkp_nav_list ul a {
		display: block;
		padding: .55rem .75rem;
		border: 0;
		border-radius: 6px;
		color: var(--an-ink-2);
		font-weight: 500;
		font-size: .92rem;
		text-decoration: none;
	}

	.an-theme .an-header .pkp_nav_list ul a:hover,
	.an-theme .an-header .pkp_nav_list ul a:focus {
		background: var(--an-primary-soft);
		color: var(--an-primary);
		border: 0;
	}

	.an-theme .an-header .pkp_nav_list ul .task_count {
		background: var(--an-primary-soft);
		color: var(--an-primary);
	}

	.an-nav__search {
		margin: 0 0 0 .5rem;
		padding: .55rem .95rem;
		font-size: .9rem;
	}
}

@media (min-width: 992px) and (max-width: 1100px) {
	.an-nav__search-label { display: none; }
}

/* ============================================================ 05 Hero */
.an-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--an-primary);
	color: var(--an-on-primary);
}

.an-hero.has-image {
	background:
		linear-gradient(100deg, var(--an-primary) 0%, var(--an-primary) 38%, rgba(0, 0, 0, .25) 100%),
		var(--an-hero-image) center / cover no-repeat,
		var(--an-primary);
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.an-hero.has-image {
		background:
			linear-gradient(100deg, var(--an-primary) 0%, color-mix(in srgb, var(--an-primary) 88%, transparent) 45%, color-mix(in srgb, var(--an-primary) 45%, transparent) 100%),
			var(--an-hero-image) center / cover no-repeat,
			var(--an-primary);
	}
}

/* Stepped Andean motif, drawn in CSS so it inherits the brand colours */
.an-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .12;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' d='M0 72h24V48h24V24h24V0M24 96V72h24V48h24V24h24M48 96V72h24V48h24'/%3E%3C/svg%3E");
	background-size: 96px 96px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}

.an-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: repeating-linear-gradient(90deg, var(--an-accent) 0 48px, transparent 48px 56px);
	opacity: .95;
}

.an-hero__inner {
	display: grid;
	gap: 2.5rem;
	padding-top: clamp(2.5rem, 2rem + 4vw, 5rem);
	padding-bottom: clamp(3rem, 2.5rem + 4vw, 5.5rem);
	align-items: center;
}

@media (min-width: 900px) {
	.an-hero__inner {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 4rem;
	}
}

.an-hero .an-eyebrow {
	color: var(--an-on-primary);
	opacity: .78;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
}

.an-hero .an-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--an-accent);
}

.an-hero__title {
	margin: 0 0 1rem;
	font-family: var(--an-font-heading);
	font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--an-on-primary);
	text-wrap: balance;
	max-width: 22ch;
}

.an-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 62ch;
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
	line-height: 1.7;
	opacity: .9;
}

.an-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.an-hero__badges li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .35rem .8rem;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	font-size: .82rem;
	font-weight: 600;
}

.an-hero__badges li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--an-accent);
}

.an-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-bottom: 1.75rem;
}

.an-hero__search {
	display: flex;
	align-items: center;
	gap: .5rem;
	max-width: 560px;
	padding: .35rem .35rem .35rem 1rem;
	border-radius: 999px;
	background: var(--an-surface);
	box-shadow: var(--an-shadow-lg);
	color: var(--an-muted);
}

.an-hero__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: .98rem;
	color: var(--an-ink);
	padding: .55rem 0;
}

.an-hero__search input:focus {
	outline: none;
}

.an-hero__search:focus-within {
	box-shadow: var(--an-shadow-lg), 0 0 0 3px var(--an-accent);
}

.an-hero__search button {
	flex: 0 0 auto;
	padding: .6rem 1.15rem;
	border: 0;
	border-radius: 999px;
	background: var(--an-primary);
	color: var(--an-on-primary);
	font: inherit;
	font-weight: 700;
	font-size: .9rem;
	cursor: pointer;
}

.an-hero__search button:hover {
	background: var(--an-accent);
	color: var(--an-on-accent);
}

/* Current issue card in hero */
.an-hero__issue {
	justify-self: center;
	width: 100%;
	max-width: 320px;
}

.an-issue-card {
	display: block;
	border-radius: var(--an-radius);
	background: var(--an-surface);
	color: var(--an-ink);
	text-decoration: none;
	box-shadow: var(--an-shadow-lg);
	overflow: hidden;
	transform: rotate(1.2deg);
	transition: transform .3s var(--an-ease), box-shadow .3s var(--an-ease);
}

.an-issue-card:hover,
.an-issue-card:focus {
	transform: rotate(0) translateY(-4px);
	color: var(--an-ink);
}

.an-issue-card__cover {
	display: block;
	aspect-ratio: 3 / 4;
	max-height: 300px;
	width: 100%;
	background: var(--an-surface-2);
	overflow: hidden;
}

.an-issue-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.an-issue-card__placeholder,
.an-issue__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: .5rem;
	width: 100%;
	height: 100%;
	padding: 1.25rem;
	box-sizing: border-box;
	background:
		repeating-linear-gradient(90deg, var(--an-accent) 0 28px, transparent 28px 34px) left bottom / 100% 5px no-repeat,
		linear-gradient(160deg, var(--an-primary) 0%, var(--an-primary-strong, var(--an-primary)) 100%);
	color: var(--an-on-primary);
	font-family: var(--an-font-heading);
	font-weight: 700;
	font-size: 1.35rem;
	line-height: 1.2;
}

.an-issue-card__body {
	display: grid;
	gap: .2rem;
	padding: 1rem 1.15rem 1.15rem;
}

.an-issue-card__label {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-accent);
}

.an-issue-card__title {
	font-family: var(--an-font-heading);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
}

.an-issue-card__date {
	font-size: .82rem;
	color: var(--an-muted);
}

.an-issue-card__cta {
	margin-top: .5rem;
	font-weight: 700;
	font-size: .88rem;
	color: var(--an-primary);
}

/* ============================================================ 06 Buttons & tags */
.an-btn,
.an-theme .cmp_button,
.an-theme .pkp_button,
.an-theme .block_make_submission a,
.an-theme .cmp_form .buttons button,
.an-theme .cmp_form button.submit,
.an-theme button.submit,
.an-theme input[type="submit"],
.an-theme .page_search .submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .75rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--an-primary);
	box-shadow: none;
	color: var(--an-on-primary);
	font-family: var(--an-font-body);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s var(--an-ease), color .18s var(--an-ease), border-color .18s var(--an-ease), transform .18s var(--an-ease);
}

.an-btn:hover,
.an-btn:focus,
.an-theme .cmp_button:hover,
.an-theme .pkp_button:hover,
.an-theme .block_make_submission a:hover,
.an-theme .cmp_form .buttons button:hover,
.an-theme button.submit:hover,
.an-theme input[type="submit"]:hover {
	background: var(--an-accent);
	color: var(--an-on-accent);
	box-shadow: none;
	text-decoration: none;
}

.an-btn--accent {
	background: var(--an-accent);
	color: var(--an-on-accent);
}

.an-btn--accent:hover,
.an-btn--accent:focus {
	background: var(--an-surface);
	color: var(--an-primary);
}

.an-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .45);
	color: var(--an-on-primary);
}

.an-btn--ghost:hover,
.an-btn--ghost:focus {
	background: rgba(255, 255, 255, .12);
	border-color: var(--an-on-primary);
	color: var(--an-on-primary);
}

.an-theme .cmp_form .buttons a,
.an-theme .cmp_form .buttons .cancel {
	margin-left: 1rem;
	font-weight: 600;
}

.an-tag {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .3rem .7rem;
	border-radius: 999px;
	background: var(--an-primary-soft);
	color: var(--an-primary);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.3;
}

.an-tag--oa {
	background: #E6F3EC;
	color: var(--an-success);
}

.an-oa-icon {
	width: 10px;
	height: 13px;
	border: 2px solid currentColor;
	border-radius: 6px 6px 3px 3px;
	border-bottom-width: 5px;
	box-sizing: border-box;
	position: relative;
}

/* Galley links (PDF, HTML, XML...) */
.an-theme .obj_galley_link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem 1rem;
	border: 1px solid var(--an-primary);
	border-radius: 999px;
	background: var(--an-surface);
	color: var(--an-primary);
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.an-theme .obj_galley_link::before {
	margin-right: 0;
}

.an-theme .obj_galley_link:hover,
.an-theme .obj_galley_link:focus {
	background: var(--an-primary);
	border-color: var(--an-primary);
	color: var(--an-on-primary);
}

.an-theme .obj_galley_link.pdf {
	background: var(--an-accent);
	border-color: var(--an-accent);
	color: var(--an-on-accent);
}

.an-theme .obj_galley_link.pdf:hover,
.an-theme .obj_galley_link.pdf:focus {
	background: var(--an-primary);
	border-color: var(--an-primary);
	color: var(--an-on-primary);
}

.an-theme .obj_galley_link.restricted {
	background: var(--an-surface-2);
	border-color: var(--an-line-strong);
	color: var(--an-muted);
}

.an-theme .obj_galley_link_supplementary {
	font-weight: 600;
	text-decoration: none;
}

.an-theme .galleys_links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .galleys_links li {
	margin: 0 !important;
}

.an-link-more {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
	font-size: .92rem;
	text-decoration: none;
	white-space: nowrap;
}

.an-link-more:hover span {
	transform: translateX(3px);
}

.an-link-more span {
	transition: transform .18s var(--an-ease);
}

/* ============================================================ 07 Home sections */
.an-section {
	margin: 0 0 3.5rem;
}

.an-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--an-line);
	position: relative;
}

.an-section__head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 64px;
	height: 3px;
	background: var(--an-accent);
}

.an-theme .pkp_structure_main .an-section__title {
	margin: 0;
	font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem);
}

.an-section__title a {
	color: inherit;
	text-decoration: none;
}

.an-section__title a:hover {
	color: var(--an-primary);
}

.an-theme .homepage_about .an-prose {
	font-size: 1.05rem;
	color: var(--an-ink-2);
}

.an-home__image {
	margin: 0 0 3rem;
	border-radius: var(--an-radius);
	overflow: hidden;
}

.an-home__image img {
	display: block;
	width: 100%;
}

.an-theme .an-home .additional_content {
	padding: 2rem;
	border-radius: var(--an-radius);
	background: var(--an-surface);
	border: 1px solid var(--an-line);
}

.an-theme .an-home .additional_content img {
	vertical-align: middle;
}

/* Highlights (Swiper) */
.an-theme .highlights,
.an-theme .swiper {
	border-radius: var(--an-radius);
}

.an-theme .swiper-pagination-bullet-active {
	background: var(--an-accent);
}

.an-theme .swiper-button-next,
.an-theme .swiper-button-prev {
	color: var(--an-primary);
}

/* ============================================================ 08 Sidebar blocks */
.an-theme .pkp_structure_sidebar .pkp_block {
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.4rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow-sm);
	font-size: .95rem;
}

.an-theme .pkp_block .title {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 .9rem;
	font-family: var(--an-font-body);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-theme .pkp_block .title::before {
	content: "";
	width: 14px;
	height: 3px;
	border-radius: 2px;
	background: var(--an-accent);
}

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

.an-theme .pkp_block .content li {
	padding: .45rem 0;
	border-bottom: 1px dashed var(--an-line);
}

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

.an-theme .pkp_block .content a {
	color: var(--an-ink-2);
	font-weight: 600;
}

.an-theme .pkp_block .content a:hover {
	color: var(--an-primary);
}

.an-theme .block_make_submission {
	background: var(--an-primary) !important;
	border-color: var(--an-primary) !important;
	color: var(--an-on-primary);
}

.an-theme .block_make_submission .title {
	color: var(--an-on-primary);
	opacity: .8;
}

.an-theme .block_make_submission a,
.an-theme .block_make_submission .content a {
	width: 100%;
	box-sizing: border-box;
	background: var(--an-accent);
	color: var(--an-on-accent);
}

.an-theme .block_make_submission a:hover {
	background: var(--an-surface);
	color: var(--an-primary);
}

.an-theme .pkp_block img {
	border-radius: 6px;
}

.an-theme .block_language_toggle .content li.current a {
	color: var(--an-primary);
}

/* ============================================================ 09 Article cards / lists */
.an-theme .cmp_article_list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .cmp_article_list > li {
	margin: 0;
	padding: 0;
}

.an-theme .obj_article_summary.an-card {
	position: relative;
	display: grid;
	gap: 1.25rem;
	padding: 1.35rem 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow-sm);
	transition: border-color .2s var(--an-ease), box-shadow .2s var(--an-ease), transform .2s var(--an-ease);
}

.an-theme .obj_article_summary.an-card::after {
	content: "";
	position: absolute;
	left: -1px;
	top: 1.35rem;
	bottom: 1.35rem;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--an-accent);
	opacity: 0;
	transition: opacity .2s var(--an-ease);
}

.an-theme .obj_article_summary.an-card:hover {
	border-color: var(--an-line-strong);
	box-shadow: var(--an-shadow);
}

.an-theme .obj_article_summary.an-card:hover::after {
	opacity: 1;
}

@media (min-width: 640px) {
	.an-theme .obj_article_summary.an-card--has-cover {
		grid-template-columns: 120px minmax(0, 1fr);
	}
}

.an-theme .obj_article_summary .an-card__cover {
	float: none;
	width: auto;
	margin: 0;
}

.an-theme .obj_article_summary .an-card__cover img {
	display: block;
	width: 100%;
	max-height: 170px;
	object-fit: cover;
	border-radius: var(--an-radius-sm);
}

.an-card__body {
	min-width: 0;
}

.an-theme .pkp_structure_main .obj_article_summary .an-card__title {
	margin: 0 0 .5rem;
	font-family: var(--an-font-heading);
	font-size: 1.15rem;
	line-height: 1.4;
	font-weight: 700;
}

.an-theme .obj_article_summary .an-card__title a {
	color: var(--an-ink);
	text-decoration: none;
}

.an-theme .obj_article_summary .an-card__title a:hover,
.an-theme .obj_article_summary .an-card__title a:focus {
	color: var(--an-primary);
	text-decoration: underline;
	text-decoration-color: var(--an-accent);
}

.an-theme .obj_article_summary .subtitle {
	display: block;
	margin-top: .25rem;
	font-family: var(--an-font-body);
	font-size: .95rem;
	font-weight: 400;
	color: var(--an-muted);
}

.an-theme .obj_article_summary .meta {
	padding: 0;
	font-size: .9rem;
	line-height: 1.55;
	color: var(--an-ink-2);
}

.an-theme .obj_article_summary .authors {
	padding-right: 0;
	margin-bottom: .4rem;
}

.an-theme .obj_article_summary .authors .fa {
	color: var(--an-muted);
	margin-right: .25rem;
}

.an-card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1rem;
	font-size: .84rem;
	color: var(--an-muted);
}

.an-theme .obj_article_summary .pages {
	position: static;
	line-height: inherit;
}

.an-card__doi abbr {
	text-decoration: none;
	font-weight: 700;
	margin-right: .3rem;
	color: var(--an-ink-2);
}

.an-card__doi a {
	color: var(--an-muted);
	word-break: break-all;
}

.an-card__abstract {
	margin-top: .9rem;
	border-top: 1px dashed var(--an-line);
	padding-top: .7rem;
}

.an-card__abstract summary {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	cursor: pointer;
	font-size: .85rem;
	font-weight: 700;
	color: var(--an-primary);
	list-style: none;
}

.an-card__abstract summary::-webkit-details-marker {
	display: none;
}

.an-card__abstract summary::before {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--an-primary-soft);
	font-size: .9rem;
	line-height: 1;
}

.an-card__abstract[open] summary::before {
	content: "–";
}

.an-card__abstract .an-prose {
	margin-top: .6rem;
	font-size: .93rem;
	color: var(--an-ink-2);
}

.an-theme .obj_article_summary .an-card__galleys {
	margin-top: 1rem;
}

/* ============================================================ 10 Issue TOC & archive */
.an-theme .obj_issue_toc .heading {
	display: grid;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

.an-theme .obj_issue_toc .heading::before,
.an-theme .obj_issue_toc .heading::after {
	display: none;
}

@media (min-width: 640px) {
	.an-theme .obj_issue_toc .heading:has(.cover) {
		grid-template-columns: 180px minmax(0, 1fr);
		align-items: start;
	}

	.an-theme .obj_issue_toc .heading .cover {
		grid-row: span 4;
	}
}

.an-theme .obj_issue_toc .heading .cover {
	float: none;
	width: auto;
	margin: 0;
}

.an-theme .obj_issue_toc .heading .cover img {
	display: block;
	width: 100%;
	max-height: none;
	border-radius: var(--an-radius-sm);
	box-shadow: var(--an-shadow);
}

.an-theme .obj_issue_toc .description {
	color: var(--an-ink-2);
}

.an-theme .obj_issue_toc .pub_id,
.an-theme .obj_issue_toc .published {
	margin: 0;
	font-size: .9rem;
}

.an-theme .obj_issue_toc .pub_id .type,
.an-theme .obj_issue_toc .published .label {
	font-weight: 700;
	color: var(--an-ink-2);
}

.an-theme .obj_issue_toc .galleys,
.an-theme .obj_issue_toc .section {
	position: static;
	margin: 0 0 2.5rem;
	padding: 0;
}

.an-theme .obj_issue_toc .galleys::before,
.an-theme .obj_issue_toc .section::before {
	display: none;
}

.an-theme .obj_issue_toc .sections:not(:first-child) {
	margin-top: 0;
}

.an-theme .pkp_structure_main .obj_issue_toc .section > h2,
.an-theme .pkp_structure_main .obj_issue_toc .section > h3,
.an-theme .pkp_structure_main .obj_issue_toc .section > h4,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h2,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h3,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h4 {
	display: flex;
	align-items: center;
	gap: .75rem;
	position: static;
	left: auto;
	margin: 0 0 1rem;
	padding: 0;
	background: transparent;
	font-family: var(--an-font-body);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--an-primary);
}

.an-theme .pkp_structure_main .obj_issue_toc .section > h2::after,
.an-theme .pkp_structure_main .obj_issue_toc .section > h3::after,
.an-theme .pkp_structure_main .obj_issue_toc .section > h4::after,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h2::after,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h3::after,
.an-theme .pkp_structure_main .obj_issue_toc .galleys > h4::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--an-line);
}

.an-theme .obj_issue_toc .articles {
	margin-top: 0;
}

/* Archive grid */
.an-theme .issues_archive {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .issues_archive > li {
	margin: 0;
	padding: 0;
	border: 0;
}

.an-theme .obj_issue_summary.an-issue {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	overflow: hidden;
	box-shadow: var(--an-shadow-sm);
	transition: transform .2s var(--an-ease), box-shadow .2s var(--an-ease);
}

.an-theme .obj_issue_summary.an-issue:hover {
	transform: translateY(-3px);
	box-shadow: var(--an-shadow);
}

.an-theme .obj_issue_summary .an-issue__cover {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	aspect-ratio: 3 / 4;
	background: var(--an-surface-2);
	overflow: hidden;
}

.an-theme .obj_issue_summary .an-issue__cover img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
}

.an-issue__placeholder-journal {
	font-size: 1.1rem;
}

.an-issue__placeholder-series {
	font-family: var(--an-font-body);
	font-size: .85rem;
	font-weight: 600;
	opacity: .85;
}

.an-issue__body {
	display: grid;
	gap: .35rem;
	padding: 1rem 1.1rem 1.25rem;
}

.an-theme .pkp_structure_main .an-issue__title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.35;
}

.an-issue__title a {
	color: var(--an-ink);
	text-decoration: none;
}

.an-issue__title a:hover {
	color: var(--an-primary);
}

.an-theme .obj_issue_summary .series,
.an-issue__date {
	font-size: .85rem;
	color: var(--an-muted);
}

.an-theme .obj_issue_summary .description {
	font-size: .88rem;
	line-height: 1.55;
	color: var(--an-ink-2);
}

/* Pagination */
.an-theme .cmp_pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--an-line);
	font-size: .92rem;
	color: var(--an-muted);
}

.an-theme .cmp_pagination a {
	font-weight: 700;
	text-decoration: none;
}

/* ============================================================ 11 Article page */
.an-article__head {
	position: relative;
	margin: 0 0 2rem;
	padding: 2rem clamp(1.25rem, 1rem + 2vw, 2.5rem) 1.75rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow-sm);
	overflow: hidden;
}

.an-article__head::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--an-primary) 0 70%, var(--an-accent) 70% 100%);
}

.an-article__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	margin-bottom: 1rem;
}

.an-article__issue {
	font-size: .85rem;
	font-weight: 600;
	color: var(--an-muted);
	text-decoration: none;
}

.an-article__issue:hover {
	color: var(--an-primary);
	text-decoration: underline;
}

.an-theme .pkp_structure_main .an-article__title {
	margin: 0 0 .5rem;
	font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
	line-height: 1.2;
	max-width: 36ch;
}

.an-article__subtitle {
	margin: 0 0 1rem !important;
	font-family: var(--an-font-heading);
	font-size: 1.15rem;
	font-style: italic;
	color: var(--an-ink-2);
}

/* Authors */
.an-theme .an-authors {
	margin: 1.25rem 0 1.5rem;
}

.an-theme .an-authors ul.authors {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .an-authors ul.authors li {
	display: grid;
	gap: .1rem;
	margin: 0;
	min-width: 0;
	max-width: 100%;
}

.an-theme .an-authors .name {
	font-weight: 700;
	font-size: 1rem;
	color: var(--an-ink);
}

.an-theme .an-authors .affiliation,
.an-theme .an-authors .userGroup {
	font-size: .85rem;
	color: var(--an-muted);
	line-height: 1.45;
}

.an-theme .an-authors .orcid {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	font-size: .8rem;
}

.an-theme .an-authors .orcid svg,
.an-theme .an-authors .orcid img {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.an-theme .an-authors .orcid a {
	color: var(--an-muted);
}

/* Facts strip */
.an-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0 0 1.5rem;
	padding: 0;
	border-top: 1px solid var(--an-line);
	border-bottom: 1px solid var(--an-line);
}

.an-facts__item {
	flex: 0 1 auto;
	padding: .85rem 1.5rem .85rem 0;
	margin-right: 1.5rem;
	border-right: 1px solid var(--an-line);
	min-width: 0;
}

.an-facts__item:last-child {
	border-right: 0;
	margin-right: 0;
}

.an-facts dt {
	margin: 0 0 .15rem;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-facts dd {
	margin: 0;
	font-size: .92rem;
	font-weight: 600;
	color: var(--an-ink);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}

.an-facts .doi dd a {
	word-break: break-all;
}

@media (max-width: 640px) {
	.an-facts__item {
		flex-basis: 100%;
		border-right: 0;
		margin-right: 0;
		padding-right: 0;
		border-bottom: 1px dashed var(--an-line);
	}

	.an-facts__item:last-child {
		border-bottom: 0;
	}
}

.an-copy {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .25rem .6rem;
	border: 1px solid var(--an-line);
	border-radius: 999px;
	background: var(--an-surface);
	color: var(--an-muted);
	font: inherit;
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}

.an-copy:hover,
.an-copy:focus {
	border-color: var(--an-primary);
	color: var(--an-primary);
}

.an-copy.is-copied {
	border-color: var(--an-success);
	color: var(--an-success);
}

/* Actions */
.an-article__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.an-article__actions .galleys .obj_galley_link {
	padding: .7rem 1.25rem;
	font-size: .95rem;
}

.an-share {
	display: flex;
	align-items: center;
	gap: .35rem;
}

.an-share__label {
	margin-right: .35rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-share__link {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--an-line);
	border-radius: 50%;
	color: var(--an-ink-2);
	text-decoration: none;
}

.an-share__link:hover,
.an-share__link:focus {
	background: var(--an-primary);
	border-color: var(--an-primary);
	color: var(--an-on-primary);
}

/* Body grid */
.an-theme .an-article .row {
	margin: 0;
}

.an-article__grid {
	container-type: inline-size;
	container-name: an-article;
	display: block;
}

.an-theme .an-article .main_entry,
.an-theme .an-article .entry_details {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.an-theme .an-article .entry_details {
	margin-top: 2.5rem;
}

/* Two columns when the article area itself is wide enough */
@container an-article (min-width: 860px) {
	.an-theme .an-article .main_entry {
		float: left;
		width: calc(100% - 320px - 3rem);
	}

	.an-theme .an-article .entry_details {
		float: right;
		width: 320px;
		margin-top: 0;
		position: sticky;
		top: 1.5rem;
	}
}

.an-article__grid::after {
	content: "";
	display: table;
	clear: both;
}

/* In-page table of contents */
.an-toc {
	margin: 0 0 2rem;
	padding: 1rem 1.25rem;
	background: var(--an-primary-soft);
	border-radius: var(--an-radius-sm);
}

.an-toc[hidden] {
	display: none;
}

.an-toc__title {
	margin: 0 0 .5rem !important;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--an-primary);
}

.an-toc__list {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem 1.25rem;
	margin: 0 !important;
	padding: 0;
	list-style: none;
	counter-reset: an-toc;
}

.an-toc__list li {
	counter-increment: an-toc;
}

.an-toc__list a {
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
}

.an-toc__list a::before {
	content: counter(an-toc, decimal-leading-zero) " ";
	color: var(--an-accent);
	font-variant-numeric: tabular-nums;
	margin-right: .2rem;
}

/* Main column blocks */
.an-theme .an-article .main_entry .item {
	margin: 0 0 2.25rem;
	padding: 0;
}

.an-theme .an-article .main_entry .item > .label,
.an-theme .an-article .main_entry .item > h2.label,
.an-theme .an-article .main_entry .item > h2 {
	display: flex;
	align-items: center;
	gap: .65rem;
	margin: 0 0 1rem;
	font-family: var(--an-font-heading);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--an-ink);
	scroll-margin-top: 1.5rem;
}

.an-theme .an-article .main_entry .item > .label::before,
.an-theme .an-article .main_entry .item > h2::before {
	content: "";
	width: 4px;
	height: 1.1em;
	border-radius: 2px;
	background: var(--an-accent);
}

.an-theme .an-article .abstract .an-prose {
	font-size: 1.04rem;
	line-height: 1.8;
	color: var(--an-ink-2);
	hyphens: auto;
}

.an-theme .an-article .abstract .an-prose strong,
.an-theme .an-article .abstract .an-prose b {
	color: var(--an-ink);
}

.an-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.an-chips a {
	display: inline-block;
	padding: .35rem .85rem;
	border: 1px solid var(--an-line);
	border-radius: 999px;
	background: var(--an-surface);
	color: var(--an-ink-2);
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
}

.an-chips a:hover,
.an-chips a:focus {
	border-color: var(--an-primary);
	background: var(--an-primary-soft);
	color: var(--an-primary);
}

.an-theme .an-article .author_bios ul.authors {
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .an-article .author_bios .sub_item {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius-sm);
}

.an-theme .an-article .author_bios .sub_item .label {
	font-weight: 700;
	margin-bottom: .35rem;
}

.an-references {
	margin: 0 !important;
	padding-left: 1.75rem;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--an-ink-2);
}

.an-references li {
	margin: 0 0 .75rem;
	padding-left: .35rem;
	word-break: break-word;
}

.an-references li::marker {
	color: var(--an-muted);
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.an-references--raw {
	padding-left: 0;
}

/* Aside panels */
.an-theme .an-article .entry_details .item,
.an-panel {
	margin: 0 0 1rem;
	padding: 1.15rem 1.25rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	font-size: .92rem;
}

.an-theme .an-article .entry_details .item.cover_image {
	padding: 0;
	overflow: hidden;
}

.an-theme .an-article .entry_details .cover_image img {
	display: block;
	width: 100%;
}

.an-theme .an-article .entry_details .label {
	display: block;
	margin: 0 0 .4rem;
	font-family: var(--an-font-body);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-theme .an-article .entry_details .sub_item + .sub_item {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--an-line);
}

.an-theme .an-article .entry_details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .an-article .entry_details .value a.title {
	font-weight: 700;
}

.an-theme .an-article .entry_details .copyright img {
	margin: .5rem 0;
}

/* Plugin output in aside (How to cite, recommendations, etc.) */
.an-aside-hooks > * {
	margin: 0 0 1rem;
	padding: 1.15rem 1.25rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	font-size: .92rem;
}

.an-aside-hooks > *:empty {
	display: none;
}

.an-theme .item.citation .citation_display,
.an-theme .citation_display {
	margin: .25rem 0 .75rem;
	padding: .85rem 1rem;
	background: var(--an-surface-2);
	border-left: 3px solid var(--an-accent);
	border-radius: 6px;
	font-size: .88rem;
	line-height: 1.55;
	word-break: break-word;
}

.an-theme .citation_formats {
	margin-top: .5rem;
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius-sm);
}

.an-theme .citation_formats_button {
	width: 100%;
	padding: .6rem .85rem;
	border: 0;
	background: transparent;
	font: inherit;
	font-weight: 700;
	font-size: .85rem;
	color: var(--an-primary);
	text-align: left;
	cursor: pointer;
}

.an-theme .citation_formats_list {
	padding: 0 .85rem .75rem;
}

.an-theme .citation_formats_styles a,
.an-theme .citation_formats_list a {
	font-size: .85rem;
}

/* ============================================================ 12 Announcements, search, forms, pages */
.an-theme .cmp_announcements {
	display: grid;
	gap: 1rem;
	margin: 0 0 3.5rem;
}

@media (min-width: 768px) {
	.an-theme .cmp_announcements:has(> .obj_announcement_summary:nth-of-type(2)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.an-theme .cmp_announcements > h2 {
	grid-column: 1 / -1;
	margin: 0 0 .5rem !important;
}

.an-theme .cmp_announcements .obj_announcement_summary,
.an-theme .cmp_announcements > .more {
	margin: 0;
	padding: 1.25rem 1.4rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

.an-theme .cmp_announcements > .more {
	display: grid;
	gap: 1rem;
	background: transparent;
	border-style: dashed;
}

.an-theme .obj_announcement_summary h2,
.an-theme .obj_announcement_summary h3,
.an-theme .obj_announcement_summary h4 {
	margin: 0 0 .5rem !important;
	font-size: 1.1rem !important;
	line-height: 1.35 !important;
}

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

.an-theme .obj_announcement_summary .date {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-bottom: .5rem;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--an-accent);
}

.an-theme .obj_announcement_summary .summary {
	font-size: .93rem;
	color: var(--an-ink-2);
}

.an-theme .obj_announcement_summary .read_more {
	font-weight: 700;
	font-size: .88rem;
	text-decoration: none;
}

.an-theme .obj_announcement_full {
	padding: 2rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

/* Static/info pages */
.an-theme .page_about,
.an-theme .page_submissions,
.an-theme .page_contact,
.an-theme .page_privacy,
.an-theme .page_editorial_masthead,
.an-theme .page_information,
.an-theme .page_editorial_history {
	max-width: 860px;
}

.an-theme .page_submissions .cmp_notification,
.an-theme .cmp_notification {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--an-line);
	border-left: 4px solid var(--an-primary);
	border-radius: var(--an-radius-sm);
	background: var(--an-primary-soft);
	color: var(--an-ink);
}

.an-theme .cmp_notification.warning {
	border-left-color: var(--an-accent);
	background: var(--an-accent-soft);
}

.an-theme .page_submissions .submission_checklist ul,
.an-theme .page_submissions .author_guidelines ul {
	padding-left: 1.25rem;
}

.an-theme .page_submissions .submission_checklist li {
	margin-bottom: .5rem;
}

.an-theme .page_submissions .section_policy,
.an-theme .page_submissions .submission_checklist,
.an-theme .page_submissions .author_guidelines,
.an-theme .page_submissions .copyright_notice,
.an-theme .page_submissions .privacy_statement {
	margin: 0 0 1.5rem;
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

.an-theme .page_submissions .section_policy h3,
.an-theme .page_submissions .submission_checklist h2,
.an-theme .page_submissions .author_guidelines h2,
.an-theme .page_submissions .copyright_notice h2,
.an-theme .page_submissions .privacy_statement h2 {
	margin-top: 0;
}

.an-theme .page_contact .contact_section,
.an-theme .page_contact .contact {
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	margin-bottom: 1rem;
}

.an-theme .page_contact .address {
	margin-bottom: 1.5rem;
}

/* Editorial masthead */
.an-theme .page_editorial_masthead ul.user_listing,
.an-theme .page_editorial_masthead .user_listing {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
	margin: 1rem 0 2rem;
	padding: 0;
	list-style: none;
}

.an-theme .page_editorial_masthead .user_listing > li {
	margin: 0;
	padding: 1rem 1.15rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius-sm);
	line-height: 1.5;
}

/* Search */
.an-theme .page_search .cmp_form {
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	margin-bottom: 2rem;
}

.an-theme .page_search .search_input input,
.an-theme .page_search input.query {
	width: 100%;
	font-size: 1.05rem;
	padding: .85rem 1rem;
}

.an-theme .page_search .search_advanced {
	margin-top: 1rem;
}

.an-theme .page_search .search_results {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Forms (login, register, search, profile) */
.an-theme .cmp_form fieldset {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
}

.an-theme .cmp_form legend {
	margin-bottom: 1rem;
	font-family: var(--an-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--an-ink);
}

.an-theme .cmp_form .fields > div,
.an-theme .cmp_form .fields > fieldset {
	margin-bottom: 1rem;
}

.an-theme .cmp_form label,
.an-theme .cmp_form .label {
	display: block;
	font-size: .9rem;
	font-weight: 600;
	color: var(--an-ink-2);
}

.an-theme .cmp_form .required {
	color: var(--an-accent);
}

.an-theme input[type="text"],
.an-theme input[type="email"],
.an-theme input[type="password"],
.an-theme input[type="search"],
.an-theme input[type="url"],
.an-theme input[type="tel"],
.an-theme input[type="date"],
.an-theme input[type="number"],
.an-theme select,
.an-theme textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: .35rem;
	padding: .7rem .9rem;
	border: 1px solid var(--an-line-strong);
	border-radius: var(--an-radius-sm);
	background: var(--an-surface);
	color: var(--an-ink);
	font: inherit;
	font-size: .98rem;
	line-height: 1.4;
	transition: border-color .15s var(--an-ease), box-shadow .15s var(--an-ease);
}

.an-theme .an-hero__search input[type="search"] {
	width: auto;
	margin: 0;
	padding: .55rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.an-theme input:focus,
.an-theme select:focus,
.an-theme textarea:focus {
	outline: none;
	border-color: var(--an-primary);
	box-shadow: 0 0 0 3px var(--an-primary-soft);
}

.an-theme .an-hero__search input:focus {
	box-shadow: none;
}

.an-theme input[type="checkbox"],
.an-theme input[type="radio"] {
	accent-color: var(--an-primary);
	width: 1.05rem;
	height: 1.05rem;
	vertical-align: -0.15em;
	margin-right: .4rem;
}

.an-theme .page_login,
.an-theme .page_register,
.an-theme .page_lost_password {
	max-width: 560px;
	margin: 0 auto;
}

.an-theme .page_login .cmp_form,
.an-theme .page_register .cmp_form,
.an-theme .page_lost_password .cmp_form {
	padding: 2rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow);
}

.an-theme .page_login .cmp_form .buttons,
.an-theme .page_register .cmp_form .buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
	margin-top: 1.5rem;
}

.an-theme .page_login .cmp_form .buttons a {
	margin: 0;
}

.an-theme .pkp_form_error,
.an-theme .cmp_form .pkp_form_error {
	padding: .85rem 1rem;
	border-radius: var(--an-radius-sm);
	background: #FCECEC;
	color: #8A1F1F;
	font-weight: 600;
}

/* Category / catalog */
.an-theme .page_catalog_category .about_section {
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
	font-style: normal;
	color: var(--an-ink-2);
}

/* ============================================================ 13 Footer */
.an-footer {
	position: relative;
	margin-top: auto;
	background: #10161F;
	color: rgba(255, 255, 255, .78);
	font-size: .92rem;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.an-footer {
		background: color-mix(in srgb, var(--an-primary) 30%, #0B1018);
	}
}

.an-footer::before {
	content: "";
	display: block;
	height: 5px;
	background: repeating-linear-gradient(90deg, var(--an-accent) 0 48px, transparent 48px 56px);
}

.an-footer a {
	color: rgba(255, 255, 255, .88);
	text-decoration: none;
}

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

.an-footer__grid {
	display: grid;
	gap: 2.25rem;
	padding-top: 3.5rem;
	padding-bottom: 3rem;
}

@media (min-width: 720px) {
	.an-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.an-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
		gap: 3rem;
	}
}

.an-footer__title {
	margin: 0 0 1rem;
	font-family: var(--an-font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.an-footer__heading {
	margin: 0 0 1rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .55);
}

.an-footer__facts,
.an-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-footer__facts li {
	margin-bottom: .4rem;
}

.an-footer__facts span {
	display: inline-block;
	min-width: 5.5rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

.an-footer__links li {
	margin-bottom: .55rem;
}

.an-theme .an-footer .pkp_footer_content {
	padding: 0;
	text-align: left;
}

.an-footer__custom p:first-child {
	margin-top: 0;
}

.an-footer__custom img {
	max-height: 56px;
	width: auto;
	margin: .25rem .5rem .25rem 0;
	padding: .35rem .5rem;
	border-radius: 6px;
	background: #fff;
	vertical-align: middle;
}

.an-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .82rem;
	color: rgba(255, 255, 255, .6);
}

.an-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.an-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	margin: 0;
}

.an-theme .an-footer .pkp_brand_footer {
	margin: 0;
	padding: 0;
}

.an-theme .an-footer .pkp_brand_footer a {
	float: none;
	max-width: none;
	display: inline;
}

.an-backtotop {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
}

/* ============================================================ 14 Utilities, print, motion */
.an-theme .pkp_screen_reader {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.an-theme .cmp_edit_link {
	font-size: .82rem;
	font-weight: 700;
}

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

	.an-theme *,
	.an-theme *::before,
	.an-theme *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}

	.an-issue-card { transform: none; }
}

@media print {
	.an-topbar,
	.an-nav,
	.an-nav-toggle,
	.an-hero__search,
	.an-share,
	.an-copy,
	.an-toc,
	.pkp_structure_sidebar,
	.an-footer__grid nav,
	.an-backtotop {
		display: none !important;
	}

	body.an-theme,
	html {
		background: #fff;
		font-size: 11pt;
	}

	.an-article__head,
	.an-theme .obj_article_summary.an-card,
	.an-panel,
	.an-theme .an-article .entry_details .item {
		box-shadow: none;
		border-color: #ccc;
	}

	.an-theme .an-article .main_entry,
	.an-theme .an-article .entry_details {
		float: none !important;
		width: auto !important;
		position: static !important;
	}

	.an-footer {
		background: #fff;
		color: #000;
	}

	.an-footer a { color: #000; }
}

/* ---- Overrides of PKP default article_details spacing inside the Andina header ---- */
.an-theme .obj_article_details .an-article__head .item,
.an-theme .obj_article_details .an-article__head .item .value {
	margin: 0;
	padding: 0;
	border: 0;
}

.an-theme .obj_article_details .an-authors ul.authors li {
	padding: 0;
	margin: 0;
}

.an-theme .obj_article_details .an-facts .label {
	display: block;
	margin: 0 0 .15rem;
	font-family: var(--an-font-body);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-theme .obj_article_details .an-facts__item {
	padding-left: 0;
}

.an-theme .obj_article_details .row,
.an-theme .obj_article_details .entry_details,
.an-theme .obj_article_details .main_entry {
	border: 0;
}

.an-theme .obj_article_details .row::before,
.an-theme .obj_article_details .entry_details::before,
.an-theme .obj_article_details .entry_details::after {
	display: none;
}

.an-theme .obj_article_details .an-article__head .an-authors {
	margin: 1.25rem 0 1.5rem;
}

.an-theme .obj_article_details .an-article__head .an-facts__item {
	padding: .85rem 1.5rem .85rem 0;
}

.an-theme .obj_article_details .an-article__head .an-facts__item:last-child {
	padding-right: 0;
}

@media (max-width: 640px) {
	.an-theme .obj_article_details .an-article__head .an-facts__item {
		padding-right: 0;
	}
}

@media (max-width: 899px) {
	.an-hero__issue {
		max-width: 420px;
		justify-self: start;
	}

	.an-issue-card {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		transform: none;
	}

	.an-issue-card__cover {
		aspect-ratio: auto;
		height: 100%;
		min-height: 130px;
	}

	.an-issue-card__placeholder {
		font-size: .85rem;
		padding: .75rem;
	}
}

/* ---- Homepage abstract excerpt ---- */
.an-card__excerpt {
	margin-top: .9rem;
	padding-top: .85rem;
	border-top: 1px dashed var(--an-line);
}

.an-theme .pkp_structure_main .an-card__excerpt-text {
	margin: 0;
	font-size: .94rem;
	line-height: 1.65;
	color: var(--an-ink-2);
	hyphens: auto;
}

.an-card__excerpt-label {
	font-weight: 700;
	color: var(--an-ink);
}

.an-card__excerpt-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: .5rem 1.25rem;
	margin-top: .6rem;
}

.an-card__abstract--inline {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	border: 0;
}

.an-card__abstract--inline[open] {
	flex-basis: 100%;
	order: 2;
}

.an-card__abstract--inline .an-prose {
	padding: .85rem 1rem;
	background: var(--an-surface-2);
	border-radius: var(--an-radius-sm);
}

.an-theme .an-card__readmore {
	flex: 0 0 auto;
	font-size: .85rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.an-theme .an-card__readmore span {
	display: inline-block;
	transition: transform .18s var(--an-ease);
}

.an-theme .an-card__readmore:hover span {
	transform: translateX(3px);
}

/* ---- OJS 3.3: "How to cite" block rendered by the theme template ---- */
.an-theme .an-article .item.citation .citation_display {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.an-theme .an-article #citationOutput {
	margin: .25rem 0 .75rem;
	padding: .85rem 1rem;
	background: var(--an-surface-2);
	border-left: 3px solid var(--an-accent);
	border-radius: 6px;
	font-size: .88rem;
	line-height: 1.55;
	word-break: break-word;
}

.an-theme .an-article .citation_formats_list[aria-hidden="true"] {
	display: none;
}

/* =====================================================================
   v1.2 — Armonización: cabecera, banner, listados y página de artículo
   ===================================================================== */
:root {
	--an-deep: #0E2742;
	--an-deep-2: #12355B;
	--an-on-deep: #ffffff;
}

/* ---------- Header: utility bar + brand row + full-width nav row ---------- */
.an-topbar {
	background: var(--an-deep);
	color: var(--an-on-deep);
}

.an-theme .an-usernav > li > a,
.an-theme .an-usernav > li > a:hover,
.an-theme .an-usernav > li > a:focus {
	color: var(--an-on-deep);
}

.an-masthead__inner {
	min-height: 0;
	padding-top: .9rem;
	padding-bottom: .9rem;
}

.an-brand {
	padding: 0;
}

.an-brand__link img {
	max-height: 72px;
	max-width: min(100%, 560px);
	object-fit: contain;
}

@media (min-width: 992px) {
	.an-masthead__inner {
		flex-wrap: wrap;
		row-gap: 0;
		padding-bottom: 0;
	}

	.an-nav {
		flex: 1 0 100%;
		order: 3;
		margin: .9rem 0 0;
		padding: 0;
		border-top: 1px solid var(--an-line);
		justify-content: flex-start;
		gap: 0;
	}

	.an-theme .an-nav .pkp_nav_list,
	.an-theme .an-nav .an-nav__list {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 0;
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a {
		padding: .85rem 1rem;
		border-radius: 0;
		font-size: .82rem;
		font-weight: 700;
		letter-spacing: .06em;
		text-transform: uppercase;
		color: var(--an-ink-2);
	}

	.an-theme .an-nav .pkp_navigation_primary > li:first-child > a {
		padding-left: 0;
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a::before {
		left: 1rem;
		right: 1rem;
		bottom: 0;
		height: 3px;
	}

	.an-theme .an-nav .pkp_navigation_primary > li:first-child > a::before {
		left: 0;
	}

	.an-theme .an-nav .pkp_navigation_primary > li > a:hover,
	.an-theme .an-nav .pkp_navigation_primary > li > a:focus {
		background: transparent;
		color: var(--an-primary);
	}

	.an-nav__search {
		margin: .35rem 0 .35rem auto;
		padding: .5rem 1rem;
		border-color: var(--an-line);
		font-size: .85rem;
	}
}

/* ---------- Hero: always a deep brand background with white text ---------- */
.an-hero,
.an-hero.has-image {
	color: var(--an-on-deep);
	background-color: var(--an-deep);
}

.an-hero {
	background: linear-gradient(120deg, var(--an-deep) 0%, var(--an-deep-2) 100%);
}

.an-hero.has-image {
	background:
		linear-gradient(100deg, var(--an-deep) 0%, var(--an-deep) 34%, rgba(11, 18, 32, .72) 62%, rgba(11, 18, 32, .45) 100%),
		var(--an-hero-image) center / cover no-repeat,
		var(--an-deep);
}

.an-hero__title,
.an-hero .an-eyebrow,
.an-hero__lead {
	color: var(--an-on-deep);
}

.an-hero__badges li {
	border-color: rgba(255, 255, 255, .32);
	background: rgba(255, 255, 255, .08);
	color: var(--an-on-deep);
}

.an-theme .an-hero .an-btn--accent {
	background: #ffffff;
	border-color: #ffffff;
	color: var(--an-deep);
}

.an-theme .an-hero .an-btn--accent:hover,
.an-theme .an-hero .an-btn--accent:focus {
	background: var(--an-accent);
	border-color: var(--an-accent);
	color: var(--an-on-accent);
}

.an-theme .an-hero .an-btn--ghost {
	border-color: rgba(255, 255, 255, .6);
	color: var(--an-on-deep);
}

.an-hero__search button {
	background: var(--an-deep);
	color: var(--an-on-deep);
}

.an-issue-card {
	transform: none;
}

.an-issue-card:hover,
.an-issue-card:focus {
	transform: translateY(-3px);
}

.an-issue-card__label {
	color: var(--an-primary);
}

.an-issue-card__cta {
	color: var(--an-primary);
}

/* Footer uses the same deep tone */
.an-footer,
.an-theme .an-footer {
	background: var(--an-deep);
}

/* ---------- Article listing (homepage, issue TOC, search) ---------- */
.an-theme .cmp_article_list {
	gap: 0;
	border-top: 1px solid var(--an-line);
}

.an-theme .cmp_article_list > li {
	border-bottom: 1px solid var(--an-line);
}

.an-theme .obj_article_summary.an-item {
	display: block;
	padding: 1.5rem 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.an-theme .obj_article_summary.an-item::after {
	display: none;
}

.an-item__type {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .9rem;
	margin-bottom: .45rem;
	font-size: .8rem;
	color: var(--an-muted);
}

.an-item__section {
	font-weight: 700;
	color: var(--an-ink-2);
}

.an-item__oa {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-weight: 700;
	color: var(--an-success);
}

.an-item__oa .an-oa-icon {
	width: 9px;
	height: 12px;
}

.an-theme .pkp_structure_main .obj_article_summary .an-item__title {
	margin: 0 0 .45rem;
	font-family: var(--an-font-heading);
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.38;
	letter-spacing: -.005em;
	text-transform: none;
	hyphens: manual;
	overflow-wrap: break-word;
}

.an-theme .obj_article_summary .an-item__title a {
	color: var(--an-primary);
	text-decoration: none;
}

.an-theme .obj_article_summary .an-item__title a:hover,
.an-theme .obj_article_summary .an-item__title a:focus {
	color: var(--an-primary);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--an-accent);
}

.an-theme .obj_article_summary .an-item__title .subtitle {
	display: block;
	margin-top: .2rem;
	font-family: var(--an-font-body);
	font-size: .95rem;
	font-weight: 400;
	color: var(--an-muted);
}

.an-theme .pkp_structure_main .an-item__authors {
	margin: 0 0 .6rem;
	padding: 0;
	font-size: .92rem;
	line-height: 1.5;
	color: var(--an-ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.an-theme .pkp_structure_main .an-item__snippet {
	margin: 0 0 .7rem;
	max-width: 78ch;
	font-size: .95rem;
	line-height: 1.65;
	color: var(--an-ink-2);
	hyphens: manual;
	overflow-wrap: break-word;
}

.an-theme .pkp_structure_main .an-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .2rem 1.1rem;
	margin: 0 0 .85rem;
	padding: 0;
	font-size: .84rem;
	line-height: 1.5;
	color: var(--an-muted);
}

.an-theme .obj_article_summary .an-item__meta .pages {
	position: static;
	color: var(--an-muted);
}

.an-item__doi a {
	color: var(--an-muted);
	word-break: break-all;
}

.an-item__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .6rem 1.25rem;
}

.an-theme .an-item__actions .galleys_links {
	margin: 0;
}

.an-theme .an-item__actions .obj_galley_link {
	padding: .45rem .95rem;
	font-size: .82rem;
}

.an-item__abstract {
	order: 5;
	flex: 0 1 auto;
}

.an-item__abstract[open] {
	flex-basis: 100%;
}

.an-item__abstract summary {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	cursor: pointer;
	list-style: none;
	font-size: .86rem;
	font-weight: 700;
	color: var(--an-primary);
}

.an-item__abstract summary::-webkit-details-marker {
	display: none;
}

.an-item__abstract summary::after {
	content: "";
	width: .45em;
	height: .45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .18s var(--an-ease);
}

.an-item__abstract[open] summary::after {
	transform: rotate(-135deg) translate(-2px, 0);
}

.an-item__abstract .an-prose {
	margin-top: .75rem;
	padding: 1rem 1.2rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-left: 3px solid var(--an-primary);
	border-radius: var(--an-radius-sm);
	font-size: .93rem;
	line-height: 1.7;
	color: var(--an-ink-2);
	hyphens: manual;
}

.an-theme .an-item__more {
	order: 4;
	font-size: .86rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--an-primary);
}

.an-theme .an-item__more:hover span {
	display: inline-block;
	transform: translateX(3px);
}

/* Section heading inside the TOC */
.an-theme .pkp_structure_main .obj_issue_toc .section > h2,
.an-theme .pkp_structure_main .obj_issue_toc .section > h3,
.an-theme .pkp_structure_main .obj_issue_toc .section > h4 {
	margin: 0 0 .25rem;
	color: var(--an-ink-2);
}

.an-theme .obj_issue_toc .section {
	margin-bottom: 3rem;
}

/* Issue heading block on home and issue pages */
.an-theme .obj_issue_toc .heading {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin-bottom: 2rem;
}

.an-theme .obj_issue_toc .heading .cover img {
	border: 1px solid var(--an-line);
}

/* ---------- Article page (editorial layout) ---------- */
.an-theme .an-article__head {
	padding: 0 0 1.5rem;
	margin-bottom: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--an-line);
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.an-theme .an-article__head::before {
	display: none;
}

.an-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem 1rem;
	margin: 0 0 .9rem;
	font-size: .85rem;
	color: var(--an-muted);
}

.an-article__meta .an-article__type {
	font-weight: 700;
	color: var(--an-ink-2);
}

.an-article__meta .an-item__oa {
	font-size: .85rem;
}

.an-theme .pkp_structure_main .an-article__title {
	margin: 0 0 1rem;
	max-width: 44ch;
	font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem);
	line-height: 1.22;
	hyphens: manual;
}

.an-theme .an-article__subtitle {
	margin-top: -.5rem !important;
}

/* Authors with superscript affiliation numbers */
.an-theme .pkp_structure_main .an-authorline {
	display: flex;
	flex-wrap: wrap;
	gap: .15rem 0;
	margin: 0 0 .5rem;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1.6;
}

.an-authorline li {
	margin: 0;
}

.an-authorline li:not(:last-child)::after {
	content: ",";
	margin-right: .4rem;
	color: var(--an-ink-2);
}

.an-authorline__name {
	font-weight: 600;
	color: var(--an-ink);
}

.an-authorline sup {
	margin-left: .1rem;
	font-size: .68em;
	font-weight: 700;
	color: var(--an-primary);
}

.an-authorline__orcid {
	display: inline-flex;
	vertical-align: middle;
	margin-left: .25rem;
}

.an-authorline__orcid svg,
.an-authorline__orcid img {
	width: 15px;
	height: 15px;
}

.an-authorline__contact {
	margin-left: .2rem;
	color: var(--an-muted);
	font-size: .85em;
}

.an-affiliations {
	margin: 0 0 1rem;
}

.an-affiliations summary {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	cursor: pointer;
	list-style: none;
	font-size: .84rem;
	font-weight: 700;
	color: var(--an-primary);
}

.an-affiliations summary::-webkit-details-marker {
	display: none;
}

.an-theme .pkp_structure_main .an-affiliations ol {
	margin: .5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: .86rem;
	line-height: 1.55;
	color: var(--an-ink-2);
}

.an-affiliations li {
	display: flex;
	gap: .5rem;
	margin-bottom: .25rem;
}

.an-affiliations li span:first-child {
	min-width: 1.1rem;
	font-weight: 700;
	color: var(--an-primary);
}

.an-theme .pkp_structure_main .an-citeline {
	margin: 0 0 1.25rem;
	font-size: .9rem;
	color: var(--an-ink-2);
}

.an-citeline em {
	font-style: italic;
}

.an-citeline a {
	color: var(--an-ink-2);
}

/* Action row */
.an-theme .an-article__actions {
	justify-content: flex-start;
	gap: .75rem 1.25rem;
}

.an-theme .an-article__actions .galleys .obj_galley_link {
	padding: .7rem 1.35rem;
	font-size: .92rem;
}

.an-link-cite {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
}

.an-theme .an-article__actions .an-share {
	margin-left: auto;
}

/* Body: reading column + sticky sidebar */
.an-theme .an-article .an-article__grid {
	margin-top: 2rem;
}

@container an-article (min-width: 860px) {
	.an-theme .an-article .main_entry {
		width: calc(100% - 280px - 3rem);
	}

	.an-theme .an-article .entry_details {
		width: 280px;
	}
}

.an-theme .an-article .main_entry .item > .label,
.an-theme .an-article .main_entry .item > h2.label,
.an-theme .an-article .main_entry .item > h2 {
	font-size: 1.45rem;
	padding-bottom: .5rem;
	border-bottom: 1px solid var(--an-line);
}

.an-theme .an-article .main_entry .item > .label::before,
.an-theme .an-article .main_entry .item > h2::before {
	display: none;
}

.an-theme .an-article .abstract .an-prose {
	font-size: 1.02rem;
	line-height: 1.8;
	hyphens: manual;
}

.an-theme .an-article .abstract .an-prose p strong:first-child,
.an-theme .an-article .abstract .an-prose p b:first-child {
	display: block;
	margin-bottom: .15rem;
	font-family: var(--an-font-heading);
	font-size: 1.05rem;
	color: var(--an-ink);
}

/* Sidebar: sticky nav + download */
.an-side-nav {
	margin: 0 0 1rem;
	padding: 1.1rem 1.2rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

.an-side-nav .an-btn {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 1rem;
}

.an-side-nav__title {
	margin: 0 0 .5rem !important;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-theme .pkp_structure_main .an-side-nav ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--an-line);
}

.an-side-nav li a {
	display: block;
	margin-left: -2px;
	padding: .35rem 0 .35rem .85rem;
	border-left: 2px solid transparent;
	font-size: .88rem;
	font-weight: 600;
	color: var(--an-ink-2);
	text-decoration: none;
}

.an-side-nav li a:hover,
.an-side-nav li a.is-active {
	border-left-color: var(--an-accent);
	color: var(--an-primary);
}

/* The inline TOC is replaced by the sidebar nav on wide layouts */
@container an-article (min-width: 860px) {
	.an-theme .an-article .an-toc {
		display: none !important;
	}
}

/* "About this article" block */
.an-about {
	margin: 2.5rem 0 0;
	padding-top: 0;
}

.an-theme .pkp_structure_main .an-about > h2 {
	margin: 0 0 1.25rem;
	padding-bottom: .5rem;
	border-bottom: 1px solid var(--an-line);
	font-size: 1.45rem;
}

.an-about__grid {
	display: grid;
	gap: 1.25rem 2rem;
}

@container an-article (min-width: 620px) {
	.an-about__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.an-about__block {
	min-width: 0;
}

.an-about__block--wide {
	grid-column: 1 / -1;
}

.an-theme .pkp_structure_main .an-about__label {
	margin: 0 0 .35rem;
	font-family: var(--an-font-body);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--an-muted);
}

.an-about__block .value,
.an-about__block p {
	font-size: .92rem;
	line-height: 1.6;
}

.an-theme .pkp_structure_main .an-about__dates {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-about__dates li span {
	display: block;
	font-size: .78rem;
	color: var(--an-muted);
}

.an-about__dates li strong {
	font-size: .95rem;
	color: var(--an-ink);
}

.an-about .citation_display,
.an-about #citationOutput {
	margin-top: 0;
}

.an-about .copyright img {
	margin: .4rem 0;
}

/* Hide old-style key facts strip when present */
.an-theme .an-article__head .an-facts {
	display: none;
}

@media (max-width: 640px) {
	.an-theme .an-article__actions .an-share {
		margin-left: 0;
	}
}

.an-side-nav__download .obj_galley_link {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
	padding: .8rem 1rem;
	margin-bottom: 1.1rem;
	font-size: .92rem;
}

.an-side-nav__list:empty,
.an-side-nav__list:empty + * {
	display: none;
}

.an-orcid-badge {
	display: inline-grid;
	place-items: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #A6CE39;
	color: #fff;
	font-size: 8px;
	font-weight: 700;
}

.an-theme .an-about .citation_display {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
}

.an-theme .an-about .citation_formats {
	border: 0;
	margin-top: .5rem;
}

.an-theme .an-about .citation_formats_button {
	display: inline-flex;
	width: auto;
	padding: .45rem .9rem;
	border: 1px solid var(--an-line);
	border-radius: 999px;
	background: var(--an-surface);
	color: var(--an-primary);
	font-size: .82rem;
}

/* ===================== v1.3 ===================== */
/* Authors as continuous text (one paragraph, comma separated) */
.an-theme .pkp_structure_main .an-authorline {
	display: block;
	margin: 0 0 .6rem;
	padding: 0;
	list-style: none;
	font-size: 1rem;
	line-height: 1.7;
}

.an-theme .pkp_structure_main .an-authorline li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-theme .pkp_structure_main .an-authorline li::before {
	display: none;
}

.an-theme .pkp_structure_main .an-authorline li:not(:last-child)::after {
	content: ", ";
	margin-right: 0;
	white-space: pre;
}

.an-theme .pkp_structure_main .an-authorline__orcid {
	display: inline-block;
	vertical-align: -2px;
	margin-left: .2rem;
	text-decoration: none;
}

.an-theme .pkp_structure_main .an-affiliations ol,
.an-theme .pkp_structure_main .an-affiliations li {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

/* Hero: current issue shown as a clean, clickable cover */
.an-hero__issue {
	justify-self: end;
	max-width: 300px;
}

.an-hero-cover {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, .08);
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
	transition: transform .25s var(--an-ease), box-shadow .25s var(--an-ease);
}

.an-hero-cover:hover,
.an-hero-cover:focus {
	transform: translateY(-4px);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 2px rgba(255, 255, 255, .5);
}

.an-hero-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.an-hero-cover__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: .5rem;
	aspect-ratio: 3 / 4;
	padding: 1.5rem;
	box-sizing: border-box;
	background: linear-gradient(160deg, var(--an-deep-2), var(--an-deep));
	color: #fff;
}

.an-hero-cover__label {
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .75;
}

.an-hero-cover__title {
	font-family: var(--an-font-heading);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.25;
}

@media (max-width: 899px) {
	.an-hero__issue {
		justify-self: start;
		max-width: 200px;
	}
}

/* v1.3.1 — meta lines: text separated by a visible "|" with breathing room */
.an-theme .an-item__type,
.an-theme .an-article__meta {
	display: block;
	line-height: 1.7;
}

.an-theme .an-item__type > span,
.an-theme .an-article__meta > span {
	display: inline;
}

.an-theme .an-sep {
	display: inline-block;
	margin: 0 .65em;
	color: var(--an-line-strong);
	font-weight: 400;
}

/* ===================== v1.4 — full width + article two-column layout ===================== */
:root {
	--an-container: 1480px;
	--an-gutter: clamp(20px, 3.5vw, 56px);
}

/* Use the whole browser width (some installs box the page) */
html body.an-theme,
.an-theme .pkp_structure_page {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-shadow: none !important;
}

.an-theme .pkp_structure_page {
	background: var(--an-bg);
}

/* Pages without the block sidebar use the full content width */
.an-theme .pkp_structure_content:not(.has_sidebar) {
	display: block;
}

@media (min-width: 992px) {
	.an-theme .pkp_structure_content.has_sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 4rem;
	}
}

/* ---- Article page: primary column + right column ---- */
.an-theme .an-article .an-article__grid {
	container-type: normal;
	margin-top: 2rem;
}

.an-theme .an-article .main_entry,
.an-theme .an-article .entry_details {
	float: none !important;
	width: auto !important;
	position: static;
	margin: 0;
}

.an-article__layout {
	display: block;
}

.an-theme .an-article .an-article__aside {
	margin-top: 2.5rem;
}

@media (min-width: 1100px) {
	.an-article__layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 3.5rem;
		align-items: start;
	}

	.an-theme .an-article .an-article__aside {
		margin-top: 0;
		position: sticky;
		top: 1.5rem;
		max-height: calc(100vh - 3rem);
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.an-theme .an-article .an-toc {
		display: none !important;
	}
}

@media (min-width: 1400px) {
	.an-article__layout {
		grid-template-columns: minmax(0, 1fr) 400px;
		gap: 4.5rem;
	}
}

@media (max-width: 1099px) {
	.an-side-nav {
		display: none;
	}
}

.an-theme .pkp_structure_main .an-article__title {
	max-width: none;
}

/* "About this article" as a card in the right column */
.an-theme .an-about.an-about--card {
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.4rem 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-top: 4px solid var(--an-deep);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow-sm);
}

.an-theme .pkp_structure_main .an-about--card > h2 {
	margin: 0 0 1rem;
	padding: 0 0 .75rem;
	border-bottom: 1px solid var(--an-line);
	font-size: 1.15rem;
}

.an-theme .an-about--card .an-about__grid {
	display: block;
}

.an-theme .an-about--card .an-about__block {
	margin: 0;
	padding: .85rem 0;
	border-bottom: 1px dashed var(--an-line);
}

.an-theme .an-about--card .an-about__block:first-child {
	padding-top: 0;
}

.an-theme .an-about--card .an-about__block:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.an-theme .an-about--card #citationOutput,
.an-theme .an-about--card .citation_display #citationOutput {
	margin: 0 0 .5rem;
	padding: .75rem .85rem;
	font-size: .84rem;
}

.an-theme .an-about--card .an-about__dates {
	gap: .5rem 1.5rem;
}

.an-theme .an-about--card .doi .value a {
	font-size: .85rem;
	word-break: break-all;
}

.an-theme .an-about--card .copyright,
.an-theme .an-about--card .copyright p {
	font-size: .84rem;
	line-height: 1.55;
}

.an-theme .an-about--card .copyright img {
	max-width: 100%;
	height: auto;
}

/* Section navigation card under it */
.an-theme .an-side-nav {
	border-radius: var(--an-radius);
}

/* v1.4 — fluid, near full-width container */
:root {
	--an-container: 1760px;
	--an-gutter: clamp(20px, 3.6vw, 72px);
}

@media (min-width: 1600px) {
	.an-article__layout {
		grid-template-columns: minmax(0, 1fr) 420px;
	}
}

.an-theme .an-article .main_entry .an-prose,
.an-theme .an-article .an-references {
	max-width: 120ch;
}

.an-theme .pkp_structure_main .an-item__snippet {
	max-width: 125ch;
}

/* ===================== v1.5 — fixed section nav + article info below references ===================== */
@media (min-width: 1100px) {
	.an-article__layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 4rem;
	}

	.an-theme .an-article .an-article__aside {
		position: sticky;
		top: 1.5rem;
		max-height: calc(100vh - 3rem);
		overflow-y: auto;
		margin-top: 0;
	}
}

@media (min-width: 1600px) {
	.an-article__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

@media (max-width: 1099px) {
	.an-theme .an-article .an-article__aside {
		display: none;
	}
}

.an-theme .an-side-nav {
	margin: 0;
	padding: 1.25rem 1.3rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-top: 4px solid var(--an-deep);
	border-radius: var(--an-radius);
	box-shadow: var(--an-shadow-sm);
}

.an-theme .an-side-nav__title {
	margin-bottom: .75rem !important;
}

.an-theme .an-side-nav li a {
	padding-top: .45rem;
	padding-bottom: .45rem;
	font-size: .92rem;
}

/* Article information section (below References) */
.an-theme .an-article .main_entry .an-about {
	margin: 2.5rem 0 0;
}

.an-theme .an-article .main_entry .an-about__grid {
	display: grid;
	gap: 1.5rem 2.5rem;
	padding: 1.5rem;
	background: var(--an-surface);
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius);
}

@media (min-width: 760px) {
	.an-theme .an-article .main_entry .an-about__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.an-theme .an-article .main_entry .an-about__block {
	margin: 0;
	padding: 0;
	border: 0;
}

.an-theme .an-article .main_entry .an-about__block--wide {
	grid-column: 1 / -1;
}

.an-theme .an-article .main_entry .an-about #citationOutput {
	margin: 0 0 .6rem;
	padding: .9rem 1.1rem;
	font-size: .92rem;
	line-height: 1.6;
}

.an-theme .an-article #an-cite,
.an-theme .an-article #an-about {
	scroll-margin-top: 1.5rem;
}

.an-theme .an-article .an-about__dates {
	margin-bottom: .75rem;
}

.an-theme .an-article .an-about .versions {
	margin-top: .75rem;
}

.an-theme .an-article .an-about .versions ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .9rem;
}

.an-theme .an-article .an-main-hooks:empty {
	display: none;
}

.an-theme .an-article .an-main-hooks {
	margin-top: 2rem;
}
