/* ==========================================================================
   Azim Premji University – home page + login page (partials/navbar.html)
   Layout: ribbon · sticky header · editorial hero with a colour mosaic ·
           "contents" list of collections · tools grid · steps band · app card
   ========================================================================== */

body.apu-home,
body.apu-login {
	background: var(--apu-paper);
	color: var(--apu-ink);
}

body.apu-home p,
body.apu-login p {
	font-size: inherit;
	line-height: 1.6;
	color: inherit;
	margin-bottom: 0;
}

.apu-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.apu-when-in {
	display: none;
}

html.apu-in .apu-when-in {
	display: block;
}

html.apu-in .apu-when-out {
	display: none;
}

/* ---------- Ribbon ---------- */
.apu-ribbon {
	background: var(--apu-ink);
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
}

.apu-ribbon__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.apu-ribbon__title {
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
}

.apu-ribbon__links {
	display: flex;
	gap: 22px;
}

.apu-ribbon a {
	color: rgba(255, 255, 255, 0.78);
}

.apu-ribbon a:hover {
	color: #fff;
}

/* ---------- Header ---------- */
.apu-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: #fff;
	border-bottom: 1px solid var(--apu-line);
}

.apu-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 84px;
}

.apu-header__brand {
	flex: 0 0 auto;
	display: block;
}

.apu-header__brand img {
	display: block;
	height: 58px;
	width: auto;
}

.apu-nav {
	flex: 1 1 auto;
}

.apu-nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.apu-nav li {
	list-style: none;
}

.apu-nav a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--apu-ink-2);
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.apu-nav a:hover {
	background: var(--apu-paper);
	color: var(--apu-ink);
}

.apu-nav a.activeHeader {
	background: var(--apu-cream);
	color: var(--apu-ink);
}

.apu-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.apu-auth {
	margin: 0;
	padding: 0;
}

.apu-auth li {
	list-style: none;
}

.apu-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 0 12px;
	border-radius: 12px;
	background: var(--apu-paper);
}

.apu-menu-toggle span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--apu-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.apu-header.is-open .apu-menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.apu-header.is-open .apu-menu-toggle span:nth-child(2) {
	opacity: 0;
}

.apu-header.is-open .apu-menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Shared section bits ---------- */
.apu-eyebrow,
.apu-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px !important;
	font-size: 14px !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--apu-rust-dark) !important;
}

.apu-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--apu-sun);
	box-shadow: 18px 0 0 -2px var(--apu-sky);
	margin-right: 16px;
}

.apu-section {
	padding: 88px 0;
}

.apu-section__head {
	max-width: 640px;
	margin-bottom: 36px;
}

.apu-section__head h2 {
	margin: 0 0 10px;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--apu-ink);
}

.apu-section__head p:not(.apu-kicker) {
	color: var(--apu-muted) !important;
	font-size: 18px;
}

.apu-section__head--light h2 {
	color: #fff;
}

.apu-section__head--light .apu-kicker {
	color: var(--apu-mint) !important;
}

/* ---------- Hero ---------- */
.apu-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 80px;
	background:
		radial-gradient(circle at 92% 8%, rgba(0, 156, 223, 0.10), transparent 32%),
		linear-gradient(180deg, var(--apu-cream) 0%, var(--apu-paper) 100%);
}

.apu-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 56px;
	align-items: center;
}

.apu-hero__title {
	margin: 0 0 20px;
	font-size: clamp(38px, 5vw, 64px);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--apu-ink);
}

