/* ==========================================================
   Vivek College Library - home page shared parts, body.vk-launch (new sections: vk-studio.css).
   Loaded after vk-home.css. Echoes manavrachna.edu.in on a warm light ground: Roboto light + bold headline,
   gold gradient pill with a maroon arrow disc, rounded image tiles with arrow circles, dark slim line on top.
   ========================================================== */

.vk-launch {
	--px-sun: linear-gradient(135deg, #fffaf3 0%, #fff0e4 45%, #ffe9d2 70%, #ffd9a8 100%);
	--px-gold: linear-gradient(100deg, #f5a623 0%, #ffcb5c 55%, #f5a623 100%);
	--px-red: linear-gradient(100deg, #c0261a 0%, #d1431a 100%);
	--px-green: #2f7a3a;
	background: var(--vk-paper);
}

.vk-launch code {
	font-family: var(--vk-mono);
}

/* ---------- Header (the slim line above it is in vk-base.css) ---------- */

.vk-launch .cnu-header {
	position: sticky;
	top: 0;
}

.vk-launch .vk-brand img.vk-brand-crest {
	height: 46px !important;
	width: auto !important;
	max-width: none !important;
}

.vk-launch .vk-brand .hm-brand-text strong {
	color: var(--vk-blue) !important;
}

@media (min-width: 992px) {
	/* the college site's Apply Now button: gold pill + maroon arrow disc */
	.vk-launch .cnu-header ul.login#anonymous li a {
		position: relative;
		display: inline-flex !important;
		align-items: center;
		min-height: 44px;
		padding: 0 48px 0 22px !important;
		border: 0 !important;
		border-radius: 999px !important;
		background: var(--px-gold) !important;
		color: var(--vk-gold-ink) !important;
		font-weight: 600;
		letter-spacing: 0;
		cursor: pointer;
		box-shadow: 0 8px 18px -10px rgba(138, 80, 0, 0.8);
	}

	.vk-launch .cnu-header ul.login#anonymous li a::after {
		content: "\2192";
		position: absolute;
		right: 6px;
		top: 50%;
		display: grid;
		place-items: center;
		width: 32px;
		height: 32px;
		margin-top: -16px;
		border-radius: 50%;
		background: var(--vk-blue);
		color: #fff;
		font-size: 16px;
	}
}

/* arrow circle, used on every link tile */
.px-arrow {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(44, 26, 23, 0.25);
	border-radius: 50%;
	color: var(--vk-ink);
	font-size: 13px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover > .px-arrow,
a:hover .px-col-head .px-arrow {
	background: var(--vk-blue);
	border-color: var(--vk-blue);
	color: #fff;
	transform: translateX(2px);
}

/* ---------- Sections ---------- */

.px-section {
	padding: 72px 0;
}

.vk-launch .vk-h2 {
	font-weight: 300;
	letter-spacing: -0.025em;
}

.vk-launch .vk-h2 em {
	font-style: normal;
	font-weight: 700;
	background: linear-gradient(95deg, #c0261a, #e8541c);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Tool cards (schools) ---------- */

.px-tools {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	gap: 10px;
}

.px-tool {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--vk-line);
	border-radius: 14px;
	background: #fff;
	color: var(--vk-ink) !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.px-tool:hover {
	border-color: var(--vk-blue);
	box-shadow: 0 10px 20px -14px rgba(192, 38, 26, 0.7);
	transform: translateY(-1px);
}

.px-tool-logo {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 56px;
	height: 40px;
	padding: 3px;
	border-radius: 8px;
	background: #fff;
	color: var(--vk-blue);
	font-size: 17px;
}

.px-tool-logo img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.px-tool-text {
	min-width: 0;
}

.px-tool-text b,
.px-tool-text small {
	display: block;
}

.px-tool-text b {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.25;
}

.px-tool-text small {
	color: var(--vk-muted);
	font-size: 12.5px;
}

/* ---------- Toolkit ---------- */

.px-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.px-tile {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 20px;
	border: 1px solid var(--vk-line);
	border-radius: 20px;
	background: #fff;
	color: var(--vk-ink) !important;
	text-decoration: none !important;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.px-tile:hover {
	box-shadow: var(--vk-shadow);
	transform: translateY(-2px);
}

.px-tile > .fa {
	margin-bottom: 8px;
	color: var(--vk-blue);
	font-size: 22px;
}

.px-tile b {
	font-size: 16.5px;
	font-weight: 600;
}

.px-tile small {
	color: var(--vk-muted);
	font-size: 14px;
	line-height: 1.4;
}

.px-tile-hours {
	background: var(--vk-night);
	border-color: var(--vk-night);
	color: #fff !important;
}

.px-tile-hours > .fa {
	color: var(--vk-gold);
}

.px-tile-hours small {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	color: #fff;
}

.px-tile-hours small span {
	color: #e2cfc7;
}

.px-tile-ask {
	position: relative;
	grid-column: span 2;
	grid-row: span 2;
	justify-content: flex-end;
	min-height: 260px;
	overflow: hidden;
	padding: 0;
	border: 0;
}

.px-tile-ask img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.px-tile-ask > span {
	position: relative;
	margin: 14px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.93);
}

.px-tile-ask b,
.px-tile-ask small {
	display: block;
}

.px-howto,
.px-news {
	margin-top: 30px;
}

.px-howto h3,
.px-news h3 {
	margin: 0 0 12px;
	color: var(--vk-ink);
	font-family: var(--vk-sans);
	font-size: 18px;
	font-weight: 700;
}

.px-howto-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 22px;
}

.px-howto-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 2px;
	border-bottom: 1px solid var(--vk-line);
	color: var(--vk-ink) !important;
	text-decoration: none !important;
}

.px-howto-list a:hover b {
	color: var(--vk-blue);
}

.px-howto-list .fa {
	flex: 0 0 22px;
	color: var(--vk-blue);
	text-align: center;
}

.px-howto-list b,
.px-howto-list small {
	display: block;
}

.px-howto-list b {
	font-size: 14.5px;
	font-weight: 500;
}

.px-howto-list small {
	color: var(--vk-muted);
	font-size: 12.5px;
}

.px-news ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.px-news a {
	display: block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--vk-gold-soft);
	color: var(--vk-gold-ink) !important;
	font-size: 14px;
	text-decoration: none !important;
}

.px-news a:hover {
	background: var(--vk-blue);
	color: #fff !important;
}

/* ---------- Shelves ---------- */

.px-shelves {
	background: var(--vk-ivory);
}

.px-shelf-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 18px;
}

