/* =====================================================
   SCOPUS JOURNAL SEARCH — MASTER STYLESHEET
   Design: Modern Flat · Primary Blue Accent System
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── CSS Variables ─────────────────────────────────── */
:root {
	--blue: #0d6efd;
	--blue-dark: #0a58ca;
	--blue-deeper: #084298;
	--blue-light: #cfe2ff;
	--blue-xlight: #e8f0fe;
	--white: #ffffff;
	--gray-50: #f8f9fa;
	--gray-100: #f1f3f5;
	--gray-200: #e9ecef;
	--gray-300: #dee2e6;
	--gray-400: #ced4da;
	--gray-500: #adb5bd;
	--gray-600: #6c757d;
	--gray-700: #495057;
	--gray-800: #343a40;
	--gray-900: #212529;
	--green: #198754;
	--orange: #fd7e14;
	--red: #dc3545;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, .10), 0 4px 8px rgba(0, 0, 0, .05);
	--shadow-blue: 0 4px 20px rgba(13, 110, 253, .20);
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--font-ui: 'Sora', sans-serif;
	--font-serif: 'Source Serif 4', serif;
	--font-mono: 'JetBrains Mono', monospace;
	--transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base Reset ────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-ui);
	font-size: 14.5px;
	color: var(--gray-800);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.65;
}

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

a:hover {
	color: var(--blue-dark);
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
	background: var(--gray-400);
	border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--blue);
}

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.main-navbar {
	background: var(--white);
	border-bottom: 1.5px solid var(--gray-200);
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 1030;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.navbar-brand-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 0;
}

.brand-icon {
	width: 36px;
	height: 36px;
	background: var(--blue);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.brand-icon svg {
	width: 20px;
	height: 20px;
	color: white;
}

.brand-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--gray-900);
	letter-spacing: -0.3px;
}

.brand-name span {
	color: var(--blue);
}

.brand-sub {
	font-size: 10px;
	font-weight: 500;
	color: var(--gray-500);
	letter-spacing: 0.8px;
	text-transform: uppercase;
	line-height: 1;
	margin-top: 1px;
}

.nav-search-bar {
	max-width: 440px;
	width: 100%;
}

.nav-search-bar .input-group {
	border: 1.5px solid var(--gray-300);
	border-radius: var(--radius-xl);
	overflow: hidden;
	transition: border-color var(--transition), box-shadow var(--transition);
	background: var(--gray-50);
}

.nav-search-bar .input-group:focus-within {
	border-color: var(--blue);
	box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
	background: white;
}

.nav-search-bar input {
	border: none;
	background: transparent;
	padding: 8px 14px;
	font-family: var(--font-ui);
	font-size: 13.5px;
	color: var(--gray-800);
}

.nav-search-bar input:focus {
	box-shadow: none;
}

.nav-search-bar input::placeholder {
	color: var(--gray-400);
}

.nav-search-bar .btn {
	border: none;
	border-radius: 0;
	padding: 8px 14px;
	color: var(--gray-500);
	background: transparent;
	transition: color var(--transition);
}

.nav-search-bar .btn:hover {
	color: var(--blue);
}

.navbar-nav .nav-link {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--gray-600);
	padding: 8px 14px;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
	display: flex;
	align-items: center;
	gap: 6px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--blue);
	background: var(--blue-xlight);
}

.navbar-nav .nav-link svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   HERO SECTION (index)
══════════════════════════════════════════════════ */
.hero-section {
	background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue) 50%, #4dabf7 100%);
	padding: 72px 0 60px;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-section::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 48px;
	background: white;
	clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, .15);
	border: 1px solid rgba(255, 255, 255, .25);
	color: white;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 99px;
	margin-bottom: 20px;
	backdrop-filter: blur(8px);
}

.hero-kicker svg {
	width: 13px;
	height: 13px;
}

.hero-title {
	font-family: var(--font-serif);
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 600;
	color: white;
	line-height: 1.2;
	margin-bottom: 12px;
	letter-spacing: -0.5px;
}

.hero-subtitle {
	font-size: 15px;
	color: rgba(255, 255, 255, .80);
	margin-bottom: 36px;
	font-weight: 400;
	max-width: 520px;
}

/* ── Main Search Box ── */
.hero-search-box {
	background: white;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .2);
	padding: 6px 6px 6px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 740px;
}

.hero-search-box input {
	flex: 1;
	border: none;
	outline: none;
	font-family: var(--font-ui);
	font-size: 15px;
	color: var(--gray-800);
	background: transparent;
}

.hero-search-box input::placeholder {
	color: var(--gray-400);
}

.hero-search-box .search-divider {
	width: 1px;
	height: 28px;
	background: var(--gray-200);
	flex-shrink: 0;
}

.hero-search-box select {
	border: none;
	outline: none;
	font-family: var(--font-ui);
	font-size: 13px;
	color: var(--gray-600);
	background: transparent;
	padding: 4px 8px;
	cursor: pointer;
	min-width: 110px;
}

