:root {
	--page: #f7f4ee;
	--paper: #ffffff;
	--paper-muted: #f0ebe2;
	--accent: #a83e32;
	--accent-dark: #8e332a;
	--amber: #d89a32;
	--ink: #242321;
	--muted: #68645e;
	--border: #ddd5c8;
	--info-bg: #eef4f1;
	--info: #2f7764;
	--warning-bg: #fff4d9;
	--warning: #9b6416;
	--error: #b43b3b;
	--shadow: 0 12px 32px rgba(58, 45, 30, .09);
	--content: 1160px;
	--reading: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.76;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--accent); text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--info);
	outline-offset: 3px;
}
.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: 68px;
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 3px 16px rgba(58, 45, 30, .04);
}
.header-inner {
	width: min(var(--content), calc(100% - 40px));
	min-height: 68px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}
.site-brand {
	min-width: 112px;
	display: inline-flex;
	align-items: center;
	color: var(--ink);
	font-size: 25px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -.04em;
	text-decoration: none;
}
.site-brand.has-logo { min-width: 150px; }
.site-brand__logo {
	width: 150px;
	max-width: 100%;
	height: auto;
	max-height: 36px;
	object-fit: contain;
	object-position: left center;
}
.site-brand::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 5px;
	border-radius: 50%;
	background: var(--amber);
}
.site-brand.has-logo::after { display: none; }
.site-navigation, .primary-menu {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.primary-menu a, .header-cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 13px;
	border-radius: 8px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--paper-muted); color: var(--accent-dark); }
