/*
Theme Name: Vijay Pathak Madhubani
Theme URI: https://vijaypathak.com
Author: Vijay Kant Pathak
Description: An editorial magazine theme for vijaypathak.com with Madhubani (Mithila) paintings and borders, scroll animations, and a Hindi, English and Maithili interface. Self-hosted fonts, Customizer settings for colours, borders, author profile and social links. No parent theme needed.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vijaypathak-sohrai
Tags: blog, news, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, translation-ready
*/

/* ===================== 1. Tokens ===================== */
:root {
	--vp-paper: #F7F1E3;
	--vp-sage: #DFE3D3;
	--vp-olive: #2B2F28;
	--vp-ink: #1B1D19;
	--vp-sindoor: #C8402B;
	--vp-haldi: #E3A72F;
	--vp-leaf: #5E7F4A;
	--vp-indigo: #2E4A7D;
	--vp-night: color-mix(in srgb, var(--vp-olive) 70%, #000);
	--vp-card: color-mix(in srgb, var(--vp-paper) 55%, #fff);
	--vp-on-dark: color-mix(in srgb, var(--vp-paper) 92%, var(--vp-sage));
	--vp-muted: color-mix(in srgb, var(--vp-ink) 68%, var(--vp-paper));
	--vp-line: color-mix(in srgb, var(--vp-ink) 14%, transparent);
	--vp-display: "Instrument Serif", "Noto Serif Devanagari", Georgia, serif;
	--vp-head: "Lora", "Noto Serif Devanagari", Georgia, serif;
	--vp-body: "Noto Sans", "Noto Sans Devanagari", system-ui, sans-serif;
	--vp-wrap: 1240px;
	--vp-read: 720px;
	--vp-radius: 22px;
	--vp-panel-r: clamp(24px, 3vw, 40px);
	--vp-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--vp-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--vp-hatch: repeating-linear-gradient(45deg, var(--vp-ink) 0 1.2px, transparent 1.2px 5px);
}

/* ===================== 2. Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0; background: var(--vp-paper); color: var(--vp-ink);
	font-family: var(--vp-body); font-size: 1.0625rem; line-height: 1.75;
	text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--vp-sindoor); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--vp-ink); }
:focus-visible { outline: 3px solid var(--vp-haldi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--vp-head); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.vp-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--vp-ink); color: var(--vp-paper); padding: 10px 16px; border-radius: 999px; }
.vp-skip:focus { top: 10px; color: var(--vp-paper); }
.vp-container { max-width: var(--vp-wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .vp-container { padding: 0 32px; } }
.vp-main { display: block; }
.vp-muted { color: var(--vp-muted); }

/* Display type: Instrument Serif for Latin, Noto Serif Devanagari for Hindi and Maithili.
   font-synthesis stops browsers from faking italic Devanagari. */
.vp-display, .vp-hero__title, .vp-shead__title, .vp-stack__title, .vp-statement, .vp-timeline__title,
.vp-card__title, .vp-pcard__title, .vp-article__title, .vp-page-head h1, .vp-meet__name, .vp-footer__name,
.vp-brand__name, .vp-sheet__menu a, .vp-ticker a, .vp-prose h2 {
	font-family: var(--vp-display); font-weight: 400; font-synthesis: none; letter-spacing: -0.01em;
}
.vp-hero__title, .vp-shead__title, .vp-stack__title, .vp-timeline__title, .vp-page-head h1,
.vp-footer__name, .vp-brand__name, .vp-sheet__menu a, .vp-ticker a, .vp-meet__name { font-style: italic; }
:lang(hi) .vp-shead__title, :lang(mai) .vp-shead__title, [lang="hi"].vp-statement, .vp-statement [lang="hi"], .vp-statement [lang="mai"] { line-height: 1.45; }

/* ===================== 3. Three-language interface text ===================== */
.vp-t > [lang], .vp-tb > [lang] { display: none; }
html[data-ui="hi"] .vp-t > [lang="hi"], html[data-ui="en"] .vp-t > [lang="en"], html[data-ui="mai"] .vp-t > [lang="mai"] { display: inline; }
html[data-ui="hi"] .vp-tb > [lang="hi"], html[data-ui="en"] .vp-tb > [lang="en"], html[data-ui="mai"] .vp-tb > [lang="mai"] { display: block; }

/* ===================== 4. Madhubani artwork colours ===================== */
.mh-ink { fill: var(--vp-ink); } .mh-red { fill: var(--vp-sindoor); } .mh-yel { fill: var(--vp-haldi); }
.mh-leaf { fill: var(--vp-leaf); } .mh-blue { fill: var(--vp-indigo); } .mh-paper { fill: var(--vp-paper); }
.mhs { fill: none; stroke: var(--vp-ink); stroke-linecap: round; stroke-linejoin: round; }
.mhs-paper { fill: none; stroke: var(--vp-paper); stroke-linecap: round; }
.mhs-red { fill: none; stroke: var(--vp-sindoor); stroke-linecap: round; }
.mhs-yel { fill: none; stroke: var(--vp-haldi); stroke-linecap: round; }
.mhs-blue { fill: none; stroke: var(--vp-indigo); stroke-linecap: round; }
.vp-motif { display: inline-block; line-height: 0; flex: none; }
.vp-motif svg { width: 100%; height: 100%; }
.vp-divider { display: block; line-height: 0; overflow: hidden; margin: 0; }
.vp-divider svg { display: block; width: 100%; height: 48px; }

/* Madhubani double border (ink outside, sindoor inside). */
.vp-frame { position: relative; background: var(--vp-card); border: 1.5px solid var(--vp-ink); border-radius: var(--vp-radius); }
.vp-frame::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--vp-sindoor); border-radius: calc(var(--vp-radius) - 5px); pointer-events: none; z-index: 3; }
.vp-no-double-borders .vp-frame::after, .vp-no-double-borders .vp-pcard::after { display: none; }