.btn-hero-search {
	background: var(--blue);
	color: white;
	border: none;
	border-radius: 14px;
	padding: 11px 22px;
	font-family: var(--font-ui);
	font-size: 14px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 7px;
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
	flex-shrink: 0;
}

.btn-hero-search:hover {
	background: var(--blue-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-blue);
}

.btn-hero-search svg {
	width: 16px;
	height: 16px;
}

.hero-tips {
	margin-top: 14px;
	color: rgba(255, 255, 255, .65);
	font-size: 12.5px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.hero-tips kbd {
	background: rgba(255, 255, 255, .15);
	border: 1px solid rgba(255, 255, 255, .2);
	color: rgba(255, 255, 255, .85);
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	font-family: var(--font-mono);
}

/* ── Stat Counters ── */
.hero-stats {
	display: flex;
	gap: 28px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.stat-item {
	color: white;
	text-align: center;
}

.stat-num {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.5px;
}

.stat-label {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, .65);
	text-transform: uppercase;
	letter-spacing: 0.7px;
	margin-top: 3px;
}

/* ══════════════════════════════════════════════════
   FILTER BAR
══════════════════════════════════════════════════ */
.filter-bar {
	background: var(--white);
	border-bottom: 1.5px solid var(--gray-200);
	padding: 12px 0;
	position: sticky;
	top: 61px;
	z-index: 100;
}

.filter-chips {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 2px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
	display: none;
}

.filter-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-500);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	white-space: nowrap;
	flex-shrink: 0;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border: 1.5px solid var(--gray-200);
	border-radius: 99px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--gray-600);
	background: var(--white);
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--transition);
	flex-shrink: 0;
}

.chip:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-xlight);
}

.chip.active {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-xlight);
	font-weight: 600;
}

.chip svg {
	width: 12px;
	height: 12px;
}

.chip-count {
	background: var(--blue);
	color: white;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 99px;
}

.filter-divider {
	width: 1px;
	height: 20px;
	background: var(--gray-200);
	flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   MAIN CONTENT LAYOUT
══════════════════════════════════════════════════ */
.content-area {
	padding: 28px 0 60px;
}

/* ── Sidebar ── */
.sidebar {
	position: sticky;
	top: 110px;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
	display: none;
}

.sidebar-card {
	background: var(--white);
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	margin-bottom: 16px;
	overflow: hidden;
}

.sidebar-card-header {
	padding: 14px 18px;
	font-size: 12px;
	font-weight: 700;
	color: var(--gray-600);
	text-transform: uppercase;
	letter-spacing: 0.7px;
	background: var(--gray-50);
	border-bottom: 1px solid var(--gray-200);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sidebar-card-header svg {
	width: 14px;
	height: 14px;
}

.sidebar-card-body {
	padding: 14px 18px;
}

/* ── Filter Items ── */
.filter-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 0;
	border-bottom: 1px solid var(--gray-100);
	cursor: pointer;
	transition: color var(--transition);
}

.filter-item:last-child {
	border-bottom: none;
}

.filter-item:hover .fi-label {
	color: var(--blue);
}

.fi-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--gray-700);
	transition: color var(--transition);
}

.fi-check {
	width: 15px;
	height: 15px;
	border: 1.5px solid var(--gray-300);
	border-radius: 3px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition);
}

.filter-item.selected .fi-check {
	background: var(--blue);
	border-color: var(--blue);
}

.filter-item.selected .fi-check::after {
	content: '';
	width: 8px;
	height: 8px;
	background: white;
	border-radius: 1px;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.fi-count {
	font-size: 11.5px;
	color: var(--gray-400);
	font-weight: 500;
	background: var(--gray-100);
	padding: 1px 7px;
	border-radius: 99px;
}

/* ── Year Slider ── */
.range-track {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.range-val {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--gray-600);
	min-width: 36px;
	font-weight: 500;
}

input[type=range] {
	flex: 1;
	height: 4px;
	-webkit-appearance: none;
	background: var(--gray-200);
	border-radius: 2px;
	outline: none;
}

input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--blue);
	cursor: pointer;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, .2);
}

/* ══════════════════════════════════════════════════
   PUBLICATION CARDS
══════════════════════════════════════════════════ */
.results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	flex-wrap: wrap;
	gap: 10px;
}

.results-count {
	font-size: 13.5px;
	color: var(--gray-600);
}

.results-count strong {
	color: var(--gray-900);
	font-weight: 700;
}

.sort-select {
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-sm);
	padding: 6px 12px;
	font-family: var(--font-ui);
	font-size: 12.5px;
	color: var(--gray-700);
	background: white;
	cursor: pointer;
	outline: none;
	transition: border-color var(--transition);
}

.sort-select:focus {
	border-color: var(--blue);
}

/* ── Article Card ── */
.article-card {
	background: var(--white);
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 22px 24px;
	margin-bottom: 14px;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
}

.article-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
	transition: background var(--transition);
}

.article-card:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

