/* ==========================================================================
   Lumen Journal Theme v5.2 — Professional Noble-Inspired Editorial UI
   Fixes: Breadcrumbs, Login form, Mobile nav, Dark toggle, Sidebar, Hero
   ========================================================================== */

:root {
	--lj-accent: #163d64;
	--lj-accent-dark: #0d2640;
	--lj-accent-light: #0284c7;
	--lj-warm: #e07a22;
	--lj-warm-hover: #c26112;

	--lj-bg: #f0f4f8;
	--lj-surface: #ffffff;
	--lj-surface-alt: #f8fafc;
	--lj-surface-muted: #e9eff5;
	--lj-border: #dce4ed;
	--lj-border-strong: #b9cad8;
	--lj-text: #0f172a;
	--lj-text-muted: #475569;
	--lj-text-subtle: #64748b;
	--lj-link: var(--lj-accent);
	--lj-link-hover: var(--lj-accent-light);

	--lj-chrome-bg: #0c2137;
	--lj-chrome-bg-2: #153659;
	--lj-chrome-text: #f8fafc;
	--lj-chrome-muted: #cbd5e1;

	--lj-shadow-sm: 0 1px 3px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.05);
	--lj-shadow-md: 0 8px 24px rgba(15,23,42,0.09), 0 2px 6px rgba(15,23,42,0.05);
	--lj-shadow-lg: 0 20px 44px rgba(12,33,55,0.22);
	--lj-radius: 12px;
	--lj-radius-sm: 8px;
	--lj-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--lj-font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;
	--lj-max: 1280px;
}

html[data-theme="dark"] {
	--lj-bg: #0a0f16;
	--lj-surface: #121a24;
	--lj-surface-alt: #172230;
	--lj-surface-muted: #1e2c3d;
	--lj-border: rgba(255,255,255,0.09);
	--lj-border-strong: rgba(255,255,255,0.18);
	--lj-text: #f1f5f9;
	--lj-text-muted: #cbd5e1;
	--lj-text-subtle: #94a3b8;
	--lj-link: #38bdf8;
	--lj-link-hover: #7dd3fc;

	--lj-chrome-bg: #07111c;
	--lj-chrome-bg-2: #0d1d2f;
	--lj-shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
	--lj-shadow-md: 0 12px 28px rgba(0,0,0,0.5);
	--lj-shadow-lg: 0 24px 48px rgba(0,0,0,0.65);
}

/* ==========================================================================
   RESET & BASE OJS OVERRIDES
   ========================================================================== */
html { scroll-behavior: smooth; }