.apu-mark {
	background: linear-gradient(180deg, transparent 62%, rgba(245, 156, 26, 0.42) 62%, rgba(245, 156, 26, 0.42) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.apu-hero__lead {
	max-width: 540px;
	margin-bottom: 30px !important;
	font-size: 20px;
	color: var(--apu-ink-2) !important;
}

.apu-signin {
	max-width: 560px;
	padding: 22px;
	border: 1px solid var(--apu-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--apu-shadow-lg);
}

.apu-signin__label {
	margin-bottom: 14px !important;
	font-size: 15px;
	font-weight: 700;
	color: var(--apu-ink-2) !important;
}

.apu-signin__buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}

.apu-sso {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 18px;
	border-radius: 14px;
	background: var(--apu-teal);
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.apu-sso:hover {
	background: var(--apu-teal-dark);
	transform: translateY(-1px);
}

.apu-sso img {
	padding: 4px;
	border-radius: 6px;
	background: #fff;
	box-sizing: content-box;
}

.apu-sso svg {
	margin-left: auto;
}

.apu-signin__buttons .apu-sso:nth-child(2) {
	background: var(--apu-ink);
}

.apu-signin__buttons .apu-sso:nth-child(2):hover {
	background: #000;
}

.apu-signin__alt {
	margin-top: 14px !important;
	font-size: 15px;
	color: var(--apu-muted) !important;
}

.apu-signin__alt a {
	color: var(--apu-teal) !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.apu-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Mosaic */
.apu-mosaic {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-template-rows: repeat(6, 72px);
	gap: 14px;
}

.apu-tile {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
}

.apu-tile--photo {
	grid-column: 1 / 5;
	grid-row: 1 / 5;
	background: var(--apu-line);
}

.apu-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

.apu-slide.is-active {
	opacity: 1;
}

.apu-tile--sky {
	grid-column: 5 / 7;
	grid-row: 1 / 4;
	background: var(--apu-sky);
}

.apu-fig {
	position: absolute;
	fill: #fff;
}

.apu-fig--1 {
	width: 74px;
	height: 74px;
	top: 26%;
	left: 22%;
	transform: rotate(-12deg);
}

.apu-fig--2 {
	width: 52px;
	height: 52px;
	top: 56%;
	left: 44%;
	transform: rotate(18deg);
}

.apu-fig--3 {
	width: 32px;
	height: 32px;
	top: 78%;
	left: 26%;
}

.apu-sun {
	position: absolute;
	top: 10%;
	right: 14%;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--apu-sun);
}

.apu-tile--cream,
.apu-tile--teal,
.apu-tile--rust {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 18px 20px;
}

.apu-tile strong {
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}

.apu-tile span {
	font-size: 15px;
	font-weight: 700;
}

.apu-tile--cream {
	grid-column: 5 / 7;
	grid-row: 4 / 7;
	background: #fff;
	border: 1px solid var(--apu-line);
	color: var(--apu-ink);
}

.apu-tile--cream::before {
	content: "";
	position: absolute;
	top: -28px;
	right: -28px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: var(--apu-sun);
	opacity: 0.9;
}

.apu-tile--teal {
	grid-column: 1 / 3;
	grid-row: 5 / 7;
	background: var(--apu-teal);
	color: #fff;
}

.apu-tile--rust {
	grid-column: 3 / 5;
	grid-row: 5 / 7;
	justify-content: space-between;
	background: var(--apu-rust);
	color: #fff;
}

.apu-tile--rust span {
	font-size: 17px;
	line-height: 1.2;
}

/* ---------- Contents list ---------- */
.apu-contents {
	background: #fff;
	border-top: 1px solid var(--apu-line);
	border-bottom: 1px solid var(--apu-line);
}

.apu-toc {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 56px;
	margin: 0;
	padding: 0;
	counter-reset: none;
}

.apu-toc li {
	list-style: none;
	border-bottom: 1px solid var(--apu-line);
}

.apu-toc a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 18px 4px;
	color: var(--apu-ink);
}

.apu-toc__no {
	flex: 0 0 auto;
	min-width: 28px;
	font-size: 14px;
	font-weight: 700;
	color: var(--apu-rust-dark);
	font-variant-numeric: tabular-nums;
}

.apu-toc__name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	transition: color 0.15s ease;
}

.apu-toc__leader {
	flex: 1 1 auto;
	min-width: 24px;
	border-bottom: 2px dotted #cfc6b2;
	transform: translateY(-4px);
}

.apu-toc__count {
	flex: 0 0 auto;
	min-width: 36px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--apu-paper);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	color: var(--apu-ink-2);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.apu-toc a:hover .apu-toc__name {
	color: var(--apu-teal);
}

.apu-toc a:hover .apu-toc__count {
	background: var(--apu-teal);
	color: #fff;
}

