/**
 * Aurora theme — stylesheet
 *
 * Copyright (c) 2026 Aurora Theme Authors
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * A fast, elegant and modern theme for OJS 3.3.
 * Palette: slate + blue. Typography: system font stack (zero font requests).
 * Single hand-written stylesheet — no LESS build step required.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	/* Slate scale (primary) */
	--aurora-slate-50:  #f7f9fb;
	--aurora-slate-100: #eef2f6;
	--aurora-slate-200: #dde5ec;
	--aurora-slate-300: #c3cfda;
	--aurora-slate-400: #9fb0c0;
	--aurora-slate-500: #7c8fa3;
	--aurora-slate-600: #5f7287;
	--aurora-slate-700: #4a5b6e;
	--aurora-slate-800: #3c4a5c;
	--aurora-slate-900: #2b3a4a;
	--aurora-slate-950: #1c2836;
	--aurora-slate-1000: #141d28;

	/* Blue scale (accent) */
	--aurora-blue-50:  #eff6ff;
	--aurora-blue-100: #dbeafe;
	--aurora-blue-500: #3b82f6;
	--aurora-blue-600: #2563eb;
	--aurora-blue-700: #1d4ed8;

	/* Text */
	--aurora-text:       #24303c;
	--aurora-text-muted: #5c6b7a;
	--aurora-text-faint: #8a97a6;

	/* Surfaces */
	--aurora-bg:      #f6f8fb;
	--aurora-surface: #ffffff;
	--aurora-border:  #e3e9f0;

	/* Radii */
	--aurora-radius-sm: 8px;
	--aurora-radius-md: 12px;
	--aurora-radius-lg: 16px;
	--aurora-radius-pill: 999px;

	/* Shadows */
	--aurora-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
	--aurora-shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
	--aurora-shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.14);

	/* Type */
	--aurora-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "Noto Sans", sans-serif;

	/* Motion */
	--aurora-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--aurora-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--aurora-text);
	background: var(--aurora-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-weight: 700;
	line-height: 1.25;
	color: var(--aurora-slate-900);
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--aurora-blue-600);
	text-decoration: none;
}

a:hover {
	color: var(--aurora-blue-700);
	text-decoration: underline;
}

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

::selection {
	background: rgba(37, 99, 235, 0.18);
}

:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.45);
	outline-offset: 2px;
}

.pkp_screen_reader {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Neutralize the default theme's page wrapper so Aurora controls the width */
.pkp_structure_page {
	max-width: none;
	width: auto;
	margin: 0;
	background: transparent;
}

.aurora-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   3. Top utility bar
   ========================================================================== */

.aurora-topbar {
	background: var(--aurora-slate-1000);
	color: #cbd5e1;
	font-size: 0.8125rem;
}

.aurora-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
	padding: 6px 0;
}

.aurora-topbar-name {
	color: #94a3b8;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.aurora-topbar-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-shrink: 0;
}

/* Language switcher */
.aurora-lang-form select {
	background: transparent;
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--aurora-radius-sm);
	padding: 4px 26px 4px 10px;
	font-size: 0.8125rem;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23cbd5e1' d='M5 6 0 0h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
}

.aurora-lang-form select:hover {
	border-color: rgba(255, 255, 255, 0.5);
}

.aurora-lang-form select option {
	color: var(--aurora-text);
}

/* User menu (Login / Register / Profile) */
.aurora-user-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aurora-user-menu li {
	display: flex;
	align-items: center;
}

.aurora-user-menu li + li::before {
	content: "";
	width: 1px;
	height: 12px;
	background: rgba(255, 255, 255, 0.22);
	margin-right: 14px;
}

.aurora-user-menu a {
	color: #cbd5e1;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.15s var(--aurora-ease);
}

.aurora-user-menu a:hover {
	color: #ffffff;
}

/* ==========================================================================
   4. Brand row
   ========================================================================== */

.pkp_structure_head {
	background: var(--aurora-surface);
	position: relative;
}

.aurora-brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 20px 0;
	flex-wrap: wrap;
}

.pkp_site_name_wrapper {
	margin: 0;
}

.pkp_site_name {
	margin: 0;
	display: flex;
	align-items: center;
}

.pkp_site_name .is_img {
	display: inline-flex;
	align-items: center;
}

.pkp_site_name .is_img img {
	max-height: 84px;
	width: auto;
}

.pkp_site_name .is_text {
	color: var(--aurora-slate-900);
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-decoration: none;
}