body.lj {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--lj-bg) !important;
	color: var(--lj-text) !important;
	font-family: var(--lj-font-sans) !important;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.lj .pkp_structure_page {
	background: var(--lj-bg) !important;
	color: var(--lj-text) !important;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.lj .pkp_structure_content::before,
body.lj .pkp_structure_content::after,
body.lj .pkp_structure_main::before,
body.lj .pkp_structure_main::after {
	display: none !important;
	content: none !important;
}

body.lj.pkp_page_index .pkp_structure_main,
body.lj .pkp_structure_content:not(.has_sidebar) .pkp_structure_main {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

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

body.lj a {
	color: var(--lj-link);
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
body.lj a:hover { color: var(--lj-link-hover); }

body.lj h1,
body.lj h2,
body.lj h3,
body.lj h4 {
	color: var(--lj-text);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

body.lj .lj-wrap {
	width: 100% !important;
	max-width: var(--lj-max) !important;
	margin: 0 auto !important;
	padding: 0 28px !important;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
body.lj .lj-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: var(--lj-radius-sm);
	font-family: var(--lj-font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none !important;
	white-space: nowrap;
	transition: all 0.18s ease;
}
body.lj .lj-btn:hover { transform: translateY(-1px); }

body.lj .lj-btn-primary {
	background: var(--lj-accent) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(22,61,100,0.25);
}
body.lj .lj-btn-primary:hover {
	background: var(--lj-accent-dark) !important;
	color: #ffffff !important;
}

body.lj .lj-btn-warm {
	background: var(--lj-warm) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(224,122,34,0.32);
}
body.lj .lj-btn-warm:hover {
	background: var(--lj-warm-hover) !important;
	color: #ffffff !important;
}

body.lj .lj-btn-ghost {
	background: var(--lj-surface) !important;
	color: var(--lj-text) !important;
	border-color: var(--lj-border-strong) !important;
}
body.lj .lj-btn-ghost:hover {
	background: var(--lj-surface-muted) !important;
	border-color: var(--lj-accent) !important;
}

body.lj .lj-btn-glass {
	background: rgba(255,255,255,0.14) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255,255,255,0.32) !important;
	backdrop-filter: blur(8px);
}
body.lj .lj-btn-glass:hover { background: rgba(255,255,255,0.24) !important; }

body.lj .lj-btn-sm {
	padding: 7px 14px;
	font-size: 13px;
	border-radius: 7px;
}
body.lj .lj-btn-block { width: 100%; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
body.lj .lj-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--lj-surface);
	box-shadow: var(--lj-shadow-sm);
	border-bottom: 1px solid var(--lj-border);
}

body.lj .lj-brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

body.lj .lj-brand {
	min-width: 0;
	flex: 1 1 auto;
}

body.lj .lj-brand a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--lj-text) !important;
	text-decoration: none;
	max-width: 100%;
}

body.lj .lj-brand img {
	max-height: 48px;
	max-width: 240px;
	width: auto;
	height: auto;
	display: block;
}

body.lj .lj-brand-text {
	font-family: var(--lj-font-serif);
	font-size: 19px;
	font-weight: 700;
	color: var(--lj-text);
	line-height: 1.2;
}

body.lj .lj-header-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* Inline Search */
body.lj .lj-search-inline {
	display: flex;
	align-items: center;
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border-strong);
	border-radius: var(--lj-radius-sm);
	padding: 2px 6px 2px 12px;
	height: 38px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.lj .lj-search-inline:focus-within {
	border-color: var(--lj-accent-light);
	box-shadow: 0 0 0 3px rgba(2,132,199,0.12);
}

body.lj .lj-search-inline input {
	border: 0 !important;
	background: transparent !important;
	color: var(--lj-text) !important;
	font-size: 13.5px;
	width: 160px;
	outline: none;
	padding: 0 !important;
}
body.lj .lj-search-inline input::placeholder { color: var(--lj-text-subtle); }

body.lj .lj-search-inline button {
	border: 0;
	background: transparent;
	color: var(--lj-text-subtle);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	padding: 4px;
	border-radius: 4px;
}
body.lj .lj-search-inline button:hover { color: var(--lj-accent); }

body.lj .lj-search-inline svg {
	width: 15px;
	height: 15px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Theme Toggle Button */
body.lj .lj-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border-radius: var(--lj-radius-sm);
	border: 1px solid var(--lj-border-strong);
	background: var(--lj-surface-alt);
	color: var(--lj-text) !important;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}
body.lj .lj-icon-btn:hover {
	background: var(--lj-surface-muted);
	border-color: var(--lj-accent);
	color: var(--lj-accent) !important;
}

body.lj .lj-icon-btn svg,
body.lj .lj-fab-theme svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Dark/Light icon visibility */
html[data-theme="dark"] body.lj .lj-icon-moon,
html[data-theme="dark"] body.lj .lj-theme-label-dark { display: none !important; }

html:not([data-theme="dark"]) body.lj .lj-icon-sun,
html:not([data-theme="dark"]) body.lj .lj-theme-label-light { display: none !important; }

/* User Menu */
body.lj .lj-menu {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.lj .lj-menu li { list-style: none !important; }

body.lj .lj-user-inline .lj-menu-user {
	display: flex;
	align-items: center;
	gap: 6px;
}

body.lj .lj-user-inline .lj-menu-user > li {
	position: relative;
	display: flex;
	align-items: center;
}

body.lj .lj-user-inline .lj-menu-user > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 38px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lj-text) !important;
	border-radius: var(--lj-radius-sm);
	border: 1px solid var(--lj-border-strong);
	background: var(--lj-surface-alt);
	white-space: nowrap;
	transition: all 0.15s ease;
}
body.lj .lj-user-inline .lj-menu-user > li > a:hover {
	border-color: var(--lj-accent);
	color: var(--lj-accent) !important;
	background: var(--lj-surface-muted);
}

