/* ==========================================================
   MNR University, Sangareddy (Hyderabad) - MNR Knowledge Center (Central Library)
   Base layer (loaded from commonhead on every page): fonts, brand tokens, the logo lockup and the dot motif.
   (user, 2026-11-05: modern, energetic UI for education, healthcare and tech; warm, light gradients matching mnruniversity.edu.in):
   "Helix" - the MNR logo's blue #035ba6 (white text) and orange #f38020, a warm amber #f9a03f for rules, dots and fills
   with dark text, and a care teal #12a08a for the healthcare stream, on peach-to-sky light gradients.
   Figtree (the university site's face) for text and headings, Antonio (also on the site) for big numbers and labels.
   Home: mn-home.css + mn-launch.css + mn-spark.css + mn-helix.css; inner pages: the theme3 "modern" layer plus mn-app.css / mn-popups.css.
   Token names were kept from the earlier ports so every inner stylesheet still works:
   --mn-blue* = MNR blue, --mn-gold* = amber, --mn-sky = MNR orange, --mn-aqua* = care teal.
   Fonts are self-hosted (Figtree, Antonio, Roboto Mono: OFL / Apache): the CSP blocks Google Fonts stylesheets.
   ========================================================== */

@font-face {
	font-family: "Figtree";
	src: url("../webfonts/figtree-var.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../webfonts/figtree-italic-var.woff2") format("woff2");
	font-weight: 300 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Antonio";
	src: url("../webfonts/antonio-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Roboto Mono";
	src: url("../webfonts/robotomono-var.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* MNR blue carries white text (6.6:1); amber is for rules, small marks and fills with dark text */
	--mn-blue: #035ba6;
	--mn-blue-dark: #064a8c;
	--mn-blue-deep: #062b52;
	--mn-blue-soft: #e8f2fc;
	--mn-sky: #f38020;
	/* amber is for rules, dots and fills with dark text; --mn-gold-dark is amber text on white */
	--mn-gold: #f9a03f;
	--mn-gold-dark: #a34a00;
	--mn-gold-ink: #3d1f00;
	--mn-gold-soft: #fff3e6;
	--mn-ivory: #fffaf5;
	--mn-brick: #064a8c;
	/* line colours (home chips, tracks) */
	--mn-line-1: #f9a03f;
	--mn-line-2: #f38020;
	--mn-line-3: #035ba6;
	--mn-line-4: #064a8c;
	--mn-line-5: #c2540a;
	--mn-line-6: #e8892a;
	--mn-night: #062b52;
	--mn-ink: #14243a;
	--mn-muted: #56657a;
	--mn-line: #e7e3de;
	--mn-paper: #fffcf8;
	--mn-danger: #c4291c;
	--mn-radius: 18px;
	--mn-sans: "Figtree", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--mn-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	--mn-serif: "Figtree", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--mn-script: "Figtree", "Segoe UI", Arial, sans-serif;
	--mn-display: "Antonio", "Arial Narrow", "Roboto Condensed", sans-serif;
	/* care teal: the healthcare stream; --mn-aqua-dark is its text colour on white (5.9:1) */
	--mn-aqua: #12a08a;
	--mn-aqua-dark: #0b6e60;
	--mn-aqua-soft: #e3f6f2;
	--mn-aqua-band: #cdeee7;
	--mn-indigo: #0a4a8a;
	--mn-shadow: 0 1px 2px rgba(14, 36, 58, 0.05), 0 10px 30px -14px rgba(6, 30, 60, 0.22);
	/* extras (old names kept for the home stylesheet) */
	--mn-tangerine: #f38020;
	--mn-pink: #f38020;
	--mn-pink-dark: #c2540a;
	--mn-berry: #c2540a;
	--mn-wine: #062b52;
	--mn-grad: linear-gradient(0deg, #035ba6, #035ba6);
	--mn-grad-warm: linear-gradient(90deg, #035ba6 0 70%, #f9a03f 70% 100%);
	/* the "spark": amber to MNR orange, used sparingly for highlights */
	--mn-spark: linear-gradient(100deg, #f9a03f 0%, #f38020 55%, #e85d04 100%);
}

/* no faux bold or italic on the display face */
html {
	font-synthesis: none;
}

/* ---------- Four dots (red, slate, gold, navy) ---------- */

.mn-dots {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	vertical-align: middle;
}

.mn-dots i {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mn-blue);
}

.mn-dots i:nth-child(2) {
	background: var(--mn-tangerine);
}

.mn-dots i:nth-child(3) {
	background: var(--mn-gold);
}

.mn-dots i:nth-child(4) {
	background: var(--mn-pink);
}

.mn-dots-light i {
	background: #fff;
}

/* ---------- Logo lockup (header brand): emblem + set type ---------- */

.mn-brand {
	gap: 12px !important;
}

.mn-brand img.mn-brand-crest {
	width: auto !important;
	height: 46px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	flex: 0 0 auto !important;
	object-fit: contain;
}

.mn-brand:hover img {
	transform: none !important;
}

.mn-brand .hm-brand-text {
	padding-left: 12px;
	border-left: 1px solid var(--mn-line);
}

.mn-brand .hm-brand-text small {
	font-family: var(--mn-sans);
	font-size: 10.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	color: var(--mn-muted) !important;
}

.mn-brand .hm-brand-text strong {
	font-family: var(--mn-sans);
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: var(--mn-blue) !important;
}

.mn-brand-light img.mn-brand-crest {
	height: 42px !important;
}

@media (max-width: 575.98px) {
	.mn-brand-light img.mn-brand-crest {
		height: 36px !important;
	}

	.mn-brand-light .hm-brand-text small {
		display: none !important;
	}
}

@media (max-width: 991.98px) {
	.mn-brand.hm-brand-mobile .hm-brand-text small {
		display: block !important;
	}
}

@media (max-width: 380px) {
	.mn-brand.hm-brand-mobile .hm-brand-text {
		display: none !important;
	}
}

/* rich footer block in partials/footer.html: shown only by mn-home.css */
.mn-footer {
	display: none;
}

/* keyboard focus that shows on blue and on white */
.home-modern a:focus-visible,
.home-modern button:focus-visible,
.res-modern a:focus-visible,
.res-modern button:focus-visible {
	outline: 3px solid var(--mn-gold);
	outline-offset: 2px;
}

/* ---------- Shared buttons ---------- */

.mn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--mn-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.mn-btn-blue {
	background: var(--mn-blue);
	border-color: var(--mn-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px -10px rgba(3, 91, 166, 0.7);
}

.mn-btn-blue:hover {
	background: var(--mn-blue-dark);
	border-color: var(--mn-blue-dark);
	transform: translateY(-1px);
}

.mn-btn-gold {
	background: var(--mn-gold);
	border-color: var(--mn-gold);
	color: var(--mn-blue-deep) !important;
}

.mn-btn-gold:hover {
	background: #e8861c;
	border-color: #e8861c;
}

.mn-btn-line {
	background: #fff;
	border-color: rgba(14, 36, 58, 0.18);
	color: var(--mn-ink) !important;
}

.mn-btn-line:hover {
	border-color: var(--mn-blue);
	color: var(--mn-blue) !important;
}

/* ---------- Slim line above the header (partials/navbar.html) ---------- */

.mn-ribbon {
	background: var(--mn-night);
	color: #f6e9dd;
	font-size: 13px;
	position: relative;
	z-index: 2;
}

.mn-ribbon-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: min(1320px, 100%);
	margin: 0 auto;
	padding: 7px 24px;
}

.mn-ribbon-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.mn-ribbon-links {
	display: inline-flex;
	gap: 22px;
	white-space: nowrap;
}

.mn-ribbon-links a {
	color: inherit !important;
	text-decoration: none;
}

.mn-ribbon-links a:hover {
	color: var(--mn-gold) !important;
}

.mn-live {
	display: inline-block;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #58b368;
	box-shadow: 0 0 0 3px rgba(88, 179, 104, 0.22);
}

.px-status-closed .mn-live {
	background: var(--mn-gold);
	box-shadow: 0 0 0 3px rgba(249, 160, 63, 0.22);
}

/* main.css gives the header z-index 9999, above Bootstrap's modal (1050) and backdrop (1040):
   while a popup is open, drop the header and the strip under the backdrop so they dim with the page */
body.modal-open .cnu-header,
body.modal-open .mn-ribbon,
body.modal-open .navbar.bg-light {
	z-index: 1030 !important;
}

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

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