.px-shelf-tab {
	padding: 6px 14px;
	border: 1px solid var(--vk-line);
	border-radius: 999px;
	background: #fff;
	color: var(--vk-ink);
	font-size: 14px;
	cursor: pointer;
}

.px-shelf-tab.active {
	background: var(--vk-blue);
	border-color: var(--vk-blue);
	color: #fff;
}

.px-shelf {
	display: flex;
	align-items: center;
	gap: 10px;
}

.px-shelf[hidden] {
	display: none;
}

.px-covers {
	display: flex;
	flex: 1;
	min-width: 0;
	gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
}

.px-covers::-webkit-scrollbar {
	display: none;
}

.px-cover {
	flex: 0 0 136px;
	color: var(--vk-ink) !important;
	text-decoration: none !important;
}

.px-cover img {
	display: block;
	width: 136px;
	height: 196px;
	margin-bottom: 8px;
	border-radius: 8px;
	background: var(--vk-blue-soft);
	object-fit: cover;
	box-shadow: 0 8px 16px -10px rgba(44, 26, 23, 0.55);
}

.px-cover b,
.px-cover small {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
}

.px-cover b {
	-webkit-line-clamp: 2;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.3;
}

.px-cover small {
	-webkit-line-clamp: 1;
	color: var(--vk-muted);
	font-size: 12.5px;
}

.px-strip-btn {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--vk-line);
	border-radius: 50%;
	background: #fff;
	color: var(--vk-blue);
	cursor: pointer;
}

.px-strip-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

/* ---------- Free links ---------- */

.px-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.px-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--vk-line);
	border-radius: 16px;
	background: #fff;
	color: var(--vk-ink) !important;
	text-decoration: none !important;
}

.px-link:hover {
	border-color: var(--vk-blue);
}

.px-link-mark {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--vk-gold-soft);
	color: var(--vk-gold-ink);
	font-family: var(--vk-mono);
	font-size: 12px;
	font-weight: 500;
}

.px-link b,
.px-link small {
	display: block;
}

.px-link b {
	font-size: 15px;
	font-weight: 600;
}

.px-link small {
	color: var(--vk-muted);
	font-size: 12.5px;
	line-height: 1.3;
}

/* ---------- About ---------- */

.px-about {
	background: var(--px-sun);
}