/* ===================== 5. Buttons, labels, badges ===================== */
.vp-pill {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.4em;
	border-radius: 999px; font: inherit; font-size: .98rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform 160ms var(--vp-ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.vp-pill--ink { background: var(--vp-ink); color: var(--vp-paper); border: 1.5px solid var(--vp-ink); }
.vp-pill--ink:hover { background: var(--vp-sindoor); border-color: var(--vp-sindoor); color: var(--vp-paper); }
.vp-pill--line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.vp-pill--line:hover { background: var(--vp-ink); color: var(--vp-paper); border-color: var(--vp-ink); }
.vp-panel--olive .vp-pill--line:hover, .vp-panel--night .vp-pill--line:hover { background: var(--vp-paper); color: var(--vp-ink); border-color: var(--vp-paper); }
.vp-pill:active, .vp-langs button:active, .vp-iconbtn:active, .vp-menubtn:active, .vp-social a:active, .vp-share a:active, .vp-pagination a.page-numbers:active { transform: scale(0.97); }

.vp-label { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-sindoor); margin: 0 0 18px; }
.vp-label::before { content: ""; width: 28px; height: 8px; background: var(--vp-hatch), var(--vp-haldi); border: 1.5px solid var(--vp-ink); border-radius: 2px; }
.vp-panel--olive .vp-label, .vp-panel--night .vp-label { color: var(--vp-haldi); }
.vp-eyebrow { font-size: .95rem; letter-spacing: .02em; color: var(--vp-muted); margin: 0 0 10px; }

.vp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vp-badge { display: inline-block; font-size: .76rem; font-weight: 700; line-height: 1.2; padding: 6px 11px; border-radius: 999px; text-decoration: none; background: var(--vp-sindoor); color: var(--vp-paper); }
a.vp-badge:hover { background: var(--vp-ink); color: var(--vp-paper); }
.vp-badge--lang { background: transparent; color: var(--vp-ink); border: 1.2px solid var(--vp-line); padding: 5px 10px; font-weight: 600; }
.vp-meta { font-size: .86rem; color: var(--vp-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.vp-meta > * + *::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--vp-haldi); margin-right: 14px; vertical-align: middle; }

/* ===================== 6. Header ===================== */
.vp-header { position: sticky; top: 0; z-index: 80; color: var(--vp-ink); transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease; }
.admin-bar .vp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vp-header { top: 46px; } }
.vp-header--overlay { position: fixed; left: 0; right: 0; }
.vp-header.is-scrolled, .vp-header:not(.vp-header--overlay) {
	background: color-mix(in srgb, var(--vp-paper) 86%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 var(--vp-line);
}
.vp-header__bar { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 16px; transition: padding 400ms var(--vp-ease-out); }
@media (min-width: 700px) { .vp-header__bar { padding: 14px 32px; } }
/* At the top of the homepage the bar sits inside the Madhubani frame. */
.vp-header--overlay:not(.is-scrolled) .vp-header__bar { padding: 30px 34px 12px; }
@media (min-width: 900px) { .vp-header--overlay:not(.is-scrolled) .vp-header__bar { padding: 38px 52px 12px; } }
.vp-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.vp-brand__mark { width: 46px; height: 36px; }
.vp-brand__logo { max-height: 44px; width: auto; }
.vp-brand__name { font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1; white-space: nowrap; }
.vp-nav { justify-self: center; }
.vp-nav__menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.vp-nav__menu a { display: block; padding: 8px 13px; border-radius: 999px; color: inherit; text-decoration: none; font-size: .96rem; font-weight: 500; line-height: 1.4; transition: background-color 200ms ease; }
.vp-nav__menu a:hover { background: color-mix(in srgb, var(--vp-ink) 7%, transparent); }
.vp-nav__menu .current-menu-item > a, .vp-nav__menu .current-category-ancestor > a, .vp-nav__menu .current-post-ancestor > a { background: var(--vp-ink); color: var(--vp-paper); }
.vp-header__tools { display: flex; align-items: center; gap: 8px; }
.vp-langs { display: inline-flex; padding: 3px; border: 1.5px solid currentColor; border-radius: 999px; }
.vp-langs button { font: inherit; font-size: .82rem; line-height: 1; padding: 9px 12px; min-height: 38px; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: transform 160ms var(--vp-ease-out), background-color 200ms ease, color 200ms ease; }
.vp-langs button[aria-pressed="true"] { background: var(--vp-ink); color: var(--vp-paper); }
.vp-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; transition: transform 160ms var(--vp-ease-out), background-color 200ms ease; }
.vp-iconbtn:hover { background: color-mix(in srgb, var(--vp-ink) 7%, transparent); color: inherit; }
.vp-iconbtn svg { width: 20px; height: 20px; }
.vp-menubtn { display: none; align-items: center; gap: 10px; font: inherit; font-size: .92rem; font-weight: 600; padding: 0 18px; min-height: 44px; border-radius: 999px; border: 0; background: var(--vp-ink); color: var(--vp-paper); cursor: pointer; transition: transform 160ms var(--vp-ease-out); }
.vp-menubtn__lines { display: grid; gap: 5px; width: 18px; }
.vp-menubtn__lines span { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 300ms var(--vp-ease-out); }
.vp-menubtn[aria-expanded="true"] .vp-menubtn__lines span:first-child { transform: translateY(3.3px) rotate(45deg); }
.vp-menubtn[aria-expanded="true"] .vp-menubtn__lines span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (max-width: 1020px) {
	.vp-nav { display: none; }
	.vp-menubtn { display: inline-flex; }
	.vp-header__bar { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
	.vp-header__tools .vp-langs { display: none; }
	.vp-brand__mark { width: 38px; height: 30px; }
}

/* Full-screen menu */
.vp-sheet { position: fixed; inset: 0; z-index: 75; background: var(--vp-olive); color: var(--vp-on-dark); overflow-y: auto; }
.vp-sheet[hidden] { display: none; }
.vp-sheet__inner { min-height: 100%; padding: 110px 24px 40px; display: flex; flex-direction: column; gap: 28px; }
.vp-sheet__menu { list-style: none; margin: 0; padding: 0; }
.vp-sheet__menu a { display: block; color: var(--vp-on-dark); text-decoration: none; font-size: clamp(2.3rem, 9vw, 3.6rem); line-height: 1.15; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--vp-paper) 14%, transparent); }
.vp-sheet__menu a:hover { color: var(--vp-haldi); }
.vp-sheet__langs .vp-langs { color: var(--vp-on-dark); }
.vp-sheet__langs .vp-langs button[aria-pressed="true"] { background: var(--vp-paper); color: var(--vp-ink); }
.vp-sheet__art { width: 150px; align-self: flex-end; margin-top: auto; }
.vp-sheet-open .vp-header { color: var(--vp-on-dark); background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vp-sheet-open .vp-menubtn { background: var(--vp-paper); color: var(--vp-ink); }
.vp-sheet-open { overflow: hidden; }

/* Reading progress (articles) */
.vp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; }
.vp-progress span { display: block; height: 100%; background: var(--vp-sindoor); transform-origin: 0 50%; transform: scaleX(0); }
.admin-bar .vp-progress { top: 32px; }

