/* ==========================================================================
   Daak Edition — main styles
   Palette: postmark indigo ink, inland-letter blue, government green, telegram ochre.
   Type: Tiro Devanagari Hindi (headlines), Mukta (text & UI), Rozha One (masthead only).
   ========================================================================== */

:root {
	--ink: #1B2350;
	--ink-soft: #39427A;
	--text: #1C2233;
	--muted: #586079;
	--paper: #F5F8FC;
	--surface: #FFFFFF;
	--inland: #DCE7F3;
	--inland-deep: #B9CDE5;
	--rule: #D3DCE8;
	--sarkar: #17694A;
	--taar: #E3A21A;
	--taar-ink: #2E2100;
	--focus: #E3A21A;

	--f-head: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
	--f-text: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
	--f-mast: "Rozha One", "Tiro Devanagari Hindi", serif;

	--s-1: 0.875rem;
	--s0: 1rem;
	--s1: 1.25rem;
	--s2: 1.5625rem;
	--s3: 1.953rem;
	--s4: 2.441rem;
	--s5: 3.052rem;

	--wrap: 1240px;
	--gap: clamp(18px, 2.4vw, 32px);
	--radius: 3px;
}

[data-theme="dark"] {
	--ink: #C9D5F5;
	--ink-soft: #A9B7E3;
	--text: #E6EBF5;
	--muted: #A2ADCA;
	--paper: #0F1529;
	--surface: #161E38;
	--inland: #1C2748;
	--inland-deep: #2A3862;
	--rule: #29345A;
	--sarkar: #4FBF8E;
}

html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
html.daak-large { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-text);
	font-size: var(--s0);
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--surface); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.3; margin: 0; color: var(--text); }

/* ---------- Header ---------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--rule); }

.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 6px; font-size: var(--s-1); color: var(--muted); }
.topbar-tools { display: flex; align-items: center; gap: 8px; }
.tool-link { color: var(--sarkar); font-weight: 500; margin-right: 6px; }
.tool-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 8px; border: 1px solid var(--rule); background: transparent; color: var(--text); border-radius: var(--radius); font-weight: 700; }
.tool-btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.masthead { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 22px; padding-top: 10px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-seal { color: var(--ink); display: inline-flex; transform: rotate(-10deg); }
.brand-word { font-family: var(--f-mast); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: 0.01em; }
.brand-logo { max-height: 72px; width: auto; }
.brand-tagline { margin: 0; font-family: var(--f-head); font-style: italic; color: var(--muted); font-size: var(--s1); }
.header-search { display: flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.header-search input { border: 0; background: transparent; padding: 8px 12px; width: 260px; font: inherit; color: var(--text); }
.header-search button { border: 0; background: var(--ink); color: var(--surface); padding: 0 14px; font-weight: 500; }

.primary-nav { border-top: 1px solid var(--rule); }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 12px; white-space: nowrap; font-weight: 500; font-size: 1.02rem; border-bottom: 3px solid transparent; }
.nav-list a[style]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--state-c); flex: none; }
.nav-list a:hover { border-bottom-color: var(--state-c, var(--ink)); color: var(--text); }
.nav-list li.nav-divider { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--rule); }

/* तार — telegram strip */
.taar { background: var(--taar); color: var(--taar-ink); }
.taar-inner { display: flex; align-items: stretch; gap: 14px; }
.taar-label { font-family: var(--f-mast); font-size: 1.35rem; padding: 6px 14px; background: var(--taar-ink); color: var(--taar); display: flex; align-items: center; letter-spacing: 0.04em; }
.taar-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: none; align-items: center; }
.taar-list::-webkit-scrollbar { display: none; }
.taar-list li { white-space: nowrap; font-weight: 500; }
.taar-list a:hover { text-decoration: underline; color: inherit; }
.taar-time { margin-left: 8px; font-size: var(--s-1); opacity: 0.75; font-weight: 400; }

/* ---------- Postmark: the dateline stamp ---------- */