.px-about-side {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.px-about-photo {
	margin: 0;
}

.px-about-photo img {
	display: block;
	width: 100%;
	height: 170px;
	border-radius: 20px;
	object-fit: cover;
}

.px-btn-cta {
	background: var(--px-red);
	color: #fff !important;
}

.px-btn-cta:hover {
	filter: brightness(1.06);
}

.px-btn-ghost {
	background: #fff;
	border-color: rgba(44, 26, 23, 0.18);
	color: var(--vk-ink) !important;
}

.px-app {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--vk-line);
}

.px-app b,
.px-app small {
	display: block;
}

.px-app b {
	font-size: 16px;
	font-weight: 600;
	color: var(--vk-ink);
}

.px-app small {
	color: var(--vk-muted);
	font-size: 13.5px;
}

.px-app-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.px-app-qr {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

/* ---------- A-Z and open access (home-sections.css) in the same voice ---------- */

.vk-launch .hm-section {
	padding: 64px 0;
	border: 0;
	background: var(--vk-paper);
}

.vk-launch .hm-section-title {
	font-family: var(--vk-serif);
	font-weight: 600;
	letter-spacing: -0.005em;
}

.vk-launch .hm-section-title em {
	font-style: normal;
	font-weight: 700;
	background: linear-gradient(95deg, #c0261a, #e8541c);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.vk-launch .hm-az-mark {
	background: var(--px-red);
}

.vk-launch .hm-oa-type {
	background: var(--vk-gold-soft);
	color: var(--vk-gold-dark);
}

/* ---------- Footer logo ---------- */

.vk-launch .vk-foot-lockup img {
	width: auto;
	height: 92px;
}

/* ---------- Tablets ---------- */

@media (max-width: 1199.98px) {
	.vk-ribbon-note {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.px-links,
	.px-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.px-school-box {
		grid-template-columns: 250px minmax(0, 1fr);
	}

	.px-school-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.px-howto-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.px-door:nth-child(3) {
		border-left: 0;
	}
}

@media (max-width: 991.98px) {
	.px-hero {
		padding-top: 30px;
	}

	.px-hero-grid,
	.px-cat-grid,
	.px-res-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.px-section {
		padding: 52px 0;
	}

	.px-school-box {
		grid-template-columns: minmax(0, 1fr);
	}

	.px-school-tabs {
		flex-direction: row;
		overflow-x: auto;
		border-right: 0;
		border-bottom: 1px solid var(--vk-line);
		scrollbar-width: none;
	}

	.px-school-tab {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.px-school-tab code {
		flex: 0 0 auto;
	}

	.px-numbers dl {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.px-col-lead {
		grid-row: auto;
	}

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

	.px-cat-photo {
		margin-right: 18px;
	}
}

/* ---------- Phones ---------- */

@media (max-width: 767.98px) {
	.vk-ribbon-links a:not(:first-child) {
		display: none;
	}

	.vk-ribbon-in {
		padding: 6px 16px;
		font-size: 12px;
	}

	.vk-launch .vk-brand.hm-brand-mobile img.vk-brand-crest {
		height: 34px !important;
	}

	.vk-launch .vk-brand.hm-brand-mobile .hm-brand-text {
		display: none !important;
	}

	.px-lede {
		font-size: 16px;
	}

	.px-notice {
		position: static;
		margin-top: 10px;
	}

	.px-console {
		padding: 12px;
	}

	.px-modes {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.px-mode {
		flex: 0 0 auto;
	}

	.px-field {
		padding-left: 14px;
	}

	.px-field kbd,
	.px-go > span:first-child {
		display: none;
	}

	.px-go {
		padding: 0 6px;
		background: none;
	}

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

	.px-door + .px-door {
		border-left: 0;
		border-top: 1px solid rgba(44, 26, 23, 0.1);
	}

	.px-door {
		padding: 12px 2px;
	}

	.px-tools,
	.px-new,
	.px-howto-list,
	.px-links,
	.px-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.px-col-lead {
		grid-column: auto;
	}

	.px-logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.px-numbers dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.px-tile-ask {
		grid-column: auto;
		grid-row: auto;
	}

	.px-school {
		padding: 18px;
	}

	.px-cat-form {
		flex-direction: column;
	}

	.px-cat-form button {
		height: 46px;
	}

	.px-log {
		padding: 18px;
	}

	.px-app {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vk-launch * {
		transition: none !important;
	}
}