.pkp_site_name .is_text:hover {
	color: var(--aurora-blue-600);
}

/* Search */
.aurora-search {
	position: relative;
	flex: 1 1 320px;
	max-width: 480px;
	margin-left: auto;
}

.aurora-search input {
	width: 100%;
	padding: 11px 52px 11px 18px;
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--aurora-text);
	background: var(--aurora-bg);
	border: 2px solid var(--aurora-slate-200);
	border-radius: var(--aurora-radius-pill);
	transition: border-color 0.15s var(--aurora-ease), box-shadow 0.15s var(--aurora-ease);
	appearance: none;
}

.aurora-search input::placeholder {
	color: var(--aurora-text-faint);
}

.aurora-search input:focus {
	outline: none;
	border-color: var(--aurora-blue-600);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
	background: var(--aurora-surface);
}

.aurora-search button {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: var(--aurora-blue-600);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s var(--aurora-ease);
}

.aurora-search button:hover {
	background: var(--aurora-blue-700);
}

/* ==========================================================================
   5. Primary navigation (sticky)
   ========================================================================== */

.pkp_site_nav_menu {
	position: sticky;
	top: 0;
	z-index: 120;
	background: var(--aurora-surface);
	border-top: 1px solid var(--aurora-border);
	border-bottom: 1px solid var(--aurora-border);
	box-shadow: none;
	transition: box-shadow 0.2s var(--aurora-ease);
}

.pkp_site_nav_menu.aurora-nav-stuck {
	box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}

.aurora-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.aurora-nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	padding: 14px 0;
	color: var(--aurora-slate-900);
	font-family: inherit;
	font-size: 0.925rem;
	font-weight: 700;
	cursor: pointer;
}

.aurora-nav-toggle-icon {
	position: relative;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: background 0.15s var(--aurora-ease);
}

.aurora-nav-toggle-icon::before,
.aurora-nav-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s var(--aurora-ease), top 0.2s var(--aurora-ease), bottom 0.2s var(--aurora-ease);
}

.aurora-nav-toggle-icon::before {
	top: -7px;
}

.aurora-nav-toggle-icon::after {
	bottom: -7px;
}

.aurora-nav-open .aurora-nav-toggle-icon {
	background: transparent;
}

.aurora-nav-open .aurora-nav-toggle-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.aurora-nav-open .aurora-nav-toggle-icon::after {
	bottom: 0;
	transform: rotate(-45deg);
}

/* Primary menu */
.pkp_navigation_primary {
	display: flex;
	align-items: stretch;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pkp_navigation_primary li {
	position: relative;
}

.pkp_navigation_primary a {
	display: flex;
	align-items: center;
	padding: 15px 16px;
	color: var(--aurora-slate-700);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: color 0.15s var(--aurora-ease), border-color 0.15s var(--aurora-ease);
}

.pkp_navigation_primary a:hover {
	color: var(--aurora-blue-600);
	border-bottom-color: var(--aurora-blue-600);
	text-decoration: none;
}

/* ==========================================================================
   6. Content layout
   ========================================================================== */

.pkp_structure_content {
	display: block;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 28px 24px 56px;
}

.pkp_structure_content.has_sidebar {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.pkp_structure_main {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	padding: 0;
}

.pkp_structure_sidebar {
	flex: 0 0 300px;
	width: 300px;
	float: none;
	padding: 0;
}

/* Sidebar blocks */
.pkp_structure_sidebar .pkp_block {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-md);
	box-shadow: var(--aurora-shadow-sm);
	padding: 20px;
	margin: 0 0 18px;
	font-size: 0.9rem;
	color: var(--aurora-text-muted);
}

.pkp_structure_sidebar .pkp_block .title {
	display: block;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--aurora-border);
	color: var(--aurora-slate-900);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.pkp_structure_sidebar .pkp_block a {
	color: var(--aurora-blue-600);
}

.pkp_structure_sidebar .pkp_block a:hover {
	color: var(--aurora-blue-700);
}

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

.pkp_structure_sidebar .blockContent li {
	margin: 6px 0;
}

.pkp_structure_sidebar .blockContent select {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--aurora-slate-200);
	border-radius: var(--aurora-radius-sm);
	background: var(--aurora-surface);
	font-family: inherit;
	font-size: 0.875rem;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.aurora-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	border: 2px solid transparent;
	border-radius: var(--aurora-radius-pill);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s var(--aurora-ease), color 0.18s var(--aurora-ease),
		border-color 0.18s var(--aurora-ease), box-shadow 0.18s var(--aurora-ease),
		transform 0.18s var(--aurora-ease);
}