.postmark {
	--pm: 66px;
	--ink-c: var(--ink);
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: var(--pm);
	height: var(--pm);
	border-radius: 50%;
	border: 2px solid var(--ink-c);
	box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--ink-c);
	background: var(--surface);
	color: var(--ink-c);
	transform: rotate(-9deg);
	font-family: var(--f-text);
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
	flex: none;
}
.postmark::after {
	content: "";
	position: absolute;
	left: calc(100% - 6px);
	top: 50%;
	width: calc(var(--pm) * 0.75);
	height: calc(var(--pm) * 0.42);
	transform: translateY(-50%);
	background: var(--ink-c);
	opacity: 0.8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 5q7.5-5 15 0t15 0 15 0 15 0'/%3E%3Cpath d='M0 15q7.5-5 15 0t15 0 15 0 15 0'/%3E%3Cpath d='M0 25q7.5-5 15 0t15 0 15 0 15 0'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cg fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M0 5q7.5-5 15 0t15 0 15 0 15 0'/%3E%3Cpath d='M0 15q7.5-5 15 0t15 0 15 0 15 0'/%3E%3Cpath d='M0 25q7.5-5 15 0t15 0 15 0 15 0'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}
.pm-place { font-size: calc(var(--pm) * 0.19); max-width: 82%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-date { font-size: calc(var(--pm) * 0.15); font-weight: 500; border-top: 1px solid currentColor; margin-top: 3px; padding-top: 2px; }
.postmark.pm-lg { --pm: 88px; }
.pm-return { margin-bottom: 18px; }

/* ---------- Story cards ---------- */

.story { position: relative; }
.story-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--inland); aspect-ratio: 16 / 9; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { position: relative; }
.story-stamp { position: absolute; right: 54px; top: calc(-1 * var(--pm-box, 66px) - 12px); z-index: 1; pointer-events: none; }
.story-body:first-child .story-stamp { position: static; margin-bottom: 8px; }
.story-title { font-size: var(--s1); line-height: 1.38; margin-top: 12px; }
.story-title a:hover { color: var(--state-c, var(--ink)); }
.story-meta { margin: 6px 0 0; font-size: var(--s-1); color: var(--muted); display: flex; gap: 10px; }
.meta-state { color: var(--state-c); font-weight: 700; }

.story-lead .story-title { font-size: clamp(1.75rem, 3.4vw, var(--s5)); line-height: 1.22; margin-top: 18px; }
.story-lead .story-stamp { --pm-box: 88px; right: 70px; }
.story-dek { font-size: var(--s1); color: var(--muted); margin: 12px 0 0; max-width: 62ch; line-height: 1.6; }

.matlab-mini { list-style: none; margin: 16px 0 0; padding: 12px 16px; background: var(--inland); border-left: 4px solid var(--ink); display: grid; gap: 4px; max-width: 62ch; }
.matlab-mini li { position: relative; padding-left: 18px; }
.matlab-mini li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--ink); }

.story-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.story-row .story-media { aspect-ratio: 1; }
.story-row .story-stamp { display: none; }
.story-row .story-title { margin-top: 0; }

.story-line { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.story-line .story-title { font-size: 1.08rem; margin-top: 0; }

/* ---------- Homepage ---------- */

.home > section { margin-top: clamp(28px, 4vw, 48px); }
.section-title { font-size: var(--s3); color: var(--ink); }
.section-title a:hover { color: var(--ink-soft); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--gap); align-items: start; }