/* ===================== 7. Hero ===================== */
.vp-hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px; overflow: hidden; background: var(--vp-paper); isolation: isolate; display: flex; flex-direction: column; }
.vp-hero__frame {
	position: absolute; inset: 10px; z-index: 3; pointer-events: none; padding: 11px;
	border: 2px solid var(--vp-ink); border-radius: 8px;
	background: var(--vp-hatch), var(--vp-haldi);
	-webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
}
.vp-hero__frame::after { content: ""; position: absolute; inset: 9px; border: 2px solid var(--vp-ink); border-radius: 4px; }
@media (min-width: 900px) { .vp-hero__frame { inset: 14px; padding: 13px; } .vp-hero__frame::after { inset: 11px; } }
.vp-hero__content { position: relative; z-index: 2; flex: none; text-align: center; padding: clamp(112px, 15vh, 160px) 20px 8px; will-change: transform, opacity; }
.vp-hero__title { margin: 0; font-size: clamp(3.8rem, 13vw, 10.5rem); line-height: .92; letter-spacing: -0.025em; color: var(--vp-ink); }
.vp-hero__alt { margin: .2em 0 0; font-family: "Noto Serif Devanagari", serif; font-size: clamp(1.4rem, 3.2vw, 2.4rem); color: var(--vp-sindoor); line-height: 1.3; }
.vp-hero__role { margin: 10px auto 0; max-width: 560px; color: var(--vp-muted); font-size: .98rem; line-height: 1.55; }
.vp-hero__actions { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vp-hero__art { position: relative; z-index: 1; flex: 1 1 auto; min-height: 240px; margin-top: -2vh; }
.vp-hero__art > svg { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
.vp-hero__art svg { width: 100%; height: 100%; display: block; }
.vp-hero__art g[id^="mb-l-"] { transform-box: view-box; will-change: transform; }
@media (max-width: 700px) { .vp-hero__content { padding-top: 96px; } }
@media (max-height: 820px) and (min-width: 700px) { .vp-hero__title { font-size: clamp(3.4rem, 9vw, 7.2rem); } .vp-hero__actions { margin-top: 16px; } }

/* ===================== 8. Panels that slide over each other ===================== */
.vp-panel { position: relative; z-index: 1; margin-top: calc(var(--vp-panel-r) * -1); border-radius: var(--vp-panel-r) var(--vp-panel-r) 0 0; padding: clamp(80px, 11vw, 150px) 0; background: var(--vp-paper); }
.vp-panel--olive { background: var(--vp-olive); color: var(--vp-on-dark); }
.vp-panel--night { background: var(--vp-night); color: var(--vp-on-dark); }
.vp-panel--sage { background: var(--vp-sage); }
.vp-panel--paper { background: var(--vp-paper); }
.vp-panel--olive a:not(.vp-pill), .vp-panel--night a:not(.vp-pill) { color: var(--vp-on-dark); }

.vp-shead { margin-bottom: clamp(36px, 5vw, 64px); }
.vp-shead--center { text-align: center; }
.vp-shead__title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1; margin: 0 0 .25em; }
.vp-shead__sub { color: var(--vp-muted); margin: 0; font-size: 1.02rem; }
.vp-panel--olive .vp-shead__sub, .vp-panel--night .vp-shead__sub { color: color-mix(in srgb, var(--vp-on-dark) 70%, transparent); }

/* Intro band */
.vp-statement { font-size: clamp(1.85rem, 4.3vw, 3.5rem); line-height: 1.22; max-width: 1040px; }
.vp-statement p, .vp-statement div { margin: 0; }
.vp-wl { transition: opacity 400ms ease; }
html.vp-motion .vp-wl { opacity: .18; }
html.vp-motion .vp-wl.on { opacity: 1; }
.vp-floaters { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2.4vw, 30px); padding: clamp(64px, 9vw, 120px) 16px 0; }
.vp-floaters .vp-pcard { width: clamp(150px, 19vw, 270px); }
.vp-floaters .vp-pcard:nth-child(2) { margin-top: 56px; }
.vp-floaters .vp-pcard:nth-child(3) { margin-top: 18px; }
.vp-floaters .vp-pcard:nth-child(4) { margin-top: 74px; }
@media (max-width: 700px) {
	.vp-floaters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
	.vp-floaters .vp-pcard { width: 100%; margin-top: 0 !important; }
	.vp-floaters .vp-pcard:nth-child(even) { margin-top: 28px !important; }
}

/* ===================== 9. Cards ===================== */
/* Photo card: picture with the title over it, tilted. */
.vp-pcard { position: relative; border-radius: var(--vp-radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--vp-ink); border: 1.5px solid var(--vp-ink); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.vp-pcard::after { content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--vp-haldi) 80%, transparent); border-radius: calc(var(--vp-radius) - 6px); pointer-events: none; z-index: 3; }
.vp-pcard__link { position: absolute; inset: 0; display: block; color: var(--vp-paper); text-decoration: none; }
.vp-pcard__media, .vp-pcard__media img, .vp-pcard__media .vp-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-pcard__media img { transition: transform 700ms var(--vp-ease-out); }
.vp-pcard__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 16, 12, .88) 0%, rgba(14, 16, 12, .35) 42%, transparent 70%); }
.vp-pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 20px; display: grid; gap: 6px; z-index: 2; }
.vp-pcard__cat { justify-self: start; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--vp-haldi); color: var(--vp-ink); }
.vp-pcard__title { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.2; color: var(--vp-paper); }
.vp-pcard__meta { font-size: .78rem; color: color-mix(in srgb, var(--vp-paper) 78%, transparent); }
@media (hover: hover) and (pointer: fine) { .vp-pcard:hover .vp-pcard__media img { transform: scale(1.05); } }
.vp-pcard--empty { display: grid; place-items: center; background: var(--vp-card); }
.vp-pcard--empty .vp-motif { width: 60%; }

/* Standard cards */
.vp-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.vp-card__media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1.5px solid var(--vp-ink); }
.vp-card__media img, .vp-card__media .vp-ph { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--vp-ease-out); }
.vp-card__media .vp-ph { display: grid; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) { .vp-card:hover .vp-card__media img { transform: scale(1.04); } }
.vp-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.vp-card__title { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .4em; }
.vp-card__title a { color: var(--vp-ink); text-decoration: none; }
.vp-card__title a:hover { color: var(--vp-sindoor); }
.vp-card__excerpt { color: var(--vp-muted); font-size: .97rem; margin: 0 0 14px; }
.vp-card .vp-meta { margin-top: auto; }
.vp-card[lang="hi"] .vp-card__title, .vp-card[lang="mai"] .vp-card__title { font-size: 1.28rem; line-height: 1.4; }

.vp-card--feature { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .vp-card--feature { grid-template-columns: 1.15fr 1fr; } .vp-card--feature .vp-card__media { aspect-ratio: auto; min-height: 460px; border-bottom: 0; border-right: 1.5px solid var(--vp-ink); } }
.vp-card--feature .vp-card__body { padding: clamp(24px, 3.5vw, 48px); justify-content: center; }
.vp-card--feature .vp-card__title { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.vp-card--feature[lang="hi"] .vp-card__title, .vp-card--feature[lang="mai"] .vp-card__title { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.3; }
.vp-card--feature .vp-card__excerpt { font-size: 1.05rem; }
.vp-card--feature .vp-meta { margin: 0 0 22px; }
.vp-card--feature .vp-pill { align-self: flex-start; }
.vp-card--compact { flex-direction: row; }
.vp-card--compact .vp-card__media { flex: 0 0 34%; aspect-ratio: 1; border-bottom: 0; border-right: 1.5px solid var(--vp-ink); }
.vp-card--compact .vp-card__body { padding: 14px 16px; justify-content: center; }
.vp-card--compact .vp-card__title { font-size: 1.15rem; }
.vp-card--compact[lang="hi"] .vp-card__title, .vp-card--compact[lang="mai"] .vp-card__title { font-size: 1.02rem; }
.vp-row3 { display: grid; gap: 18px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .vp-row3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vp-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .vp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) {
	.vp-grid--n1 { grid-template-columns: 1fr; }
	.vp-grid--n1 .vp-card { flex-direction: row; }
	.vp-grid--n1 .vp-card__media { flex: 0 0 50%; border-bottom: 0; border-right: 1.5px solid var(--vp-ink); }
	.vp-grid--n1 .vp-card__body { padding: 28px 32px; justify-content: center; }
	.vp-grid--n1 .vp-card__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
}
@media (min-width: 980px) { .vp-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Placeholder painting for posts without a picture */
.vp-ph { display: grid; place-items: center; background-color: var(--vp-sage); background-image: var(--vp-hatch); background-size: auto; }
.vp-ph--haldi { background-color: var(--vp-haldi); }
.vp-ph--sindoor { background-color: var(--vp-sindoor); }
.vp-ph--indigo { background-color: var(--vp-indigo); }
.vp-ph--sage { background-color: var(--vp-sage); }
.vp-ph { background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--vp-ink) 22%, transparent) 0 1.2px, transparent 1.2px 7px); }
.vp-ph { container-type: size; }
.vp-ph__art { width: min(62%, 300px); width: min(62cqw, 76cqh, 300px); aspect-ratio: 1; border-radius: 50%; background: var(--vp-paper); display: grid; place-items: center; padding: 9%; box-shadow: 0 0 0 2px var(--vp-ink), 0 0 0 8px var(--vp-paper), 0 0 0 10px var(--vp-ink); }
.vp-ph__art svg { width: 100%; height: 100%; }