/* ---------- Tools ---------- */
.apu-tools__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.apu-tool {
	display: block;
	padding: 26px;
	border: 1px solid var(--apu-line);
	border-radius: var(--apu-radius);
	background: #fff;
	color: var(--apu-ink) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.apu-tool:hover {
	border-color: transparent;
	box-shadow: var(--apu-shadow-lg);
	transform: translateY(-3px);
}

.apu-tool h3 {
	margin: 18px 0 6px;
	font-size: 21px;
	font-weight: 800;
	color: var(--apu-ink);
}

.apu-tool p {
	color: var(--apu-muted) !important;
}

.apu-tool__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
}

.apu-tool__icon--sky {
	background: var(--apu-sky-soft);
	color: #0072a8;
}

.apu-tool__icon--sun {
	background: #fff0d6;
	color: #a35f00;
}

.apu-tool__icon--teal {
	background: #dff5ec;
	color: var(--apu-teal);
}

.apu-tool__icon--rust {
	background: var(--apu-rust-soft);
	color: var(--apu-rust-dark);
}

/* ---------- Steps ---------- */
.apu-steps {
	position: relative;
	overflow: hidden;
	padding: 88px 0;
	background: var(--apu-teal-deep);
	color: rgba(255, 255, 255, 0.82);
}

.apu-steps::after {
	content: "";
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 70px solid rgba(170, 236, 211, 0.08);
}

.apu-steps__list {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
}

.apu-steps__list li {
	list-style: none;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--apu-radius);
	background: rgba(255, 255, 255, 0.04);
}

.apu-steps__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--apu-sun);
	color: var(--apu-ink);
	font-size: 20px;
	font-weight: 800;
}

.apu-steps__list li:nth-child(2) .apu-steps__no {
	background: var(--apu-sky);
	color: #fff;
}

.apu-steps__list li:nth-child(3) .apu-steps__no {
	background: var(--apu-mint);
}

.apu-steps h3 {
	margin: 18px 0 8px;
	font-size: 22px;
	font-weight: 800;
	color: #fff;
}

.apu-steps em {
	font-style: normal;
	color: #fff;
	font-weight: 700;
}

/* ---------- About ---------- */
.apu-about__inner {
	max-width: 860px;
}

.apu-about__text,
.apu-about__text p {
	font-size: 19px !important;
	line-height: 1.7 !important;
	color: var(--apu-ink-2) !important;
}

/* ---------- App card ---------- */
.apu-app {
	padding-top: 0;
}

.apu-steps + .apu-app,
.apu-steps + .apu-about {
	padding-top: 88px;
}

.apu-app__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 40px;
	padding-bottom: 40px;
	border-radius: 28px;
	background: var(--apu-sky-soft);
	max-width: 1152px;
}

.apu-app__copy h2 {
	margin: 0 0 8px;
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--apu-ink);
}

.apu-app__copy p:not(.apu-kicker) {
	color: var(--apu-ink-2) !important;
	font-size: 18px;
}

.apu-app__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.apu-app__badges img {
	height: 44px;
	width: auto;
	border-radius: 8px;
}

.apu-app__qr {
	display: flex;
	gap: 16px;
}

.apu-app__qr figure {
	margin: 0;
	padding: 10px 10px 6px;
	border-radius: 16px;
	background: #fff;
	text-align: center;
	box-shadow: var(--apu-shadow-sm);
}

.apu-app__qr img {
	display: block;
	width: 112px;
	height: 112px;
	object-fit: contain;
}

.apu-app__qr figcaption {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--apu-muted);
}

/* Home: don't let the old wrappers add spacing */
body.apu-home .apu-notifications:empty {
	display: none;
}

/* ==========================================================================
   Login page (/login) – proxy redirects here when a session is missing
   ========================================================================== */
.apu-login-main {
	padding: 64px 0 88px;
	background: linear-gradient(180deg, var(--apu-cream) 0%, var(--apu-paper) 100%);
}

.apu-login-card {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	max-width: 980px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--apu-shadow-lg);
}

.apu-login-card__art {
	position: relative;
	min-height: 440px;
	padding: 40px;
	background: var(--apu-sky);
	color: #fff;
}

.apu-login-card__art h1 {
	position: relative;
	z-index: 1;
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.apu-login-card__art p {
	position: relative;
	z-index: 1;
	max-width: 300px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.92) !important;
}

.apu-login-card__art .apu-fig--1 {
	top: auto;
	bottom: 26%;
	left: 16%;
	width: 120px;
	height: 120px;
}

.apu-login-card__art .apu-fig--2 {
	top: auto;
	bottom: 12%;
	left: 50%;
	width: 80px;
	height: 80px;
}