.header-cta { margin-left: 8px; padding-inline: 17px; background: var(--accent); color: #fff; }
.header-cta:hover { background: var(--accent-dark); color: #fff; }
.menu-toggle { display: none; min-height: 44px; padding: 7px 10px; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; }
.menu-icon { width: 24px; display: grid; gap: 4px; margin-right: 8px; }
.menu-icon span { height: 2px; background: currentColor; border-radius: 2px; }

.site-main { min-height: 58vh; overflow: clip; }
.editorial-page { padding-bottom: 76px; }
.page-title-block {
	width: min(var(--reading), calc(100% - 40px));
	margin: 0 auto;
	padding: 74px 0 50px;
}
.editorial-home .page-title-block { width: min(920px, calc(100% - 40px)); padding-top: 82px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.2; text-wrap: balance; }
h1 { margin-bottom: 22px; font-size: clamp(2.3rem, 5.2vw, 3.5rem); letter-spacing: -.035em; }
h2 { position: relative; margin: 0 0 22px; padding-top: 8px; font-size: clamp(1.78rem, 3.4vw, 2.25rem); letter-spacing: -.025em; }
h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--accent); }
h3 { margin: 32px 0 12px; font-size: clamp(1.35rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1.25em; }
.lead { color: #3d3b37; font-size: clamp(1.1rem, 2vw, 1.28rem); line-height: 1.68; }
.updated { display: inline-flex; gap: 6px; margin-top: 8px; color: var(--muted); font-size: .9rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.editorial-home .page-actions { justify-content: center; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
}
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); color: #fff; }
.button-secondary { border-color: var(--accent); background: #fff; color: var(--accent-dark); }

.article-section, .article-panel {
	width: min(var(--reading), calc(100% - 40px));
	margin: 0 auto;
}
.article-section { padding: 62px 0 8px; }
.article-section.band {
	width: min(var(--content), calc(100% - 40px));
	margin-top: 50px;
	padding: 62px max(32px, calc((100% - var(--reading)) / 2)) 54px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--paper);
	box-shadow: var(--shadow);
}
.article-panel { padding: 46px; border: 1px solid var(--border); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.section-kicker { color: var(--accent); font-size: .88rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.content-figure { display: block; width: min(960px, calc(100% - 40px)); margin: 40px auto 8px; }
.content-illustration { width: 100%; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); object-fit: cover; }
.ratio-wide .content-illustration { aspect-ratio: 16 / 9; }
.ratio-four-three .content-illustration { aspect-ratio: 4 / 3; }

.info-box, .warning-box, .boundary-box {
	margin: 26px 0;
	padding: 20px 22px;
	border-left: 5px solid var(--info);
	border-radius: 10px;
	background: var(--info-bg);
}
.warning-box { border-color: var(--warning); background: var(--warning-bg); }
.boundary-box { border-color: var(--accent); background: #fbefed; }
.info-box p:last-child, .warning-box p:last-child, .boundary-box p:last-child { margin-bottom: 0; }

.disambiguation-list, .feature-list, .steps-list { margin: 24px 0; padding: 0; list-style: none; }
.disambiguation-list li, .feature-list li { margin-bottom: 10px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--paper); }
.steps-list { counter-reset: steps; }
.steps-list > li { position: relative; min-height: 76px; margin-bottom: 18px; padding: 8px 0 20px 74px; border-bottom: 1px solid var(--border); counter-increment: steps; }
.steps-list > li::before { content: counter(steps, bengali); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.3rem; font-weight: 900; }
.steps-list strong { display: block; margin-bottom: 4px; font-size: 1.12rem; }

.responsive-table { margin: 26px 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--paper-muted); font-weight: 800; }
tr:last-child td { border-bottom: 0; }

.contact-form { margin-top: 28px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; margin-bottom: 7px; font-weight: 800; }
.form-field small { display: block; margin-top: 5px; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #a9a197; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.consent-field { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin: 8px 0 24px; }
.consent-field input { width: 22px; min-height: 22px; margin-top: 4px; }
.form-status { margin: 0 0 24px; padding: 16px 18px; border-radius: 9px; font-weight: 700; }
.form-success { border-left: 5px solid var(--info); background: var(--info-bg); }
.form-error { border-left: 5px solid var(--error); background: #fbeaea; }

.site-footer { background: var(--ink); color: #f8f5ef; }
.footer-inner { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; padding: 58px 0 40px; display: grid; grid-template-columns: 1.1fr .7fr 1.3fr; gap: 44px; }
.footer-brand { margin-bottom: 10px; color: #fff; font-size: 1.55rem; font-weight: 900; }
.site-footer p { color: #ded8cf; font-size: .94rem; line-height: 1.65; }
.footer-nav { display: grid; align-content: start; gap: 7px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 700; }
.footer-bottom { padding: 17px 20px; border-top: 1px solid #494640; color: #c7c1b8; text-align: center; font-size: .85rem; }
.archive-shell { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.45rem; }
.not-found { min-height: 58vh; }

@media (max-width: 860px) {
	.site-header, .header-inner { min-height: 58px; }
	.header-inner { width: min(100% - 32px, var(--content)); }
	.site-brand, .site-brand.has-logo { min-width: auto; }
	.site-brand__logo { width: 132px; max-height: 32px; }
	.nav-enhanced .menu-toggle { display: inline-flex; align-items: center; }
	.site-navigation { width: 100%; flex-wrap: wrap; justify-content: flex-end; }
	.primary-menu { flex-wrap: wrap; }
	.nav-enhanced .site-navigation { display: none; position: absolute; top: 58px; left: 0; width: 100%; padding: 14px 16px 20px; border-bottom: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
	.nav-enhanced .site-navigation.is-open { display: block; }
	.nav-enhanced .primary-menu { display: grid; gap: 2px; }
	.nav-enhanced .primary-menu a, .nav-enhanced .header-cta { width: 100%; min-height: 48px; padding: 10px 12px; }
	.nav-enhanced .header-cta { margin: 8px 0 0; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-notes { grid-column: 1 / -1; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	body { font-size: 16px; line-height: 1.7; }
	.page-title-block, .editorial-home .page-title-block { width: calc(100% - 32px); padding: 48px 0 34px; text-align: left; }
	.editorial-home .page-actions { justify-content: flex-start; }
	.article-section, .article-panel { width: calc(100% - 32px); }
	.article-section { padding-top: 44px; }
	.article-section.band { width: calc(100% - 32px); margin-top: 34px; padding: 38px 20px 32px; }
	.article-panel { padding: 28px 20px; }
	.content-figure { width: calc(100% - 32px); margin-top: 28px; }
	.page-actions .button { width: 100%; }
	.responsive-table { overflow: visible; border: 0; background: transparent; }
	.responsive-table table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
	.responsive-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
	.responsive-table tr { margin-bottom: 16px; padding: 10px 15px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
	.responsive-table td { display: grid; grid-template-columns: minmax(100px, 40%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
	.responsive-table td::before { content: attr(data-label); color: var(--muted); font-weight: 800; }
	.responsive-table td:last-child { border-bottom: 0; }
	.footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 28px; padding: 44px 0 30px; }
	.footer-notes { grid-column: auto; }
	.post-grid { grid-template-columns: 1fr; }
	.steps-list > li { padding-left: 62px; }
	.steps-list > li::before { width: 46px; height: 46px; }
}

@media (max-width: 390px) {
	h1 { font-size: 2.15rem; }
	.content-illustration { aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
	.ratio-four-three .content-illustration { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