.article-card:hover::before {
	background: var(--blue);
}

.card-meta-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.doc-type-badge {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 2px 8px;
	border-radius: 4px;
}

.doc-type-badge.article {
	background: #dbeafe;
	color: #1d4ed8;
}

.doc-type-badge.conference {
	background: #dcfce7;
	color: #166534;
}

.doc-type-badge.review {
	background: #fef3c7;
	color: #92400e;
}

.doc-type-badge.book {
	background: #f3e8ff;
	color: #6b21a8;
}

.oa-badge {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	padding: 2px 8px;
	border-radius: 4px;
	background: #fff7ed;
	color: #c2410c;
	display: flex;
	align-items: center;
	gap: 3px;
}

.oa-badge svg {
	width: 10px;
	height: 10px;
}

.year-tag {
	font-size: 12px;
	color: var(--gray-500);
	font-weight: 500;
	font-family: var(--font-mono);
}

.article-title {
	font-family: var(--font-serif);
	font-size: 16.5px;
	font-weight: 600;
	color: var(--gray-900);
	line-height: 1.4;
	margin-bottom: 10px;
	cursor: pointer;
	transition: color var(--transition);
	display: block;
}

.article-title:hover {
	color: var(--blue);
}

.article-authors {
	font-size: 13px;
	color: var(--gray-600);
	margin-bottom: 8px;
	line-height: 1.5;
}

.author-link {
	color: var(--blue);
	font-weight: 500;
	cursor: pointer;
}

.author-link:hover {
	color: var(--blue-dark);
	text-decoration: underline;
}

.article-source {
	font-size: 12.5px;
	color: var(--gray-500);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.source-name {
	font-style: italic;
	color: var(--gray-600);
	font-weight: 500;
}

.source-detail {
	color: var(--gray-400);
	font-family: var(--font-mono);
	font-size: 11.5px;
}

.article-abstract {
	font-size: 13.5px;
	color: var(--gray-600);
	line-height: 1.65;
	margin-bottom: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.keyword-chips {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	flex: 1;
}

.kw-chip {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 4px;
	background: var(--gray-100);
	color: var(--gray-600);
	transition: all var(--transition);
	cursor: pointer;
	font-weight: 500;
}

.kw-chip:hover {
	background: var(--blue-xlight);
	color: var(--blue);
}

.article-metrics {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.metric {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--gray-500);
	font-weight: 500;
}

.metric svg {
	width: 13px;
	height: 13px;
}

.metric.cited {
	color: var(--orange);
}

.metric.cited svg {
	color: var(--orange);
}

.metric-val {
	font-family: var(--font-mono);
	font-weight: 600;
}

.btn-view-article {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--blue);
	padding: 6px 14px;
	border: 1.5px solid var(--blue-light);
	border-radius: var(--radius-sm);
	background: var(--blue-xlight);
	transition: all var(--transition);
	cursor: pointer;
	white-space: nowrap;
}

.btn-view-article:hover {
	background: var(--blue);
	color: white;
	border-color: var(--blue);
}

.btn-view-article svg {
	width: 12px;
	height: 12px;
}

/* ── Pagination ── */
.pagination-wrap {
	margin-top: 28px;
	display: flex;
	justify-content: center;
}

.pagination .page-link {
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 500;
	color: var(--gray-600);
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-sm) !important;
	margin: 0 3px;
	padding: 7px 13px;
	transition: all var(--transition);
}

.pagination .page-link:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-xlight);
}

.pagination .page-item.active .page-link {
	background: var(--blue);
	border-color: var(--blue);
	color: white;
}

/* ══════════════════════════════════════════════════
   ARTICLE DETAIL PAGE
══════════════════════════════════════════════════ */
.article-detail-hero {
	background: var(--gray-50);
	border-bottom: 1.5px solid var(--gray-200);
	padding: 36px 0 32px;
}

.breadcrumb-nav {
	margin-bottom: 18px;
	font-size: 12.5px;
}

.breadcrumb-nav a {
	color: var(--blue);
	font-weight: 500;
}

.breadcrumb-nav span {
	color: var(--gray-400);
	margin: 0 6px;
}

.breadcrumb-nav .current {
	color: var(--gray-500);
}

.detail-title {
	font-family: var(--font-serif);
	font-size: clamp(20px, 3vw, 30px);
	font-weight: 600;
	color: var(--gray-900);
	line-height: 1.35;
	margin-bottom: 18px;
	letter-spacing: -0.3px;
}

.detail-authors-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.detail-author-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: 99px;
	padding: 5px 12px 5px 5px;
	transition: all var(--transition);
	cursor: pointer;
}

.detail-author-chip:hover {
	border-color: var(--blue);
}

.author-avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--blue);
	color: white;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-transform: uppercase;
}

.detail-author-chip .author-name {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gray-700);
}

.detail-author-chip .author-affil {
	font-size: 11px;
	color: var(--gray-400);
}