.apu-login-card__art .apu-fig--3 {
	top: auto;
	bottom: 6%;
	left: 30%;
	width: 44px;
	height: 44px;
}

.apu-login-card__art .apu-sun {
	top: auto;
	right: 14%;
	bottom: 44%;
	width: 54px;
	height: 54px;
}

.apu-login-card__form {
	padding: 44px 44px 40px;
}

.apu-login-card__form h2 {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 800;
	color: var(--apu-ink);
}

.apu-login-card__form .apu-login-sub {
	margin-bottom: 26px !important;
	color: var(--apu-muted) !important;
}

.apu-login-card__form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--apu-ink-2);
}

.apu-login-card__form .form-control {
	height: 50px;
	border: 1.5px solid var(--apu-line);
	border-radius: 12px;
	font-size: 16px;
	color: var(--apu-ink);
	box-shadow: none;
}

.apu-login-card__form .form-control:focus {
	border-color: var(--apu-teal);
}

.apu-login-card__form #MapMyAccessLoginButton,
.apu-login-card__form button[name="login-form-submit"] {
	width: 100%;
	height: 52px;
	margin-top: 8px;
	border: 0;
	border-radius: 999px;
	background: var(--apu-teal);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.apu-login-card__form button[name="login-form-submit"]:hover {
	background: var(--apu-teal-dark);
}

.apu-login-alert {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 12px;
	background: var(--apu-rust-soft);
	color: var(--apu-rust-dark);
	font-weight: 600;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.apu-nav a {
		padding: 10px 10px;
		font-size: 15px;
	}

	.apu-hero__grid {
		gap: 36px;
	}
}

@media (max-width: 991.98px) {
	.apu-menu-toggle {
		display: inline-flex;
	}

	.apu-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 10px 16px 18px;
		background: #fff;
		border-bottom: 1px solid var(--apu-line);
		box-shadow: 0 18px 30px -18px rgba(16, 32, 31, 0.3);
	}

	.apu-header.is-open .apu-nav {
		display: block;
	}

	.apu-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.apu-nav a {
		padding: 12px 14px;
		border-radius: 12px;
		font-size: 17px;
	}

	.apu-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.apu-mosaic {
		grid-template-rows: repeat(6, 56px);
	}

	.apu-tools__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.apu-steps__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.apu-toc {
		grid-template-columns: minmax(0, 1fr);
	}

	.apu-app__card {
		flex-direction: column;
		align-items: flex-start;
	}

	.apu-login-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.apu-login-card__art {
		min-height: 260px;
	}
}

@media (max-width: 640px) {
	.apu-wrap {
		padding: 0 16px;
	}

	.apu-ribbon__links a:last-child {
		display: none;
	}

	.apu-header__inner {
		gap: 12px;
		min-height: 72px;
	}

	.apu-header__brand img {
		height: 46px;
	}

	.apu-header__signin {
		min-height: 42px;
		padding: 0 16px;
	}

	.apu-avatar span {
		display: none;
	}

	.apu-avatar {
		padding: 3px;
	}

	.apu-hero {
		padding: 40px 0 56px;
	}

	.apu-hero__lead {
		font-size: 18px;
	}

	.apu-signin {
		padding: 16px;
	}

	.apu-mosaic {
		grid-template-rows: repeat(6, 44px);
		gap: 10px;
	}

	.apu-tile {
		border-radius: 18px;
	}

	.apu-tile strong {
		font-size: 32px;
	}

	.apu-tile span,
	.apu-tile--rust span {
		font-size: 13px;
	}

	.apu-tile--rust svg {
		width: 22px;
		height: 22px;
	}

	.apu-fig--1 {
		width: 48px;
		height: 48px;
	}

	.apu-fig--2 {
		width: 34px;
		height: 34px;
	}

	.apu-fig--3 {
		width: 22px;
		height: 22px;
	}

	.apu-sun {
		width: 22px;
		height: 22px;
	}

	.apu-section,
	.apu-steps {
		padding: 60px 0;
	}

	.apu-steps + .apu-app,
	.apu-steps + .apu-about {
		padding-top: 60px;
	}

	.apu-tools__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.apu-toc__name {
		font-size: 17px;
	}

	.apu-app__card {
		border-radius: 20px;
		padding: 28px 20px;
		width: calc(100% - 32px);
	}

	.apu-login-main {
		padding: 28px 0 56px;
	}

	.apu-login-card__form {
		padding: 28px 20px;
	}

	.apu-login-card__art {
		min-height: 220px;
		padding: 28px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apu-slide,
	.apu-tool,
	.apu-sso,
	.apu-btn {
		transition: none;
	}
}

/* ============ Latest research (OpenAlex) ============ */
.apu-research {
	background: var(--apu-paper);
}

.apu-research__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 22px;
}