/* ===================== 10. Topics timeline ===================== */
.vp-timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.vp-timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: color-mix(in srgb, var(--vp-ink) 16%, transparent); }
.vp-timeline__line span { position: absolute; inset: 0; background: var(--vp-sindoor); transform-origin: 50% 0; transform: scaleY(0); }
html:not(.vp-motion) .vp-timeline__line span { transform: none; }
.vp-timeline__item { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; margin: 0 0 clamp(64px, 9vw, 120px); }
.vp-timeline__item:last-child { margin-bottom: 0; }
.vp-timeline__media { grid-column: 1; grid-row: 1; justify-self: end; width: min(100%, 360px); }
.vp-timeline__media .vp-pcard { aspect-ratio: 4 / 3.4; }
.vp-timeline__num { grid-column: 2; grid-row: 1; justify-self: center; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--vp-paper); border: 1.5px solid var(--vp-ink); box-shadow: 0 0 0 6px var(--vp-sage), 0 0 0 7.5px var(--vp-ink); font-family: var(--vp-display); font-size: 1.15rem; }
.vp-timeline__text { grid-column: 3; grid-row: 1; max-width: 440px; }
.vp-timeline__item.is-flip .vp-timeline__media { grid-column: 3; justify-self: start; }
.vp-timeline__item.is-flip .vp-timeline__text { grid-column: 1; justify-self: end; }
.vp-timeline__title { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.05; margin: 0 0 .3em; }
.vp-timeline__title a { color: var(--vp-ink); text-decoration: none; }
.vp-timeline__title a:hover { color: var(--vp-sindoor); }
.vp-timeline__desc { color: var(--vp-muted); }
.vp-headlines { list-style: none; margin: 0 0 22px; padding: 0; }
.vp-headlines li { border-top: 1px solid var(--vp-line); }
.vp-headlines li:last-child { border-bottom: 1px solid var(--vp-line); }
.vp-headlines a { display: flex; gap: 10px; align-items: baseline; padding: 11px 0; color: var(--vp-ink); text-decoration: none; font-weight: 500; line-height: 1.45; }
.vp-headlines a::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--vp-sindoor); transform: translateY(-2px); }
.vp-headlines a:hover { color: var(--vp-sindoor); }
@media (max-width: 860px) {
	.vp-timeline__line { left: 31px; }
	.vp-timeline__item, .vp-timeline__item.is-flip { grid-template-columns: 64px 1fr; gap: 20px 18px; align-items: start; }
	.vp-timeline__num { grid-column: 1; grid-row: 1; }
	.vp-timeline__media, .vp-timeline__item.is-flip .vp-timeline__media { grid-column: 2; grid-row: 1; justify-self: stretch; width: 100%; }
	.vp-timeline__text, .vp-timeline__item.is-flip .vp-timeline__text { grid-column: 2; grid-row: 2; justify-self: stretch; }
}

/* ===================== 11. "Latest": cards scroll over a huge sticky title ===================== */
.vp-stack { padding-bottom: clamp(120px, 18vh, 220px); overflow: clip; }
.vp-stack__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-content: center; text-align: center; z-index: 0; pointer-events: none; padding: 0 16px; }
.vp-stack__title { margin: 0; font-size: clamp(4.6rem, 18vw, 16rem); line-height: .9; color: var(--vp-on-dark); white-space: nowrap; }
.vp-stack__title [lang="hi"], .vp-stack__title [lang="mai"] { font-size: .7em; line-height: 1.2; }
.vp-stack__sub { margin: 18px 0 0; color: color-mix(in srgb, var(--vp-on-dark) 65%, transparent); }
.vp-stack__cards { position: relative; z-index: 1; margin-top: -62vh; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 16px; }
.vp-stack__slot { width: clamp(230px, 30vw, 360px); margin-bottom: clamp(40px, 9vh, 110px); }
.vp-stack__slot--l { margin-left: 4%; }
.vp-stack__slot--r { margin-left: auto; margin-right: 4%; }
.vp-stack__slot--c { margin-left: auto; margin-right: auto; }
.vp-stack__slot .vp-pcard { aspect-ratio: 4 / 5; }
@media (max-width: 640px) { .vp-stack__slot { width: 74vw; } .vp-stack__slot--l { margin-left: 0; } .vp-stack__slot--r { margin-right: 0; } }

/* ===================== 12. Headline strip ===================== */
.vp-ticker { position: relative; z-index: 1; background: var(--vp-paper); }
.vp-ticker__viewport { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.vp-ticker__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; }
.vp-ticker__track li { display: flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; }
.vp-ticker a { color: var(--vp-ink); text-decoration: none; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.3; }
.vp-ticker li[lang="hi"] a, .vp-ticker li[lang="mai"] a { font-size: clamp(1.3rem, 2.6vw, 2.1rem); }
.vp-ticker a:hover { color: var(--vp-sindoor); }
.vp-ticker__dot { width: 44px; height: 44px; flex: none; }
.vp-ticker__dot svg { width: 100%; height: 100%; }
html.vp-motion .vp-ticker__track.is-looping { animation: vp-marquee var(--vp-marquee-dur, 60s) linear infinite; }
.vp-ticker__viewport:hover .vp-ticker__track, .vp-ticker__viewport:focus-within .vp-ticker__track, .vp-ticker__track.is-paused { animation-play-state: paused; }
@keyframes vp-marquee { to { transform: translate3d(-50%, 0, 0); } }
html:not(.vp-motion) .vp-ticker__viewport { overflow-x: auto; }