.detail-source-box {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: 14px 18px;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.source-journal-icon {
	width: 42px;
	height: 42px;
	background: var(--blue-xlight);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.source-journal-icon svg {
	width: 22px;
	height: 22px;
	color: var(--blue);
}

.source-info {
	flex: 1;
	min-width: 0;
}

.source-journal-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-800);
	margin-bottom: 3px;
}

.source-meta-row {
	font-size: 12px;
	color: var(--gray-500);
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.source-meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

.source-meta-item svg {
	width: 12px;
	height: 12px;
}

.detail-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

/* ── Article Detail Content ── */
.detail-content {
	padding: 32px 0 60px;
}

.section-card {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	margin-bottom: 20px;
	overflow: hidden;
}

.section-header {
	padding: 16px 22px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--gray-200);
	background: var(--gray-50);
}

.section-icon {
	width: 30px;
	height: 30px;
	border-radius: var(--radius-sm);
	background: var(--blue-xlight);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.section-icon svg {
	width: 15px;
	height: 15px;
	color: var(--blue);
}

.section-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--gray-700);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.section-body {
	padding: 20px 22px;
}

.abstract-text {
	font-size: 14.5px;
	color: var(--gray-700);
	line-height: 1.75;
	font-family: var(--font-serif);
	font-weight: 300;
}

.keywords-grid {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
}

.kw-tag {
	font-size: 12.5px;
	padding: 5px 12px;
	border-radius: var(--radius-sm);
	background: var(--gray-100);
	color: var(--gray-700);
	font-weight: 500;
	border: 1px solid var(--gray-200);
	transition: all var(--transition);
	cursor: pointer;
}

.kw-tag:hover {
	background: var(--blue-xlight);
	color: var(--blue);
	border-color: var(--blue-light);
}

.kw-tag.index {
	background: var(--blue-xlight);
	color: var(--blue);
	border-color: var(--blue-light);
}

/* ── Metric Cards (sidebar detail) ── */
.metric-card {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 18px;
	margin-bottom: 14px;
}

.metric-card-title {
	font-size: 11px;
	font-weight: 700;
	color: var(--gray-500);
	text-transform: uppercase;
	letter-spacing: 0.7px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.metric-card-title svg {
	width: 13px;
	height: 13px;
}

.big-metric {
	font-size: 42px;
	font-weight: 700;
	color: var(--blue);
	line-height: 1;
	font-family: var(--font-mono);
	letter-spacing: -2px;
}

.big-metric-label {
	font-size: 12px;
	color: var(--gray-500);
	margin-top: 4px;
}

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

.ids-list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid var(--gray-100);
	font-size: 12.5px;
}

.ids-list li:last-child {
	border-bottom: none;
}

.ids-list .id-label {
	color: var(--gray-500);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ids-list .id-val {
	font-family: var(--font-mono);
	color: var(--gray-700);
	font-size: 11.5px;
	word-break: break-all;
	text-align: right;
}

.action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-sm);
	font-family: var(--font-ui);
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-700);
	background: white;
	cursor: pointer;
	transition: all var(--transition);
	margin-bottom: 8px;
	text-decoration: none;
}

.action-btn:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-xlight);
}

.action-btn.primary {
	background: var(--blue);
	color: white;
	border-color: var(--blue);
}

.action-btn.primary:hover {
	background: var(--blue-dark);
	color: white;
}

.action-btn svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* ── References ── */
.reference-item {
	display: flex;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--gray-100);
	align-items: flex-start;
}

.reference-item:last-child {
	border-bottom: none;
}

.ref-num {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	color: var(--blue);
	background: var(--blue-xlight);
	min-width: 26px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	flex-shrink: 0;
	margin-top: 1px;
}

.ref-text {
	font-size: 12.5px;
	color: var(--gray-600);
	line-height: 1.55;
}

/* ── Funding ── */
.funding-item {
	padding: 12px 14px;
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-sm);
	margin-bottom: 8px;
}

.funding-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-800);
}

.funding-grant {
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--blue);
	margin-top: 3px;
}

.funding-text {
	font-size: 12px;
	color: var(--gray-500);
	margin-top: 5px;
	line-height: 1.5;
}

/* ══════════════════════════════════════════════════
   AUTHOR PROFILE PAGE
══════════════════════════════════════════════════ */
.author-hero {
	background: var(--gray-50);
	border-bottom: 1.5px solid var(--gray-200);
	padding: 40px 0 32px;
}

.author-avatar-lg {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: white;
	font-size: 28px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	flex-shrink: 0;
	box-shadow: var(--shadow-blue);
}

.author-name-display {
	font-family: var(--font-serif);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 6px;
	letter-spacing: -0.3px;
}

.scopus-id-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--blue);
	background: var(--blue-xlight);
	border: 1px solid var(--blue-light);
	padding: 3px 10px;
	border-radius: 99px;
	margin-bottom: 12px;
}