.aurora-btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.aurora-btn-accent {
	background: var(--aurora-blue-600);
	color: #ffffff;
}

.aurora-btn-accent:hover {
	background: var(--aurora-blue-700);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.aurora-btn-ghost {
	border-color: rgba(255, 255, 255, 0.45);
	color: #ffffff;
}

.aurora-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.7);
}

.aurora-btn-soft {
	background: var(--aurora-slate-100);
	color: var(--aurora-slate-800);
}

.aurora-btn-soft:hover {
	background: var(--aurora-slate-200);
	color: var(--aurora-slate-900);
}

/* ==========================================================================
   8. Homepage hero
   ========================================================================== */

.aurora-hero {
	margin-bottom: 32px;
}

.aurora-hero-inner {
	display: flex;
	align-items: center;
	gap: 44px;
	padding: 52px 48px;
	border-radius: var(--aurora-radius-lg);
	color: #ffffff;
	background:
		radial-gradient(900px 380px at 88% -20%, rgba(59, 130, 246, 0.4), transparent 60%),
		linear-gradient(135deg, var(--aurora-slate-1000) 0%, var(--aurora-slate-900) 55%, #2e4a6b 100%);
	box-shadow: var(--aurora-shadow-lg);
	overflow: hidden;
}

.aurora-hero-media {
	flex: 0 0 38%;
	max-width: 380px;
}

.aurora-hero-media img {
	display: block;
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	border-radius: var(--aurora-radius-md);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.aurora-hero-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.aurora-hero-title {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: clamp(1.9rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.aurora-hero-desc {
	margin: 0 0 26px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 640px;
}

.aurora-hero-desc p:last-child {
	margin-bottom: 0;
}

.aurora-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==========================================================================
   9. Homepage sections
   ========================================================================== */

.aurora-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	color: var(--aurora-slate-900);
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.aurora-section-title::before {
	content: "";
	flex-shrink: 0;
	width: 4px;
	height: 24px;
	border-radius: 4px;
	background: var(--aurora-blue-600);
}

/* Announcements */
.aurora-announcements {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	box-shadow: var(--aurora-shadow-sm);
	padding: 32px;
	margin-bottom: 32px;
}

.aurora-announcements-list {
	margin-top: 16px;
}

.aurora-announcements-list .obj_announcement_summary {
	border-bottom: 1px solid var(--aurora-border);
	padding: 14px 0;
}

.aurora-announcements-list .obj_announcement_summary:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.aurora-announcements-list .obj_announcement_summary h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
}

.aurora-announcements-list .obj_announcement_summary h4 {
	margin: 0 0 4px;
	font-size: 0.975rem;
}

.aurora-announcements-list .obj_announcement_summary a {
	color: var(--aurora-slate-900);
	font-weight: 700;
}

.aurora-announcements-list .obj_announcement_summary a:hover {
	color: var(--aurora-blue-600);
}

.aurora-announcements-list .obj_announcement_summary .date {
	color: var(--aurora-text-faint);
	font-size: 0.85rem;
}

/* Current issue */
.aurora-current-issue {
	margin-bottom: 32px;
}

.aurora-issue-label {
	margin: 0 0 20px;
	color: var(--aurora-blue-600);
	font-size: 1.05rem;
	font-weight: 700;
}

.aurora-section-more {
	margin-top: 24px;
	text-align: center;
}

/* ==========================================================================
   10. Issue table of contents
   ========================================================================== */

.obj_issue_toc .heading {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	box-shadow: var(--aurora-shadow-sm);
	padding: 28px;
	margin: 20px 0 28px;
}

.obj_issue_toc .heading .cover {
	flex: 0 0 170px;
}

.obj_issue_toc .heading .cover img {
	width: 100%;
	max-height: 230px;
	object-fit: contain;
	border-radius: var(--aurora-radius-sm);
	box-shadow: var(--aurora-shadow-md);
	background: var(--aurora-surface);
}

.obj_issue_toc .heading .description {
	flex: 1 1 auto;
	min-width: 0;
}

.obj_issue_toc .heading .description p:last-child {
	margin-bottom: 0;
}

.obj_issue_toc .heading .published {
	margin-top: 12px;
	color: var(--aurora-text-muted);
	font-size: 0.9rem;
}

.obj_issue_toc .heading .published .label {
	font-weight: 600;
}

.obj_issue_toc .heading .pub_id {
	margin-top: 8px;
	font-size: 0.85rem;
	color: var(--aurora-text-muted);
}

.obj_issue_toc .heading .pub_id .type {
	font-weight: 600;
}

.obj_issue_toc .galleys {
	margin-bottom: 24px;
}

.obj_issue_toc .galleys .galleys_links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Sections and article lists */
.obj_issue_toc .sections .section > h2,
.obj_issue_toc .sections .section > h3,
.obj_issue_toc .sections .section > h4 {
	margin: 32px 0 16px;
	padding-left: 14px;
	border-left: 4px solid var(--aurora-blue-600);
	color: var(--aurora-slate-800);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
}

.obj_issue_toc .sections .section:first-child > h2,
.obj_issue_toc .sections .section:first-child > h3,
.obj_issue_toc .sections .section:first-child > h4 {
	margin-top: 0;
}

.cmp_article_list.articles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

/* ==========================================================================
   11. Article cards
   ========================================================================== */

.aurora-article-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-md);
	box-shadow: var(--aurora-shadow-sm);
	overflow: hidden;
	transition: transform 0.2s var(--aurora-ease), box-shadow 0.2s var(--aurora-ease);
}

.aurora-article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--aurora-shadow-lg);
}

