/* ==========================================================
   Vivek College of Commerce (Autonomous) Library, Goregaon West, Mumbai - base layer (loaded from commonhead on every page)
   Fonts, brand tokens, the logo lockup and the dot motif.
   (user, 2026-11-04: modern, energetic, education + tech, warm light gradient colours matching vivek-college.org):
   the Vivek Education Society seal - red #c0261a (white text), maroon #901008, sky blue #1e9bd7 -
   with the diya's saffron and gold on cream and peach gradients.
   Ubuntu (the college site's face) for text and headings, Playfair Display italic (the site's section titles) for accents.
   Home: vk-home.css + vk-launch.css + vk-diya.css; inner pages: the theme3 "modern" layer plus vk-app.css / vk-popups.css.
   Token names were kept from the earlier ports so every inner stylesheet still works:
   --vk-blue* = seal red, --vk-gold* = saffron gold, --vk-sky = flame orange, --vk-serif = Ubuntu (display);
   the real seal blue is --vk-aqua*.
   Fonts are self-hosted (Ubuntu: Ubuntu Font Licence; Playfair Display, Roboto Mono: OFL): the CSP blocks Google Fonts stylesheets.
   ========================================================== */

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

@font-face {
	font-family: "Ubuntu";
	src: url("../webfonts/ubuntu-500.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Ubuntu";
	src: url("../webfonts/ubuntu-700.woff2") format("woff2");
	font-weight: 700 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Playfair Display";
	src: url("../webfonts/playfair-italic-var.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	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 {
	/* seal red carries white text (5.6:1); gold is for rules, small marks and fills with dark text */
	--vk-blue: #c0261a;
	--vk-blue-dark: #901008;
	--vk-blue-deep: #2a1210;
	--vk-blue-soft: #fde9e2;
	--vk-sky: #e8541c;
	/* gold is for rules, dots and fills with dark text; --vk-gold-dark is gold text on white */
	--vk-gold: #f5a623;
	--vk-gold-dark: #8a5000;
	--vk-gold-ink: #3a2200;
	--vk-gold-soft: #fff4d6;
	--vk-ivory: #fff8f1;
	--vk-brick: #901008;
	/* metro line colours (home stations, chips) */
	--vk-line-1: #f5a623;
	--vk-line-2: #e8541c;
	--vk-line-3: #c0261a;
	--vk-line-4: #901008;
	--vk-line-5: #a0180c;
	--vk-line-6: #c5501c;
	--vk-night: #2a1210;
	--vk-ink: #2c1a17;
	--vk-muted: #6e5a5c;
	--vk-line: #f2e4dc;
	--vk-paper: #fffcf8;
	--vk-danger: #c4291c;
	--vk-radius: 18px;
	--vk-sans: "Ubuntu", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--vk-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
	--vk-serif: "Ubuntu", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	--vk-script: "Playfair Display", Georgia, "Times New Roman", serif;
	/* the seal's sky-blue ring and the college site's aqua bands; --vk-aqua-dark is blue text on white (4.9:1) */
	--vk-aqua: #1e9bd7;
	--vk-aqua-dark: #0b6c9e;
	--vk-aqua-soft: #dff5f9;
	--vk-aqua-band: #c9f0f6;
	--vk-indigo: #382898;
	--vk-shadow: 0 1px 2px rgba(44, 26, 23, 0.05), 0 10px 30px -14px rgba(42, 18, 16, 0.22);
	/* academic extras (old names kept for the home stylesheet) */
	--vk-tangerine: #e8541c;
	--vk-pink: #e8541c;
	--vk-pink-dark: #a0180c;
	--vk-berry: #a0180c;
	--vk-wine: #2a1210;
	--vk-grad: linear-gradient(0deg, #c0261a, #c0261a);
	--vk-grad-warm: linear-gradient(90deg, #c0261a 0 70%, #f5a623 70% 100%);
}

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

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

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

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

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

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

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

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

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

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

.vk-brand img.vk-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;
}

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

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

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

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

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

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

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

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

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

/* rich footer block in partials/footer.html: shown only by vk-home.css */
.vk-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(--vk-gold);
	outline-offset: 2px;
}

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

.vk-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(--vk-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;
}

.vk-btn-blue {
	background: var(--vk-blue);
	border-color: var(--vk-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px -10px rgba(192, 38, 26, 0.7);
}

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

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

.vk-btn-gold:hover {
	background: #e8961c;
	border-color: #e8961c;
}

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

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

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

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

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

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

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

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

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

.vk-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 .vk-live {
	background: var(--vk-gold);
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 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 .vk-ribbon,
body.modal-open .navbar.bg-light {
	z-index: 1030 !important;
}

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

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