/* ==========================================================
   DES Shri Navalmal Firodia Law College Library, Pune – base layer (loaded from commonhead on every page)
   Fonts, brand tokens, the crest lockup and the dot motif.
   "Digital docket" (user, 2026-11-04: modern, energetic, law + tech, warm light gradients): cognac law-binding leather as
   the strong accent, amber and burnt orange as secondaries, dark walnut ink for text and the footer, warm paper.
   Home: des-home.css + des-docket.css; inner pages: the theme3 "modern" layer plus des-app.css / des-popups.css.
   Token names were kept from the earlier ports so every inner stylesheet still works:
   --des-blue* = cognac, --des-gold* = amber, --des-sky = burnt orange, --des-serif = Familjen Grotesk.
   Fonts are self-hosted (Familjen Grotesk and Plus Jakarta Sans, SIL OFL): the CSP blocks Google Fonts stylesheets.
   ========================================================== */

@font-face {
	font-family: "Familjen Grotesk";
	src: url("../webfonts/familjen-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Familjen Grotesk";
	src: url("../webfonts/familjen-ext-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Familjen Grotesk";
	src: url("../webfonts/familjen-italic-var.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../webfonts/plusjakarta-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../webfonts/plusjakarta-italic-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	/* warm blue carries white text (6.5:1); gold is for rules, small marks and fills with dark text */
	--des-blue: #a04a10;
	--des-blue-dark: #7a3508;
	--des-blue-deep: #3b2110;
	--des-blue-soft: #fbeedb;
	--des-sky: #c4651a;
	/* gold is for rules, dots and fills with dark text; --des-gold-dark is gold text on white */
	--des-gold: #f0a92c;
	--des-gold-dark: #8f4e06;
	--des-gold-ink: #3d1f03;
	--des-gold-soft: #fff1d9;
	--des-ivory: #fff8ec;
	--des-brick: #7a3508;
	/* metro line colours (home stations, chips) */
	--des-line-1: #f0a92c;
	--des-line-2: #c4651a;
	--des-line-3: #a04a10;
	--des-line-4: #7a3508;
	--des-line-5: #8f4a12;
	--des-line-6: #a85a0a;
	--des-night: #3b2110;
	--des-ink: #2e1c10;
	--des-muted: #6f5c4b;
	--des-line: #f1e6d3;
	--des-paper: #fffcf5;
	--des-danger: #c4291c;
	--des-radius: 18px;
	--des-sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	--des-serif: "Familjen Grotesk", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
	--des-shadow: 0 1px 2px rgba(46, 28, 16, 0.05), 0 10px 30px -14px rgba(59, 33, 16, 0.22);
	/* academic extras (old names kept for the home stylesheet) */
	--des-tangerine: #c4651a;
	--des-pink: #c4651a;
	--des-pink-dark: #8f4a12;
	--des-berry: #8f4a12;
	--des-wine: #3b2110;
	--des-grad: linear-gradient(0deg, #a04a10, #a04a10);
	--des-grad-warm: linear-gradient(90deg, #a04a10 0 70%, #f0a92c 70% 100%);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.des-btn-blue {
	background: var(--des-blue);
	border-color: var(--des-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px -10px rgba(160, 74, 16, 0.7);
}

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

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

.des-btn-gold:hover {
	background: #e0a24a;
	border-color: #e0a24a;
}

.des-btn-line {
	background: #fff;
	border-color: rgba(46, 28, 16, 0.18);
	color: var(--des-ink) !important;
}

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