.author-affil-line {
	font-size: 14px;
	color: var(--gray-600);
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.author-affil-line svg {
	width: 14px;
	height: 14px;
	color: var(--gray-400);
}

.author-stats-row {
	display: flex;
	gap: 0;
	margin-top: 24px;
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: inline-flex;
}

.author-stat {
	padding: 16px 24px;
	text-align: center;
	border-right: 1px solid var(--gray-200);
	min-width: 110px;
}

.author-stat:last-child {
	border-right: none;
}

.author-stat-num {
	font-family: var(--font-mono);
	font-size: 24px;
	font-weight: 700;
	color: var(--blue);
	letter-spacing: -1px;
	line-height: 1;
}

.author-stat-label {
	font-size: 11px;
	color: var(--gray-500);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 4px;
}

/* ── Author Profile Content ── */
.profile-tabs {
	border-bottom: 1.5px solid var(--gray-200);
	margin-bottom: 0;
	background: white;
	position: sticky;
	top: 61px;
	z-index: 99;
}

.profile-tab-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 20px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gray-500);
	border-bottom: 2.5px solid transparent;
	transition: all var(--transition);
	cursor: pointer;
	text-decoration: none;
	margin-bottom: -1.5px;
}

.profile-tab-link:hover {
	color: var(--blue);
}

.profile-tab-link.active {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

.profile-tab-link svg {
	width: 15px;
	height: 15px;
}

.tab-content-panel {
	padding: 28px 0 60px;
	display: none;
}

.tab-content-panel.active {
	display: block;
}

/* ── Co-authors ── */
.coauthor-card {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: all var(--transition);
	cursor: pointer;
	text-decoration: none;
	margin-bottom: 10px;
}

.coauthor-card:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-sm);
}

.coauthor-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gray-200);
	color: var(--gray-600);
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	flex-shrink: 0;
}

.coauthor-name {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--gray-800);
}

.coauthor-pubs {
	font-size: 12px;
	color: var(--gray-500);
	margin-top: 2px;
}

.collab-count {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	background: var(--blue-xlight);
	padding: 2px 8px;
	border-radius: 99px;
	margin-left: auto;
	flex-shrink: 0;
}

/* ── Timeline / Publication List ── */
.year-group {
	margin-bottom: 28px;
}

.year-group-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.year-badge {
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 700;
	color: white;
	background: var(--blue);
	padding: 3px 12px;
	border-radius: var(--radius-sm);
}

.year-line {
	flex: 1;
	height: 1px;
	background: var(--gray-200);
}

.year-pub-count {
	font-size: 12px;
	color: var(--gray-400);
	font-weight: 500;
}

/* ── Affiliation History ── */
.affil-timeline {
	position: relative;
	padding-left: 24px;
}

.affil-timeline::before {
	content: '';
	position: absolute;
	left: 7px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--gray-200);
}

.affil-item {
	position: relative;
	padding: 14px 0 14px 20px;
}

.affil-dot {
	position: absolute;
	left: -17px;
	top: 20px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: white;
	border: 2.5px solid var(--blue);
}

.affil-institution {
	font-size: 14px;
	font-weight: 600;
	color: var(--gray-800);
}

.affil-dept {
	font-size: 12.5px;
	color: var(--gray-500);
	margin-top: 2px;
}

.affil-location {
	font-size: 12px;
	color: var(--gray-400);
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.affil-location svg {
	width: 11px;
	height: 11px;
}

/* ══════════════════════════════════════════════════
   SEARCH SUGGESTIONS DROPDOWN
══════════════════════════════════════════════════ */
.search-suggestions {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	z-index: 500;
	overflow: hidden;
	display: none;
}

.search-suggestions.show {
	display: block;
}

.suggestion-group-label {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.7px;
	padding: 10px 16px 6px;
}

.suggestion-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	cursor: pointer;
	transition: background var(--transition);
	font-size: 13.5px;
	color: var(--gray-700);
}

.suggestion-item:hover {
	background: var(--blue-xlight);
}