/* आज की डाक — perforated stamp */
.brief { background: var(--inland); padding: 18px; border-radius: var(--radius); }
.brief-stamp {
	padding: 9px;
	background: radial-gradient(circle at center, transparent 5px, var(--surface) 5.6px) -9px -9px / 18px 18px;
	filter: drop-shadow(0 1px 0 var(--inland-deep));
}
.brief-stamp > * { background: var(--surface); }
.brief-stamp { display: flex; flex-direction: column; }
.brief-title { font-family: var(--f-mast); font-size: 2rem; color: var(--ink); padding: 16px 18px 0; line-height: 1.1; }
.brief-date { margin: 0; padding: 2px 18px 10px; color: var(--muted); font-size: var(--s-1); border-bottom: 1px dashed var(--inland-deep); }
.brief-list { margin: 0; padding: 6px 18px 12px 46px; counter-reset: b; list-style: none; }
.brief-list li { counter-increment: b; position: relative; padding: 10px 0; border-bottom: 1px solid var(--rule); line-height: 1.45; }
.brief-list li:last-child { border-bottom: 0; }
.brief-list li::before { content: counter(b, devanagari); position: absolute; left: -30px; top: 9px; font-family: var(--f-head); font-size: 1.2rem; color: var(--ink-soft); }
.brief-list a { font-weight: 500; }
.brief-state { display: block; font-size: 0.82rem; color: var(--state-c); font-weight: 700; margin-top: 2px; }
.brief-cta { display: block; text-align: center; padding: 12px; font-weight: 700; color: #fff !important; background: #17694A !important; }
.brief-cta:hover { filter: brightness(1.08); }

.top-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding-top: 8px; border-top: 1px solid var(--rule); }
.top-row .story { padding-top: 22px; }

/* मेरा ज़िला */
.my-district { background: var(--inland); padding: 32px 0 36px; }
.md-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.md-pick select { font: inherit; font-size: 1.05rem; padding: 10px 40px 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--surface); color: var(--text); min-width: 260px; }
.md-hint { margin: 8px 0 0; color: var(--muted); }
.md-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 22px; }
.md-grid:empty { display: none; }
.md-grid .story { background: var(--surface); padding: 0 0 14px; border-radius: var(--radius); }
.md-grid .story-body { padding: 0 14px; }
.md-grid .story-media { border-radius: var(--radius) var(--radius) 0 0; }
.md-more { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--ink); border-bottom: 2px solid currentColor; }
.md-loading { grid-column: 1 / -1; color: var(--muted); }

/* सरकार desk */
.desk-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.desk-sub { margin: 0; color: var(--muted); }
.desk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; padding: 0; }
.desk-chips a { display: inline-block; padding: 2px 12px; border: 1px solid var(--rule); border-radius: 99px; font-size: var(--s-1); background: var(--surface); }
.desk-chips a:hover { border-color: var(--sarkar); color: var(--sarkar); }
.desk-sarkar .section-title, .desk-sarkar .section-title a { color: var(--sarkar); }
.desk-sarkar .desk-head { border-bottom-color: var(--sarkar); }

.order-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.order { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.order-kind { justify-self: start; font-size: 0.8rem; font-weight: 700; color: var(--sarkar); border: 1px solid currentColor; padding: 0 8px; border-radius: var(--radius); }
.order-title { font-family: var(--f-head); font-size: 1.2rem; line-height: 1.4; }
.order-title:hover { color: var(--sarkar); }
.order-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--s-1); color: var(--muted); align-items: center; }
.doc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--sarkar); font-weight: 700; }
.doc-link::before, .doc-btn::before { content: ""; width: 14px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M1 1h8l4 4v10H1z M9 1v4h4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M4 8h6M4 11h6' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M1 1h8l4 4v10H1z M9 1v4h4' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M4 8h6M4 11h6' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* State blocks */
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--gap); }
.state-block { border-top: 4px solid var(--state-c); padding-top: 12px; }
.state-name { font-size: var(--s2); color: var(--state-c); margin-bottom: 14px; }
.state-name a:hover { color: var(--state-c); text-decoration: underline; text-underline-offset: 4px; }
.state-more { list-style: none; margin: 10px 0 0; padding: 0; }
.state-more li { padding: 10px 0; border-top: 1px solid var(--rule); font-weight: 500; line-height: 1.45; }
.state-empty { color: var(--muted); }

/* सत्ता */
.satta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 22px; }

/* ताज़ा डाक */
.latest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 10px; }
.latest { margin-bottom: 56px; }