/* ===================== 13. Meet the writer, portraits ===================== */
.vp-meet__grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .vp-meet__grid { grid-template-columns: minmax(280px, 400px) 1fr; } }
.vp-portrait { position: relative; width: 140px; aspect-ratio: 1; flex: none; }
.vp-portrait--xl { width: min(400px, 82vw); margin: 0 auto; }
.vp-portrait__photo { position: absolute; inset: 18.6%; border-radius: 50%; overflow: hidden; background: var(--vp-sage); }
.vp-portrait__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vp-portrait__fallback { display: grid; place-items: center; width: 100%; height: 100%; padding: 12%; background: var(--vp-paper); }
.vp-portrait__fallback svg { width: 100%; height: 100%; }
.vp-portrait__ring { position: absolute; inset: 0; }
.vp-portrait__ring svg { width: 100%; height: 100%; display: block; }
.vp-meet__name { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; margin: 0 0 .15em; }
.vp-meet__name [lang="hi"], .vp-meet__name [lang="mai"] { font-size: .78em; line-height: 1.3; }
.vp-meet__role { color: var(--vp-sindoor); font-weight: 600; margin: 0 0 18px; }
.vp-meet__bio { font-size: 1.06rem; color: color-mix(in srgb, var(--vp-ink) 86%, var(--vp-paper)); max-width: 640px; }
.vp-meet__actions { margin: 24px 0 8px; }
.vp-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vp-social a, .vp-share a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid currentColor; color: inherit; text-decoration: none; font-size: .9rem; font-weight: 600; transition: transform 160ms var(--vp-ease-out), background-color 200ms ease, color 200ms ease; }
.vp-social a:hover, .vp-share a:hover { background: var(--vp-ink); color: var(--vp-paper); border-color: var(--vp-ink); }
.vp-social svg, .vp-share svg { width: 18px; height: 18px; fill: currentColor; }
.vp-about { padding: clamp(40px, 8vw, 100px) 0; }
.vp-about__art { width: min(520px, 90vw); margin: 20px auto 60px; }
.vp-about__art svg { width: 100%; height: auto; display: block; }

/* ===================== 14. Articles ===================== */
.vp-article { padding-top: clamp(28px, 6vw, 64px); }
.vp-article__header { max-width: 920px; margin: 0 auto 30px; text-align: center; }
.vp-article__header .vp-badges, .vp-article__header .vp-meta { justify-content: center; }
.vp-article__title { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; margin: 0 0 .35em; }
.vp-article[lang="hi"] .vp-article__title, .vp-article[lang="mai"] .vp-article__title { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.3; }
.vp-article__figure { max-width: 1040px; margin: 0 auto 40px; }
.vp-article__figure .vp-frame { padding: 12px; border-radius: 18px; background: var(--vp-hatch), var(--vp-haldi); border: 2px solid var(--vp-ink); }
.vp-article__figure .vp-frame::after { display: none; }
.vp-article__figure img { display: block; width: 100%; height: auto; border-radius: 9px; border: 2px solid var(--vp-ink); }
.vp-article__figure figcaption { font-size: .86rem; color: var(--vp-muted); text-align: center; margin-top: 10px; }
.vp-prose { max-width: var(--vp-read); margin: 0 auto; font-size: 1.12rem; line-height: 1.85; }
.vp-prose > * { margin-top: 0; }
.vp-prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 1.6em 0 .5em; }
.vp-prose h3 { font-size: 1.35rem; margin: 1.5em 0 .5em; }
.vp-prose img { height: auto; border-radius: 12px; }
.vp-prose figure { margin: 1.8em 0; }
.vp-prose figcaption, .wp-element-caption { font-size: .86rem; color: var(--vp-muted); text-align: center; margin-top: 8px; }
.vp-prose ul, .vp-prose ol { padding-left: 1.4em; }
.vp-prose li { margin-bottom: .35em; }
.vp-prose table { border-collapse: collapse; width: 100%; font-size: .95em; }
.vp-prose th, .vp-prose td { border: 1px solid var(--vp-line); padding: 8px 10px; text-align: left; }
.vp-prose blockquote, .wp-block-quote {
	position: relative; margin: 2em 0; padding: 6px 0 6px 34px; border: 0;
	font-family: var(--vp-display); font-size: 1.5em; line-height: 1.35; font-synthesis: none;
}
.vp-prose blockquote::before, .wp-block-quote::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border: 1.5px solid var(--vp-ink); border-radius: 3px;
	background: repeating-linear-gradient(to bottom, var(--vp-sindoor) 0 12px, var(--vp-haldi) 12px 24px);
}
.vp-prose blockquote cite, .wp-block-quote cite { display: block; font-family: var(--vp-body); font-size: .55em; color: var(--vp-muted); font-style: normal; margin-top: 10px; }
.alignwide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 10px; }
.vp-tags { max-width: var(--vp-read); margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vp-tags a { font-size: .85rem; text-decoration: none; border: 1.2px solid var(--vp-line); padding: 5px 12px; color: var(--vp-ink); border-radius: 999px; }
.vp-tags a:hover { border-color: var(--vp-sindoor); color: var(--vp-sindoor); }
.vp-share { max-width: var(--vp-read); margin: 30px auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.vp-share__label { font-weight: 700; margin-right: 6px; }
.vp-author { max-width: var(--vp-read); margin: 44px auto 0; padding: 28px; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 600px) { .vp-author { grid-template-columns: 140px 1fr; } }
.vp-author__eyebrow { font-size: .78rem; font-weight: 700; color: var(--vp-sindoor); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 4px; }
.vp-author__name { font-family: var(--vp-display); font-weight: 400; font-size: 1.9rem; margin: 0; }
.vp-author__role { font-size: .92rem; color: var(--vp-muted); margin: 2px 0 10px; }
.vp-author__bio { font-size: .98rem; }
.vp-author__bio p:last-child { margin-bottom: 0; }
.vp-postnav { max-width: var(--vp-read); margin: 32px auto 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vp-postnav { grid-template-columns: 1fr 1fr; } }
.vp-postnav a { display: block; padding: 16px 18px; border: 1.5px solid var(--vp-ink); border-radius: 16px; text-decoration: none; color: var(--vp-ink); height: 100%; transition: background-color 200ms ease, transform 160ms var(--vp-ease-out); }
.vp-postnav a:hover { background: var(--vp-card); }
.vp-postnav a:active { transform: scale(0.98); }
.vp-postnav small { display: block; color: var(--vp-sindoor); font-weight: 700; font-size: .8rem; }
.vp-postnav .vp-postnav__next { text-align: right; }
.vp-related { padding-top: 40px; padding-bottom: 20px; }
.single .vp-divider, .archive .vp-divider, .search .vp-divider, .blog .vp-divider, .page .vp-divider { margin: clamp(30px, 6vw, 70px) 0; }

/* ===================== 15. Topic pages, search, 404 ===================== */
.vp-page-head { padding: clamp(36px, 7vw, 80px) 16px 0; text-align: center; }
.vp-page-head__art { width: 120px; height: 120px; margin: 0 auto 12px; }
.vp-page-head__art svg { width: 100%; height: 100%; }
.vp-page-head h1 { font-size: clamp(3rem, 9vw, 6.4rem); line-height: 1; margin: 0 0 .2em; }
.vp-page-head__desc { max-width: 640px; margin: 0 auto; color: var(--vp-muted); }
.vp-pagination { margin: 44px 0 8px; display: flex; justify-content: center; }
.vp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.vp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--vp-ink); border-radius: 999px; color: var(--vp-ink); text-decoration: none; font-weight: 600; transition: transform 160ms var(--vp-ease-out); }
.vp-pagination .page-numbers.current { background: var(--vp-ink); color: var(--vp-paper); }
.vp-empty { text-align: center; padding: 40px 16px; color: var(--vp-muted); }
.vp-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.vp-search input[type="search"] { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 18px; min-height: 50px; border: 1.5px solid var(--vp-ink); border-radius: 999px; background: var(--vp-card); color: var(--vp-ink); }
.vp-search button, .comment-form input[type="submit"] { font: inherit; font-weight: 700; padding: 10px 22px; min-height: 50px; border-radius: 999px; border: 1.5px solid var(--vp-ink); background: var(--vp-ink); color: var(--vp-paper); cursor: pointer; transition: transform 160ms var(--vp-ease-out), background-color 200ms ease; }
.vp-search button:hover, .comment-form input[type="submit"]:hover { background: var(--vp-sindoor); border-color: var(--vp-sindoor); }
.vp-search button:active, .comment-form input[type="submit"]:active { transform: scale(0.97); }
.vp-comments { max-width: var(--vp-read); margin: 44px auto 0; }
.vp-comments ol { list-style: none; padding: 0; }
.vp-comments .children { padding-left: 20px; border-left: 2px solid var(--vp-line); }
.vp-comments .comment-body { padding: 14px 0; border-bottom: 1px solid var(--vp-line); }
.vp-comments .comment-meta { font-size: .85rem; color: var(--vp-muted); }
.vp-comments .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--vp-ink); background: var(--vp-card); border-radius: 14px; }