.aurora-card-cover img {
	display: block;
	width: 100%;
	height: 170px;
	object-fit: cover;
}

.aurora-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 22px;
}

.aurora-card-badge {
	align-self: flex-start;
	padding: 4px 12px;
	background: var(--aurora-blue-50);
	color: var(--aurora-blue-700);
	border-radius: var(--aurora-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aurora-article-card .title {
	margin: 0;
}

.aurora-article-card .title a {
	color: var(--aurora-slate-900);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
	transition: color 0.15s var(--aurora-ease);
}

.aurora-article-card .title a:hover {
	color: var(--aurora-blue-600);
}

.aurora-article-card .title .subtitle {
	display: block;
	margin-top: 4px;
	color: var(--aurora-text-muted);
	font-size: 0.925rem;
	font-weight: 500;
}

.aurora-card-authors {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aurora-text-muted);
	font-size: 0.875rem;
}

.aurora-card-authors .fa {
	color: var(--aurora-blue-600);
	font-size: 0.8rem;
}

.aurora-card-abstract {
	color: var(--aurora-text-muted);
	font-size: 0.9rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aurora-card-galleys {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: auto 0 0;
	padding: 8px 0 0;
}

.aurora-card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 4px;
}

.aurora-card-pages {
	color: var(--aurora-text-faint);
	font-size: 0.8rem;
}

.aurora-card-date {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aurora-text-faint);
	font-size: 0.8rem;
}

.aurora-card-date .fa {
	font-size: 0.75rem;
}

/* Galley links (PDF button etc.) */
.obj_galley_link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border-radius: var(--aurora-radius-pill);
	background: var(--aurora-slate-100);
	color: var(--aurora-slate-800);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s var(--aurora-ease), color 0.15s var(--aurora-ease),
		box-shadow 0.15s var(--aurora-ease);
}

.obj_galley_link:hover {
	background: var(--aurora-slate-200);
	color: var(--aurora-slate-900);
	text-decoration: none;
}

.obj_galley_link.pdf {
	background: var(--aurora-blue-600);
	color: #ffffff;
}

.obj_galley_link.pdf::before {
	content: "\f1c1"; /* fa-file-pdf-o */
	font-family: FontAwesome;
	font-size: 0.8rem;
}

