/* The India Blog. Tokens match dev.theindia.co.in. */

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

:root {
	--bg: #fbfaf7;
	--surface: #fff;
	--soft: #f1efea;
	--ink: #171716;
	--ink-2: #454541;
	--muted: #6c6b68;
	--line: #e7e2d8;
	--accent: #f04e55;
	--accent-deep: #d63c43;
	--hl: #ffce6b;
	--night: #1b1a19;
	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--max: 1240px;
	--gut: clamp(20px, 3vw, 40px);
	--hh: 84px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 14px 34px -16px rgba(23, 23, 22, .22);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; font-weight: 600; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transition: transform .2s; }
.skip:focus { transform: translateY(80px); }
:focus-visible { outline: 3px solid rgba(240, 78, 85, .55); outline-offset: 2px; border-radius: 6px; }

/* Page transitions (Chrome and Safari; others ignore) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both vt-out; }
::view-transition-new(root) { animation: .32s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(820px + var(--gut) * 2); }
.site-main { min-height: 60vh; padding-top: var(--hh); }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: 0; }

/* Navigation progress bar */
.topbar, .readbar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 1100; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; opacity: 0; }
.topbar.is-on { opacity: 1; transform: scaleX(.72); transition: transform 8s cubic-bezier(.1, .6, .2, 1); }
.topbar.is-done { opacity: 0; transform: scaleX(1); transition: transform .2s, opacity .4s .2s; }
.readbar { top: var(--hh); z-index: 900; height: 3px; opacity: 1; transition: transform .1s linear; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(240, 78, 85, .8); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--block { width: 100%; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.chip:hover { text-decoration: underline; }
.badge { display: inline-block; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--hl); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); transition: background-color .2s, border-color .2s, color .2s; }
.pill:hover { background: #fff; color: var(--ink); }
.pill--dark { border-color: var(--line); background: var(--surface); color: var(--ink); backdrop-filter: none; }
.pill--dark:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* Header: frosted glass */
.gh { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--hh); isolation: isolate; color: var(--ink); }
.gh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid rgba(23, 23, 22, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); transition: box-shadow .3s; }
.gh.is-scrolled::before { box-shadow: 0 8px 30px -14px rgba(23, 23, 22, .25); }
.admin-bar .gh { top: 32px; }
.gh-bar { display: flex; align-items: center; gap: 20px; height: var(--hh); max-width: 2000px; margin: 0 auto; padding: 0 var(--gut); }
.gh-brand { flex: none; display: flex; align-items: center; }
.gh-brand img { height: 52px; width: auto; }
.gh-core { display: flex; align-items: center; gap: clamp(8px, 1vw, 16px); flex: 1 1 0; min-width: 0; }
.gh-links { display: flex; gap: 4px; }
.gh-link, .gh-more-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 999px; background: none; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.gh-link:hover, .gh-more-btn:hover, .gh-more.is-open .gh-more-btn { background: rgba(23, 23, 22, .07); }
.gh-more { position: relative; flex: none; }
.gh-more-btn .i { transition: transform .25s var(--ease); }
.gh-more.is-open .gh-more-btn .i { transform: rotate(180deg); }
.gh-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 10px; background: rgba(255, 255, 255, .98); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 45px rgba(20, 20, 18, .18); animation: pop .22s var(--ease); }
.gh-menu[hidden] { display: none; }
.gh-menu a { padding: 11px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .15s, color .15s; }
.gh-menu a:hover, .gh-menu a:focus-visible { background: rgba(23, 23, 22, .06); color: var(--accent-deep); }
.gh-menu a.is-active { color: var(--accent-deep); background: rgba(240, 78, 85, .08); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.gh-search { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; width: clamp(220px, 24vw, 380px); margin-left: auto; padding: 0 18px 0 16px; border: 1px solid rgba(23, 23, 22, .16); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--ink-2); transition: border-color .2s, box-shadow .2s; }
.gh-search:focus-within { border-color: rgba(240, 78, 85, .7); box-shadow: 0 0 0 3px rgba(240, 78, 85, .18); }
.gh-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); -webkit-appearance: none; appearance: none; }
.gh-search input::placeholder { color: var(--ink-2); opacity: 1; }
.gh-search input::-webkit-search-cancel-button { display: none; }
.gh-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 30; max-height: 360px; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 45px rgba(20, 20, 18, .18); animation: pop .22s var(--ease); }
.gh-results[hidden] { display: none; }
.gh-results a, .gh-results .res-sk { display: block; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.gh-results a:hover, .gh-results a.is-sel { background: rgba(23, 23, 22, .06); color: var(--accent-deep); }
.gh-results .res-sk { height: 40px; margin: 4px; padding: 0; }
.gh-results .res-none { padding: 14px; color: var(--muted); font-size: 14px; }
.gh-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.gh-burger { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.gh-drawer .gh-search--m { width: 100%; margin: 0; }

@media (max-width: 1180px) { .gh-search { width: clamp(160px, 18vw, 260px); } .gh-link { padding: 9px 10px; } }
@media (max-width: 1020px) {
	.gh-core { display: none; }
	.gh-actions { margin-left: auto; }
	.gh-burger { display: grid; }
}
@media (max-width: 600px) { .gh-add { display: none; } :root { --hh: 64px; } .gh-brand img { height: 44px; } }
@media (max-width: 782px) { .admin-bar .gh { top: 46px; } }

/* Skeletons and image loading */
.sk { position: relative; overflow: hidden; background: var(--soft); }
.sk::after, .js .media:not(.is-loaded)::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { display: block; height: 14px; border-radius: 7px; margin: 10px 0; }
.sk-short { width: 38%; }
.sk-mid { width: 72%; }
.media { position: relative; display: block; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; }
/* Images are always visible: never gated on a script. The shimmer sits behind the image (z-index) and is covered as soon as it paints. */
.media img { position: relative; z-index: 1; animation: img-in .45s ease both; }
@keyframes img-in { from { opacity: 0; } }

/* Reveal on scroll: only hides when JS is running */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* If the script has not initialised after a few seconds (blocked or delayed by an optimiser), show everything. */
.js:not(.js-ready) .reveal { animation: force-in .01s 2.5s forwards; }
@keyframes force-in { to { opacity: 1; transform: none; } }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(700px, 100svh); margin-top: calc(var(--hh) * -1); padding: var(--hh) 0 0; background: radial-gradient(900px 480px at 88% 8%, rgba(240, 78, 85, .28), transparent 62%), radial-gradient(700px 420px at 0 100%, rgba(255, 206, 107, .10), transparent 60%), var(--night); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; } .hero-copy > *:nth-child(3) { animation-delay: .16s; } .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-title { max-width: 11ch; font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: 1.02; text-wrap: balance; }
.hero-title .accent { color: #ff6b72; }
.hero-sub { max-width: 52ch; margin: 0; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .84); }
.hero .gh-search { width: min(520px, 100%); height: 56px; margin: 4px 0 0; padding-right: 7px; background: #fff; color: var(--ink); border-color: transparent; }
.hero .gh-search .btn { height: 42px; padding: 0 22px; }
.hero-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero .tile--lg { min-height: clamp(360px, 46vw, 520px); animation: rise .8s .15s var(--ease) both; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero-media { position: absolute; inset: 0; aspect-ratio: auto; background: var(--night); }
.hero-media img { transform: scale(1.04); animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 22, .62) 0%, rgba(23, 23, 22, .5) 35%, rgba(23, 23, 22, .9) 100%); }

/* Sections */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec--tight { padding-top: clamp(24px, 4vw, 48px); }
.sec--soft { background: var(--soft); }
.sec--dark { background: radial-gradient(900px 420px at 85% 0, rgba(240, 78, 85, .16), transparent 60%), var(--night); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-title { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; }
.more { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font-size: 14px; font-weight: 700; transition: color .2s, gap .2s; }
.more:hover { color: var(--accent-deep); gap: 12px; }

/* Bento */
.bento { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: var(--r-lg); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.tile--lg { grid-row: span 2; min-height: 480px; }
.tile .media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; background: #2a2927; }
.tile .media img { transition: opacity .6s var(--ease), transform 1s var(--ease); }
.tile:hover .media img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 23, 22, 0) 15%, rgba(23, 23, 22, .62) 55%, rgba(23, 23, 22, .94) 100%); }
.tile-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.tile-title { font-size: 19px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.tile--lg .tile-title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; }
.tile-title a::after { content: ""; position: absolute; inset: 0; }
.tile-ex { margin: 0; max-width: 52ch; font-size: 14px; color: rgba(255, 255, 255, .82); }
.tile-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); transition: transform .3s var(--ease), background-color .2s; }
.tile:hover .tile-go { transform: translate(2px, -2px) rotate(8deg); background: var(--accent); color: #fff; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card-link { display: block; border-radius: var(--r-md); overflow: hidden; }
.card .media { border-radius: var(--r-md); }
.card .media img { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.card:hover .media img { transform: scale(1.045); }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 20px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.card-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.card:hover .card-title a { background-size: 100% 2px; color: var(--accent-deep); }
.card-meta { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.empty { padding: 60px 0; text-align: center; }
.empty h2 { margin-bottom: 8px; font-size: 28px; }
.empty .pill { margin: 4px; }

/* Topics */

/* Page header (archives, pages, search) */
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 36px); background: radial-gradient(800px 320px at 90% 0, rgba(240, 78, 85, .22), transparent 60%), var(--night); color: #fff; }
.page-title { max-width: 22ch; margin-top: 14px; font-size: clamp(34px, 5vw, 60px); font-weight: 800; line-height: 1.06; text-wrap: balance; }
.page-title .accent { color: #ff6b72; }
.page-desc { max-width: 62ch; margin-top: 14px; color: rgba(255, 255, 255, .8); }
.page-desc p { margin: 0; }
.page-head .gh-search { margin: 22px 0 0; width: min(560px, 100%); height: 54px; padding-right: 6px; background: #fff; border-color: transparent; }
.page-head .btn { height: 42px; }
.page-head > .wrap > .btn { margin-top: 8px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Pagination */
.pager { margin-top: 48px; }
.pager ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pager a.page-numbers, .pager span.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; transition: background-color .2s, color .2s, border-color .2s; }
.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .dots { border-color: transparent; background: none; }
.pager li { margin: 0; }
.pager .prev .i { transform: rotate(180deg); }

/* Single post */
.post-hero { position: relative; display: flex; align-items: flex-end; min-height: 280px; margin-top: calc(var(--hh) * -1); padding-top: var(--hh); background: var(--night); color: #fff; overflow: hidden; }
.post-hero.has-img { min-height: min(560px, 62svh); }
.post-hero-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 48px; padding-bottom: clamp(28px, 4vw, 48px); }
.post-title { max-width: 24ch; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; line-height: 1.08; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin: 0; font-size: 14px; color: rgba(255, 255, 255, .86); }
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .by { gap: 10px; font-weight: 700; }
.post-meta .avatar { border-radius: 50%; }
.post-meta a:hover { text-decoration: underline; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 72px); align-items: start; }
.layout-main { min-width: 0; }
.side { position: sticky; top: calc(var(--hh) + 20px); display: grid; gap: 28px; }
.side-box, .async-block { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.side-title { margin-bottom: 14px; font-size: 18px; font-weight: 800; }
.mini { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.mini:last-child { margin-bottom: 0; }
.mini .media { aspect-ratio: 1; border-radius: 12px; }
.mini-body { min-width: 0; }
.mini-t { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.mini-m { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent-deep); }
a.mini:hover .mini-t { color: var(--accent-deep); }
.async-block[hidden] { display: none; }
.async-list.is-ready .mini { animation: rise .5s var(--ease) both; }
.async-rows { display: grid; gap: 56px; }
.async-row { padding: 0; background: none; border: 0; }
.async-row .side-title { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }
.async-row .async-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.async-row .mini { grid-template-columns: 1fr; gap: 12px; margin: 0; }
.async-row .mini .media { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.async-row .mini-t { font-size: 16px; }

/* Article typography */
.entry-content { max-width: 760px; font-size: 18px; line-height: 1.75; color: #232321; overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content figure, .entry-content table, .entry-content blockquote, .entry-content .wp-block-image { margin: 0 0 1.3em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.9em 0 .6em; font-weight: 800; line-height: 1.18; }
.entry-content h2 { font-size: clamp(26px, 3vw, 34px); }
.entry-content h3 { font-size: clamp(21px, 2.3vw, 26px); }
.entry-content h4 { font-size: 20px; }
.entry-content a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--accent); font-weight: 700; }
.entry-content img { border-radius: var(--r-md); }
.entry-content figure { width: 100% !important; max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.entry-content blockquote { padding: 6px 0 6px 22px; border-left: 4px solid var(--accent); font-size: 1.1em; font-style: italic; color: var(--ink-2); }
.entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; -webkit-overflow-scrolling: touch; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--soft); font-weight: 700; }
.entry-content iframe { width: 100%; border: 0; border-radius: var(--r-md); }
.entry-content hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.entry-content .wp-block-button__link, .entry-content .wp-block-button__link:hover { display: inline-flex; padding: 13px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content .alignleft { float: left; margin: 0 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.4em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content::after { content: ""; display: table; clear: both; }

/* Easy Table of Contents */
#ez-toc-container { width: 100% !important; margin: 0 0 2em; padding: 20px 24px !important; background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: var(--r-md) !important; box-shadow: none !important; }
#ez-toc-container .ez-toc-title { font-size: 18px !important; font-weight: 800 !important; color: var(--ink) !important; }
#ez-toc-container a { color: var(--ink-2) !important; text-decoration: none; font-size: 16px; }
#ez-toc-container a:hover { color: var(--accent-deep) !important; text-decoration: underline; }
#ez-toc-container li::marker { color: var(--accent); }

/* Yoast FAQ (toggleable) */
.wp-block-yoast-faq-block { display: grid; gap: 10px; }
.wp-block-yoast-faq-block .schema-faq-section { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.wp-block-yoast-faq-block .schema-faq-question { display: block; padding: 16px 20px; background: #fff !important; color: var(--ink) !important; font-weight: 700; cursor: pointer; }
.wp-block-yoast-faq-block .schema-faq-answer { margin: 0; padding: 0 20px 16px; font-size: 17px; }

/* Share, tags, adjacent */
.post-tags { margin-top: 28px; }
.share { display: flex; align-items: center; gap: 10px; margin: 36px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-k { margin-right: 6px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.share-b { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.share-b:hover { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-2px); }
.share-ok { position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; transform: translateX(-50%); }
.share-ok:empty { display: none; }
.adj { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adj-a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, transform .3s var(--ease); }
.adj-a:hover { border-color: var(--accent); transform: translateY(-3px); }
.adj-a small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.adj-a span { font-weight: 700; line-height: 1.3; }
.adj-a--next { text-align: right; grid-column: 2; }
.page-links { margin-top: 24px; font-weight: 700; }

/* Comments */
.comments-title { margin-bottom: 24px; }
.comment-list { margin: 0 0 36px; padding: 0; list-style: none; }
.comment-list .children { margin: 0; padding-left: 28px; list-style: none; }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 8px; font-size: 14px; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-author .fn { font-weight: 800; font-style: normal; }
.comment-metadata, .comment-metadata a { color: var(--muted); font-size: 13px; }
.comment-content p { margin: 0 0 .8em; }
.reply a { font-size: 13px; font-weight: 800; color: var(--accent-deep); }
.comment-respond { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.comment-reply-title { margin-bottom: 14px; font-size: 22px; font-weight: 800; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 78, 85, .18); }
.comment-form .form-submit input, .wpcf7 input[type=submit] { height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.comment-form .form-submit input:hover, .wpcf7 input[type=submit]:hover { background: var(--accent-deep); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form-cookies-consent label { margin: 0; font-weight: 500; }

/* Footer */
.site-foot { background: var(--night); color: rgba(255, 255, 255, .78); font-size: 15px; }
.site-foot a { transition: color .2s; }
.site-foot a:hover { color: #fff; }
.site-foot .wrap { padding-top: clamp(44px, 6vw, 72px); padding-bottom: 28px; }
.sf-top { display: grid; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sf-brand > a { display: inline-block; margin-bottom: 16px; padding: 8px 14px; background: #fff; border-radius: 14px; }
.sf-brand img { height: 52px; width: auto; }
.sf-brand p { max-width: 46ch; margin: 0 0 18px; }
.sf-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sf-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.sf-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.sf-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; }
.sf-col h2 { margin-bottom: 14px; color: #fff; font-size: 17px; font-weight: 800; }
.sf-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sf-widgets { margin-top: 18px; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.sf-bottom a { color: var(--accent); }
.sf-heart { color: var(--accent); }

/* Responsive */
@media (max-width: 1020px) {
	.hero { min-height: 0; }
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero .tile--lg { min-height: 340px; }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.side .side-box:last-child { grid-column: 1 / -1; }
	.async-row .async-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.tile--lg { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
}
@media (max-width: 780px) {
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
	.sf-top, .sf-cols { grid-template-columns: 1fr; }
	.side { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.grid, .bento { grid-template-columns: 1fr; }
	.entry-content { font-size: 17px; }
	.adj { grid-template-columns: 1fr; }
	.adj-a--next { grid-column: auto; }
	.async-row .async-list { grid-template-columns: 1fr; }
	.sec-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	@view-transition { navigation: none; }
}
@media print {
	.gh, .topbar, .readbar, .side, .share, .adj, .site-foot { display: none; }
	.site-main { padding: 0; }
}

/* ===== v2: layout closer to dev.theindia.co.in ===== */

/* Photo hero */
.hero--photo { align-items: flex-end; min-height: min(680px, 88svh); background: var(--night); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: hero-zoom 16s ease-out both; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 19, 15, .55) 0%, rgba(20, 19, 15, .2) 42%, rgba(20, 19, 15, .8) 100%), linear-gradient(90deg, rgba(20, 19, 15, .6), transparent 70%); }
.hero-glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(800px 380px at 88% 4%, rgba(240, 78, 85, .28), transparent 62%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: clamp(96px, 14vw, 160px); padding-bottom: clamp(44px, 7vw, 96px); }
.hero--photo .hero-title { max-width: 12ch; font-size: clamp(44px, 6.6vw, 88px); }
.hero--photo .gh-search { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.eyebrow--gold { color: var(--hl); }

/* Topic carousel (dark section) */
.car-nav { display: flex; gap: 8px; }
.car-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.car-btn:hover { background: var(--accent); border-color: var(--accent); }
.car-btn:active { transform: scale(.94); }
.car-btn[data-car="-1"] .i { transform: rotate(180deg); }
.topics { display: flex; align-items: flex-start; gap: 16px; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 12px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.topics::-webkit-scrollbar { display: none; }
.topics li { flex: 0 0 clamp(210px, 21vw, 262px); scroll-snap-align: start; }
.topics li:nth-child(even) { margin-top: 28px; }
.topic { position: relative; display: block; height: 340px; border-radius: var(--r-lg); overflow: hidden; background: #2a2927; color: #fff; isolation: isolate; }
.topic .media { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; background: #2a2927; }
.topic .media img { transition: opacity .6s var(--ease), transform 1s var(--ease); }
.topic:hover .media img { transform: scale(1.07); }
.topic::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 19, 15, 0) 25%, rgba(20, 19, 15, .9) 100%); }
.topic-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.topic-body small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.topic-body strong { font-size: 24px; line-height: 1.1; font-weight: 800; }
.topic-body em { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; font-style: normal; color: var(--hl); transition: gap .2s; }
.topic:hover .topic-body em { gap: 10px; }

/* Guides worth saving */
.picks { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.picks > .tile { min-height: 500px; }
.picks-list { display: grid; gap: 14px; align-content: start; }
.pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; }
.pick:hover { transform: translateY(-3px); border-color: rgba(240, 78, 85, .5); box-shadow: var(--shadow); }
.pick-img .media { aspect-ratio: 4 / 3; border-radius: 12px; }
.pick-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pick-title { font-size: 17px; font-weight: 700; line-height: 1.25; text-wrap: balance; }
.pick-title a::after { content: ""; position: absolute; inset: 0; }
.pick { position: relative; }

/* Async rows: packages band + travelogues */
.async-rows { gap: clamp(40px, 6vw, 72px); }
.async-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.async-head .side-title { margin: 0; }
.async-row .async-head .sec-title { margin: 0; }
.band { padding: clamp(24px, 4vw, 44px); border: 1px solid #f1d9d4; border-radius: 34px; background: radial-gradient(500px 220px at 95% 0, rgba(240, 78, 85, .16), transparent 70%), linear-gradient(110deg, #fff6f1, #fbe9e6 65%, #f8e1e2); }
.async-row .mini { padding: 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s; }
a.async-row .mini:hover, .async-row a.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.async-row .mini-body { padding: 0 6px; }
.async-row .mini-m { font-size: 15px; }
.async-row .mini .media { aspect-ratio: 4 / 3; border-radius: 14px; }

/* Follow box */
.follow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; text-align: center; }
.follow-list a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; transition: background-color .2s, transform .25s var(--ease); }
.follow-list a:hover { background: var(--soft); transform: translateY(-2px); }
.follow-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 50%; color: #fff; }
.follow-list strong { font-size: 19px; font-weight: 800; line-height: 1.1; }
.follow-list small { font-size: 12px; color: var(--muted); }
.follow--flat { padding: 0; border: 0; background: none; }
.follow--flat .side-title { display: none; }
.mini-m--date { color: var(--muted); font-weight: 500; }
.side-box .mini .media { aspect-ratio: 1; }

/* Facebook block */
.marquee { overflow: hidden; margin: 0 calc(var(--gut) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; padding: 6px 0 10px; animation: marq var(--marq, 70s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.fbcard { display: flex; flex-direction: column; flex: 0 0 300px; width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
a.fbcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fbcard .media { aspect-ratio: 16 / 10; border-radius: 0; }
.fbcard-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fbcard-body time { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.fbcard-body p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* Newsletter band */
.nl { padding: clamp(48px, 7vw, 96px) 0 0; background: var(--bg); }
.nl-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px; align-items: center; padding: 48px 52px; border-radius: 34px; background: linear-gradient(110deg, #ed4f55, #b42946 65%, #6e253e); color: #fff; overflow: hidden; }
.nl-star { position: absolute; top: -70px; right: 20px; font-size: 260px; line-height: 1; color: rgba(255, 255, 255, .06); transform: rotate(12deg); pointer-events: none; }
.nl-copy { position: relative; }
.nl-copy h2 { margin-bottom: 10px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.12; }
.nl-copy .accent { color: var(--hl); }
.nl-copy p { margin: 0; color: rgba(255, 255, 255, .75); }
.nl-form { position: relative; z-index: 2; min-width: 0; }
.nl-form .wpcf7-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 8px; background: #fff; border-radius: 17px; }
.nl-form .wpcf7-form > p { margin: 0; }
.nl-form .wpcf7-form > p:first-of-type { flex: 1 1 200px; min-width: 0; }
.nl-form .wpcf7-form label { display: block; }
.nl-form .wpcf7-form-control-wrap { display: block; }
.nl-form input[type=email] { width: 100%; padding: 12px; border: 0; background: transparent; box-shadow: none; color: var(--ink); outline: 0; }
.nl-form input[type=submit], .btn--dark { height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: #181817; color: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.nl-form input[type=submit]:hover, .btn--dark:hover { background: #000; }
.nl-form .wpcf7-spinner { margin: 0 4px; }
.nl-form .wpcf7-response-output { flex-basis: 100%; margin: 4px 0 0 !important; padding: 8px 12px !important; border: 0 !important; border-radius: 10px; background: #fff3f3; color: #9b1c1c; font-size: 14px; }
.nl-form .wpcf7-not-valid-tip { position: absolute; margin-top: 4px; font-size: 13px; color: #ffd7d9; }
.nl-form .wpcf7 form.sent .wpcf7-response-output { background: #eaf7ee; color: #14532d; }

/* Footer: skyline + dark body */
.skyline { background: var(--bg); line-height: 0; }
.skyline img { display: block; width: 100%; height: auto; min-height: 64px; max-height: 130px; aspect-ratio: 1440 / 96; object-fit: cover; object-position: center bottom; margin-bottom: -1px; }
.site-foot { background: #14130f; }
.site-foot .wrap { padding-top: clamp(32px, 4vw, 48px); }
.sf-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 48px; padding-bottom: 36px; }
.sf-cols { padding: 0; }
.sf-brand > a { background: #fff; }

/* Single post header and cover */
.post-hero, .post-hero.has-img { min-height: 0; }
.post-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.post-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.45) saturate(1.2); transform: scale(1.2); }
.post-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0, rgba(240, 78, 85, .22), transparent 65%); pointer-events: none; }
.post-hero-in { z-index: 1; padding-top: 56px; padding-bottom: clamp(32px, 5vw, 56px); }
.post-title { max-width: 26ch; }
.post-cover { margin: 0 0 32px; }
.post-cover .media { aspect-ratio: auto; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: auto; }
.admin-bar .side { top: calc(var(--hh) + 52px); }
.admin-bar .readbar { top: calc(var(--hh) + 32px); }

/* Easy Table of Contents */
#ez-toc-container ul, #ez-toc-container ol, #ez-toc-container li { list-style: none !important; margin: 0; padding: 0; }
#ez-toc-container li::before, #ez-toc-container li::marker { content: none !important; }
#ez-toc-container ul ul { padding-left: 18px; margin-top: 2px; }
#ez-toc-container li { margin: 0; }
#ez-toc-container .ez-toc-list a { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; line-height: 1.45; text-decoration: none !important; }
#ez-toc-container .ez-toc-list a::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
#ez-toc-container .ez-toc-title-container { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }

/* Yoast FAQ (toggleable): chevron on the right, clear of the text */
.wp-block-yoast-faq-block { border-top: 0 !important; }
.wp-block-yoast-faq-block .schema-faq-section { border: 1px solid var(--line); }
.wp-block-yoast-faq-block .schema-faq-question, .wp-block-yoast-faq-block .schema-faq-answer { padding-left: 20px !important; padding-right: 20px; }
.wp-block-yoast-faq-block .schema-faq-question { padding-top: 16px !important; padding-bottom: 16px !important; padding-right: 54px !important; border-bottom: 0 !important; line-height: 1.4; }
.wp-block-yoast-faq-block .schema-faq-question::before { left: auto !important; right: 22px; top: 50% !important; width: 9px !important; height: 9px !important; margin-top: -7px !important; border-color: var(--ink-2) !important; transform: rotate(45deg) !important; transition: transform .3s var(--ease), margin .3s var(--ease) !important; }
.wp-block-yoast-faq-block .fcp-opened .schema-faq-question::before { margin-top: -2px !important; transform: rotate(-135deg) !important; }
.wp-block-yoast-faq-block .schema-faq-section:hover .schema-faq-question, .wp-block-yoast-faq-block .fcp-opened .schema-faq-question { background: var(--bg) !important; }
.wp-block-yoast-faq-block .schema-faq-answer { border-bottom: 0 !important; }

/* Forms from Contact Form 7 (carried over from the previous theme's custom CSS) */
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 input[type=url], .wpcf7 textarea, .wpcf7 select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 78, 85, .18); }
.wpcf7 form label { font-size: 16px; }
.wpcf7-not-valid-tip { margin-top: 5px; font-size: 14px; color: #dc3232; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; }
.wpcf7 input[type=submit] { margin-top: 12px; }

/* v2 responsive */
@media (max-width: 1020px) {
	.picks { grid-template-columns: minmax(0, 1fr); }
	.picks > .tile { min-height: 380px; }
	.nl-band { grid-template-columns: minmax(0, 1fr); padding: 34px 24px; }
	.sf-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.topics li { flex-basis: clamp(200px, 38vw, 250px); }
	.admin-bar .side { top: auto; }
}
@media (max-width: 560px) {
	.hero--photo { min-height: 560px; }
	.hero--photo .hero-title { font-size: clamp(40px, 12vw, 56px); }
	.topics li { flex-basis: 70vw; }
	.topic { height: 300px; }
	.pick { grid-template-columns: 108px minmax(0, 1fr); gap: 12px; }
	.band { border-radius: 24px; padding: 20px 16px; }
	.async-head { flex-direction: column; align-items: flex-start; }
	.marquee { margin: 0 -16px; }
	.fbcard { flex-basis: 260px; width: 260px; }
	.nl-band { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; }
	.marquee-track { animation: none; }
	.hero-bg { animation: none; }
}

/* v2.1: scrollable sidebar, balanced picks, carousel buttons */
.side { max-height: calc(100vh - var(--hh) - 40px); overflow-y: auto; overscroll-behavior: contain; align-content: start; padding-right: 8px; margin-right: -8px; scrollbar-width: thin; scrollbar-color: rgba(23, 23, 22, .28) transparent; }
.side::-webkit-scrollbar { width: 6px; }
.side::-webkit-scrollbar-thumb { background: rgba(23, 23, 22, .28); border-radius: 6px; }
.side::-webkit-scrollbar-thumb:hover { background: rgba(23, 23, 22, .5); }
.admin-bar .side { max-height: calc(100vh - var(--hh) - 72px); }
.picks-list { grid-template-rows: repeat(3, minmax(0, 1fr)); align-content: stretch; }
.pick { grid-template-columns: 176px minmax(0, 1fr); }
.pick-img .media { aspect-ratio: 4 / 3; }
.topics { scroll-snap-type: x proximity; }
.car-btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 1020px) {
	.side, .admin-bar .side { max-height: none; overflow: visible; padding-right: 0; margin-right: 0; }
	.picks-list { grid-template-rows: none; }
}

/* v2.2: off-canvas mobile menu */
.gh-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(20, 19, 15, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.gh-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.gh-drawer { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 1200; display: flex; flex-direction: column; width: 90vw; max-width: 440px; background: #fff; box-shadow: -24px 0 60px -20px rgba(20, 19, 15, .45); transform: translateX(104%); visibility: hidden; overscroll-behavior: contain; transition: transform .38s var(--ease), visibility 0s .38s; }
.nav-open .gh-drawer { transform: none; visibility: visible; transition: transform .38s var(--ease); }
.gh-drawer-top { display: flex; flex: none; align-items: center; justify-content: space-between; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.gh-drawer-top img { width: auto; height: 46px; }
.gh-close { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.gh-close:hover { background: var(--soft); transform: rotate(90deg); }
.gh-drawer-body { flex: 1 1 auto; min-height: 0; padding: 18px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.gh-drawer .gh-search--m { width: 100%; margin: 0 0 6px; }
.gh-drawer-nav { display: grid; }
.gh-drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.gh-drawer-nav a:last-child { border-bottom: 0; }
.gh-drawer-nav a .i { color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.gh-drawer-nav a:hover .i, .gh-drawer-nav a:focus-visible .i { color: var(--accent); transform: translateX(3px); }
.gh-drawer-nav a.is-active { color: var(--accent-deep); }
.gh-drawer-foot { display: grid; flex: none; gap: 16px; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.gh-drawer .sf-social { justify-content: center; }
.gh-drawer .sf-social a { border-color: var(--line); background: #fff; color: var(--ink); }
.gh-drawer .sf-social a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
@media (min-width: 1021px) { .gh-drawer, .gh-backdrop { display: none; } }
@media (prefers-reduced-motion: reduce) { .gh-drawer, .gh-backdrop { transition-duration: .01ms; } }

/* Newsletter form: no blank strip above the field or after the button */
.nl-form .wpcf7-response-output:empty { display: none !important; }
.nl-form .hidden-fields-container, .nl-form fieldset { display: none; margin: 0; padding: 0; border: 0; }
.nl-form .wpcf7-form > * { margin-top: 0; margin-bottom: 0; }
.nl-form .wpcf7-form > p:first-of-type { flex: 1 1 200px; }
.nl-form .wpcf7-spinner { position: absolute; right: 8px; bottom: -28px; margin: 0; }

/* v2.2 mobile spacing fixes */
.card-meta { flex-wrap: wrap; gap: 2px 8px; }
.card-meta > *, .card-meta time { white-space: nowrap; }
.entry-content th, .entry-content td { min-width: 6.5em; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.entry-content table { -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) {
	.pick { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px; }
	.pick-title { font-size: 15px; }
	.pick-body .chip { font-size: 11px; letter-spacing: .04em; }
	.nl-form .wpcf7-form > p:last-of-type, .nl-form input[type=submit] { width: 100%; flex-basis: 100%; }
	.nl-form input[type=submit] { height: 48px; }
	.nl-band { padding: 28px 20px; }
	.sec { padding: 44px 0; }
	.sec-head { margin-bottom: 20px; }
	.entry-content th, .entry-content td { padding: 8px 10px; font-size: 15px; }
}

/* Newsletter form: CF7 adds a <br> inside the label and a top margin on the button */
.nl-form br { display: none; }
.nl-form .wpcf7-form-control-wrap, .nl-form label { display: block; }
.nl-form .wpcf7 input[type=submit], .nl-form input[type=submit] { margin: 0 !important; }
.nl-form .wpcf7-form { align-items: stretch; }
.nl-form .wpcf7-form > p { display: flex; align-items: center; }
.nl-form .wpcf7-form > p:first-of-type > label { width: 100%; }
@media (max-width: 560px) {
	.nl-form .wpcf7-form > p:nth-of-type(2) { flex: 1 1 100%; }
	.nl-form .wpcf7-form > p:nth-of-type(2) input[type=submit] { width: 100%; }
}

/* v2.3: dark top bar + sticky main bar, as on the previous blog header */
/* The main bar now sits in the page flow and sticks to the top once the top bar has scrolled away. */
.gh { position: sticky; top: 0; right: auto; left: auto; inset-block-end: auto; }
.admin-bar .gh { top: 32px; }
.site-main { padding-top: 0; }
@media (max-width: 782px) { .admin-bar .gh { top: 46px; } }

/* Mobile menu: everything black, two groups separated by a rule */
.gh-drawer-nav a { padding: 13px 2px; border-bottom: 0; color: var(--ink); }
.gh-drawer-nav--main { padding-top: 10px; }
.gh-drawer-nav--main a { font-size: 19px; font-weight: 700; }
.gh-drawer-nav--top { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.gh-drawer-nav--top a { font-size: 18px; font-weight: 500; }
.gh-drawer-nav a.is-active { color: var(--ink); font-weight: 700; }
.gh-drawer-nav a.is-active::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: var(--accent); }
.gh-drawer-nav a { justify-content: flex-start; }

/* 404 page */
.hero--404 { align-items: center; min-height: min(600px, 84svh); }
.hero--404 .hero-content { width: 100%; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.e404 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.e404-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.e404-copy > * { animation: rise .7s var(--ease) both; }
.e404-copy > *:nth-child(2) { animation-delay: .06s; } .e404-copy > *:nth-child(3) { animation-delay: .12s; } .e404-copy > *:nth-child(4) { animation-delay: .18s; } .e404-copy > *:nth-child(5) { animation-delay: .24s; }
.e404-title { font-size: clamp(40px, 6vw, 78px); font-weight: 800; line-height: 1.04; text-wrap: balance; }
.e404-title .accent { color: #ff6b72; }
.hero--404 .gh-search { width: min(520px, 100%); height: 56px; margin: 4px 0 0; padding-right: 7px; background: #fff; color: var(--ink); border-color: transparent; }
.hero--404 .gh-search .btn { height: 42px; padding: 0 22px; }
.e404-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.e404-num { display: flex; align-items: center; justify-content: center; gap: .02em; font-size: clamp(100px, 15vw, 230px); font-weight: 800; line-height: 1; letter-spacing: -.04em; user-select: none; animation: rise .9s .15s var(--ease) both; }
.e404-num > span { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6); }
.e404-num > span { flex: none; }
.e404-num > .e404-compass { aspect-ratio: 1; display: grid; place-items: center; width: .74em; height: .74em; border-radius: 50%; background: linear-gradient(135deg, #ff6b72, #d63c43); box-shadow: 0 30px 60px -20px rgba(240, 78, 85, .75); -webkit-text-stroke: 0; color: #fff; }
.e404-compass svg { width: 58%; height: 58%; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(30deg); } }
.go-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.go { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; }
.go:hover { transform: translateY(-4px); border-color: rgba(240, 78, 85, .55); box-shadow: var(--shadow); }
.go strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.go span { max-width: 26ch; font-size: 14px; color: var(--muted); }
.go-arrow { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink); font-style: normal; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.go:hover .go-arrow { background: var(--accent); color: #fff; transform: translate(2px, -2px) rotate(8deg); }
.e404-topics { margin-top: 36px; }
@media (max-width: 1020px) {
	.go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e404 { grid-template-columns: minmax(0, 1fr); }
	.e404-num { justify-content: flex-start; font-size: clamp(96px, 28vw, 170px); }
}
@media (max-width: 560px) {
	.go-grid { grid-template-columns: minmax(0, 1fr); }
	.go { min-height: 0; padding: 20px 64px 20px 20px; }
	.hero--404 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .e404-compass svg { animation: none; } }

/* ===== v3: typography, spacing and colour matched to dev.theindia.co.in ===== */
/* Scale measured on dev: hero 70/42px, section titles 40/28px, all headings weight 600, tracking -0.02em. */
.hero--photo .hero-title, .hero-title { max-width: 630px; font-size: clamp(42px, 5vw, 70px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.hero-title .accent, .page-title .accent, .e404-title .accent, .sec--dark .accent, .page-head .accent { color: var(--accent); }
.hero-sub { max-width: 640px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .78); }
.hero-copy { gap: 18px; }
.sec { padding: clamp(48px, 5vw, 72px) 0; }
.sec--tight { padding-top: clamp(24px, 3vw, 40px); }
.sec-title, .sec-title.accent { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.sec-head { margin-bottom: 24px; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .12em; color: var(--accent-deep); }
.eyebrow--gold { color: var(--accent); }
.pill { padding: 5px 12px; font-size: 14px; font-weight: 500; line-height: 20px; }
.hero-pop { font-size: 14px; }
.chip, .badge { font-weight: 700; }
.card-title, .tile-title, .pick-title, .mini-t, .topic-body strong, .go strong, .side-title, .post-title, .page-title, .e404-title, .nl-copy h2, .empty h2, .comment-reply-title, .comments-title, .entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 600; letter-spacing: -.02em; }
.tile--lg .tile-title { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; }
.tile-title { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.25; }
.page-title { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.post-title { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; }
.e404-title { font-size: clamp(42px, 5vw, 70px); line-height: 1.05; }
.side-title { font-size: 18px; }
.nl-copy h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.entry-content h2 { font-size: clamp(26px, 2.8vw, 34px); }

/* Footer: dev uses small uppercase column headings and muted links */
.site-foot { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.sf-col h2 { margin-bottom: 14px; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.sf-col ul { gap: 8px; }

/* Header: dev bar is 84px (72px on phones) with a 15px/600 menu and a larger logo */
.gh-brand img { height: 62px; }
.gh-link, .gh-more-btn { padding: 9px 12px; font-size: 15px; font-weight: 600; }
.gh-link.is-active { background: rgba(240, 78, 85, .08); color: var(--accent-deep); }
.gh-search { width: clamp(190px, 16vw, 300px); }
@media (max-width: 1279px) {
	:root { --hh: 72px; }
	.gh-core { display: none; }
	.gh-actions { margin-left: auto; }
	.gh-burger { display: grid; }
	.gh-brand img { height: 52px; }
}
@media (min-width: 1021px) and (max-width: 1279px) { .gh-drawer { display: flex; } .gh-backdrop { display: block; } }
@media (max-width: 600px) { .gh-brand img { height: 46px; } }