body.lj .lj-user-inline .lj-menu-user li ul {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 200px;
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius-sm);
	box-shadow: var(--lj-shadow-lg);
	padding: 6px;
	z-index: 1200;
}
body.lj .lj-user-inline .lj-menu-user li.is-open > ul,
body.lj .lj-user-inline .lj-menu-user li:hover > ul { display: block; }

body.lj .lj-user-inline .lj-menu-user li ul li a {
	display: block;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13.5px;
	color: var(--lj-text) !important;
}
body.lj .lj-user-inline .lj-menu-user li ul li a:hover {
	background: var(--lj-surface-muted);
	color: var(--lj-link) !important;
}

/* Primary Nav Bar */
body.lj .lj-nav-bar {
	background: var(--lj-surface-alt);
	border-top: 1px solid var(--lj-border);
	border-bottom: 3px solid var(--lj-accent);
}

body.lj .lj-nav-bar-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 48px;
}

body.lj .lj-menu-primary {
	display: flex;
	align-items: center;
	gap: 2px;
}

body.lj .lj-menu-primary > li {
	position: relative;
	display: flex;
	align-items: center;
}

body.lj .lj-menu-primary > li > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 10px 15px;
	font-size: 14px;
	font-weight: 600;
	color: var(--lj-text) !important;
	white-space: nowrap;
	border-radius: 6px 6px 0 0;
	transition: all 0.15s ease;
}
body.lj .lj-menu-primary > li > a:hover {
	color: var(--lj-accent) !important;
	background: var(--lj-surface-muted);
}

/* Primary Nav Dropdowns */
body.lj .lj-menu-primary li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: 0 var(--lj-radius-sm) var(--lj-radius-sm) var(--lj-radius-sm);
	box-shadow: var(--lj-shadow-lg);
	padding: 6px;
	z-index: 1100;
}
body.lj .lj-menu-primary li.is-open > ul,
body.lj .lj-menu-primary li:hover > ul { display: block; }

body.lj .lj-menu-primary li ul li a {
	display: block;
	padding: 9px 14px;
	border-radius: 6px;
	font-size: 14px;
	color: var(--lj-text) !important;
}
body.lj .lj-menu-primary li ul li a:hover {
	background: var(--lj-surface-muted);
	color: var(--lj-link) !important;
}

/* Submenu toggle chevron */
body.lj .lj-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-left: -4px;
	border: 0;
	background: transparent;
	color: var(--lj-text-subtle);
	cursor: pointer;
	font-size: 11px;
}
body.lj .lj-sub-toggle::after { content: "▾"; }

/* ISSN bar */
body.lj .lj-issn-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--lj-text-muted);
	white-space: nowrap;
}

/* Mobile hamburger */
body.lj .lj-mobile-extra { display: none; }

body.lj .lj-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 38px;
	border: 1px solid var(--lj-border-strong);
	border-radius: var(--lj-radius-sm);
	background: var(--lj-surface-alt);
	color: var(--lj-text);
	cursor: pointer;
}

body.lj .lj-bars,
body.lj .lj-bars::before,
body.lj .lj-bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
	border-radius: 2px;
}
body.lj .lj-bars::before,
body.lj .lj-bars::after {
	content: "";
	position: absolute;
	left: 0;
}
body.lj .lj-bars::before { top: -6px; }
body.lj .lj-bars::after { top: 6px; }