.obj_galley_link.pdf:hover {
	background: var(--aurora-blue-700);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.obj_galley_link.restricted {
	background: var(--aurora-bg);
	color: var(--aurora-text-muted);
	border: 1px dashed var(--aurora-slate-300);
}

/* ==========================================================================
   12. Article details page
   ========================================================================== */

.obj_article_details {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	box-shadow: var(--aurora-shadow-sm);
	padding: 36px;
}

.obj_article_details h1.page_title {
	margin: 0 0 8px;
	color: var(--aurora-slate-900);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.obj_article_details h2.subtitle {
	margin: 0 0 20px;
	color: var(--aurora-text-muted);
	font-size: 1.1rem;
	font-weight: 500;
}

.obj_article_details .row {
	display: flex;
	gap: 40px;
}

.obj_article_details .main_entry {
	flex: 1 1 auto;
	min-width: 0;
}

.obj_article_details .entry_details {
	flex: 0 0 320px;
}

.obj_article_details .item {
	padding: 18px 0;
	border-top: 1px solid var(--aurora-border);
}

.obj_article_details .item:first-child {
	border-top: none;
	padding-top: 6px;
}

.obj_article_details .item .label {
	display: block;
	margin-bottom: 8px;
	color: var(--aurora-text-faint);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.obj_article_details .item.abstract {
	font-size: 1rem;
	line-height: 1.7;
}

.obj_article_details .item.abstract p:last-child {
	margin-bottom: 0;
}

/* Authors */
.obj_article_details .authors ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.obj_article_details .authors li {
	margin-bottom: 14px;
}

.obj_article_details .authors li:last-child {
	margin-bottom: 0;
}

.obj_article_details .authors .name {
	display: block;
	color: var(--aurora-slate-800);
	font-weight: 700;
}

.obj_article_details .authors .affiliation {
	display: block;
	color: var(--aurora-text-muted);
	font-size: 0.875rem;
}

.obj_article_details .authors .orcid {
	font-size: 0.8rem;
}

/* Side panel items */
.obj_article_details .entry_details .item {
	background: var(--aurora-bg);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-md);
	padding: 16px;
	margin-bottom: 14px;
}

.obj_article_details .entry_details .item:first-child {
	border-top: 1px solid var(--aurora-border);
	padding-top: 16px;
}

.obj_article_details .entry_details .galleys_links,
.obj_article_details .entry_details .supplementary_galleys_links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.obj_article_details .cover_image img {
	border-radius: var(--aurora-radius-sm);
	box-shadow: var(--aurora-shadow-md);
}

.obj_article_details .citation {
	font-size: 0.85rem;
	color: var(--aurora-text-muted);
	word-break: break-word;
}

.obj_article_details .item.issue a,
.obj_article_details .item.pubid a {
	color: var(--aurora-blue-600);
	font-weight: 600;
}

/* ==========================================================================
   13. Page headers, breadcrumbs, notifications
   ========================================================================== */

.page_title {
	margin: 0 0 18px;
	color: var(--aurora-slate-900);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.015em;
}

.cmp_breadcrumbs {
	margin-bottom: 16px;
	font-size: 0.85rem;
}

.cmp_breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.cmp_breadcrumbs a {
	color: var(--aurora-text-muted);
}

.cmp_breadcrumbs a:hover {
	color: var(--aurora-blue-600);
}

.cmp_breadcrumbs .separator {
	color: var(--aurora-text-faint);
	margin: 0 3px;
}

.pkp_notification,
.cmp_notification {
	background: var(--aurora-blue-50);
	border: 1px solid var(--aurora-blue-100);
	border-radius: var(--aurora-radius-md);
	color: var(--aurora-blue-700);
	padding: 14px 18px;
	margin: 0 0 20px;
	font-size: 0.925rem;
}

.pkp_notification.notice,
.cmp_notification.notice {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

/* ==========================================================================
   14. Forms (search, login, register, contact)
   ========================================================================== */

.cmp_form {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	box-shadow: var(--aurora-shadow-sm);
	padding: 26px;
	margin: 0 0 24px;
}

.cmp_form input[type="text"],
.cmp_form input[type="email"],
.cmp_form input[type="password"],
.cmp_form input[type="url"],
.cmp_form input[type="search"],
.cmp_form textarea,
.cmp_form select {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid var(--aurora-slate-200);
	border-radius: var(--aurora-radius-sm);
	background: var(--aurora-surface);
	font-family: inherit;
	font-size: 0.9375rem;
	color: var(--aurora-text);
	transition: border-color 0.15s var(--aurora-ease), box-shadow 0.15s var(--aurora-ease);
	appearance: none;
}

.cmp_form input:focus,
.cmp_form textarea:focus,
.cmp_form select:focus {
	outline: none;
	border-color: var(--aurora-blue-600);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cmp_form label {
	font-weight: 600;
	color: var(--aurora-slate-800);
	font-size: 0.925rem;
}

.cmp_form .submit {
	margin-top: 18px;
}

.cmp_form .submit button,
.cmp_form button.submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 26px;
	border: none;
	border-radius: var(--aurora-radius-pill);
	background: var(--aurora-blue-600);
	color: #ffffff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s var(--aurora-ease), box-shadow 0.18s var(--aurora-ease);
}

.cmp_form .submit button:hover,
.cmp_form button.submit:hover {
	background: var(--aurora-blue-700);
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* Search page */
.page_search .search_input {
	margin-bottom: 14px;
}

.page_search .search_input input.query {
	width: 100%;
	padding: 12px 18px;
	border: 2px solid var(--aurora-slate-200);
	border-radius: var(--aurora-radius-pill);
	font-family: inherit;
	font-size: 1rem;
}

.page_search .search_input input.query:focus {
	outline: none;
	border-color: var(--aurora-blue-600);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.page_search .search_advanced {
	border: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.page_search .search_advanced legend {
	padding: 0;
	color: var(--aurora-text-faint);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.page_search .search_advanced .date_range {
	display: flex;
	gap: 12px;
}

.page_search .search_advanced .label {
	display: block;
	margin-bottom: 4px;
}

/* Search results */
.search_results {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

/* Login / register pages */
.page_login,
.page_register {
	max-width: 540px;
	margin: 0 auto;
}

/* ==========================================================================
   15. Issue archive
   ========================================================================== */

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

.issues_archive .obj_issue_summary {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-md);
	box-shadow: var(--aurora-shadow-sm);
	padding: 22px 20px;
	text-align: center;
	height: 100%;
	transition: transform 0.2s var(--aurora-ease), box-shadow 0.2s var(--aurora-ease);
}

.issues_archive .obj_issue_summary:hover {
	transform: translateY(-4px);
	box-shadow: var(--aurora-shadow-lg);
}

.issues_archive .obj_issue_summary .cover img {
	max-width: 100%;
	max-height: 230px;
	margin: 0 auto 14px;
	display: block;
	border-radius: var(--aurora-radius-sm);
	box-shadow: var(--aurora-shadow-md);
}

.issues_archive .obj_issue_summary .title {
	display: block;
	margin-bottom: 4px;
	color: var(--aurora-slate-900);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
}

.issues_archive .obj_issue_summary .title:hover {
	color: var(--aurora-blue-600);
}

.issues_archive .obj_issue_summary .date {
	color: var(--aurora-text-faint);
	font-size: 0.85rem;
}

/* Announcement pages */
.obj_announcement_summary {
	margin-bottom: 22px;
}

.obj_announcement_summary .title a {
	color: var(--aurora-slate-900);
	font-weight: 700;
}

.obj_announcement_summary .title a:hover {
	color: var(--aurora-blue-600);
}

.obj_announcement_summary .date {
	color: var(--aurora-text-faint);
	font-size: 0.85rem;
}

/* ==========================================================================
   15b. Highlights (featured articles carousel, OJS 3.4+)
   ========================================================================== */

/* The .swiper mechanics come from the default theme's swiper bundle
   (loaded by the parent theme); Aurora only styles the wrapper and content. */
.highlights {
	background: var(--aurora-surface);
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	box-shadow: var(--aurora-shadow-sm);
	padding: 28px;
	margin-bottom: 32px;
}

.highlights .swiper-slide {
	display: flex;
	align-items: center;
	gap: 28px;
}

.highlights .swiper-slide-image {
	max-width: 300px;
	height: 180px;
	object-fit: cover;
	border-radius: var(--aurora-radius-md);
	box-shadow: var(--aurora-shadow-md);
}

.highlights .swiper-slide-content {
	flex: 1 1 auto;
	min-width: 0;
}

.highlights .swiper-slide-title {
	margin: 0 0 10px;
	color: var(--aurora-slate-900);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.highlights .swiper-slide-desc {
	margin: 0 0 14px;
	color: var(--aurora-text-muted);
	line-height: 1.6;
}

.highlights .swiper-slide-button.pkp_button {
	display: inline-flex;
	align-items: center;
	padding: 10px 22px;
	border-radius: var(--aurora-radius-pill);
	background: var(--aurora-blue-600);
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s var(--aurora-ease), box-shadow 0.18s var(--aurora-ease);
}

.highlights .swiper-slide-button.pkp_button:hover {
	background: var(--aurora-blue-700);
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.highlights .swiper-button-prev,
.highlights .swiper-button-next {
	color: var(--aurora-slate-700);
}

.highlights .swiper-button-prev:hover,
.highlights .swiper-button-next:hover {
	color: var(--aurora-blue-600);
}

.highlights .swiper-pagination-bullet-active {
	background: var(--aurora-blue-600);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.aurora-footer {
	margin-top: 48px;
	background: linear-gradient(180deg, var(--aurora-slate-950) 0%, var(--aurora-slate-1000) 100%);
	color: #9fb0c0;
	font-size: 0.925rem;
}

.aurora-footer-custom {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 28px 0;
}

.aurora-footer-custom .pkp_footer_content {
	color: #cbd5e1;
}

.aurora-footer-custom .pkp_footer_content p:last-child {
	margin-bottom: 0;
}

.aurora-footer-custom a {
	color: #ffffff;
}

.aurora-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 48px 0 36px;
}

.aurora-footer-title {
	margin: 0 0 16px;
	color: #f1f5f9;
	font-size: 1rem;
	font-weight: 700;
}

.aurora-footer-desc {
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0;
}

.aurora-footer-links,
.aurora-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aurora-footer-links li,
.aurora-footer-contact li {
	margin: 9px 0;
}

.aurora-footer-links a,
.aurora-footer-contact a {
	color: #9fb0c0;
	text-decoration: none;
	transition: color 0.15s var(--aurora-ease);
}

.aurora-footer-links a:hover,
.aurora-footer-contact a:hover {
	color: #ffffff;
	text-decoration: none;
}

.aurora-footer-links a::before {
	content: "\203A"; /* › */
	color: var(--aurora-blue-500);
	font-weight: 700;
	margin-right: 8px;
}

.aurora-footer-contact-name {
	color: #cbd5e1;
	font-weight: 600;
}

.aurora-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0 28px;
	color: #7c8fa3;
	font-size: 0.85rem;
}

.aurora-footer-copy {
	margin: 0;
}

.aurora-footer-issn {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aurora-footer-ojs {
	color: #7c8fa3;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.aurora-footer-ojs:hover {
	color: #ffffff;
}

/* ==========================================================================
   17. Back to top button
   ========================================================================== */

.aurora-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 200;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: var(--aurora-slate-900);
	color: #ffffff;
	font-size: 0.9rem;
	cursor: pointer;
	box-shadow: var(--aurora-shadow-lg);
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.2s var(--aurora-ease), transform 0.2s var(--aurora-ease),
		background 0.15s var(--aurora-ease);
}

.aurora-back-to-top-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.aurora-back-to-top:hover {
	background: var(--aurora-blue-600);
}

/* ==========================================================================
   18. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.pkp_structure_content {
		padding: 24px 20px 48px;
	}

	.pkp_structure_content.has_sidebar {
		flex-direction: column;
	}

	.pkp_structure_sidebar {
		flex: 1 1 auto;
		width: 100%;
	}

	.aurora-footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.obj_article_details .row {
		flex-direction: column;
	}

	.obj_article_details .entry_details {
		flex: 1 1 auto;
		width: 100%;
	}
}

@media (max-width: 767px) {
	.aurora-container {
		padding: 0 16px;
	}

	.pkp_structure_content {
		padding: 20px 16px 40px;
	}

	/* Brand row */
	.aurora-brand-row {
		padding: 16px 0;
		gap: 16px;
	}

	.pkp_site_name .is_text {
		font-size: 1.35rem;
	}

	.aurora-search {
		flex-basis: 100%;
		max-width: none;
	}

	/* Nav toggle */
	.aurora-nav-toggle {
		display: flex;
	}

	.aurora-nav-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.pkp_navigation_primary {
		display: none;
		flex-direction: column;
		padding: 6px 0 14px;
	}

	.aurora-nav-open .pkp_navigation_primary {
		display: flex;
	}

	.pkp_navigation_primary a {
		padding: 12px 8px;
		border-bottom: 1px solid var(--aurora-border);
		border-left: 3px solid transparent;
	}

	.pkp_navigation_primary a:hover {
		border-bottom-color: var(--aurora-border);
		border-left-color: var(--aurora-blue-600);
	}

	/* Hero */
	.aurora-hero-inner {
		flex-direction: column;
		gap: 24px;
		padding: 36px 24px;
	}

	.aurora-hero-media {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	.aurora-hero-media img {
		max-height: 220px;
	}

	/* Announcements */
	.aurora-announcements {
		padding: 24px 20px;
	}

	/* Issue TOC */
	.obj_issue_toc .heading {
		flex-direction: column;
		padding: 22px;
	}

	.obj_issue_toc .heading .cover {
		flex: 1 1 auto;
		width: 100%;
		max-width: 220px;
	}

	.cmp_article_list.articles {
		grid-template-columns: 1fr;
	}

	/* Highlights */
	.highlights {
		padding: 22px 18px;
	}

	.highlights .swiper-slide {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.highlights .swiper-slide-image {
		max-width: 100%;
		width: 100%;
	}

	/* Article page */
	.obj_article_details {
		padding: 24px 20px;
	}

	/* Footer */
	.aurora-footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 0 28px;
	}

	.aurora-footer-bottom {
		justify-content: center;
		text-align: center;
	}

	.aurora-footer-issn {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.aurora-topbar-name {
		display: none;
	}

	.aurora-topbar-inner {
		justify-content: center;
	}

	.aurora-hero-actions .aurora-btn {
		flex: 1 1 auto;
	}
}

/* ==========================================================================
   19. Reduced motion & print
   ========================================================================== */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.aurora-topbar,
	.aurora-nav-toggle,
	.aurora-back-to-top,
	.aurora-footer {
		display: none !important;
	}

	body {
		background: #ffffff;
	}

	.pkp_structure_content {
		max-width: none;
		padding: 0;
	}

	.aurora-article-card,
	.obj_article_details,
	.cmp_form {
		box-shadow: none;
	}
}
/* ==========================================================================
   16. Site index — journal listing (indexSite.tpl)
   Aurora child theme inherits the default theme's site index page. The
   default theme's decorative vertical borders (.pkp_structure_main:before/
   :after) and the old float-based .journals layout do not fit Aurora's
   full-width container, which makes long journal descriptions overflow the
   border. This block overrides the site index journal list with Aurora's
   card style.
   ========================================================================== */

/* Hide the default theme's decorative vertical border lines
   (only on the site index page — journal pages keep default layout) */
body.pkp_page_index.pkp_op_index .pkp_structure_main::before,
body.pkp_page_index.pkp_op_index .pkp_structure_main::after {
	content: none !important;
	display: none !important;
}

/* Journal list container */
.page_index_site .journals {
	margin-top: 8px;
}

.page_index_site .journals > ul > li {
	margin: 0 0 24px;
	padding: 24px;
	border: 1px solid var(--aurora-border);
	border-radius: var(--aurora-radius-lg);
	background: var(--aurora-surface);
	box-shadow: var(--aurora-shadow-sm);
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

/* Thumbnail */
.page_index_site .journals .thumb {
	float: none;
	flex: 0 0 180px;
	width: 180px;
	padding: 0;
}

.page_index_site .journals .thumb img {
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	border-radius: var(--aurora-radius-sm);
	border: 1px solid var(--aurora-border);
	background: #ffffff;
}

/* Body */
.page_index_site .journals li .body {
	float: none;
	width: auto;
	flex: 1 1 auto;
	min-width: 0;
}

.page_index_site .journals h3 {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 800;
}

.page_index_site .journals h3 a {
	color: var(--aurora-slate-900);
	text-decoration: none;
}

.page_index_site .journals h3 a:hover {
	color: var(--aurora-blue-600);
}

.page_index_site .journals .description {
	color: var(--aurora-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	overflow-wrap: break-word;
	word-break: break-word;
}

.page_index_site .journals .description img,
.page_index_site .journals .description table {
	max-width: 100%;
}

.page_index_site .journals .description p:last-child {
	margin-bottom: 0;
}

/* Links (View Journal / Current Issue) */
.page_index_site .journals .links {
	margin-top: 12px;
}

.page_index_site .journals .links li {
	display: inline-block;
	margin: 0 10px 8px 0;
}

.page_index_site .journals .links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: var(--aurora-radius-pill);
	background: var(--aurora-blue-50);
	color: var(--aurora-blue-700);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s var(--aurora-ease), color 0.15s var(--aurora-ease);
}

.page_index_site .journals .links a:hover {
	background: var(--aurora-blue-600);
	color: #ffffff;
	text-decoration: none;
}

/* Mobile: stack thumbnail above body */
@media (max-width: 700px) {
	.page_index_site .journals > ul > li {
		flex-direction: column;
	}
	.page_index_site .journals .thumb {
		flex: 0 0 auto;
		width: 100%;
	}
	.page_index_site .journals .thumb img {
		max-height: 160px;
		object-fit: cover;
	}
}
