/* ==========================================================
   IMT Nagpur LRC – /research (body.imtn-research-page), on top of imtn-home.css.
   All papers by IMT Nagpur authors from OpenAlex: editorial head with search and
   sort/filter pills, a numbered paper list and a pager.
   ========================================================== */

.imtn-rs-head {
	padding: 128px 0 36px;
	background:
		radial-gradient(800px 380px at 92% 0%, var(--imtn-blue-soft), transparent 70%),
		#fff;
	border-bottom: 1px solid var(--imtn-line);
}

.imtn-rs-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 32px;
}

.imtn-rs-title .imtn-h2 {
	font-size: clamp(40px, 5vw, 64px);
}

.imtn-rs-count {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--imtn-muted);
}

.imtn-rs-count b {
	display: block;
	font-family: var(--imtn-serif);
	font-size: 52px;
	font-weight: 400;
	line-height: 1;
	color: var(--imtn-blue);
}

.imtn-rs-search {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 760px;
	margin-top: 28px;
	padding: 6px 6px 6px 20px;
	border: 1.5px solid rgba(17, 26, 46, 0.14);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 18px 40px -24px rgba(0, 38, 122, 0.45);
}

.imtn-rs-search:focus-within {
	border-color: var(--imtn-blue);
}

.imtn-rs-search .fa {
	color: var(--imtn-blue);
}

.imtn-rs-search input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 15.5px;
	color: var(--imtn-ink);
}

.imtn-rs-search button {
	height: 46px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--imtn-blue);
	font-weight: 700;
	color: #fff;
	cursor: pointer;
}

.imtn-rs-search button:hover {
	background: var(--imtn-blue-dark);
}

.imtn-rs-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.imtn-rs-filters a {
	padding: 7px 14px;
	border: 1px solid var(--imtn-line);
	border-radius: 999px;
	background: #fff;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--imtn-ink) !important;
	text-decoration: none !important;
}

.imtn-rs-filters a:hover {
	border-color: var(--imtn-blue);
	color: var(--imtn-blue) !important;
}

.imtn-rs-filters a.active {
	border-color: var(--imtn-ink);
	background: var(--imtn-ink);
	color: #fff !important;
}

.imtn-rs-filters .imtn-rs-clear {
	border-color: transparent;
	background: transparent;
	color: var(--imtn-blue) !important;
}

.imtn-rs-body {
	padding: 36px 0 80px;
	background: var(--imtn-paper);
}

.imtn-rs-range {
	margin: 0 0 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--imtn-muted);
}

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

.imtn-rs-item {
	margin-bottom: 12px;
	padding: 20px 24px;
	border: 1px solid var(--imtn-line);
	border-radius: 18px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.imtn-rs-item:hover {
	border-color: var(--imtn-blue);
	box-shadow: var(--imtn-shadow);
}

.imtn-rs-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--imtn-muted);
}

.imtn-rs-meta time {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--imtn-gold-dark);
}

.imtn-rs-oa {
	color: #1b7a43;
}

.imtn-rs-item h2 {
	margin: 8px 0 0;
	font-family: var(--imtn-sans);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.005em;
}

.imtn-rs-item h2 a {
	color: var(--imtn-ink) !important;
	text-decoration: none !important;
}

.imtn-rs-item h2 a:hover {
	color: var(--imtn-blue) !important;
}

.imtn-rs-by {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--imtn-muted);
}

.imtn-rs-full {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--imtn-blue) !important;
}

.imtn-rs-pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--imtn-muted);
}

.imtn-rs-pager a {
	justify-self: start;
	padding: 9px 18px;
	border: 1px solid var(--imtn-line);
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	color: var(--imtn-blue) !important;
	text-decoration: none !important;
}

.imtn-rs-pager a:last-child {
	justify-self: end;
}

.imtn-rs-pager a:hover {
	border-color: var(--imtn-blue);
}

.imtn-rs-empty {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px;
	border: 1px dashed rgba(17, 26, 46, 0.2);
	border-radius: 18px;
	background: #fff;
	color: var(--imtn-muted);
}

.imtn-rs-empty b {
	color: var(--imtn-ink);
}

.imtn-rs-empty a {
	font-weight: 700;
	color: var(--imtn-blue) !important;
}

.imtn-rs-credit {
	margin-top: 28px;
}

@media (max-width: 767.98px) {
	.imtn-rs-head {
		padding: 104px 0 28px;
	}

	.imtn-rs-search button {
		padding: 0 16px;
	}

	.imtn-rs-item {
		padding: 16px 18px;
	}

	.imtn-rs-item h2 {
		font-size: 16px;
	}
}