/* ==========================================================================
   HOMEPAGE HERO (Full-Width)
   ========================================================================== */
body.lj .lj-home {
	padding-top: 24px;
	padding-bottom: 56px;
}

body.lj .lj-hero {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 18%, rgba(2,132,199,0.3) 0%, transparent 45%),
		radial-gradient(circle at 12% 85%, rgba(224,122,34,0.22) 0%, transparent 40%),
		linear-gradient(135deg, #0b1f36 0%, var(--lj-accent) 60%, #0e2a47 100%);
	color: #ffffff;
	padding: 48px;
	margin-bottom: 32px;
	box-shadow: var(--lj-shadow-lg);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
	gap: 40px;
	align-items: center;
}

body.lj .lj-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.14;
	pointer-events: none;
}

body.lj .lj-hero-overlay {
	position: relative;
	z-index: 2;
}

body.lj .lj-hero-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

body.lj .lj-badge-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.lj .lj-badge-accent { background: #38bdf8; color: #082032; }
body.lj .lj-badge-glass {
	background: rgba(255,255,255,0.15);
	color: #ffffff;
	border: 1px solid rgba(255,255,255,0.3);
}

body.lj .lj-hero h1 {
	font-family: var(--lj-font-serif);
	font-size: clamp(22px, 2.8vw, 36px);
	color: #ffffff !important;
	margin: 0 0 14px 0;
	line-height: 1.2;
}
body.lj .lj-hero-meta {
	font-size: 14px;
	color: rgba(255,255,255,0.86);
	margin: 0 0 8px 0;
}
body.lj .lj-hero-lead {
	font-size: 15px;
	color: rgba(255,255,255,0.9);
	margin: 0 0 26px 0;
	max-width: 64ch;
}
body.lj .lj-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

body.lj .lj-hero-card {
	position: relative;
	z-index: 2;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: 14px;
	padding: 20px;
	backdrop-filter: blur(14px);
}
body.lj .lj-hero-card img {
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

body.lj .lj-hero-glass-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.lj .lj-hero-glass-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,0.14);
	font-size: 13.5px;
	color: rgba(255,255,255,0.82);
}
body.lj .lj-hero-glass-list li:last-child { border-bottom: 0; }
body.lj .lj-hero-glass-list strong { color: #ffffff; font-weight: 700; }

/* ==========================================================================
   MAIN 2-COLUMN LAYOUT
   ========================================================================== */
body.lj .lj-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
}

/* Tabbed Hub Card */
body.lj .lj-tabs-card {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	box-shadow: var(--lj-shadow-sm);
	margin-bottom: 28px;
	overflow: hidden;
}

body.lj .lj-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	background: var(--lj-surface-alt);
	border-bottom: 2px solid var(--lj-border);
	padding: 10px 14px 0;
	gap: 6px;
}

body.lj .lj-tab-btn {
	appearance: none;
	border: 1px solid transparent;
	border-bottom: 0;
	background: transparent;
	color: var(--lj-text-muted);
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	transition: all 0.15s ease;
}
body.lj .lj-tab-btn:hover {
	color: var(--lj-text);
	background: var(--lj-surface-muted);
}
body.lj .lj-tab-btn.is-active {
	background: var(--lj-accent);
	color: #ffffff;
}

body.lj .lj-tab-panel {
	display: none;
	padding: 26px 28px;
}
body.lj .lj-tab-panel.is-active { display: block; }
body.lj .lj-tab-panel p { color: var(--lj-text-muted); margin-top: 0; }

body.lj .lj-meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}
body.lj .lj-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: var(--lj-surface-alt);
	color: var(--lj-text-muted);
	border: 1px solid var(--lj-border);
}