.apu-research__head .apu-section__head {
	margin-bottom: 0;
}

.apu-research__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid var(--apu-line);
	border-radius: 999px;
	background: var(--apu-white);
	color: var(--apu-teal) !important;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.apu-research__all:hover {
	border-color: var(--apu-teal);
	background: var(--apu-cream);
}

.apu-research__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apu-paper {
	position: relative;
	display: flex;
	gap: 16px;
	min-width: 0;
	padding: 18px 20px;
	border: 1px solid var(--apu-line);
	border-radius: var(--apu-radius);
	background: var(--apu-white);
	box-shadow: var(--apu-shadow-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.apu-paper:hover {
	border-color: var(--apu-teal);
	box-shadow: var(--apu-shadow-lg);
	transform: translateY(-2px);
}

.apu-paper__no {
	flex: 0 0 auto;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: var(--apu-rust);
	font-variant-numeric: tabular-nums;
}

.apu-paper__body {
	flex: 1 1 auto;
	min-width: 0;
}

.apu-paper__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 6px;
}

.apu-paper__tags:empty {
	display: none;
}

.apu-paper__field,
.apu-paper__oa {
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.apu-paper__field {
	background: var(--apu-sky-soft);
	color: #00628c;
}

.apu-paper__oa {
	background: var(--apu-rust-soft);
	color: var(--apu-rust-dark);
}

.apu-paper h3 {
	margin: 0 0 6px;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.apu-paper h3 a {
	color: var(--apu-ink) !important;
	text-decoration: none !important;
}

.apu-paper h3 a:hover {
	color: var(--apu-teal) !important;
	text-decoration: underline !important;
}

.apu-paper__by {
	margin: 0 0 6px;
	font-size: 13.5px;
	color: var(--apu-muted);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.apu-paper__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0;
	font-size: 12.5px;
	color: var(--apu-muted);
}

.apu-paper__meta span:first-child {
	font-style: italic;
	color: var(--apu-ink);
}

.apu-paper__go {
	flex: 0 0 auto;
	align-self: flex-start;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--apu-cream);
	color: var(--apu-teal) !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.apu-paper__go:hover {
	background: var(--apu-teal);
	color: var(--apu-white) !important;
}

.apu-research__credit {
	margin: 16px 0 0;
	font-size: 12.5px;
	color: var(--apu-muted);
}

.apu-research__credit a {
	color: var(--apu-teal) !important;
}

@media (max-width: 860px) {
	.apu-research__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 575.98px) {
	.apu-paper {
		gap: 12px;
		padding: 16px;
	}

	.apu-paper__no {
		font-size: 20px;
	}

	.apu-paper__go {
		display: none;
	}
}

/* ---------- Hero tile: library-shelf illustration (replaces the university figure mark) ---------- */
.apu-tile--shelf .apu-shelf-art {
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 6%;
	width: 84%;
	height: 82%;
}
.apu-shelf-art .b-white { fill: #fff; }
.apu-shelf-art .b-cream { fill: var(--apu-cream); }
.apu-shelf-art .b-rust { fill: var(--apu-rust); }
.apu-shelf-art .b-teal { fill: var(--apu-teal); }
.apu-shelf-art .b-sun { fill: var(--apu-sun); }
.apu-shelf-art .b-line {
	fill: none;
	stroke: rgba(16, 32, 31, 0.22);
	stroke-width: 2.4;
	stroke-linecap: round;
}
.apu-shelf-art .apu-shelf-board { fill: rgba(16, 32, 31, 0.35); }
.apu-shelf-books {
	transform-origin: 100px 232px;
	transition: transform 0.4s ease;
}
.apu-mosaic:hover .apu-shelf-books {
	transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
	.apu-shelf-books { transition: none; }
}