.suggestion-icon {
	width: 28px;
	height: 28px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.suggestion-icon.type-article {
	background: #dbeafe;
}

.suggestion-icon.type-author {
	background: #dcfce7;
}

.suggestion-icon.type-keyword {
	background: #fef3c7;
}

.suggestion-icon svg {
	width: 14px;
	height: 14px;
}

.suggestion-icon.type-article svg {
	color: #1d4ed8;
}

.suggestion-icon.type-author svg {
	color: #166534;
}

.suggestion-icon.type-keyword svg {
	color: #92400e;
}

.suggestion-label {
	flex: 1;
	font-weight: 500;
}

.suggestion-sub {
	font-size: 11.5px;
	color: var(--gray-400);
}

.suggestion-divider {
	height: 1px;
	background: var(--gray-100);
	margin: 4px 0;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.main-footer {
	background: var(--gray-900);
	color: var(--gray-400);
	padding: 48px 0 24px;
}

.footer-brand {
	margin-bottom: 24px;
}

.footer-brand .brand-name {
	color: white;
}

.footer-brand .brand-sub {
	color: var(--gray-500);
	margin-top: 3px;
}

.footer-desc {
	font-size: 13px;
	color: var(--gray-500);
	line-height: 1.65;
	margin-top: 10px;
	max-width: 280px;
}

.footer-col-title {
	font-size: 11px;
	font-weight: 700;
	color: var(--gray-300);
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 14px;
}

.footer-link {
	display: block;
	font-size: 13px;
	color: var(--gray-500);
	padding: 4px 0;
	transition: color var(--transition);
}

.footer-link:hover {
	color: var(--blue);
}

.footer-divider {
	border-color: var(--gray-700);
	margin: 32px 0 20px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	color: var(--gray-600);
}

/* ══════════════════════════════════════════════════
   UTILITY / SHARED
══════════════════════════════════════════════════ */
.text-blue {
	color: var(--blue) !important;
}

.bg-blue-xlight {
	background: var(--blue-xlight) !important;
}

.loading-skeleton {
	background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.4s infinite;
	border-radius: var(--radius-sm);
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

.fade-in {
	animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.highlight {
	background: #fef08a;
	padding: 0 2px;
	border-radius: 2px;
}

.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--gray-400);
}

.empty-state svg {
	width: 52px;
	height: 52px;
	color: var(--gray-300);
	margin-bottom: 14px;
}

.empty-state h5 {
	color: var(--gray-600);
	font-size: 16px;
	margin-bottom: 6px;
}

.empty-state p {
	font-size: 13.5px;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
	.hero-section {
		padding: 48px 0 44px;
	}

	.sidebar {
		position: static;
		max-height: none;
	}

	.filter-bar {
		position: static;
	}

	.author-stats-row {
		width: 100%;
	}

	.author-stat {
		flex: 1;
		min-width: 80px;
		padding: 12px;
	}
}

@media (max-width: 767.98px) {
	.hero-search-box {
		flex-wrap: wrap;
		border-radius: var(--radius-lg);
		padding: 12px;
		gap: 10px;
	}

	.hero-search-box .search-divider {
		display: none;
	}

	.hero-search-box select {
		min-width: unset;
	}

	.btn-hero-search {
		width: 100%;
		justify-content: center;
	}

	.nav-search-bar {
		display: none !important;
	}

	.article-card {
		padding: 16px;
	}

	.detail-title {
		font-size: 20px;
	}

	.author-stats-row {
		flex-wrap: wrap;
	}
}

@media (max-width: 575.98px) {
	.hero-title {
		font-size: 24px;
	}

	.hero-stats {
		gap: 16px;
	}

	.stat-num {
		font-size: 22px;
	}

	.article-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.article-metrics {
		flex-wrap: wrap;
	}
}

/* ══════════════════════════════════════════════════
   AUTHORS INDEX PAGE
══════════════════════════════════════════════════ */

/* ── Authors Hero ── */
.authors-hero {
	background: linear-gradient(135deg, var(--blue-deeper) 0%, #1a72fb 45%, #3b8ff5 100%);
	padding: 52px 0 48px;
	position: relative;
	overflow: hidden;
}

.authors-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .07) 0%, transparent 50%),
		radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .05) 0%, transparent 40%);
}

.authors-hero::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 44px;
	background: white;
	clip-path: ellipse(55% 100% at 50% 100%);
}

/* ── Author Search Input ── */
.author-search-wrap {
	background: white;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	padding: 5px 5px 5px 18px;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 620px;
}

.author-search-wrap svg.search-icon {
	width: 18px;
	height: 18px;
	color: var(--gray-400);
	flex-shrink: 0;
}

.author-search-wrap input {
	flex: 1;
	border: none;
	outline: none;
	font-family: var(--font-ui);
	font-size: 15px;
	color: var(--gray-800);
	background: transparent;
}

.author-search-wrap input::placeholder {
	color: var(--gray-400);
}

.author-search-wrap .divider {
	width: 1px;
	height: 26px;
	background: var(--gray-200);
	flex-shrink: 0;
}

.author-search-wrap select {
	border: none;
	outline: none;
	font-family: var(--font-ui);
	font-size: 13px;
	color: var(--gray-600);
	background: transparent;
	padding: 4px 8px;
	cursor: pointer;
}

.btn-author-search {
	background: var(--blue);
	color: white;
	border: none;
	border-radius: 13px;
	padding: 10px 20px;
	font-family: var(--font-ui);
	font-size: 13.5px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
	flex-shrink: 0;
}

.btn-author-search:hover {
	background: var(--blue-dark);
	box-shadow: var(--shadow-blue);
}

.btn-author-search svg {
	width: 15px;
	height: 15px;
}

/* ── Alphabet Filter Bar ── */
.alpha-bar {
	background: var(--white);
	border-bottom: 1.5px solid var(--gray-200);
	padding: 10px 0;
	position: sticky;
	top: 61px;
	z-index: 100;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .03);
}

