/* कबूतर न्यूज़ — modern editorial theme (Hindi-first, mobile-first) */
@view-transition { navigation: auto; }

:root {
  --ink: #0c1124;
  --navy: #0a1233;
  --navy-2: #15246b;
  --royal: #2a45d4;
  --red: #d10f34;
  --red-2: #ff4766;
  --paper: #f5f4ef;
  --card: #ffffff;
  --line: #e8e5dc;
  --muted: #575f72;
  --radius: 20px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Mukta", "Hind", system-ui, sans-serif;
  --font-mark: "Rozha One", "Mukta", serif;
  --font-body: "Hind", "Mukta", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(10, 18, 51, .06), 0 4px 14px rgba(10, 18, 51, .05);
  --shadow-md: 0 2px 4px rgba(10, 18, 51, .06), 0 16px 36px rgba(10, 18, 51, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.85; font-weight: 400;
  min-height: 100dvh; display: flex; flex-direction: column; touch-action: manipulation;
}
main { flex: 1; width: 100%; animation: pageIn .6s var(--ease) both; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(255, 71, 102, .7); animation: pulse 1.8s infinite; flex: none; }

@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 71, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 71, 102, 0); } }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes drift1 { to { transform: translate3d(60px, 40px, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-70px, -30px, 0) scale(1.1); } }
@keyframes sheen { to { background-position: 200% 0; } }
@keyframes float { 50% { transform: translateY(-5px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Top utility bar */
.topbar { background: #070d26; color: #c9d1ee; font-size: 14px; line-height: 1.5; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar svg { width: 16px; height: 16px; flex: none; }
.tb-date, .tb-links a { display: inline-flex; align-items: center; gap: 7px; }
.tb-links { display: flex; gap: 18px; }
.tb-links a { color: #e6ebff; }
.tb-links a:hover { color: #fff; text-decoration: none; }

/* Masthead (hero banner) */
.masthead { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0a1233 0%, #14226a 55%, #0a1233 100%); isolation: isolate; }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-2), #ffb199, var(--red-2), var(--red)); background-size: 200% 100%; animation: sheen 6s linear infinite; }
.mast-bg { position: absolute; inset: 0; z-index: -1; }
.mast-bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.mast-bg .o1 { width: 360px; height: 360px; right: -80px; top: -120px; background: #e8244b; animation: drift1 14s ease-in-out infinite alternate; }
.mast-bg .o2 { width: 420px; height: 420px; left: -140px; bottom: -200px; background: #2a45d4; animation: drift2 16s ease-in-out infinite alternate; }
.mast-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
/* Mobile-first: everything centred in one tidy stack */
/* Phones: logo beside the wordmark, compact editor line below */
.mast-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 18px; padding-bottom: 20px; }
.mast-brand { display: flex; flex-direction: row; align-items: center; gap: 14px; color: #fff; min-width: 0; text-align: left; }
.mast-brand:hover { text-decoration: none; }
.logo-ring { flex: none; width: 96px; height: 96px; border-radius: 50%; padding: 4px; background: conic-gradient(from 200deg, #fff, #ff8aa0, #6c85ff, #fff); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 0 6px rgba(255, 255, 255, .08); animation: pop .8s var(--ease) both, float 6s ease-in-out 1s infinite; }
.logo-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.mast-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; animation: up .8s var(--ease) .1s both; }
/* Wordmark: Rozha One keeps the nukta in "ज़" crisp; always one line */
.mast-name { font-family: var(--font-mark); font-weight: 400; font-size: clamp(30px, 10.6vw, 64px); line-height: 1.25; white-space: nowrap; letter-spacing: .005em; text-shadow: 0 4px 24px rgba(0, 0, 0, .25); }
.mast-name em { font-style: normal; display: inline-block; padding: 0 .04em .2em; margin-bottom: -.2em; background: linear-gradient(100deg, #ff6b86, #ffb199 60%, #ff6b86); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 5s linear infinite; text-shadow: none; }
.mast-tag { display: inline-flex; align-items: center; gap: 9px; padding: 2px 16px 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); font-size: 15px; font-weight: 500; line-height: 1.7; color: #eef1ff; }
/* Secondary tagline: quieter, italic-feel line with hairline rules */
.mast-sub { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.6; color: #ffcfc0; letter-spacing: .01em; }
.mast-sub::before, .mast-sub::after { content: ""; width: 22px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, transparent, #ffb199); }
.mast-sub::after { display: none; }
.mast-sub::before { width: 14px; }
/* Editor card */
.editor-card { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); text-align: left; animation: up .8s var(--ease) .25s both; }
.editor-card > span { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; }
.ed-role::after { content: ":"; }
.editor-card img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #fff; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); flex: none; }
.ed-role { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; color: #ffb3c1; letter-spacing: .02em; }
.ed-name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.4; color: #fff; }

/* Sticky navigation */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(10, 18, 51, .08); transition: box-shadow .3s; }
body.scrolled .navbar { box-shadow: 0 8px 24px rgba(10, 18, 51, .1); }
.nav-in { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 4px; padding: 0 var(--gutter); }
.mini-brand { display: flex; align-items: center; gap: 10px; flex: none; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; color: var(--navy); transition: max-width .45s var(--ease), opacity .3s, margin .45s var(--ease); }
.mini-brand:hover { text-decoration: none; }
.mini-brand img { width: 38px; height: 38px; border-radius: 50%; }
.mini-brand b { font-family: var(--font-mark); font-weight: 400; font-size: 22px; display: none; }
.mini-brand em { font-style: normal; color: var(--red); }
body.scrolled .mini-brand { max-width: 220px; opacity: 1; margin-right: 8px; }
.chips { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent); padding-inline: 12px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; color: #26304f; font-family: var(--font-head); font-weight: 600; font-size: 17px; white-space: nowrap; transition: background .25s, color .25s, transform .2s var(--ease); }
.chips a:hover { background: #eceefa; text-decoration: none; }
.chips a:active { transform: scale(.96); }
.chips a[aria-current="page"] { background: linear-gradient(135deg, var(--navy-2), var(--royal)); color: #fff; box-shadow: 0 6px 16px rgba(42, 69, 212, .35); }

/* Breaking-news ticker */
.ticker { display: flex; align-items: stretch; background: var(--navy); color: #fff; overflow: hidden; }
.ticker[hidden] { display: none; }
.t-label { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 0 16px 0 var(--gutter); background: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 16px; position: relative; z-index: 1; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 24px; }
.t-label .live { background: #fff; }
.t-view { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.t-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.t-view:hover .t-track, .t-view:focus-within .t-track { animation-play-state: paused; }
.t-set { display: flex; align-items: center; white-space: nowrap; }
.t-set a { color: #eaf0ff; font-size: 16px; line-height: 2.5; padding: 0 4px; }
.t-set a:hover { color: #fff; text-decoration: underline; }
.t-set .sep { color: var(--red-2); font-size: 10px; padding: 0 18px; }

/* Search */
.search { position: relative; display: flex; gap: 10px; margin: 26px 0 4px; }
.search input { flex: 1; min-width: 0; min-height: 54px; padding: 0 20px 0 52px; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: 17px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23575f72' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px center; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(42, 69, 212, .15); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--red), #f0345a); color: #fff; font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 0 8px 20px rgba(209, 15, 52, .3); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(209, 15, 52, .38); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.secondary { background: linear-gradient(135deg, var(--navy-2), var(--royal)); box-shadow: 0 8px 20px rgba(42, 69, 212, .28); }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid #cfd5ea; box-shadow: none; }
.btn.ghost:hover { background: #eef0fb; box-shadow: none; }
.btn.wa { background: linear-gradient(135deg, #1a9a4b, #27b862); box-shadow: 0 8px 20px rgba(26, 154, 75, .3); }
.btn.danger { background: #fff; color: var(--red); border: 1.5px solid var(--red); box-shadow: none; }
.btn.danger:hover { background: #fff0f3; box-shadow: none; }

/* Section heads */
.sec-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 28px; line-height: 1.4; margin: 32px 0 16px; color: var(--navy); }
.sec-title::before { content: ""; width: 8px; height: 30px; border-radius: 6px; background: linear-gradient(180deg, var(--red-2), var(--royal)); flex: none; }

/* Scroll-reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }
.card.rv.in:hover { transition-delay: 0s; }

.tag { display: inline-block; background: linear-gradient(135deg, var(--red), #f0345a); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.7; padding: 1px 14px; border-radius: 999px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--royal); }
.more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }

/* Lead story */
.lead { position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: 28px; overflow: hidden; margin-top: 14px; color: #fff; isolation: isolate; box-shadow: var(--shadow-md); }
.lead:hover { text-decoration: none; }
.lead-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.lead-fallback { display: grid; place-items: start center; padding-top: 48px; background: radial-gradient(circle at 75% 20%, rgba(232, 36, 75, .45), transparent 55%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.lead-fallback img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.lead.no-photo { min-height: 420px; }
.lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 12, 36, .95) 6%, rgba(8, 12, 36, .6) 48%, rgba(8, 12, 36, .05) 82%); }
.lead:hover .lead-img { transform: scale(1.06); }
.lead .body { padding: 22px var(--gutter) 26px; width: 100%; }
.lead .meta { color: #dbe2ff; gap: 8px 12px; }
.lead h2 { font-weight: 800; font-size: 29px; line-height: 1.5; margin: 10px 0 8px; text-wrap: balance; }
.lead p { margin: 0; color: #e4e9ff; font-size: 17px; line-height: 1.75; max-width: 62ch; }
.lead .more { color: #fff; margin-top: 12px; padding: 4px 16px; min-height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.lead:hover .more svg, .card:hover .more svg { transform: translateX(5px); }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(10, 18, 51, .06); box-shadow: var(--shadow-sm); color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover { text-decoration: none; transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card.rv.in:hover { transform: translateY(-6px); }
.card .thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.card .thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .thumb > img { transform: scale(1.07); }
.thumb .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(circle at 80% 15%, rgba(232, 36, 75, .4), transparent 55%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.thumb .ph img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); }
.thumb .ph span { font-family: var(--font-head); font-weight: 700; font-size: 17px; opacity: .9; }
.card .thumb .tag { position: absolute; left: 12px; top: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.thumb.noimg-thumb { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.thumb.noimg-thumb > img { position: static; width: 84px; height: 84px; border-radius: 50%; border: 3px solid #fff; transition: none; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-weight: 700; font-size: 22px; line-height: 1.55; margin: 4px 0 2px; color: var(--ink); text-wrap: balance; }
.card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* Article */
.article { max-width: 780px; margin: 0 auto; padding: 22px 0 8px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.article .meta { margin-top: 4px; }
.article h1 { font-weight: 800; font-size: 32px; line-height: 1.5; margin: 12px 0; color: var(--navy); text-wrap: balance; }
.article .summary { font-family: var(--font-head); font-size: 21px; font-weight: 600; line-height: 1.7; color: #2c3552; border-left: 5px solid var(--red); padding: 4px 0 4px 16px; margin: 16px 0 20px; }
.article .text p { margin: 0 0 1.1em; font-size: 19px; line-height: 2; }
.article figure { margin: 22px 0; }
.article figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); background: #fff; }
.article figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.read-progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--royal)); z-index: 100; }

/* States */
.empty, .notice { background: #fff; border: 1.5px dashed #cfd5ea; border-radius: var(--radius); padding: 30px var(--gutter); text-align: center; color: var(--muted); margin: 22px 0; }
.notice.warn { border-style: solid; border-color: #ffd9a8; background: #fff8ec; color: var(--ink); text-align: left; padding: 14px 18px; line-height: 1.7; font-size: 16px; }
.skeleton { background: linear-gradient(90deg, #ebe8de 25%, #f7f5ee 37%, #ebe8de 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); height: 280px; }

/* Footer */
.site-footer { position: relative; background: linear-gradient(160deg, #080e2b, #101c5c); color: #cfd7f5; margin-top: 56px; padding: 40px 0 26px; font-size: 16px; line-height: 1.8; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-2), #ffb199, var(--red-2), var(--red)); }
.site-footer h2 { color: #fff; font-family: var(--font-mark); font-size: 30px; font-weight: 400; margin: 0; line-height: 1.4; }
.site-footer h3 { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; font-weight: 600; }
.f-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.f-brand img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
.f-ig { display: inline-flex; align-items: center; gap: 8px; }
.f-ig svg { width: 20px; height: 20px; }
.site-footer .copy { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 28px; padding-top: 16px; font-size: 14px; color: #98a4d4; }

/* Admin */
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 22px var(--gutter); margin: 20px 0; }
.panel h1, .panel h2 { color: var(--navy); line-height: 1.5; margin: 0 0 12px; }
.field { margin: 0 0 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 4px; }
.field .hint { display: block; font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field select, .field textarea { width: 100%; min-height: 52px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 17px; background: #fff; line-height: 1.7; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--royal); outline: none; box-shadow: 0 0 0 4px rgba(42, 69, 212, .14); }
.field input[type=file] { font-size: 16px; width: 100%; padding: 10px 0; }
.preview { max-width: 240px; border-radius: 12px; margin-top: 8px; border: 1px solid var(--line); }
.msg { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: 600; }
.msg.ok { background: #e6f6ec; color: #11602f; }
.msg.err { background: #fde8ec; color: #8a0b20; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-list .t { flex: 1 1 220px; font-weight: 600; line-height: 1.6; }
.admin-list .btn { min-height: 44px; padding: 0 18px; font-size: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.draft { background: #ffe9a8; color: #5a4300; border-radius: 999px; padding: 0 10px; font-size: 14px; font-weight: 700; }

/* Tablet & desktop */
@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .lead { min-height: 500px; }
  .lead .body { padding: 36px; max-width: 880px; }
  .lead h2 { font-size: 40px; }
  .article h1 { font-size: 42px; }
  .mast-inner { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; gap: 24px; padding-top: 22px; padding-bottom: 26px; }
  .mast-brand { flex-direction: row; gap: 22px; }
  .mast-text { align-items: flex-start; gap: 6px; }
  .logo-ring { width: 120px; height: 120px; }
  .mast-name { font-size: clamp(48px, 6.4vw, 76px); }
  .mast-tag { font-size: 16px; }
  .mast-sub { font-size: 16px; }
  .mast-sub::before { width: 22px; }
  .editor-card { gap: 12px; padding: 9px 24px 9px 9px; }
  .editor-card > span { display: block; }
  .ed-role { font-size: 13px; }
  .ed-role::after { content: none; }
  .editor-card img { width: 64px; height: 64px; }
  .ed-name { font-size: 20px; }
  .mini-brand b { display: inline; }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .logo-ring { width: 132px; height: 132px; }
}
@media (max-width: 460px) {
  .tb-date { font-size: 13px; }
  .tb-links a:first-child span { display: none; }
  .mast-tag { font-size: 14px; padding: 1px 12px 1px 10px; gap: 7px; }
  .mast-sub { font-size: 14px; }
  .lead { min-height: 400px; border-radius: 22px; }
  .lead h2 { font-size: 25px; }
}
@media (max-width: 350px) {
  .logo-ring { width: 80px; height: 80px; }
  .mast-brand { gap: 10px; }
  .mast-tag, .mast-sub { font-size: 13px; }
  .mast-sub::before { display: none; }
}
@media (hover: none) { .card:hover, .card.rv.in:hover { transform: none; } }

/* ================= Mobile features ================= */
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.full { width: 100%; margin-top: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(10, 18, 51, .06); color: inherit; font-size: 18px; cursor: pointer; transition: background .2s, transform .15s; }
.icon-btn:hover { background: rgba(10, 18, 51, .12); }
.icon-btn:active { transform: scale(.92); }
body.no-scroll { overflow: hidden; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 400; max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 14px; background: rgba(12, 17, 36, .94); color: #fff; font-size: 16px; line-height: 1.6; box-shadow: var(--shadow-md); transition: opacity .25s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Bottom navigation (phones only) */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid rgba(10, 18, 51, .08); box-shadow: 0 -6px 24px rgba(10, 18, 51, .08); }
.bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 54px; border: 0; border-radius: 14px; background: none; color: #4a5370; font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.3; cursor: pointer; transition: color .2s, background .2s, transform .15s; }
.bnav a:hover { text-decoration: none; }
.bnav svg { width: 24px; height: 24px; }
.bnav a:active, .bnav button:active { transform: scale(.92); background: #eef0fb; }
.bnav [aria-current="page"] { color: var(--royal); }
.bnav [aria-current="page"] svg { filter: drop-shadow(0 3px 6px rgba(42, 69, 212, .35)); }
body.has-bnav { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
body.has-bnav .site-footer { margin-bottom: 0; }

/* Bottom sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 300; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(6, 10, 30, .5); opacity: 0; transition: opacity .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85dvh; overflow: auto; background: #fff; border-radius: 26px 26px 0 0; padding: 6px var(--gutter) calc(22px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .32s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 44px; height: 5px; border-radius: 4px; background: #d5d9e6; margin: 6px auto 4px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet-head h2 { margin: 0; font-size: 22px; color: var(--navy); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-grid a { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 16px; background: #f1f3fb; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 18px; transition: background .2s, transform .15s; }
.cat-grid a:hover { text-decoration: none; background: #e3e8fa; }
.cat-grid a:active { transform: scale(.97); }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 8px; border-radius: 16px; background: #f4f5fa; color: var(--ink); }
.contact-row:hover { text-decoration: none; background: #eaedf8; }
.contact-row svg { width: 26px; height: 26px; color: var(--royal); flex: none; }
.contact-row.wa { background: #e8f7ee; }
.contact-row.wa svg { color: #1a9a4b; }
.contact-row b { display: block; font-size: 17px; line-height: 1.5; word-break: break-word; }
.contact-row small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.sheet-note { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 0 0; }
@media (min-width: 700px) {
  .bnav { display: none; }
  body.has-bnav { padding-bottom: 0; }
  .toast { bottom: 28px; }
  .sheet { left: 50%; right: auto; bottom: 50%; width: min(520px, 92vw); border-radius: 26px; transform: translate(-50%, 60%); opacity: 0; transition: transform .32s var(--ease), opacity .25s; }
  .sheet-wrap.open .sheet { transform: translate(-50%, 50%); opacity: 1; }
  .sheet-grip { display: none; }
}

/* Weather strip */
.wx { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 16px; border-radius: 18px; background: linear-gradient(120deg, #eaf1ff, #fff4ec); border: 1px solid #e3e8f6; animation: up .6s var(--ease) both; }
.wx[hidden] { display: none; }
.wx-ic svg { width: 40px; height: 40px; display: block; }
.wx-main { display: flex; flex-direction: column; line-height: 1.4; }
.wx-place { font-size: 13px; color: var(--muted); }
.wx-now { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy); white-space: nowrap; }
.wx-now b { font-size: 24px; font-weight: 800; margin-right: 4px; }
.wx-more { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; color: var(--muted); line-height: 1.6; white-space: nowrap; }
.wx-more b { color: var(--ink); }
.wx-more i { font-style: normal; color: var(--red); margin: 0 1px 0 4px; }
@media (min-width: 700px) { .wx-more { flex-direction: row; gap: 16px; } }

/* Stories row */
.stories { margin: 16px calc(var(--gutter) * -1) 0; }
.stories ul { list-style: none; margin: 0; padding: 4px var(--gutter) 8px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories ul::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 78px; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: start; color: var(--ink); font: inherit; }
.s-ring { display: block; width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--red), #ff9a5a, var(--royal), var(--red)); transition: transform .2s var(--ease); }
.story:hover .s-ring { transform: scale(1.05); }
.story:active .s-ring { transform: scale(.94); }
.s-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); background: #fff; }
.story.seen .s-ring { background: #cfd3de; }
.s-cap { font-family: var(--font-head); font-weight: 600; font-size: 13px; line-height: 1.4; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Story viewer */
.sv { position: fixed; inset: 0; z-index: 500; background: #05081a; color: #fff; display: flex; flex-direction: column; opacity: 0; transform: scale(.96); transition: opacity .25s, transform .3s var(--ease); touch-action: none; user-select: none; }
.sv.open { opacity: 1; transform: none; }
.sv-bars { display: flex; gap: 4px; padding: calc(10px + env(safe-area-inset-top)) 12px 0; position: relative; z-index: 3; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.sv-bars i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.sv-bars .done i { transform: none; }
.sv-bars .active i { animation: svfill linear forwards; }
.sv.paused .sv-bars .active i { animation-play-state: paused; }
@keyframes svfill { to { transform: none; } }
.sv-top { display: flex; align-items: center; gap: 10px; padding: 10px 8px 6px 12px; position: relative; z-index: 3; }
.sv-top img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; }
.sv-cat { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.sv-date { font-size: 13px; opacity: .75; margin-right: auto; }
.sv .icon-btn { background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; }
.sv-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 6px 10px; }
.sv-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; opacity: 0; transform: scale(.98); transition: opacity .3s, transform .4s var(--ease); }
.sv-img.in { opacity: 1; transform: none; }
.sv-nav { position: absolute; top: 90px; bottom: 140px; z-index: 2; border: 0; background: none; cursor: pointer; }
.sv-nav.prev { left: 0; width: 32%; }
.sv-nav.next { right: 0; width: 68%; }
.sv-foot { position: relative; z-index: 3; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(5, 8, 26, .95) 40%, transparent); }
.sv-title { font-size: 19px; line-height: 1.55; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-read { width: 100%; }
@media (min-width: 700px) { .sv-stage { padding: 6px 15vw; } .sv-foot { max-width: 640px; margin: 0 auto; width: 100%; } }

/* WhatsApp tip card */
.tip-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 22px 0 6px; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(120deg, #e9f8ef, #f6fff9); border: 1px solid #cdeedb; }
.tip-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #1a9a4b; color: #fff; flex: none; }
.tip-ic svg { width: 28px; height: 28px; }
.tip-txt { flex: 1 1 180px; display: flex; flex-direction: column; line-height: 1.55; }
.tip-txt strong { font-family: var(--font-head); font-size: 19px; color: #0f4d29; }
.tip-txt span { font-size: 15px; color: #35604a; }
@media (max-width: 460px) { .tip-card .btn { width: 100%; } }

/* Ads */
.ad { position: relative; margin: 20px 0; padding: 26px 12px 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; overflow: hidden; }
.ad-label { position: absolute; top: 6px; left: 12px; font-size: 12px; letter-spacing: .04em; color: #8a91a5; }
.ad-local img { margin: 0 auto; border-radius: 12px; max-height: 320px; width: auto; }
.ad-gdn { min-height: 280px; } /* reserves space so Google ads don't shift the page */
.ad-house { display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 6px 4px; }
.ad-house strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); line-height: 1.5; }
.ad-house span { display: block; font-size: 15px; color: var(--muted); line-height: 1.6; }
.ad-house .row { justify-content: center; }
.grid-full { grid-column: 1 / -1; }
.grid-full .ad { margin: 4px 0; }

/* Archive + more */
.archive { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 0; padding: 10px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.archive label { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--navy); flex: 1 1 100%; }
.archive input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 17px; background: #fff; color: var(--ink); }
.archive input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(42, 69, 212, .15); }
.archive .btn { min-height: 48px; }
@media (min-width: 700px) { .archive label { flex: none; } .archive input { flex: 0 1 240px; } }
.more-wrap { display: flex; justify-content: center; margin: 26px 0 6px; }
.more-wrap .btn { min-width: 220px; }

/* Breaking */
.brk-badge { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 14px; line-height: 1.7; padding: 1px 12px 1px 9px; border-radius: 999px; border: 1.5px solid var(--red); box-shadow: 0 4px 12px rgba(209, 15, 52, .25); }
.brk-badge .live { background: var(--red); }
.card .thumb .brk-badge { position: absolute; right: 12px; top: 12px; }
.brk-inline { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 6px; background: var(--red); color: #fff; font-size: 13px; line-height: 1.6; }

/* Article tools */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.tool { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #d6dbef; background: #fff; color: var(--navy); font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 16px; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.tool:hover { background: #eef1fb; text-decoration: none; }
.tool:active { transform: scale(.95); }
.tool svg { width: 20px; height: 20px; }
.tool:disabled { opacity: .4; cursor: not-allowed; }
.tool.listen.on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.tool-group { display: inline-flex; }
.tool-group .tool { padding: 0 14px; font-size: 18px; }
.tool-group .tool:first-child { border-radius: 999px 0 0 999px; border-right-width: .75px; }
.tool-group .tool:last-child { border-radius: 0 999px 999px 0; border-left-width: .75px; font-size: 21px; }
.tool small { font-size: 14px; margin-left: 1px; }
.wa-tool { color: #148a40; border-color: #bfe8cf; }
.wa-tool:hover { background: #e9f8ef; }
.article .reading { background: #fff3c4; border-radius: 8px; box-shadow: 0 0 0 6px #fff3c4; transition: background .3s, box-shadow .3s; }

/* Reader text-size scaling (--fs set by the अ−/अ+ buttons) */
.article .text p { font-size: calc(19px * var(--fs, 1)); }
.article .summary { font-size: calc(21px * var(--fs, 1)); }
.article h1 { font-size: calc(32px * var(--fs, 1)); }
.card h3 { font-size: calc(22px * var(--fs, 1)); }
.card p { font-size: calc(17px * var(--fs, 1)); }
@media (min-width: 700px) { .article h1 { font-size: calc(42px * var(--fs, 1)); } }

/* Smooth cross-page fade (supported browsers) */
::view-transition-old(root) { animation: .25s ease both fadeOut; }
::view-transition-new(root) { animation: .35s ease both fadeIn; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .t-view { overflow-x: auto; }
  .sv-bars .active i { transform: none; }
}