.empty-home { padding: 72px 20px; text-align: center; max-width: 720px; }
.empty-home h1 { font-size: var(--s4); margin-bottom: 12px; }

/* Ads */
.ad-slot { max-width: var(--wrap); margin: 22px auto; padding: 0 20px; text-align: center; }
.ad-label { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }

/* ---------- Single story ---------- */

.single-story { padding-bottom: 56px; }
.article-head { max-width: 860px; padding-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--s-1); color: var(--muted); }
.crumbs a + a::before { content: "›"; margin: 0 8px; color: var(--inland-deep); }
.crumbs a:nth-child(2) { color: var(--state-c); font-weight: 700; }
.article-title { font-size: clamp(1.9rem, 4vw, var(--s5)); line-height: 1.22; margin-top: 12px; }
.article-dek { font-size: var(--s1); color: var(--muted); margin: 14px 0 0; line-height: 1.6; }
.article-meta { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.article-meta .postmark { --ink-c: var(--state-c); margin-right: 64px; }
.meta-lines p { margin: 0; }
.meta-source { font-weight: 700; }
.meta-time { color: var(--muted); font-size: var(--s-1); }
.updated { margin-left: 10px; }
.share { margin-left: auto; display: flex; gap: 8px; }
.share a, .share button { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius); font-weight: 500; font-size: var(--s-1); border: 1px solid var(--rule); background: var(--surface); color: var(--text); }
.share .share-wa { background: #17694A; color: #fff; border-color: #17694A; }

.article-figure { margin: 26px 0 0; max-width: 1060px; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: var(--s-1); color: var(--muted); margin-top: 8px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 320px; gap: 56px; margin-top: 30px; }
.article-content { font-size: 1.12rem; line-height: 1.85; }
.article-content p { margin: 0 0 1.15em; }
.article-content h2 { font-size: var(--s2); margin: 1.6em 0 0.5em; }
.article-content a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 4px solid var(--state-c); font-family: var(--f-head); font-size: 1.25rem; }

.matlab { margin: 0 0 28px; padding: 18px 22px; background: var(--inland); border-left: 6px solid var(--ink); }
.matlab h2 { font-size: var(--s1); color: var(--ink); margin-bottom: 6px; }
.matlab ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.matlab li { position: relative; padding-left: 26px; font-weight: 500; }
.matlab li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }

.doc-box { margin: 26px 0; }
.doc-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 2px solid var(--sarkar); color: var(--sarkar); font-weight: 700; border-radius: var(--radius); }
.doc-btn:hover { background: var(--sarkar); color: #fff; }

.correction { margin: 26px 0; padding: 14px 18px; border: 1px dashed var(--taar); background: color-mix(in srgb, var(--taar) 10%, var(--surface)); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.tag-list a { padding: 3px 12px; border: 1px solid var(--rule); border-radius: 99px; font-size: var(--s-1); }

.article-side { display: grid; align-content: start; gap: 26px; }
.side-box { position: sticky; top: 16px; }
.side-title { font-size: var(--s1); padding-bottom: 8px; border-bottom: 3px solid var(--state-c); }
.side-more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--state-c); }

.page-article { max-width: 760px; padding-top: 36px; padding-bottom: 56px; }

/* ---------- Archives ---------- */