.alpha-strip {
	display: flex;
	align-items: center;
	gap: 2px;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.alpha-strip::-webkit-scrollbar {
	display: none;
}

.alpha-btn {
	min-width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gray-500);
	cursor: pointer;
	transition: all var(--transition);
	flex-shrink: 0;
}

.alpha-btn:hover {
	background: var(--blue-xlight);
	color: var(--blue);
}

.alpha-btn.active {
	background: var(--blue);
	color: white;
}

.alpha-btn.disabled {
	color: var(--gray-300);
	cursor: default;
	pointer-events: none;
}

.alpha-divider {
	width: 1px;
	height: 18px;
	background: var(--gray-200);
	flex-shrink: 0;
	margin: 0 4px;
}

.alpha-count-badge {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	color: var(--gray-500);
	background: var(--gray-100);
	padding: 2px 8px;
	border-radius: 99px;
	margin-left: auto;
	flex-shrink: 0;
	white-space: nowrap;
}

/* ── View Toggle ── */
.view-toggle {
	display: flex;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.view-toggle-btn {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: white;
	color: var(--gray-400);
	cursor: pointer;
	transition: all var(--transition);
}

.view-toggle-btn:hover {
	background: var(--gray-50);
	color: var(--gray-600);
}

.view-toggle-btn.active {
	background: var(--blue-xlight);
	color: var(--blue);
}

.view-toggle-btn svg {
	width: 15px;
	height: 15px;
}

/* ══════════════════════════════════════════════════
   AUTHOR CARD — GRID VIEW
══════════════════════════════════════════════════ */
.authors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.author-card {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: all var(--transition);
	display: flex;
	flex-direction: column;
	position: relative;
}

.author-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: transparent;
	transition: background var(--transition);
}

.author-card:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.author-card:hover::after {
	background: var(--blue);
}

.author-card-header {
	padding: 20px 20px 16px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	border-bottom: 1px solid var(--gray-100);
}

.author-card-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	color: white;
	text-transform: uppercase;
	flex-shrink: 0;
	letter-spacing: -0.5px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
}

.author-card-info {
	flex: 1;
	min-width: 0;
}

.author-card-name {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--gray-900);
	line-height: 1.3;
	margin-bottom: 6px;
	cursor: pointer;
	transition: color var(--transition);
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.author-card-name:hover {
	color: var(--blue);
}

.author-card-scopus {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	color: var(--blue);
	background: var(--blue-xlight);
	border: 1px solid var(--blue-light);
	padding: 2px 7px;
	border-radius: 99px;
}

.author-card-scopus svg {
	width: 9px;
	height: 9px;
}

.author-card-body {
	padding: 14px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.author-card-meta-row {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 12.5px;
	color: var(--gray-600);
	line-height: 1.4;
}

.author-card-meta-row svg {
	width: 12px;
	height: 12px;
	color: var(--gray-400);
	flex-shrink: 0;
	margin-top: 2px;
}

.author-card-meta-row span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
}

.author-card-meta-row .bold {
	font-weight: 600;
	color: var(--gray-700);
}

/* ── Author Stats Row ── */
.author-card-stats {
	display: flex;
	background: var(--gray-50);
	border-top: 1px solid var(--gray-100);
	border-bottom: 1px solid var(--gray-100);
}

.ac-stat {
	flex: 1;
	padding: 10px 0;
	text-align: center;
	border-right: 1px solid var(--gray-100);
}

.ac-stat:last-child {
	border-right: none;
}

.ac-stat-num {
	font-family: var(--font-mono);
	font-size: 16px;
	font-weight: 700;
	color: var(--blue);
	line-height: 1;
	letter-spacing: -0.5px;
}

.ac-stat-label {
	font-size: 9.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--gray-400);
	margin-top: 3px;
}

/* ── Author Card Footer ── */
.author-card-footer {
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.author-subject-chips {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	flex: 1;
	min-width: 0;
}

.subject-chip {
	font-size: 10.5px;
	padding: 2px 7px;
	border-radius: 3px;
	background: var(--gray-100);
	color: var(--gray-600);
	font-weight: 600;
	white-space: nowrap;
	transition: all var(--transition);
	cursor: default;
}

.subject-chip.cs {
	background: #dbeafe;
	color: #1d4ed8;
}

.subject-chip.eng {
	background: #dcfce7;
	color: #166534;
}

.subject-chip.med {
	background: #fee2e2;
	color: #991b1b;
}

.subject-chip.env {
	background: #d1fae5;
	color: #065f46;
}

.subject-chip.phys {
	background: #f3e8ff;
	color: #6b21a8;
}

.subject-chip.soc {
	background: #fef3c7;
	color: #92400e;
}

.subject-chip.math {
	background: #e0f2fe;
	color: #0369a1;
}

.btn-view-profile {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	padding: 6px 12px;
	border: 1.5px solid var(--blue-light);
	border-radius: var(--radius-sm);
	background: var(--blue-xlight);
	cursor: pointer;
	transition: all var(--transition);
	white-space: nowrap;
	text-decoration: none;
	flex-shrink: 0;
}

.btn-view-profile:hover {
	background: var(--blue);
	color: white;
	border-color: var(--blue);
}

.btn-view-profile svg {
	width: 11px;
	height: 11px;
}

/* ══════════════════════════════════════════════════
   AUTHOR ROW — LIST VIEW
══════════════════════════════════════════════════ */
.authors-list-view {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.author-row {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-md);
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	transition: all var(--transition);
	position: relative;
	overflow: hidden;
}

.author-row::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
	transition: background var(--transition);
}