/* Submission Checklist */
body.lj .lj-checklist {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
body.lj .lj-checklist li {
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border);
	border-left: 3px solid var(--lj-accent-light);
	border-radius: var(--lj-radius-sm);
	padding: 14px 16px;
	font-size: 13.5px;
	color: var(--lj-text);
}
body.lj .lj-checklist li strong {
	display: block;
	color: var(--lj-accent);
	margin-bottom: 4px;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Section Heading */
body.lj .lj-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--lj-border);
}
body.lj .lj-section-head h2 { margin: 0; font-size: 20px; font-weight: 700; }
body.lj .lj-section-head a { font-size: 13px; font-weight: 600; }

/* Article Cards Grid */
body.lj .lj-cards {
	list-style: none;
	margin: 0 0 28px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

body.lj .lj-card {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--lj-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.lj .lj-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--lj-shadow-md);
	border-color: var(--lj-accent-light);
}

body.lj .lj-card-media {
	position: relative;
	height: 148px;
	background: linear-gradient(135deg, var(--lj-accent) 0%, var(--lj-accent-dark) 100%);
	overflow: hidden;
}

body.lj .lj-card-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.lj .lj-card-chip {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--lj-accent);
	color: #ffffff;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 9px;
	border-radius: 5px;
}

body.lj .lj-card-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
body.lj .lj-card-body h3 {
	margin: 0 0 8px 0;
	font-family: var(--lj-font-serif);
	font-size: 16.5px;
	line-height: 1.35;
}
body.lj .lj-card-body h3 a { color: var(--lj-text); }
body.lj .lj-card-body h3 a:hover { color: var(--lj-link); }

body.lj .lj-authors { margin: 0 0 10px 0; font-size: 13px; color: var(--lj-text-muted); }
body.lj .lj-meta {
	margin: 0 0 8px 0;
	font-size: 12px;
	color: var(--lj-text-subtle);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.lj .lj-doi { margin: 0 0 14px 0; font-size: 12px; word-break: break-all; }

body.lj .lj-card-actions {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--lj-border);
	display: flex;
	align-items: center;
	gap: 8px;
}

body.lj .lj-card-box {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	padding: 24px;
	box-shadow: var(--lj-shadow-sm);
	margin-bottom: 24px;
}

/* ==========================================================================
   SIDEBAR — Noble Author Desk Style
   ========================================================================== */
body.lj .lj-col-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

body.lj .lj-panel,
body.lj .pkp_structure_sidebar .pkp_block {
	background: var(--lj-surface) !important;
	border: 1px solid var(--lj-border) !important;
	border-top: 3px solid var(--lj-accent) !important;
	border-radius: var(--lj-radius) !important;
	padding: 20px !important;
	margin-bottom: 0 !important;
	box-shadow: var(--lj-shadow-sm) !important;
}

body.lj .lj-panel h2,
body.lj .pkp_structure_sidebar .pkp_block .title {
	margin: 0 0 14px 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: var(--lj-text) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	border: 0 !important;
	padding: 0 !important;
}

body.lj .lj-desk-links,
body.lj .pkp_structure_sidebar .pkp_block ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

body.lj .lj-desk-links a,
body.lj .pkp_structure_sidebar .pkp_block ul li a {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 10px 13px !important;
	border-radius: var(--lj-radius-sm) !important;
	background: var(--lj-surface-alt) !important;
	border: 1px solid var(--lj-border) !important;
	color: var(--lj-text) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	transition: all 0.15s ease !important;
}
body.lj .lj-desk-links a:hover,
body.lj .pkp_structure_sidebar .pkp_block ul li a:hover {
	border-color: var(--lj-accent) !important;
	background: var(--lj-surface-muted) !important;
	color: var(--lj-accent) !important;
	transform: translateX(2px);
}

body.lj .lj-desk-links svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.lj .lj-metrics-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.lj .lj-metrics-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--lj-border);
	font-size: 14px;
}
body.lj .lj-metrics-list li:last-child { border-bottom: 0; }
body.lj .lj-metrics-list span { color: var(--lj-text-muted); }
body.lj .lj-metrics-list strong { color: var(--lj-text); font-weight: 700; font-size: 16px; }