.archive-head { background: var(--surface); border-bottom: 4px solid var(--state-c, var(--ink)); padding: 28px 0 22px; }
.archive-parent { margin: 0; font-weight: 700; color: var(--state-c); }
.archive-title { font-size: clamp(2rem, 4vw, var(--s4)); color: var(--state-c, var(--ink)); }
.archive-desc { color: var(--muted); max-width: 64ch; }
.district-index { margin-top: 14px; }
.district-index summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.district-index ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.district-index a { display: inline-block; padding: 3px 12px; border: 1px solid var(--rule); border-radius: 99px; background: var(--paper); font-size: var(--s-1); }
.district-index a:hover { border-color: var(--state-c); color: var(--state-c); }
.archive-body { padding-top: 30px; padding-bottom: 56px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); }
.archive-grid .story-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); align-items: center; }
.archive-grid .story-lead .story-stamp { position: static; margin-bottom: 4px; }
.archive-grid .story-lead .story-title { margin-top: 8px; font-size: clamp(1.6rem, 3vw, var(--s4)); }
.empty-state { padding: 40px 0; color: var(--muted); }
.big-search { display: flex; max-width: 560px; margin-top: 14px; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.big-search input { flex: 1; border: 0; padding: 10px 14px; font: inherit; background: var(--surface); color: var(--text); }
.big-search button { border: 0; background: var(--ink); color: var(--surface); padding: 0 18px; font-weight: 700; }

.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { padding: 6px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.page-numbers.current { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: #141A3C; color: #DCE3F5; padding: 44px 0 0; margin-top: 40px; }
[data-theme="dark"] .site-footer { background: #0A0F20; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-word { font-family: var(--f-mast); font-size: 2rem; margin: 0; color: #fff; line-height: 1.1; }
.footer-tag { margin: 4px 0 0; font-family: var(--f-head); font-style: italic; color: #AEB9DA; }
.footer-note { font-size: var(--s-1); color: #AEB9DA; }
.footer-head { margin: 0 0 10px; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.follow-btn { display: block; text-align: center; padding: 10px; margin-bottom: 8px; border-radius: var(--radius); background: #17694A; color: #fff; font-weight: 700; }
.follow-btn.alt { background: transparent; border: 1px solid #47507F; }
.footer-base { border-top: 1px solid #2B3366; margin-top: 36px; padding-top: 14px; padding-bottom: 18px; font-size: var(--s-1); color: #AEB9DA; }
.footer-base p { margin: 0; }

/* Search form (core) */
.search-form { display: flex; justify-content: center; gap: 8px; margin: 18px 0; }
.search-form input[type=search] { padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); font: inherit; min-width: 260px; background: var(--surface); color: var(--text); }
.search-form .search-submit { border: 0; background: var(--ink); color: var(--surface); padding: 0 18px; border-radius: var(--radius); font-weight: 700; }

/* Core WordPress alignment classes */
.alignwide { max-width: 1060px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: var(--s-1); color: var(--muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.hero { grid-template-columns: 1fr; }
	.brief { max-width: 640px; }
	.md-grid, .satta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout { grid-template-columns: 1fr; gap: 36px; }
	.side-box { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.header-search input { width: 200px; }
}

@media (max-width: 720px) {
	html { font-size: 100%; }
	html.daak-large { font-size: 118%; }
	.masthead { grid-template-columns: 1fr; padding-bottom: 12px; }
	.brand-tagline { margin-top: -4px; }
	.header-search { width: 100%; }
	.header-search input { width: 100%; flex: 1; }
	.topbar .tool-link { display: none; }
	.top-row, .md-grid, .satta-grid, .states, .order-list, .latest-list, .archive-grid { grid-template-columns: 1fr; }
	.archive-grid .story-lead { grid-template-columns: 1fr; }
	.top-row .story, .satta-grid .story { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: start; padding-top: 16px; }
	.top-row .story-media, .satta-grid .story-media { aspect-ratio: 1; }
	.top-row .story-stamp, .satta-grid .story-stamp { display: none; }
	.top-row .story-title, .satta-grid .story-title { margin-top: 0; font-size: 1.1rem; }
	.desk-chips { margin-left: 0; }
	.share { margin-left: 0; width: 100%; }
	.article-meta .postmark { margin-right: 64px; }
	.footer-grid { grid-template-columns: 1fr; }
	.story-lead .story-stamp { --pm-box: 72px; right: 54px; }
	.story-lead .postmark.pm-lg { --pm: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
	.site-header .topbar, .primary-nav, .taar, .ad-slot, .share, .article-side, .site-footer, .my-district { display: none !important; }
	body { background: #fff; }
}