.author-row:hover {
	border-color: var(--blue);
	box-shadow: var(--shadow-sm);
}

.author-row:hover::before {
	background: var(--blue);
}

.author-row-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	color: white;
	text-transform: uppercase;
	flex-shrink: 0;
}

.author-row-main {
	flex: 1;
	min-width: 0;
}

.author-row-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--gray-900);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
	flex-wrap: wrap;
}

.author-row-name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

.author-row-name a:hover {
	color: var(--blue);
}

.author-row-scopus {
	font-family: var(--font-mono);
	font-size: 10px;
	color: var(--blue);
	background: var(--blue-xlight);
	border: 1px solid var(--blue-light);
	padding: 1px 6px;
	border-radius: 99px;
}

.author-row-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 12.5px;
	color: var(--gray-500);
	flex-wrap: wrap;
}

.author-row-meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

.author-row-meta-item svg {
	width: 11px;
	height: 11px;
	color: var(--gray-400);
	flex-shrink: 0;
}

.author-row-metrics {
	display: flex;
	gap: 20px;
	flex-shrink: 0;
	align-items: center;
}

.arm {
	text-align: center;
}

.arm-num {
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 700;
	color: var(--blue);
	letter-spacing: -0.5px;
	line-height: 1;
}

.arm-label {
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--gray-400);
	font-weight: 600;
	margin-top: 2px;
}

.author-row-subjects {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
	flex-wrap: wrap;
	max-width: 160px;
}

.author-row-actions {
	flex-shrink: 0;
}

/* ── Active Filters Display ── */
.active-filters-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.active-filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: var(--blue);
	color: white;
	border-radius: 99px;
	font-size: 12px;
	font-weight: 600;
}

.active-filter-tag button {
	background: none;
	border: none;
	color: rgba(255, 255, 255, .8);
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	line-height: 1;
	font-size: 15px;
	transition: color var(--transition);
}

.active-filter-tag button:hover {
	color: white;
}

.clear-all-btn {
	font-size: 12px;
	font-weight: 600;
	color: var(--gray-500);
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 99px;
	transition: all var(--transition);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.clear-all-btn:hover {
	color: var(--red);
}

/* ── Rank list sidebar ── */
.rank-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--gray-100);
	transition: all var(--transition);
	text-decoration: none;
}

.rank-item:last-child {
	border-bottom: none;
}

.rank-item:hover .rank-name {
	color: var(--blue);
}

.rank-num {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	color: var(--gray-400);
	min-width: 18px;
	text-align: center;
	flex-shrink: 0;
}

.rank-num.top3 {
	color: var(--orange);
}

.rank-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: white;
	flex-shrink: 0;
}

.rank-info {
	flex: 1;
	min-width: 0;
}

.rank-name {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gray-800);
	transition: color var(--transition);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rank-sub {
	font-size: 11px;
	color: var(--gray-400);
	margin-top: 1px;
}

.rank-score {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 700;
	color: var(--blue);
	flex-shrink: 0;
}

/* ── No Authors State ── */
.no-authors-state {
	text-align: center;
	padding: 70px 20px;
	grid-column: 1 / -1;
}

.no-authors-state svg {
	width: 60px;
	height: 60px;
	color: var(--gray-300);
	margin: 0 auto 16px;
	display: block;
}

.no-authors-state h5 {
	font-size: 17px;
	color: var(--gray-600);
	margin-bottom: 8px;
}

.no-authors-state p {
	font-size: 13.5px;
	color: var(--gray-400);
}

/* ── Author Card Skeleton ── */
.author-card-skeleton {
	background: white;
	border: 1.5px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.skeleton-circle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	flex-shrink: 0;
}

.skeleton-line {
	height: 12px;
	border-radius: 4px;
	margin-bottom: 8px;
}

/* ── Responsive authors ── */
@media (max-width: 991.98px) {
	.alpha-bar {
		position: static;
	}

	.authors-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}

	.author-row-metrics {
		display: none;
	}

	.author-row-subjects {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.authors-hero {
		padding: 36px 0 32px;
	}

	.author-search-wrap {
		flex-wrap: wrap;
		padding: 10px;
		gap: 8px;
		border-radius: var(--radius-lg);
	}

	.author-search-wrap .divider {
		display: none;
	}

	.btn-author-search {
		width: 100%;
		justify-content: center;
	}

	.authors-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.author-card-footer {
		flex-wrap: wrap;
	}

	.view-toggle {
		display: none;
	}
}