/* ===================== 16. Footer ===================== */
.vp-footer { position: relative; z-index: 2; background: var(--vp-olive); color: var(--vp-on-dark); padding: 0 0 28px; }
.vp-footer a { color: var(--vp-on-dark); }
.vp-footer a:hover { color: var(--vp-haldi); }
.vp-footer .vp-divider--footer { background: var(--vp-paper); }
.vp-footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(48px, 7vw, 90px) 0 30px; border-bottom: 1px solid color-mix(in srgb, var(--vp-paper) 16%, transparent); }
.vp-footer__name { margin: 0; font-size: clamp(3.2rem, 11vw, 9rem); line-height: .9; }
.vp-footer__art { width: clamp(110px, 16vw, 190px); flex: none; background: var(--vp-paper); border-radius: 50%; padding: 18px; box-shadow: 0 0 0 2px var(--vp-ink), 0 0 0 7px var(--vp-haldi), 0 0 0 9px var(--vp-ink); }
.vp-footer__art svg { width: 100%; height: auto; display: block; }
.vp-footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr; padding: 36px 0; }
@media (min-width: 820px) { .vp-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.vp-footer__h { font-family: var(--vp-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-haldi); margin: 0 0 14px; }
.vp-footer__role { font-size: 1rem; margin: 0; }
.vp-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vp-footer__links a { text-decoration: none; }
.vp-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--vp-paper) 16%, transparent); padding-top: 18px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: color-mix(in srgb, var(--vp-on-dark) 70%, transparent); }

/* ===================== 17. Editor blocks and patterns ===================== */
.wp-block-separator.is-style-sohrai, .wp-block-separator.is-style-madhubani {
	border: 0; height: 22px; max-width: none; opacity: 1; border-radius: 3px;
	background:
		linear-gradient(135deg, var(--vp-sindoor) 25%, transparent 25%) -11px 0 / 22px 22px,
		linear-gradient(225deg, var(--vp-sindoor) 25%, transparent 25%) -11px 0 / 22px 22px,
		var(--vp-hatch), var(--vp-haldi);
	border-top: 2px solid var(--vp-ink); border-bottom: 2px solid var(--vp-ink);
}
.is-style-sohrai-frame, .is-style-madhubani-frame { position: relative; background: var(--vp-card); border: 1.5px solid var(--vp-ink); border-radius: 18px; padding: 20px 24px; }
.is-style-sohrai-frame::after, .is-style-madhubani-frame::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--vp-sindoor); border-radius: 13px; pointer-events: none; }
.vp-note { padding: 20px 24px; margin: 1.8em 0; }
.vp-note > :last-child { margin-bottom: 0; }
.vp-note__title { font-family: var(--vp-display); font-size: 1.5rem; color: var(--vp-sindoor); margin-bottom: .3em; }
.vp-pullquote { margin: 2em 0; text-align: center; font-family: var(--vp-display); font-size: 1.9em; line-height: 1.3; font-synthesis: none; padding: 26px 0; border-top: 1.5px solid var(--vp-ink); border-bottom: 1.5px solid var(--vp-ink); }
.vp-pullquote::before { content: ""; display: block; width: 90px; height: 14px; margin: 0 auto 18px; border: 1.5px solid var(--vp-ink); border-radius: 3px; background: repeating-linear-gradient(90deg, var(--vp-sindoor) 0 10px, var(--vp-haldi) 10px 20px); }
.vp-demo-note { background: var(--vp-card); border: 1.5px dashed var(--vp-sindoor); border-radius: 14px; padding: 10px 16px; font-size: .9rem; }

/* ===================== 18. Scroll animations =====================
   Only active when the visitor allows motion (html.vp-motion is set early by a script).
   Without JavaScript or with reduced motion, everything is simply visible. */
html.vp-motion [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 900ms var(--vp-ease-out) var(--d, 0ms), transform 1100ms var(--vp-ease-out) var(--d, 0ms); }
html.vp-motion [data-reveal].is-in { opacity: 1; transform: none; }
html.vp-motion .vp-sp { display: inline-block; opacity: 0; transform: translate3d(0, .42em, 0); filter: blur(10px); transition: opacity 700ms var(--vp-ease-out), transform 900ms var(--vp-ease-out), filter 700ms var(--vp-ease-out); transition-delay: calc(var(--i, 0) * 38ms + var(--d0, 0ms)); }
html.vp-motion [data-split].is-in .vp-sp { opacity: 1; transform: none; filter: blur(0); }
.vp-sp-w { display: inline-block; white-space: nowrap; }
html.vp-motion [data-draw] svg { clip-path: inset(0 50% 0 50%); transition: clip-path 1600ms var(--vp-ease-in-out); }
html.vp-motion [data-draw].is-in svg { clip-path: inset(0 0 0 0); }
html.vp-motion .vp-sheet__menu li { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 500ms var(--vp-ease-out), transform 600ms var(--vp-ease-out); transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
html.vp-motion .vp-sheet.is-open .vp-sheet__menu li { opacity: 1; transform: none; }
html.vp-motion .vp-sheet { opacity: 0; transition: opacity 260ms var(--vp-ease-out); }
html.vp-motion .vp-sheet.is-open { opacity: 1; }
[data-tilt] { transform-origin: 50% 60%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; }
	.vp-pcard__media img, .vp-card__media img { transition: none !important; }
	.vp-pill:active, .vp-langs button:active, .vp-iconbtn:active { transform: none; }
}


/* ===================== 19. "Jharkhand photos" design style =====================
   Same layout and motion; photographs replace the Madhubani paintings. */
