/* JanSetu News: public site + newsroom admin */
@view-transition { navigation: auto; }

:root {
  --brand: #b3261e;
  --brand-2: #e8590c;
  --saffron: #f59f00;
  --ink: #1b1a19;
  --ink-2: #57534e;
  --line: #e7e2da;
  --paper: #fbf8f3;
  --card: #ffffff;
  --green: #2b8a3e;
  --amber: #e67700;
  --red: #c92a2a;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 5%), 0 4px 16px rgb(60 30 0 / 6%);
  --shadow-lift: 0 10px 30px rgb(60 30 0 / 14%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Mukta', system-ui, sans-serif;
  color-scheme: light;
}
.lang-gu { --font: 'Hind Vadodara', 'Mukta', system-ui, sans-serif; }
.lang-pa { --font: 'Mukta Mahee', 'Mukta', system-ui, sans-serif; }
.lang-ur { --font: 'Noto Naskh Arabic', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .85em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-cta { background: linear-gradient(120deg, var(--brand), var(--brand-2)); background-size: 200% 100%; border-color: transparent; color: #fff; animation: sheen 6s ease-in-out infinite; }
.btn-ok { background: var(--green); border-color: var(--green); color: #fff; }
.btn-danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-x { background: #000; border-color: #000; color: #fff; }
.btn-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.btn-tg { background: #229ed9; border-color: #229ed9; color: #fff; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.pill { display: inline-block; font-size: .78em; font-weight: 600; padding: .1em .7em; border-radius: 999px; background: #fff1e6; color: var(--brand); }
.topic-law { --t: #5f3dc4; } .topic-women_safety { --t: #c2255c; } .topic-civic { --t: #1971c2; } .topic-education { --t: #0c8599; }
.topic-health { --t: #2b8a3e; } .topic-agriculture { --t: #5c940d; } .topic-transport { --t: #e8590c; } .topic-culture { --t: #ae3ec9; }
.topic-environment { --t: #087f5b; } .topic-economy { --t: #b08900; }
.pill[class*='topic-'] { background: color-mix(in srgb, var(--t) 12%, white); color: var(--t); }

/* ---------- header ---------- */
.read-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--saffron), var(--brand)); z-index: 60; }
[dir='rtl'] .read-progress { transform-origin: 100% 50%; inset: 0 0 auto auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 248 243 / 88%); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; view-transition-name: header; }
.site-header.scrolled { box-shadow: 0 6px 20px rgb(0 0 0 / 6%); border-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; box-shadow: 0 4px 14px rgb(179 38 30 / 35%); }
.brand-mark svg { width: 26px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.brand-mark path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.2s var(--ease) forwards; }
.brand-mark path:nth-child(2) { animation-delay: .25s; } .brand-mark path:nth-child(3) { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.brand-text { display: flex; align-items: baseline; gap: 6px; }
.brand-text b { font-size: 1.55rem; font-weight: 800; color: var(--brand); letter-spacing: -.01em; font-family: 'Mukta', sans-serif; }
.brand-text i { font-style: normal; font-weight: 800; font-size: .8rem; letter-spacing: .18em; color: var(--ink); }
.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) { position: relative; padding: .4em .8em; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.main-nav a:not(.btn)::after { content: ''; position: absolute; inset: auto .8em .15em; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a[aria-current] { color: var(--ink); }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.lang-row { display: flex; gap: 6px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.lang-pill { flex: none; padding: .15em .85em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; background: var(--card); transition: background .2s, color .2s, transform .2s var(--ease); }
.lang-pill:hover { transform: translateY(-1px); border-color: var(--brand); }
.lang-pill.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .main-nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; transition: clip-path .4s var(--ease), opacity .3s; }
  .menu-open .main-nav { clip-path: inset(0); opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: .7em 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, #7f1d1d, var(--brand) 45%, var(--brand-2)); background-size: 180% 180%; animation: drift 14s ease-in-out infinite; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; animation: float 12s ease-in-out infinite; }
.hero-bg span:nth-child(1) { width: 320px; height: 320px; background: var(--saffron); top: -120px; inset-inline-end: 8%; }
.hero-bg span:nth-child(2) { width: 260px; height: 260px; background: #ff8787; bottom: -140px; inset-inline-start: 10%; animation-delay: -4s; }
.hero-bg span:nth-child(3) { width: 180px; height: 180px; background: #ffd43b; top: 30%; inset-inline-start: 55%; animation-delay: -8s; opacity: .35; }
@keyframes drift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, 20px) scale(1.08); } 66% { transform: translate(-20px, 10px) scale(.95); } }
.hero-inner { position: relative; padding: 46px 0 40px; display: grid; gap: 24px; }
.hero-title { font-size: clamp(1.7rem, 4.5vw, 3rem); font-weight: 800; max-width: 18ch; margin: 0; animation: rise .9s var(--ease) both; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 10px; }
.stat { min-width: 0; padding: 12px 18px; border-radius: var(--radius); background: rgb(255 255 255 / 14%); border: 1px solid rgb(255 255 255 / 25%); backdrop-filter: blur(6px); animation: rise .9s var(--ease) both; }
.stat:nth-child(2) { animation-delay: .1s; } .stat:nth-child(3) { animation-delay: .2s; }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .9rem; opacity: .9; display: block; line-height: 1.3; }
@media (max-width: 480px) { .stat { padding: 10px 12px; } .stat b { font-size: 1.5rem; } .stat span { font-size: .78rem; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: center; background: var(--ink); color: #fff; overflow: hidden; font-size: .95rem; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--brand); font-weight: 700; z-index: 1; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / 70%); } 100% { box-shadow: 0 0 0 10px rgb(255 255 255 / 0%); } }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
[dir='rtl'] .ticker-move { animation-name: marquee-rtl; }
.ticker-set { display: flex; align-items: center; }
.ticker-set a { padding: 8px 14px; text-decoration: none; white-space: nowrap; }
.ticker-set a:hover { color: var(--saffron); }
.ticker-set i { color: var(--saffron); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* ---------- filters ---------- */
.filters { padding-top: 22px; display: grid; gap: 12px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tab { position: relative; flex: none; padding: .55em 1em; text-decoration: none; font-weight: 700; color: var(--ink-2); transition: color .2s; }
.tab::after { content: ''; position: absolute; inset: auto 0 -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-on { color: var(--brand); }
.tab.is-on::after { transform: scaleX(1); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { flex: none; padding: .25em .9em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: .92rem; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; }

/* ---------- forms ---------- */
input, select, textarea { width: 100%; font: inherit; padding: .6em .8em; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(179 38 30 / 12%); }
input[type='checkbox'] { width: 1.15em; height: 1.15em; accent-color: var(--brand); flex: none; margin-top: .3em; }
input[type='file'] { padding: .45em; }
.form { display: grid; gap: 14px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 4px; }
.field > span { font-weight: 600; font-size: .95rem; }
.field small { font-weight: 400; color: var(--ink-2); }
.req { color: var(--red); font-style: normal; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 4px 0; }
.alert { padding: 12px 16px; border-radius: 10px; background: #fff5f5; border: 1px solid #ffc9c9; color: var(--red); animation: shake .45s var(--ease); }
.alert ul { margin: .3em 0 0; padding-inline-start: 1.2em; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.notice { padding: 10px 14px; border-radius: 10px; background: #fff9db; border: 1px solid #ffe066; }

/* ---------- sections & cards ---------- */
.section { padding-block: 34px; }
.section-title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 6px; height: 1.1em; border-radius: 3px; background: linear-gradient(var(--saffron), var(--brand)); }
.section-title small { font-size: .7em; color: var(--ink-2); font-weight: 600; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-weight: 700; color: var(--brand); text-decoration: none; transition: letter-spacing .3s var(--ease); }
.link-arrow:hover { letter-spacing: .03em; }
.band { background: linear-gradient(180deg, #fff3e6, var(--paper)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.empty { text-align: center; padding: 40px 16px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); display: grid; gap: 12px; justify-items: center; }
.empty-icon { font-size: 2.4rem; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

.story-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.story-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f1ece4; }
.story-media img, .story-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-card:hover .story-media img, .story-card:hover .story-media video { transform: scale(1.06); }
.play-badge { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgb(179 38 30 / 88%); display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / 30%); transition: transform .35s var(--ease); }
.play-badge::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 70%); animation: ripple 2.4s ease-out infinite; }
.play-badge i { width: 0; height: 0; border-block: 10px solid transparent; border-inline-start: 16px solid #fff; margin-inline-start: 4px; }
[dir='rtl'] .play-badge i { transform: scaleX(-1); }
.story-card:hover .play-badge { transform: scale(1.12); }
.article-video video { width: 100%; max-height: 75vh; background: #000; }
.preview-video { width: 100%; max-height: 220px; border-radius: 10px; background: #000; }
.media-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--t, var(--brand)) 85%, black), color-mix(in srgb, var(--t, var(--brand)) 55%, var(--saffron))); background-size: 200% 200%; animation: drift 10s ease-in-out infinite; }
.media-fallback b { font-size: 3rem; color: rgb(255 255 255 / 85%); }
.story-body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.story-body h3 { font-size: 1.15rem; margin: 0; }
.story-body h3 a { text-decoration: none; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.story-card:hover h3 a { background-size: 100% 2px; }
[dir='rtl'] .story-body h3 a { background-position: 100% 100%; }
.meta { color: var(--ink-2); font-size: .88rem; margin: 0; }
.summary { margin: 0; color: var(--ink-2); }
.byline { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; margin-top: 4px; }
.story-big { margin-bottom: 24px; }
@media (min-width: 820px) {
  .story-big { flex-direction: row; }
  .story-big .story-media { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
  .story-big .story-body { flex: 1; padding: 28px; align-content: center; }
  .story-big h3 { font-size: 1.8rem; }
}

/* ---------- latest-news slider ---------- */
.slider { position: relative; margin-bottom: 26px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lift); background: var(--ink); }
.slides { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 3px solid var(--saffron); outline-offset: -3px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; aspect-ratio: 16 / 7; min-height: 340px; }
.slide > a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img, .slide-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.slide.is-active .slide-media img, .slide.is-active .slide-media video { transform: scale(1); }
.slide-media .media-fallback b { font-size: 6rem; }
.slide > a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 6 4 / 92%) 0%, rgb(10 6 4 / 55%) 40%, transparent 75%); }
.slide .play-badge { z-index: 2; inset: 0 0 35%; width: 72px; height: 72px; }
.slide-text { position: absolute; z-index: 2; inset: auto 0 0; padding: 26px 28px 46px; display: grid; gap: 8px; max-width: 860px; }
.slide-text > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-text > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide-text > :nth-child(4) { transition-delay: .36s; }
.slide-text .pill { justify-self: start; }
.slide-title { font-size: clamp(1.35rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.slide-summary { opacity: .9; font-size: 1.05rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-meta { font-size: .88rem; opacity: .8; }
.slide-nav { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 18%); backdrop-filter: blur(8px); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s, background .2s, scale .2s var(--ease); }
.slider:hover .slide-nav, .slide-nav:focus-visible { opacity: 1; }
.slide-nav:hover { background: var(--brand); scale: 1.08; }
.slide-prev { inset-inline-start: 14px; } .slide-next { inset-inline-end: 14px; }
[dir='rtl'] .slide-nav { transform: scaleX(-1); }
.slide-dots { position: absolute; z-index: 3; inset: auto 0 16px; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgb(255 255 255 / 45%); cursor: pointer; overflow: hidden; transition: width .4s var(--ease), background .3s; }
.slide-dots button.is-on { width: 36px; background: rgb(255 255 255 / 35%); }
.slide-dots i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
.slide-dots button.is-on i { animation: dot-fill var(--slide-ms, 5000ms) linear forwards; }
.slider.is-paused .slide-dots button.is-on i { animation-play-state: paused; }
@keyframes dot-fill { to { width: 100%; } }
.more-grid { margin-top: 6px; }
@media (max-width: 640px) {
  .slide { aspect-ratio: 4 / 5; min-height: 0; }
  .slide-text { padding: 20px 18px 42px; }
  .slide-nav { display: none; }
}

/* ---------- avatars & yodhas ---------- */
.avatar { border-radius: 50%; object-fit: cover; object-position: center top; flex: none; background: #f1ece4; }
.avatar-xs { width: 26px; height: 26px; } .avatar-md { width: 52px; height: 52px; }
.avatar-lg { width: 86px; height: 86px; } .avatar-xl { width: 132px; height: 132px; }
.avatar-fallback { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--saffron)); font-size: .9em; }
.avatar-lg.avatar-fallback { font-size: 1.8rem; } .avatar-xl.avatar-fallback { font-size: 2.6rem; }
.yodha-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; padding: 8px 2px 16px; scroll-snap-type: x mandatory; }
.yodha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin-block: 20px; }
.yodha-card { scroll-snap-align: start; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px 16px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.yodha-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.yodha-card .avatar { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--saffron); transition: transform .4s var(--ease); }
.yodha-card:hover .avatar { transform: scale(1.06); }
.yodha-card .count { font-size: .85rem; font-weight: 700; color: var(--brand); }
.verified-tag { display: inline-block; font-size: .75rem; font-weight: 700; color: #0b7285; background: #e3fafc; border-radius: 999px; padding: .1em .7em; }
.shine { position: relative; overflow: hidden; }
.shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 85%) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s ease-in-out infinite 1s; }
@keyframes shine { 40%, 100% { transform: translateX(100%); } }

/* ---------- steps & coverage ---------- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps p { margin: 0; }
.step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.steps li.is-in .step-n { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
.coverage { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.coverage a { display: flex; justify-content: space-between; text-decoration: none; font-weight: 600; }
.coverage a:hover { color: var(--brand); }
.bar { display: block; height: 8px; border-radius: 8px; background: #efe9e0; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--saffron), var(--brand)); transition: width 1.2s var(--ease) calc(var(--i, 0) * 100ms); }
.is-in .bar i { width: max(var(--w), 4px); }

/* ---------- article ---------- */
.article { max-width: 760px; padding-block: 28px 50px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.crumbs a { text-decoration: none; color: var(--brand); }
.article-title { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 800; margin-top: 10px; view-transition-name: article-title; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.article-media { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.article-media img { width: 100%; animation: zoom-out 1.4s var(--ease) both; }
@keyframes zoom-out { from { transform: scale(1.08); opacity: .4; } }
.article-body { font-size: 1.12rem; }
.article-body p { margin: 0 0 1.1em; }
.correction { margin: 20px 0; padding: 14px 16px; border-inline-start: 4px solid var(--amber); background: #fff9db; border-radius: 8px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0; font-weight: 700; }
.trust-box { display: grid; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.reporter { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.reporter span { display: grid; }
.reporter small { color: var(--ink-2); }
.trust-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.trust-box dt { font-weight: 700; } .trust-box dd { margin: 0; }
.also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }

/* ---------- comments ---------- */
.comments { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.comment { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.comment p { margin: .3em 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.comment time { font-size: .82rem; }
.comment-avatar { width: 38px; height: 38px; font-size: .85rem; }
.comment-form { padding: 18px; }
.comments .flash { margin: 0; padding: 12px 16px; border-radius: 10px; background: #ebfbee; border: 1px solid #b2f2bb; color: var(--green); font-weight: 600; }
.comment-text { margin: 6px 0; padding: 10px 14px; background: #faf7f2; border-inline-start: 3px solid var(--saffron); border-radius: 6px; white-space: pre-line; overflow-wrap: anywhere; }
.comment-row form { display: inline; }

/* ---------- profile ---------- */
.profile { padding-bottom: 10px; }
.profile-cover { height: 190px; position: relative; overflow: hidden; background: linear-gradient(120deg, #7f1d1d, var(--brand), var(--brand-2), var(--saffron)); background-size: 300% 300%; animation: drift 12s ease-in-out infinite; }
.profile-cover span { position: absolute; border-radius: 50%; border: 2px solid rgb(255 255 255 / 25%); animation: ripple 6s ease-out infinite; width: 240px; height: 240px; inset-inline-end: 10%; top: -60px; }
.profile-cover span:nth-child(2) { animation-delay: -3s; inset-inline-end: 30%; top: 20px; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.profile-head { display: flex; gap: 22px; align-items: flex-end; margin-top: -66px; flex-wrap: wrap; position: relative; }
.profile-photo { position: relative; }
.profile-photo .avatar { box-shadow: 0 0 0 5px var(--paper), 0 10px 30px rgb(0 0 0 / 20%); }
.profile-photo .tick { position: absolute; inset-inline-end: 6px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1c7ed6; color: #fff; font-weight: 800; box-shadow: 0 0 0 3px var(--paper); animation: pop .6s var(--ease) .5s both; }
.profile-id { display: grid; gap: 4px; padding-bottom: 6px; }
.profile-id h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .8rem; font-weight: 700; padding: .15em .75em; border-radius: 999px; background: linear-gradient(135deg, #fff3bf, #ffe8cc); color: #a35200; border: 1px solid #ffd8a8; }
.profile-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 22px; }
.profile-stats .stat { background: var(--card); border: 1px solid var(--line); color: var(--ink); animation: none; backdrop-filter: none; }
.profile-stats .stat b { color: var(--brand); font-size: 1.5rem; }
.bio { font-size: 1.1rem; max-width: 70ch; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { padding: .45em 1em; border-radius: 999px; text-decoration: none; font-weight: 700; color: #fff; transition: transform .25s var(--ease), box-shadow .25s; }
.social:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-lift); }
.social small { font-weight: 400; opacity: .85; }
.social-x { background: #000; } .social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .social-youtube { background: #ff0000; }

/* ---------- misc ---------- */
.success-check { width: 92px; margin: 0 auto 16px; }
.success-check svg { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.success-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.success-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .7s forwards; }
.big-404 { font-size: 6rem; font-weight: 800; margin: 0; background: linear-gradient(135deg, var(--brand), var(--saffron)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pop-in { animation: pop .7s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.06); } }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 120%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 80; opacity: 0; transition: transform .4s var(--ease), opacity .3s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.site-footer { margin-top: 30px; background: var(--ink); color: #e9e4dc; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-block: 36px 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer p { margin: 0; opacity: .85; }
.brand-footer .brand-text b { color: #ff8787; } .brand-footer .brand-text i { color: #fff; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { text-decoration: none; opacity: .85; transition: opacity .2s, transform .2s var(--ease); }
.footer-links a:hover { opacity: 1; transform: translateX(4px); }
.footer-base { border-top: 1px solid rgb(255 255 255 / 12%); padding-block: 14px 20px; font-size: .85rem; opacity: .7; }

/* ---------- scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .story-card.reveal.is-in:hover, .js .yodha-card.reveal.is-in:hover { transition-delay: 0s; }
.js .story-card.reveal.is-in:hover { transform: translateY(-6px); }
.js .yodha-card.reveal.is-in:hover { transform: translateY(-6px) rotate(-.4deg); }

::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ================= admin ================= */
.admin { background: #f6f4f0; }
.admin-bare { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(120deg, #7f1d1d, var(--brand), var(--brand-2)); background-size: 200% 200%; animation: drift 14s ease-in-out infinite; }
.login-card { width: min(380px, calc(100vw - 32px)); padding: 28px; display: grid; gap: 14px; }
.admin-bar { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 10px 20px; background: var(--ink); color: #fff; }
.admin-bar .brand-text b { color: #ff8787; } .admin-bar .brand-text i { color: #fff; letter-spacing: 0; font-size: .95rem; }
.admin-bar nav { display: flex; flex-wrap: wrap; gap: 2px; }
.admin-bar nav a { padding: .35em .8em; border-radius: 8px; text-decoration: none; opacity: .8; transition: background .2s, opacity .2s; }
.admin-bar nav a:hover, .admin-bar nav a[aria-current] { background: rgb(255 255 255 / 12%); opacity: 1; }
.admin-user { margin-inline-start: auto; display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.admin-user small { opacity: .7; } .admin-user a { opacity: .85; }
.admin-main { width: min(1240px, 100% - 32px); margin: 24px auto 60px; display: grid; gap: 18px; }
.admin-main > .card, .admin-main .form.card { padding: 20px; }
.flash { margin: 0; padding: 12px 16px; border-radius: 10px; background: #ebfbee; border: 1px solid #b2f2bb; color: var(--green); font-weight: 600; animation: slide-down .5s var(--ease); }
@keyframes slide-down { from { opacity: 0; transform: translateY(-14px); } }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.kpi { padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; display: grid; gap: 2px; border-top: 4px solid var(--c); transition: transform .3s var(--ease), box-shadow .3s; }
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.kpi b { font-size: 2.1rem; font-weight: 800; color: var(--c); line-height: 1.1; }
.kpi-green { --c: var(--green); } .kpi-amber { --c: var(--amber); } .kpi-red { --c: var(--red); } .kpi-grey { --c: #495057; }
.activity { list-style: none; margin: 0; padding: 0; display: grid; }
.activity li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.activity .when { display: inline-block; min-width: 150px; color: var(--ink-2); font-size: .85rem; }
.rows { display: grid; gap: 10px; }
.row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; flex-wrap: wrap; }
.row-link { text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.row-link:hover { transform: translateX(4px); box-shadow: var(--shadow-lift); }
.row-main { flex: 1; min-width: 220px; display: grid; gap: 2px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.links { display: flex; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.links a { color: #1971c2; }
.status { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1em .65em; border-radius: 999px; vertical-align: middle; }
.status-green { background: #ebfbee; color: var(--green); } .status-amber { background: #fff4e6; color: var(--amber); }
.status-red { background: #fff5f5; color: var(--red); } .status-grey { background: #f1f3f5; color: #495057; }
.status-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 20px; }
.photo-edit { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.created code { font-size: 1.1rem; padding: .1em .5em; background: #fff9db; border-radius: 6px; }

.editor-grid { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
@media (max-width: 960px) { .editor-grid { grid-template-columns: 1fr; } }
.editor-side { display: grid; gap: 14px; }
.editor-side .card { padding: 16px; display: grid; gap: 10px; }
.editor-side h3 { margin: 0; font-size: 1rem; }
.lang-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: -1px; position: relative; z-index: 1; }
.lang-tab { font: inherit; font-weight: 600; padding: .5em 1em; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #efebe4; cursor: pointer; transition: background .2s; }
.lang-tab.is-on { background: var(--card); color: var(--brand); }
.dot-ok { color: var(--green); font-style: normal; font-size: .7em; }
.lang-panel { display: none; padding: 18px; gap: 12px; margin: 0; border-start-start-radius: 0; }
.lang-panel.is-on { display: grid; animation: rise .4s var(--ease); }
.lang-panel legend { font-weight: 700; padding: 0 .3em; }
.lang-panel[dir='rtl'] { font-family: 'Noto Naskh Arabic', serif; }
.lang-panel[lang='gu'] { font-family: 'Hind Vadodara', sans-serif; }
.lang-panel[lang='pa'] { font-family: 'Mukta Mahee', sans-serif; }
.char-count { font-size: .78rem; color: var(--ink-2); justify-self: end; }
.char-count.over { color: var(--red); font-weight: 700; }
.preview-img { border-radius: 10px; max-height: 200px; object-fit: cover; width: 100%; animation: rise .4s var(--ease); }
.sensitive-box { padding: 16px 18px; border-radius: var(--radius); background: #fff5f5; border: 2px solid var(--red); color: #7d1a1a; }
.sensitive-box .rules { margin: .5em 0 0; }
.pulse-border { animation: border-pulse 2s ease-in-out infinite; }
@keyframes border-pulse { 50% { box-shadow: 0 0 0 6px rgb(201 42 42 / 15%); } }

/* ---------- newsroom editor: errors, toolbar, schedule, autosave ---------- */
.field-error { display: block; color: var(--red); font-size: .85rem; font-weight: 600; animation: slide-down .3s var(--ease); }
.block-error { margin: 6px 0; }
.has-error > input, .has-error > select, .has-error > textarea, .has-error input, .has-error select, .has-error textarea { border-color: var(--red); background: #fff8f8; }
.card.has-error { border-color: var(--red); box-shadow: 0 0 0 3px rgb(201 42 42 / 12%); }
.lang-tab.tab-error { color: var(--red); border-color: #ffc9c9; }
.dot-err { color: var(--red); font-style: normal; font-size: .7em; }
#form-errors a { color: inherit; }
.md-toolbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border: 1.5px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #faf7f2; }
.md-toolbar + textarea { border-start-start-radius: 0; border-start-end-radius: 0; }
.md-toolbar button { font: inherit; font-size: .88rem; padding: .2em .7em; border-radius: 7px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.md-toolbar button:hover { border-color: var(--brand); color: var(--brand); }
.schedule { border: 1px dashed var(--line); border-radius: 10px; padding: 8px 10px; }
.schedule summary { cursor: pointer; font-weight: 600; }
.schedule[open] { display: grid; gap: 8px; }
.alleg-box { border-color: #ffd8a8; background: #fff4e6; }
.status-blue { background: #e7f5ff; color: #1971c2; }
.tab small { font-size: .78em; color: var(--ink-2); font-weight: 600; }
.autosave-bar { position: fixed; z-index: 70; inset: auto 16px 16px; max-width: 640px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lift); animation: slide-down .4s var(--ease); }
.autosave-bar[hidden] { display: none; }
.autosave-bar span { flex: 1; min-width: 200px; }
.autosave-bar .btn-ghost { color: #fff; border-color: rgb(255 255 255 / 40%); }
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 16px; background: #fff9db; border-bottom: 2px solid #ffe066; }
.preview-bar .preview-langs { display: flex; gap: 6px; flex-wrap: wrap; margin-inline-start: auto; }
button:disabled { opacity: .6; cursor: progress; transform: none !important; }

/* ---------- article extras: basis, caption, embed, tags, sources, formatted body ---------- */
.basis { display: inline-block; margin-top: 10px; font-size: .82rem; font-weight: 700; padding: .2em .8em; border-radius: 999px; }
.basis-verified { background: #ebfbee; color: var(--green); }
.basis-official { background: #e7f5ff; color: #1971c2; }
.basis-allegation { background: #fff4e6; color: #d9480f; border: 1px solid #ffd8a8; }
.alleg-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: #fff4e6; border-inline-start: 4px solid #fd7e14; font-size: .95rem; }
.article-media figcaption { padding: 8px 4px 0; font-size: .88rem; color: var(--ink-2); }
.article-body h2 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.article-body ul { padding-inline-start: 1.3em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .35em; }
.article-body blockquote { margin: 0 0 1.1em; padding: 10px 16px; border-inline-start: 4px solid var(--saffron); background: #fff9f0; border-radius: 6px; font-style: italic; }
.yt-embed { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; font-weight: 700; }
.source-list { margin: 0; padding-inline-start: 1.1em; }
.source-list a { overflow-wrap: anywhere; }

/* ---------- about / editorial policy ---------- */
.about .about-block { margin-top: 26px; }
.about h2 { font-size: 1.3rem; }
.about ul { padding-inline-start: 1.2em; display: grid; gap: 8px; }
.faq { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; }

/* ---------- newsroom on tablets and phones ---------- */
@media (max-width: 760px) {
  .admin-bar { padding: 8px 12px; gap: 8px; }
  .admin-bar nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; order: 3; }
  .admin-bar nav a { flex: none; }
  .admin-user { margin-inline-start: 0; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
  .admin-main { width: calc(100% - 24px); margin-top: 16px; }
  .lang-tab { padding: .45em .7em; font-size: .9rem; }
  .lang-panel { padding: 14px 12px; }
  .row { padding: 12px; }
  .row-actions { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker-move { animation: none !important; }
  .ticker-set[aria-hidden] { display: none; }
  .ticker-track { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