body.lj .lj-editor-card { display: flex; align-items: center; gap: 12px; }
body.lj .lj-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--lj-accent);
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
body.lj .lj-editor-info strong { display: block; font-size: 14px; color: var(--lj-text); }
body.lj .lj-editor-info span { font-size: 12px; color: var(--lj-text-subtle); }

body.lj .lj-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}
body.lj .lj-tags li {
	padding: 8px 10px;
	border-radius: var(--lj-radius-sm);
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border);
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	color: var(--lj-text);
}

body.lj .lj-issue-panel img {
	width: 100%;
	border-radius: var(--lj-radius-sm);
	margin-bottom: 12px;
	display: block;
}

/* ==========================================================================
   FLOATING DARK/LIGHT FAB
   ========================================================================== */
body.lj .lj-fab-theme {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1200;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--lj-border-strong);
	background: var(--lj-chrome-bg);
	color: #fbbf24;
	box-shadow: var(--lj-shadow-lg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lj .lj-fab-theme:hover {
	transform: scale(1.08);
	box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
body.lj .lj-fab-theme svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   PRE-FOOTER CTA
   ========================================================================== */
body.lj .lj-footer-cta-wrap {
	padding: 16px 0 36px;
	margin-top: auto;
}

body.lj .lj-footer-cta {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-left: 5px solid var(--lj-warm);
	border-radius: var(--lj-radius);
	padding: 30px 36px;
	box-shadow: var(--lj-shadow-md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

body.lj .lj-cta-eyebrow {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--lj-warm);
	margin-bottom: 6px;
}

body.lj .lj-footer-cta h2 {
	color: var(--lj-text) !important;
	font-family: var(--lj-font-serif);
	font-size: 21px;
	margin: 0 0 4px 0;
}
body.lj .lj-footer-cta p {
	margin: 0;
	color: var(--lj-text-muted);
	font-size: 14px;
}
body.lj .lj-footer-cta-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
body.lj .lj-footer {
	background: var(--lj-chrome-bg);
	color: var(--lj-chrome-muted);
	padding: 42px 0 28px;
	font-size: 14px;
	border-top: 1px solid rgba(255,255,255,0.08);
}
body.lj .lj-footer a { color: #e2e8f0 !important; }
body.lj .lj-footer a:hover { color: #fbbf24 !important; }

body.lj .lj-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.lj .lj-footer-title {
	color: #fbbf24;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 14px 0;
}

body.lj .lj-footer-brand {
	color: #ffffff;
	font-family: var(--lj-font-serif);
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px 0;
}

body.lj .lj-footer ul { list-style: none; margin: 0; padding: 0; }
body.lj .lj-footer li { margin-bottom: 9px; }

body.lj .lj-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 20px;
	font-size: 12.5px;
	color: #94a3b8;
}

body.lj .lj-pkp img {
	max-height: 38px;
	width: auto;
	background: #ffffff;
	padding: 6px 10px;
	border-radius: 6px;
}

/* ==========================================================================
   INNER OJS PAGES — Login, Search, Issue, Article
   ========================================================================== */
body.lj .pkp_structure_content {
	padding-top: 28px !important;
	padding-bottom: 52px !important;
	flex: 1;
}

/* Inner page sidebar layout */
body.lj .pkp_structure_content.has_sidebar {
	display: flex !important;
	align-items: flex-start !important;
	gap: 28px !important;
	flex-wrap: nowrap !important;
}
body.lj .pkp_structure_content.has_sidebar .pkp_structure_main {
	flex: 1 !important;
	min-width: 0 !important;
}
body.lj .pkp_structure_content.has_sidebar .pkp_structure_sidebar {
	width: 300px !important;
	flex-shrink: 0 !important;
}

body.lj:not(.pkp_page_index) .pkp_structure_main {
	background: var(--lj-surface);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	padding: 32px 36px !important;
	box-shadow: var(--lj-shadow-sm);
}

body.lj:not(.pkp_page_index) .pkp_structure_main h1,
body.lj:not(.pkp_page_index) .pkp_structure_main .page_title {
	margin-top: 0 !important;
}

/* BREADCRUMBS — Fix multicolor / broken style */
body.lj .cmp_breadcrumbs,
body.lj .pkp_breadcrumbs {
	display: inline-flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 4px !important;
	background: var(--lj-surface-alt) !important;
	border: 1px solid var(--lj-border) !important;
	border-radius: var(--lj-radius-sm) !important;
	padding: 7px 14px !important;
	margin-bottom: 20px !important;
	font-size: 13px !important;
	color: var(--lj-text-muted) !important;
	list-style: none !important;
}

body.lj .cmp_breadcrumbs a,
body.lj .pkp_breadcrumbs a,
body.lj .cmp_breadcrumbs li a {
	color: var(--lj-accent) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	text-decoration: none !important;
}
body.lj .cmp_breadcrumbs a:hover,
body.lj .pkp_breadcrumbs a:hover {
	color: var(--lj-accent-light) !important;
}

body.lj .cmp_breadcrumbs li,
body.lj .pkp_breadcrumbs li {
	display: inline-flex !important;
	align-items: center !important;
	color: var(--lj-text-muted) !important;
}

body.lj .cmp_breadcrumbs li + li::before,
body.lj .pkp_breadcrumbs li + li::before {
	content: "/" !important;
	margin: 0 6px !important;
	color: var(--lj-border-strong) !important;
}

/* Inner page sidebar blocks */
body.lj .pkp_structure_sidebar .pkp_block {
	margin-bottom: 18px !important;
}

/* Article summary in issue/search */
body.lj .obj_article_summary {
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	padding: 18px 20px;
	margin-bottom: 16px;
	transition: border-color 0.15s ease;
}
body.lj .obj_article_summary:hover {
	border-color: var(--lj-accent-light);
}
body.lj .obj_article_summary h3,
body.lj .obj_article_summary .title {
	font-family: var(--lj-font-serif);
	font-size: 17px;
	line-height: 1.35;
	margin-bottom: 6px;
}

body.lj .obj_article_summary .galleys_links a.obj_galley_link,
body.lj .obj_article_details .item.galleys .galleys_links a.obj_galley_link {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	background: var(--lj-accent);
	color: #ffffff !important;
	margin-right: 6px;
}

/* Issue archive grid */
body.lj .pkp_page_issue .issues_archive {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
	list-style: none;
	padding: 0;
}
body.lj .pkp_page_issue .issues_archive > li {
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border);
	border-top: 4px solid var(--lj-accent);
	border-radius: var(--lj-radius);
	padding: 18px;
	margin: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
body.lj .pkp_page_issue .issues_archive > li:hover {
	transform: translateY(-2px);
	box-shadow: var(--lj-shadow-md);
}

/* LOGIN FORM — Remove narrow form, fill space naturally */
body.lj .pkp_form {
	max-width: 100% !important;
}

body.lj .pkp_form.login {
	max-width: 460px !important;
	margin: 24px auto !important;
	background: var(--lj-surface-alt);
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius);
	padding: 30px !important;
}

/* Search form fix */
body.lj .pkp_page_search .search_controls,
body.lj .pkp_page_search .pkp_form,
body.lj .pkp_page_search .fields {
	max-width: 100% !important;
	width: 100% !important;
}

/* Form elements global */
body.lj .pkp_form fieldset {
	border: 1px solid var(--lj-border);
	border-radius: var(--lj-radius-sm);
	padding: 16px;
	margin-bottom: 16px;
}

body.lj .pkp_form input[type="text"],
body.lj .pkp_form input[type="password"],
body.lj .pkp_form input[type="email"],
body.lj .pkp_form input[type="search"],
body.lj .pkp_form select,
body.lj .pkp_form textarea {
	background: var(--lj-surface) !important;
	color: var(--lj-text) !important;
	border: 1px solid var(--lj-border-strong) !important;
	border-radius: var(--lj-radius-sm);
	padding: 10px 13px;
	width: 100%;
	max-width: 100%;
	font-size: 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.lj .pkp_form input:focus,
body.lj .pkp_form select:focus,
body.lj .pkp_form textarea:focus {
	outline: none !important;
	border-color: var(--lj-accent-light) !important;
	box-shadow: 0 0 0 3px rgba(2,132,199,0.12) !important;
}

body.lj .pkp_form button[type="submit"],
body.lj .pkp_form .submit {
	background: var(--lj-accent) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: var(--lj-radius-sm);
	padding: 11px 24px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}
body.lj .pkp_form button[type="submit"]:hover,
body.lj .pkp_form .submit:hover {
	background: var(--lj-accent-dark) !important;
	transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
	body.lj .lj-hero { grid-template-columns: 1fr; }
	body.lj .lj-hero-card { display: none; }
	body.lj .lj-columns { grid-template-columns: 1fr; }
	body.lj .lj-footer-grid { grid-template-columns: 1fr 1fr; }
	body.lj .pkp_structure_content.has_sidebar {
		flex-wrap: wrap !important;
	}
	body.lj .pkp_structure_content.has_sidebar .pkp_structure_sidebar {
		width: 100% !important;
	}
}

@media (max-width: 860px) {
	body.lj .lj-wrap { padding: 0 16px !important; }
	body.lj .lj-brand img { max-height: 36px; max-width: 180px; }
	body.lj .lj-brand-text { font-size: 15px; }

	body.lj .lj-search-inline,
	body.lj .lj-user-inline,
	body.lj .lj-submit,
	body.lj .lj-issn-bar { display: none !important; }

	body.lj .lj-toggle { display: inline-flex; }
	body.lj .lj-nav-bar { min-height: 0; }
	body.lj .lj-nav-bar-in { min-height: 0; }

	body.lj .lj-nav-wrap { display: none; width: 100%; padding: 12px 0; }
	body.lj .lj-nav-wrap.is-open { display: block; }

	body.lj .lj-menu-primary { flex-direction: column; align-items: stretch; }
	body.lj .lj-menu-primary > li > a { padding: 10px 8px; }
	body.lj .lj-menu-primary li ul {
		position: static;
		box-shadow: none;
		border: 0;
		padding-left: 16px;
		background: transparent;
	}

	body.lj .lj-mobile-extra {
		display: block;
		margin-top: 12px;
		padding-top: 12px;
		border-top: 1px solid var(--lj-border);
	}
	body.lj .lj-mobile-actions {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin-top: 12px;
	}

	body.lj .lj-hero { padding: 28px 20px; }

	body.lj .lj-cards,
	body.lj .lj-checklist,
	body.lj .lj-footer-grid { grid-template-columns: 1fr; }

	body.lj .lj-theme-label-dark,
	body.lj .lj-theme-label-light { display: none !important; }

	body.lj:not(.pkp_page_index) .pkp_structure_main {
		padding: 20px 18px !important;
	}

	body.lj .lj-footer-cta {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	body.lj .lj-brandbar { min-height: 56px; }
	body.lj .lj-tabs-nav { padding: 8px 10px 0; }
	body.lj .lj-tab-btn { padding: 8px 12px; font-size: 12px; }
	body.lj .lj-tab-panel { padding: 18px 16px; }
	body.lj .lj-footer-grid { grid-template-columns: 1fr; }
	body.lj .cmp_breadcrumbs,
	body.lj .pkp_breadcrumbs { flex-direction: column; align-items: flex-start; }
}