.vp-photo { display: block; width: 100%; height: 100%; }
.vp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero: plain beige with a fine frame line and a scroll cue. */
.vp-hero--plain { background: radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--vp-paper) 60%, #fff) 0%, var(--vp-paper) 62%); justify-content: center; }
.vp-hero--plain::before { content: ""; position: absolute; inset: 14px; border: 1px solid color-mix(in srgb, var(--vp-ink) 16%, transparent); border-radius: 12px; pointer-events: none; z-index: 1; }
.vp-hero--plain .vp-hero__content { padding: 90px 20px 60px; }
.vp-hero--plain .vp-hero__title { font-size: clamp(4.2rem, 14vw, 12rem); }
.vp-hero--plain .vp-hero__alt { color: var(--vp-sindoor); }
.vp-hero__cue { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--vp-panel-r) + 26px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vp-muted); text-decoration: none; }
.vp-hero__cue:hover { color: var(--vp-ink); }
.vp-hero__cue-line { position: relative; display: block; width: 1px; height: 44px; background: color-mix(in srgb, var(--vp-ink) 18%, transparent); overflow: hidden; }
.vp-hero__cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--vp-sindoor); }
html.vp-motion .vp-hero__cue-line::after { animation: vp-cue 2.2s var(--vp-ease-in-out) infinite; }
@keyframes vp-cue { 0% { transform: translateY(-16px); } 100% { transform: translateY(44px); } }
@media (max-height: 700px) { .vp-hero__cue { display: none; } }

/* Fine line dividers instead of Madhubani bars. */
.vp-divider--line { display: flex; justify-content: center; padding: 0 16px; line-height: normal; overflow: visible; }
.vp-divider--line span { position: relative; display: block; width: min(1180px, 100%); height: 1px; background: color-mix(in srgb, var(--vp-ink) 18%, transparent); transform-origin: 50% 50%; }
.vp-divider--line span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--vp-sindoor); box-shadow: 0 0 0 6px var(--vp-paper); }
html.vp-motion .vp-divider--line span { transform: scaleX(0); transition: transform 1400ms var(--vp-ease-in-out); }
html.vp-motion .vp-divider--line.is-in span { transform: none; }
.vp-style-photo .vp-footer .vp-divider, .vp-style-photo .vp-ticker .vp-divider { display: none; }
.vp-style-photo .vp-ticker { border-top: 1px solid var(--vp-line); border-bottom: 1px solid var(--vp-line); }
.vp-style-photo .vp-ticker__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--vp-sindoor); }

/* Photo placeholders for posts without a featured image. */
.vp-ph--photo { display: block; background: var(--vp-olive); background-image: none; container-type: normal; }
.vp-ph--photo .vp-photo { position: absolute; inset: 0; }

/* Calmer frames and accents. */
.vp-style-photo .vp-frame { border-color: color-mix(in srgb, var(--vp-ink) 16%, transparent); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .45); }
.vp-style-photo .vp-frame::after { border-color: color-mix(in srgb, var(--vp-haldi) 50%, transparent); }
.vp-style-photo .vp-card__media, .vp-style-photo .vp-card--compact .vp-card__media, .vp-style-photo .vp-grid--n1 .vp-card__media { border-color: transparent; }
.vp-style-photo .vp-pcard { border-color: transparent; }
.vp-style-photo .vp-label::before { width: 30px; height: 1.5px; border: 0; background: currentColor; }
.vp-style-photo .vp-prose blockquote::before, .vp-style-photo .wp-block-quote::before { width: 4px; border: 0; border-radius: 4px; background: var(--vp-sindoor); }
.vp-style-photo .vp-pullquote::before { width: 48px; height: 3px; border: 0; background: var(--vp-sindoor); }
.vp-style-photo .wp-block-separator.is-style-madhubani, .vp-style-photo .wp-block-separator.is-style-sohrai { height: 1px; border: 0; background: var(--vp-line); }
.vp-style-photo .vp-article__figure .vp-frame { padding: 0; border: 0; background: none; border-radius: 22px; overflow: hidden; box-shadow: 0 36px 80px -40px rgba(0, 0, 0, .55); }
.vp-style-photo .vp-article__figure img { border: 0; border-radius: 0; }
.vp-style-photo .vp-timeline__num { box-shadow: 0 0 0 6px var(--vp-sage); border-color: color-mix(in srgb, var(--vp-ink) 30%, transparent); }

/* Portraits: double circle, or initials when there is no photo yet. */
.vp-style-photo .vp-portrait { container-type: inline-size; }
.vp-style-photo .vp-portrait__photo { inset: 7%; box-shadow: 0 0 0 7px var(--vp-paper), 0 0 0 8.5px var(--vp-sindoor), 0 30px 60px -20px rgba(0, 0, 0, .4); }
.vp-portrait__mono { display: grid; place-items: center; width: 100%; height: 100%; background: var(--vp-olive); color: var(--vp-paper); font-family: var(--vp-display); font-style: italic; font-size: 34cqw; line-height: 1; }
.vp-style-photo .vp-footer__art { padding: 0; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 6px var(--vp-olive), 0 0 0 7.5px var(--vp-haldi); }
.vp-style-photo .vp-sheet__art { width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.vp-page-head__art.is-photo { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--vp-paper), 0 0 0 7.5px var(--vp-sindoor); }

/* "The land of Jharkhand": photo cards that slide sideways as you scroll. */
.vp-land { overflow: clip; }
.vp-land__viewport { overflow: hidden; padding: 10px 0 40px; }
html:not(.vp-motion) .vp-land__viewport { overflow-x: auto; }
.vp-land__track { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); width: max-content; padding: 20px max(16px, calc((100vw - 1240px) / 2 + 32px)); will-change: transform; }
.vp-land__card { position: relative; flex: none; margin: 0; width: clamp(240px, 30vw, 440px); aspect-ratio: 4 / 5; border-radius: var(--vp-radius); overflow: hidden; background: var(--vp-olive); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .55); }
.vp-land__card:nth-child(even) { aspect-ratio: 4 / 3.3; }
.vp-land__card .vp-photo { position: absolute; inset: 0; }
.vp-land__card img { transition: transform 900ms var(--vp-ease-out); }
@media (hover: hover) and (pointer: fine) { .vp-land__card:hover img { transform: scale(1.05); } }
.vp-land__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 54px 20px 18px; display: grid; gap: 4px; color: var(--vp-paper); background: linear-gradient(to top, rgba(10, 16, 13, .82), transparent); }
.vp-land__name { font-family: var(--vp-display); font-style: italic; font-synthesis: none; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.1; }
.vp-land__where { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }

/* Topic pages: photo banner. */
.vp-banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 62vh, 640px); overflow: hidden; color: var(--vp-paper); background: var(--vp-olive); }
.vp-banner__media { position: absolute; inset: -12% 0; will-change: transform; }
.vp-banner__media .vp-photo { height: 100%; }
.vp-banner__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 16, 13, .8) 0%, rgba(10, 16, 13, .2) 60%, rgba(10, 16, 13, .35) 100%); }
.vp-banner__text { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(30px, 6vw, 64px); }
.vp-banner h1 { font-family: var(--vp-display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: clamp(3.2rem, 10vw, 7.5rem); line-height: 1; margin: 0 0 .15em; color: var(--vp-paper); }
.vp-banner__desc { max-width: 640px; font-size: 1.05rem; margin: 0 0 14px; opacity: .92; }
.vp-banner__place { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

/* About page photo. */
.vp-about__photo { margin: 10px auto 70px; }
.vp-about__photo-frame { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--vp-olive); }
.vp-about__photo-frame > div { position: absolute; inset: -10% 0; will-change: transform; }
.vp-about__photo figcaption { text-align: center; color: var(--vp-muted); font-size: .86rem; margin-top: 12px; }
@media (max-width: 700px) { .vp-about__photo-frame { aspect-ratio: 4 / 3; } }

/* Photo credits in the footer. */
.vp-credits { width: 100%; font-size: .8rem; }
.vp-credits summary { cursor: pointer; display: inline-block; }
.vp-credits ul { margin: 10px 0 0; padding-left: 18px; columns: 2 280px; }
.vp-credits li { margin-bottom: 4px; break-inside: avoid; }


/* ===================== 20. Photo gallery (VP Photo Gallery plugin) ===================== */
.vp-gallery-head .vp-label { justify-content: center; }
.vp-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.vp-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--vp-line); color: var(--vp-ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: transform 160ms var(--vp-ease-out), background-color 200ms ease, border-color 200ms ease; }
.vp-filter:hover { border-color: var(--vp-ink); }
.vp-filter:active { transform: scale(0.97); }
.vp-filter.is-active { background: var(--vp-ink); border-color: var(--vp-ink); color: var(--vp-paper); }
.vp-filter__n { font-size: .75rem; font-weight: 700; opacity: .65; }

.vp-albums { display: grid; gap: clamp(18px, 2.6vw, 34px); grid-template-columns: 1fr; padding: 10px 0 20px; }
@media (min-width: 640px) { .vp-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vp-albums { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vp-acard { position: relative; border-radius: var(--vp-radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--vp-olive); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.vp-albums .vp-acard:nth-child(3n+2) { aspect-ratio: 4 / 4.4; align-self: end; }
.vp-acard::after { content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--vp-haldi) 60%, transparent); border-radius: calc(var(--vp-radius) - 6px); pointer-events: none; z-index: 3; }
.vp-acard__link { position: absolute; inset: 0; display: block; color: var(--vp-paper); text-decoration: none; }
.vp-acard__media, .vp-acard__media img, .vp-acard__media .vp-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-acard__media img { transition: transform 800ms var(--vp-ease-out); }
@media (hover: hover) and (pointer: fine) { .vp-acard:hover .vp-acard__media img { transform: scale(1.05); } }
.vp-acard__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 12, 10, .86) 0%, rgba(14, 12, 10, .25) 45%, transparent 70%); }
.vp-acard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 6px; padding: 20px 22px 22px; }
.vp-acard__cat { justify-self: start; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--vp-haldi); color: var(--vp-ink); }
.vp-acard__title { font-family: var(--vp-display); font-weight: 400; font-synthesis: none; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.15; }
.vp-acard__meta { font-size: .8rem; opacity: .82; }

.vp-album__head { text-align: center; padding-top: clamp(28px, 6vw, 64px); max-width: 900px; }
.vp-album__head .vp-badges, .vp-album__head .vp-meta { justify-content: center; }
.vp-album__back { display: inline-block; margin-bottom: 18px; font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--vp-muted); }
.vp-album__back:hover { color: var(--vp-sindoor); }
.vp-album__title { font-family: var(--vp-display); font-style: italic; font-weight: 400; font-synthesis: none; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; margin: 0 0 .3em; }
.vp-album__lead { max-width: 680px; margin: 18px auto 0; font-size: 1.08rem; color: color-mix(in srgb, var(--vp-ink) 82%, var(--vp-paper)); }
.vp-album__body { margin: clamp(28px, 5vw, 50px) auto 0; }
.vp-album__body > p { max-width: var(--vp-read); margin-left: auto; margin-right: auto; font-size: 1.08rem; }
/* Photos: a calm masonry layout, whole photos (no cropping), caption under each. */
.vp-album__body .wp-block-gallery.has-nested-images { display: block !important; columns: 3 300px; column-gap: 16px; margin: 30px 0; }
.vp-album__body .wp-block-gallery.has-nested-images figure.wp-block-image { width: 100% !important; margin: 0 0 16px !important; break-inside: avoid; display: block !important; flex: none !important; height: auto !important; }
.vp-album__body .wp-block-gallery.has-nested-images figure.wp-block-image img { flex: none !important; max-width: 100% !important; width: 100% !important; height: auto !important; object-fit: contain !important; border-radius: 14px; cursor: zoom-in; display: block; transition: transform 300ms var(--vp-ease-out), box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) { .vp-album__body .wp-block-gallery figure.wp-block-image img:hover { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .55); } }
.vp-album__body .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static !important; background: none !important; color: var(--vp-muted) !important; font-size: .84rem !important; text-align: left !important; padding: 8px 4px 0 !important; max-height: none !important; overflow: visible !important; text-shadow: none !important; }
.vp-album__body .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none !important; }
.vp-album__body img:focus-visible { outline: 3px solid var(--vp-haldi); outline-offset: 3px; }

/* Full-screen photo viewer */
.vp-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 13, 10, .96); color: #f4ede1; }
.vp-lightbox::backdrop { background: rgba(16, 13, 10, .7); }
.vp-lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.vp-lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: .9rem; }
.vp-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; touch-action: pan-y; }
.vp-lightbox__img { max-width: 100%; max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); object-fit: contain; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.vp-lightbox__text { max-width: 820px; margin: 0 auto; padding: 14px 20px 22px; text-align: center; }
.vp-lightbox__cap { font-family: var(--vp-display); font-size: 1.35rem; line-height: 1.3; margin: 0; }
.vp-lightbox__desc { margin: 6px 0 0; font-size: .95rem; line-height: 1.6; color: rgba(244, 237, 225, .8); }
.vp-lightbox button { font: inherit; color: inherit; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; min-width: 46px; min-height: 46px; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--vp-ease-out); }
.vp-lightbox button:hover { background: rgba(255, 255, 255, .2); }
.vp-lightbox button:active { transform: scale(0.95); }
.vp-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.vp-lightbox__nav:active { transform: translateY(-50%) scale(0.95); }
.vp-lightbox__prev { left: 10px; }
.vp-lightbox__next { right: 10px; }
@media (max-width: 640px) { .vp-lightbox__stage { padding: 0 8px; } .vp-lightbox__nav { top: auto; bottom: -58px; transform: none; } .vp-lightbox__nav:active { transform: scale(0.95); } .vp-lightbox__prev { left: 16px; } .vp-lightbox__next { right: 16px; } }
html.vp-motion .vp-lightbox[open] { animation: vp-lb-in 220ms var(--vp-ease-out); }
html.vp-motion .vp-lightbox[open] .vp-lightbox__img { animation: vp-lb-img 260ms var(--vp-ease-out); }
@keyframes vp-lb-in { from { opacity: 0; } }
@keyframes vp-lb-img { from { opacity: 0; transform: scale(0.97); } }
.vp-lightbox.is-swapping .vp-lightbox__img { animation: none; }

@media print {
	.vp-header, .vp-divider, .vp-share, .vp-footer, .vp-langs, .vp-postnav, .vp-related, .vp-progress, .vp-hero__art, .vp-hero__frame, .vp-hero__media, .vp-hero__veil, .vp-land, .vp-lightbox, .vp-filters { display: none !important; }
	body { background: #fff; }
	html [data-reveal], html .vp-sp { opacity: 1 !important; transform: none !important; filter: none !important; }
}
